Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708836 - >=dev-python/hypothesis-4.57.1 - fails 18 tests
Summary: >=dev-python/hypothesis-4.57.1 - fails 18 tests
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-02-09 15:22 UTC by ernsteiswuerfel
Modified: 2021-01-05 10:33 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (4.57.1, ppc) (hypothesis-4.57.1:20200209-142119.log,282.62 KB, text/plain)
2020-02-09 15:22 UTC, ernsteiswuerfel
Details
build.log (5.5.0, ppc) (hypothesis-5.5.0:20200209-143403.log,298.66 KB, text/plain)
2020-02-09 15:23 UTC, ernsteiswuerfel
Details
emerge --info (file_708836.txt,5.91 KB, text/plain)
2020-02-09 15:24 UTC, ernsteiswuerfel
Details
build.log (4.57.1, ppc) (hypothesis-4.57.1:20200216-234307.log,533.51 KB, text/plain)
2020-02-17 00:22 UTC, ernsteiswuerfel
Details
build.log (5.5.2, ppc) (hypothesis-5.5.2:20200216-231510.log,302.12 KB, text/plain)
2020-02-17 00:22 UTC, ernsteiswuerfel
Details
hypothesis-5.16.0.py38.build.log (amd64) (dev-python:hypothesis-5.16.0:20200605-162927.log,463.47 KB, text/x-log)
2020-06-05 17:15 UTC, Andreas Sturmlechner
Details
build.log (build.log,288.86 KB, text/x-log)
2020-07-30 03:52 UTC, John Helmert III
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2020-02-09 15:22:47 UTC
Created attachment 613080 [details]
build.log (4.57.1, ppc)

[...]
=================== 18 failed, 1842 passed, 10 skipped, 1 warnings in 742.97 seconds ===================
 * ERROR: dev-python/hypothesis-4.57.1::gentoo failed (test phase):
 *   Tests fail with python2.7
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_test
 *   environment, line 2989:  Called distutils-r1_src_test
 *   environment, line 1036:  Called _distutils-r1_run_foreach_impl 'python_test'
 *   environment, line  431:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_test'
 *   environment, line 2533:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 1867:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 1865:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test'
 *   environment, line  683:  Called distutils-r1_run_phase 'python_test'
 *   environment, line  967:  Called python_test
 *   environment, line 2890:  Called die
 * The specific snippet of code:
 *       pytest -vv tests/cover tests/pytest tests/py${pyver} || die "Tests fail with ${EPYTHON}"
Comment 1 ernsteiswuerfel archtester 2020-02-09 15:23:18 UTC
Created attachment 613082 [details]
build.log (5.5.0, ppc)
Comment 2 ernsteiswuerfel archtester 2020-02-09 15:24:22 UTC
Created attachment 613084 [details]
emerge --info
Comment 3 Rolf Eike Beer archtester 2020-02-10 19:33:00 UTC
The exact same tests fail on sparc.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-10 20:13:09 UTC
This doesn't look arch-specific.  Might be related to some other packages installed on the system, or previous version of hypothesis or.. :-(.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-14 09:03:27 UTC
Could you try with pytest-4.6.9?  If that upgrade helps, I'm going to add the dep.
Comment 6 ernsteiswuerfel archtester 2020-02-15 14:38:06 UTC
(In reply to Michał Górny from comment #5)
> Could you try with pytest-4.6.9?  If that upgrade helps, I'm going to add
> the dep.
Unfortunately pytest-4.6.9 does not make a difference.
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-15 14:54:13 UTC
I've tested 4.5.0 here and it seems to pass all tests for me.  So that's not it.

Could you try removing dev-python/pytest-* one by one and seeing if it helps?  Alternatively, try unmerging them all, and just give me the whole list if it helps.
Comment 8 ernsteiswuerfel archtester 2020-02-17 00:22:04 UTC
Created attachment 614092 [details]
build.log (4.57.1, ppc)

Unmerged all pytest-* packages, did a depclean and re-emerged with the new package list from bug #703174.

Now hypothesis-4.57.1 (tested with pytest-5.3.5) and hypothesis-5.5.2 (tested with pytest-5.3.5) tests pass. No additional pytest-* packages installed Interesting...
Comment 9 ernsteiswuerfel archtester 2020-02-17 00:22:47 UTC
Created attachment 614094 [details]
build.log (5.5.2, ppc)
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-17 05:53:53 UTC
Could you give me the list of pytest-* packages you had installed?  Grep|tail for 'Unmerging' in /var/log/emerge.log.
Comment 11 ernsteiswuerfel archtester 2020-02-17 13:11:30 UTC
(In reply to Michał Górny from comment #10)
> Could you give me the list of pytest-* packages you had installed? 
> Grep|tail for 'Unmerging' in /var/log/emerge.log.
Without dupes this would be:
1568920916: === Unmerging... (dev-python/pytest-runner-2.6.2)
1578007751: === Unmerging... (dev-python/pytest-cache-1.0-r1)
1578008311: === Unmerging... (dev-python/pytest-3.10.1)
1579563007: === Unmerging... (dev-python/pytest-mock-1.11.2)
1581261673: === Unmerging... (dev-python/pytest-runner-5.2)
1581796643: === Unmerging... (dev-python/pytest-forked-0.2)
1581888130:  === Unmerging... (dev-python/pytest-4.5.0)
1581891007: === Unmerging... (dev-python/pytest-forked-1.1.3)
1581891119: === Unmerging... (dev-python/pytest-xdist-1.23.2)
1581891728: === Unmerging... (dev-python/pytest-xdist-1.28.0)
1581902430:  === Unmerging... (dev-python/pytest-5.3.5)
1581904553:  === Unmerging... (dev-python/pytest-4.6.9)
Comment 12 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-02-25 18:54:16 UTC
I'm sorry but I can't reproduce this, no matter how hard I try.
Comment 13 Andreas Sturmlechner gentoo-dev 2020-06-05 17:15:11 UTC
Created attachment 643556 [details]
hypothesis-5.16.0.py38.build.log (amd64)

19 failed, 2254 passed, 2 skipped, 2 xfailed in 470.82s (0:07:50)
Comment 14 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2020-07-30 03:52:01 UTC
Created attachment 651474 [details]
build.log

Appears this is still problematic for 5.16.3.

19 failed, 2243 passed, 1 skipped in 665.42s