Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931553 - dev-python/pytest-rerunfailures-14.0 fails tests: FAILED test_run_session_teardown_once_after_reruns.py::TestFirstPassLastFail::test_2
Summary: dev-python/pytest-rerunfailures-14.0 fails tests: FAILED test_run_session_tea...
Status: RESOLVED FIXED
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: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-05-08 06:58 UTC by Agostino Sarubbo
Modified: 2024-05-09 18:12 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,155.93 KB, text/plain)
2024-05-08 06:58 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 2024-05-08 06:58:54 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pytest-rerunfailures-14.0 fails tests.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-05-08 06:58:55 UTC
Created attachment 892466 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-05-08 06:58:56 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


    and: 'E       AssertionError: fail'
    and: 'E       ValueError: value'
    and: 'FAILED test_exception_match_only_rerun_in_dual_query.py::test_1 - Exception: ...'
    and: 'FAILED test_exception_matches_only_rerun_query.py::test_1 - AssertionError: fail'
    and: 'FAILED test_exception_matches_rerun_except_query.py::TestStuff::test_1 - Asse...'
    and: 'FAILED test_exception_matches_rerun_except_query.py::TestStuff::test_2 - asse...'
    and: 'FAILED test_exception_not_match_rerun_except_query.py::test_1 - ValueError: v...'
E               AssertionError: Calls not found.
E           and: 'E       AssertionError: fail'
E           and: 'E       ValueError: value'
E           and: 'FAILED test_exception_match_only_rerun_in_dual_query.py::test_1 - Exception: ...'
E           and: 'FAILED test_exception_matches_only_rerun_query.py::test_1 - AssertionError: fail'
E           and: 'FAILED test_exception_matches_rerun_except_query.py::TestStuff::test_1 - Asse...'
E           and: 'FAILED test_exception_matches_rerun_except_query.py::TestStuff::test_2 - asse...'
E           and: 'FAILED test_exception_not_match_rerun_except_query.py::test_1 - ValueError: v...'
E       AssertionError: fail
E       ValueError: value
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
ERROR test_run_session_teardown_once_after_reruns.py::TestSetupFailed::test_1
FAILED test_exception_match_only_rerun_in_dual_query.py::test_1 - Exception: ...
FAILED test_exception_matches_only_rerun_query.py::test_1 - AssertionError: fail
FAILED test_exception_matches_rerun_except_query.py::TestStuff::test_1 - Asse...
FAILED test_exception_matches_rerun_except_query.py::TestStuff::test_2 - asse...
FAILED test_exception_not_match_rerun_except_query.py::test_1 - ValueError: v...
FAILED test_run_session_teardown_once_after_reruns.py::TestFirstFailLastPass::test_1
FAILED test_run_session_teardown_once_after_reruns.py::TestFirstPassLastFail::test_2
FAILED test_run_session_teardown_once_after_reruns.py::TestSkipFirst::test_2
FAILED test_run_session_teardown_once_after_reruns.py::TestSkipLast::test_1
FAILED test_run_session_teardown_once_after_reruns.py::TestTestCaseFailFirstFailLast::test_1
FAILED test_run_session_teardown_once_after_reruns.py::TestTestCaseFailFirstFailLast::test_2
FAILED test_run_session_teardown_once_after_reruns.py::TestTestCaseSkipFirst::test_2
FAILED test_run_session_teardown_once_after_reruns.py::TestTestCaseSkipLast::test_1
FAILED tests/test_pytest_rerunfailures.py::test_exception_match_only_rerun_in_dual_query - Failed: nomatch: 'session teardown'
FAILED tests/test_pytest_rerunfailures.py::test_exception_matches_only_rerun_query - Failed: nomatch: 'session teardown'
FAILED tests/test_pytest_rerunfailures.py::test_exception_matches_rerun_except_query - Failed: nomatch: 'session teardown'
FAILED tests/test_pytest_rerunfailures.py::test_exception_not_match_rerun_except_query - Failed: nomatch: 'session teardown'
FAILED tests/test_pytest_rerunfailures.py::test_run_session_teardown_once_after_reruns - AssertionError: Calls not found.
result     = <RunResult ret=ExitCode.TESTS_FAILED len(stdout.lines)=102 len(stderr.lines)=0 duration=0.36s>
result     = <RunResult ret=ExitCode.TESTS_FAILED len(stdout.lines)=32 len(stderr.lines)=0 duration=0.08s>
result     = <RunResult ret=ExitCode.TESTS_FAILED len(stdout.lines)=48 len(stderr.lines)=0 duration=0.10s>
tests/test_pytest_rerunfailures.py::test_exception_match_only_rerun_in_dual_query FAILED [109/109]
tests/test_pytest_rerunfailures.py::test_exception_matches_only_rerun_query FAILED [106/109]
tests/test_pytest_rerunfailures.py::test_exception_matches_rerun_except_query FAILED [104/109]
tests/test_pytest_rerunfailures.py::test_exception_not_match_rerun_except_query FAILED [105/109]
tests/test_pytest_rerunfailures.py::test_only_rerun_flag_in_flaky_marker[AssertionError: ERR-None-True] PASSED [ 81/109]
tests/test_pytest_rerunfailures.py::test_rerun_except_flag_in_flaky_marker[AssertionError: ERR-None-AssertionError-False] PASSED [ 90/109]
tests/test_pytest_rerunfailures.py::test_run_session_teardown_once_after_reruns FAILED [103/109]
Comment 3 Larry the Git Cow gentoo-dev 2024-05-09 17:08:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=934b04fcc97052ed7fcb95cabe6b7793aa5b2fc4

commit 934b04fcc97052ed7fcb95cabe6b7793aa5b2fc4
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-05-09 16:55:34 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-05-09 16:55:34 +0000

    dev-python/pytest-rerunfailures: Deselect tests failing with pytest-8.2
    
    Closes: https://bugs.gentoo.org/931553
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../pytest-rerunfailures/pytest-rerunfailures-14.0.ebuild    | 12 ++++++++++++
 1 file changed, 12 insertions(+)