Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 849605 - [guru] [HELP] dev-python/pytest-benchmark-3.4.1 fails tests
Summary: [guru] [HELP] dev-python/pytest-benchmark-3.4.1 fails tests
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alessandro Barbieri
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2022-06-04 06:31 UTC by Agostino Sarubbo
Modified: 2022-06-06 16:28 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,356.60 KB, text/plain)
2022-06-04 06:31 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 2022-06-04 06:31:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pytest-benchmark-3.4.1 fails tests.
Discovered on: amd64 (internal ref: guru_ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-04 06:31:49 UTC
Created attachment 782636 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-06-04 06:31:50 UTC
Error(s) that match a know pattern:


        err_msg    = 'No such file or directory'
        errpipe_data = bytearray(b'OSError:2:')
        value      = FileNotFoundError(2, 'No such file or directory')
E   FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/pytest-benchmark-3.4.1/temp/pytest-of-portage/pytest-0/test_update_machine_info_hook_detection0/benchmark.json'
E   FileNotFoundError: [Errno 2] No such file or directory: 'py.test-benchmark'
E   py.error.ENOENT: [No such file or directory]: open('/var/tmp/portage/dev-python/pytest-benchmark-3.4.1/temp/pytest-of-portage/pytest-0/test_update_machine_info_hook_detection0/benchmark.json', 'r')
FAILED tests/test_benchmark.py::test_abort_broken - Failed: nomatch: '*collec...
FAILED tests/test_benchmark.py::test_autosave - Failed: nomatch: 'Saved bench...
FAILED tests/test_benchmark.py::test_bad_compare_fail - Failed: fnmatch: '*us...
FAILED tests/test_benchmark.py::test_bad_rounds - Failed: fnmatch: '*usage: *'
FAILED tests/test_benchmark.py::test_bad_rounds_2 - Failed: fnmatch: '*usage: *'
FAILED tests/test_benchmark.py::test_bad_save - Failed: fnmatch: '*usage: *'
FAILED tests/test_benchmark.py::test_bad_save_2 - Failed: fnmatch: '*usage: *'
FAILED tests/test_benchmark.py::test_basic - Failed: nomatch: '*collected 5 i...
FAILED tests/test_benchmark.py::test_bogus_max_time - Failed: fnmatch: '*usag...
FAILED tests/test_benchmark.py::test_bogus_min_time - Failed: fnmatch: '*usag...
FAILED tests/test_benchmark.py::test_bogus_sort - Failed: fnmatch: '*usage: *'
FAILED tests/test_benchmark.py::test_bogus_timer - Failed: fnmatch: '*usage: *'
FAILED tests/test_benchmark.py::test_columns - Failed: remains unmatched: '*c...
FAILED tests/test_benchmark.py::test_compare - Failed: nomatch: 'Comparing ag...
FAILED tests/test_benchmark.py::test_compare_last - Failed: nomatch: 'Compari...
FAILED tests/test_benchmark.py::test_compare_no_files - Failed: nomatch: "* P...
FAILED tests/test_benchmark.py::test_compare_no_files_match - Failed: nomatch...
FAILED tests/test_benchmark.py::test_compare_no_files_match_verbose - Failed:...
FAILED tests/test_benchmark.py::test_compare_no_files_verbose - Failed: nomat...
FAILED tests/test_benchmark.py::test_compare_non_existing - Failed: nomatch: ...
FAILED tests/test_benchmark.py::test_compare_non_existing_verbose - Failed: n...
FAILED tests/test_benchmark.py::test_conflict_between_only_and_disable - Fail...
FAILED tests/test_benchmark.py::test_cprofile - Failed: remains unmatched: '-...
FAILED tests/test_benchmark.py::test_custom_timer - Failed: remains unmatched...
FAILED tests/test_benchmark.py::test_disable - Failed: remains unmatched: '*c...
FAILED tests/test_benchmark.py::test_disable_gc - Failed: remains unmatched: ...
FAILED tests/test_benchmark.py::test_disabled_and_cprofile - Failed: remains ...
FAILED tests/test_benchmark.py::test_double_use - Failed: nomatch: '*FixtureA...
FAILED tests/test_benchmark.py::test_fixtures_also_skipped - Failed: remains ...
FAILED tests/test_benchmark.py::test_group_by_fullfunc - Failed: remains unma...
FAILED tests/test_benchmark.py::test_group_by_fullname - Failed: line "* benc...
FAILED tests/test_benchmark.py::test_group_by_func - Failed: remains unmatche...
FAILED tests/test_benchmark.py::test_group_by_name - Failed: remains unmatche...
FAILED tests/test_benchmark.py::test_group_by_param_all - Failed: remains unm...
FAILED tests/test_benchmark.py::test_group_by_param_select - Failed: remains ...
FAILED tests/test_benchmark.py::test_group_by_param_select_multiple - Failed:...
FAILED tests/test_benchmark.py::test_groups - Failed: nomatch: '*collected 5 ...
FAILED tests/test_benchmark.py::test_help - Failed: fnmatch: '*'
FAILED tests/test_benchmark.py::test_histogram - Failed: nomatch: 'Generated ...
FAILED tests/test_benchmark.py::test_mark_selection - Failed: nomatch: '*coll...
FAILED tests/test_benchmark.py::test_max_time - Failed: remains unmatched: '*...
FAILED tests/test_benchmark.py::test_max_time_min_rounds - Failed: remains un...
FAILED tests/test_benchmark.py::test_only_benchmarks - Failed: remains unmatc...
FAILED tests/test_benchmark.py::test_only_override_skip - Failed: remains unm...
FAILED tests/test_benchmark.py::test_pep418_timer - Failed: remains unmatched...
FAILED tests/test_benchmark.py::test_save - Failed: nomatch: 'Saved benchmark...
FAILED tests/test_benchmark.py::test_save_extra_info - Failed: nomatch: 'Save...
FAILED tests/test_benchmark.py::test_skip - Failed: remains unmatched: '*coll...
FAILED tests/test_benchmark.py::test_sort_by_mean - Failed: remains unmatched...
FAILED tests/test_benchmark.py::test_update_machine_info_hook_detection - py....
FAILED tests/test_benchmark.py::test_verbose - Failed: nomatch: '  Calibratin...
FAILED tests/test_cli.py::test_compare[long-<lambda>] - FileNotFoundError: [E...
FAILED tests/test_cli.py::test_compare[normal-<lambda>] - FileNotFoundError: ...
FAILED tests/test_cli.py::test_compare[short-<lambda>] - FileNotFoundError: [...
FAILED tests/test_cli.py::test_compare[trial-<lambda>] - FileNotFoundError: [...
FAILED tests/test_cli.py::test_list - FileNotFoundError: [Errno 2] No such fi...
SKIPPED [1] tests/test_benchmark.py:825: could not import 'xdist': No module named 'xdist'
SKIPPED [1] tests/test_benchmark.py:835: could not import 'xdist': No module named 'xdist'
tests/test_benchmark.py::test_xdist SKIPPED (could not import 'xdist': No module named 'xdist') [ 43/226]
tests/test_benchmark.py::test_xdist_verbose SKIPPED (could not import 'xdist': No module named 'xdist') [ 44/226]
__main__.py: error: unrecognized arguments: --benchmark-max-time=0.0000001 --benchmark-group-by
Comment 3 Larry the Git Cow gentoo-dev 2022-06-06 16:28:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f287069080e56d8190348898b0f473ad34f38fb9

commit f287069080e56d8190348898b0f473ad34f38fb9
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
AuthorDate: 2022-06-04 22:07:14 +0000
Commit:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
CommitDate: 2022-06-05 06:12:14 +0000

    dev-python/pytest-benchmark: disable tests broken with pytest7
    
    Closes: https://bugs.gentoo.org/849605
    Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>

 .../pytest-benchmark/pytest-benchmark-3.4.1.ebuild | 28 ++++++++++++++++++++--
 1 file changed, 26 insertions(+), 2 deletions(-)