Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 728266

Summary: dev-python/pytest-5.4.2 - fails tests
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: PPC Porters <ppc>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein, mgorny, python
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info
build.log (working!)

Description ernsteiswuerfel archtester 2020-06-14 16:58:48 UTC
Created attachment 644736 [details]
build.log

[...]
testing/code/test_excinfo.py::test_excinfo_exconly PASSED                                        [ 21%]
testing/code/test_excinfo.py::test_excinfo_repr_str PASSED                                       [ 21%]
testing/code/test_excinfo.py::test_excinfo_for_later PASSED                                      [ 21%]
testing/code/test_excinfo.py::test_excinfo_errisinstance PASSED                                  [ 21%]
testing/code/test_excinfo.py::test_excinfo_no_sourcecode PASSED                                  [ 21%]
testing/code/test_excinfo.py::test_excinfo_no_python_sourcecode  * ERROR: dev-python/pytest-5.4.2::gentoo failed (test phase):
 *   tests failed with python3.6
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_test
 *   environment, line 2970:  Called distutils-r1_src_test
 *   environment, line 1295:  Called _distutils-r1_run_foreach_impl 'python_test'
 *   environment, line  476:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_test'
 *   environment, line 2578:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 2077:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 2075:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test'
 *   environment, line  883:  Called distutils-r1_run_phase 'python_test'
 *   environment, line 1232:  Called python_test
 *   environment, line 2930:  Called die
 * The specific snippet of code:
 *       "${EPYTHON}" -m pytest -vv --lsof -rfsxX || die "tests failed with ${EPYTHON}"
Comment 1 ernsteiswuerfel archtester 2020-06-14 16:59:23 UTC
Created attachment 644738 [details]
emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-06-28 15:26:49 UTC
I can't reproduce on timberdoodle.  Could you check dmesg?  This really looks like something crashing but I'm not sure what.
Comment 3 ernsteiswuerfel archtester 2020-06-29 18:50:13 UTC
Created attachment 647098 [details]
build.log (working!)

Re-started from scratch and tests pass now on ppc. Only difference in the build logs between the failing and the now working build I noticed is:

plugins: hypothesis-4.50.8, mock-1.11.2 (failing)
plugins: hypothesis-4.50.8 (working)

But if I build python-mock-1.11.2 an re-do the testsuite it still passes. Strange...