Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 728268 - dev-python/pytest-cov-2.8.1 - fails test_contexts[nodist], test_contexts[xdist]
Summary: dev-python/pytest-cov-2.8.1 - fails test_contexts[nodist], test_contexts[xdist]
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-06-14 17:27 UTC by ernsteiswuerfel
Modified: 2021-01-07 15:57 UTC (History)
3 users (show)

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


Attachments
emerge --info (file_728268.txt,5.89 KB, text/plain)
2020-06-14 17:27 UTC, ernsteiswuerfel
Details
build.log (pytest-cov-2.8.1:20200614-165909.log,38.33 KB, text/plain)
2020-06-14 17:28 UTC, ernsteiswuerfel
Details
build.log (2.8.1, ppc64) (pytest-cov-2.8.1:20201014-214903.log,220.66 KB, text/plain)
2020-10-14 22:53 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2020-06-14 17:27:30 UTC
Created attachment 644740 [details]
emerge --info

[...]
======================================= short test summary info ========================================
SKIPPED [1] tests/test_pytest_cov.py:824: test is broken
SKIPPED [1] tests/test_pytest_cov.py:956: test is broken
SKIPPED [3] tests/test_pytest_cov.py:1296: condition: sys.platform != "win32"
SKIPPED [1] tests/test_pytest_cov.py:2022: condition: coverage.version_info >= (5, 0)
FAILED tests/test_pytest_cov.py::test_contexts[nodist] - AssertionError: Wrong lines for context 'tes...
FAILED tests/test_pytest_cov.py::test_contexts[xdist] - AssertionError: Wrong lines for context 'test...
========================= 2 failed, 116 passed, 6 skipped in 319.83s (0:05:19) =========================
 * ERROR: dev-python/pytest-cov-2.8.1::gentoo failed (test phase):
 *   Tests failed under python3.6
Comment 1 ernsteiswuerfel archtester 2020-06-14 17:28:29 UTC
Created attachment 644742 [details]
build.log
Comment 2 ernsteiswuerfel archtester 2020-10-14 22:52:48 UTC
ppc64 fails 33 tests on current toolchain:

[...]
FAILED tests/test_pytest_cov.py::test_central_with_path_aliasing[branch2x-xdist] - Failed: nomatch: '...
FAILED tests/test_pytest_cov.py::test_central_with_path_aliasing[branch1c-xdist] - Failed: nomatch: '...
FAILED tests/test_pytest_cov.py::test_central_with_path_aliasing[branch1a-xdist] - Failed: nomatch: '...
FAILED tests/test_pytest_cov.py::test_central_with_path_aliasing[nobranch-xdist] - Failed: nomatch: '...
FAILED tests/test_pytest_cov.py::test_dist_combine_racecondition - Failed: nomatch: '*- coverage: pla...
FAILED tests/test_pytest_cov.py::test_dist_collocated[branch2x] - Failed: remains unmatched: '*- cove...
FAILED tests/test_pytest_cov.py::test_dist_collocated[branch1c] - Failed: remains unmatched: '*- cove...
FAILED tests/test_pytest_cov.py::test_dist_collocated[branch1a] - Failed: remains unmatched: '*- cove...
FAILED tests/test_pytest_cov.py::test_dist_collocated[nobranch] - Failed: remains unmatched: '*- cove...
FAILED tests/test_pytest_cov.py::test_dist_not_collocated[branch2x] - Failed: remains unmatched: '*- ...
FAILED tests/test_pytest_cov.py::test_dist_not_collocated[branch1c] - Failed: remains unmatched: '*- ...
FAILED tests/test_pytest_cov.py::test_dist_not_collocated[branch1a] - Failed: remains unmatched: '*- ...
FAILED tests/test_pytest_cov.py::test_dist_not_collocated[nobranch] - Failed: remains unmatched: '*- ...
FAILED tests/test_pytest_cov.py::test_dist_not_collocated_coveragerc_source[branch2x] - Failed: remai...
FAILED tests/test_pytest_cov.py::test_dist_not_collocated_coveragerc_source[branch1c] - Failed: remai...
FAILED tests/test_pytest_cov.py::test_dist_not_collocated_coveragerc_source[branch1a] - Failed: remai...
FAILED tests/test_pytest_cov.py::test_dist_not_collocated_coveragerc_source[nobranch] - Failed: remai...
FAILED tests/test_pytest_cov.py::test_dist_subprocess_collocated - Failed: remains unmatched: '*- cov...
FAILED tests/test_pytest_cov.py::test_dist_subprocess_not_collocated - Failed: remains unmatched: '*-...
FAILED tests/test_pytest_cov.py::test_cover_conftest_dist - assert <ExitCode.USAGE_ERROR: 4> == 0
FAILED tests/test_pytest_cov.py::test_coveragerc_dist - assert <ExitCode.USAGE_ERROR: 4> == 0
FAILED tests/test_pytest_cov.py::test_dist_bare_cov - Failed: nomatch: '*- coverage: platform *, pyth...
FAILED tests/test_pytest_cov.py::test_external_data_file_xdist - assert <ExitCode.USAGE_ERROR: 4> == 0
FAILED tests/test_pytest_cov.py::test_append_coverage[branch2x-xdist] - Failed: nomatch: 'test_1* 9 *...
FAILED tests/test_pytest_cov.py::test_append_coverage[branch1c-xdist] - Failed: nomatch: 'test_1* 9 *...
FAILED tests/test_pytest_cov.py::test_append_coverage[branch1a-xdist] - Failed: nomatch: 'test_1* 9 *...
FAILED tests/test_pytest_cov.py::test_append_coverage[nobranch-xdist] - Failed: nomatch: 'test_1* 9 *...
FAILED tests/test_pytest_cov.py::test_do_not_append_coverage[branch2x-xdist] - Failed: nomatch: 'test...
FAILED tests/test_pytest_cov.py::test_do_not_append_coverage[branch1c-xdist] - Failed: nomatch: 'test...
FAILED tests/test_pytest_cov.py::test_do_not_append_coverage[branch1a-xdist] - Failed: nomatch: 'test...
FAILED tests/test_pytest_cov.py::test_do_not_append_coverage[nobranch-xdist] - Failed: nomatch: 'test...
FAILED tests/test_pytest_cov.py::test_contexts[nodist] - AssertionError: Wrong lines for context 'tes...
FAILED tests/test_pytest_cov.py::test_contexts[xdist] - assert <ExitCode.INTERNAL_ERROR: 3> == 0
=================== 33 failed, 85 passed, 6 skipped, 1 warning in 162.29s (0:02:42) ====================
 * ERROR: dev-python/pytest-cov-2.8.1::gentoo failed (test phase):
 *   Tests failed under python3.7
Comment 3 ernsteiswuerfel archtester 2020-10-14 22:53:18 UTC
Created attachment 665678 [details]
build.log (2.8.1, ppc64)
Comment 4 Paolo Pedroni 2020-10-22 13:11:08 UTC
Same for amd64...
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-01-05 10:40:05 UTC
Try 2.10.1.
Comment 6 ernsteiswuerfel archtester 2021-01-07 15:57:27 UTC
(In reply to Michał Górny from comment #5)
> Try 2.10.1.
2.10.1 fails to run the testsuite at all (bug #763900).