Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889886 - dev-python/pytest-cov-4.0.0-r1 fails tests
Summary: dev-python/pytest-cov-4.0.0-r1 fails tests
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-01-05 19:29 UTC by Agostino Sarubbo
Modified: 2023-10-10 05:10 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,281.05 KB, text/plain)
2023-01-05 19:29 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-01-05 19:29:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pytest-cov-4.0.0-r1 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-05 19:29:46 UTC
Created attachment 847556 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-01-05 19:29:48 UTC
Error(s) that match a know pattern:


FAILED tests/test_pytest_cov.py::test_append_coverage_subprocess - Failed: no...
FAILED tests/test_pytest_cov.py::test_central_subprocess_change_cwd - Failed:...
FAILED tests/test_pytest_cov.py::test_central_subprocess_change_cwd_with_pythonpath
FAILED tests/test_pytest_cov.py::test_central_subprocess - Failed: nomatch: '...
FAILED tests/test_pytest_cov.py::test_dist_subprocess_collocated - Failed: no...
FAILED tests/test_pytest_cov.py::test_dist_subprocess_not_collocated - Failed...
FAILED tests/test_pytest_cov.py::test_subprocess_with_path_aliasing - Failed:...
Comment 3 Paolo Pedroni 2023-06-08 10:20:13 UTC
Same with pytest-cov-4.1.0, but only on some of my boxes. I haven't managed to find out the differences, yet.
Comment 4 Paolo Pedroni 2023-06-08 10:25:40 UTC
Found! pytest-cov (even a previous version) must be previously installed for the tests to succeed.
Comment 5 Larry the Git Cow gentoo-dev 2023-10-10 05:10:21 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8779b842df8e06a07704874671631d3f100d75df

commit 8779b842df8e06a07704874671631d3f100d75df
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2023-10-08 09:38:00 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-10-10 05:10:16 +0000

    dev-python/pytest-cov: deselect problematic subprocess tests
    
    Bug: https://bugs.gentoo.org/889886
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pytest-cov/pytest-cov-4.1.0.ebuild | 24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)