https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-util/pkgcheck-0.10.20 fails tests. Discovered on: amd64 (internal ref: ci)
Created attachment 845700 [details] build.log build log and emerge --info
Error(s) that match a know pattern: ' E AssertionError: assert '' == 'profile warning: foo Failed importing: No module named 'pkgcheck-0'! FAILED tests/scripts/test_pkgcheck_replay.py::TestPkgcheckReplay::test_replay_pipe_stdin SKIPPED [1] tests/checks/test_perl.py:39: PerlCheck: failed to run perl script: Can't open perl script "/usr/share/pkgcheck/perl-version.pl": No such file or directory SKIPPED [1] tests/checks/test_perl.py:44: PerlCheck: failed to run perl script: Can't open perl script "/usr/share/pkgcheck/perl-version.pl": No such file or directory SKIPPED [1] tests/checks/test_perl.py:58: PerlCheck: failed to run perl script: Can't open perl script "/usr/share/pkgcheck/perl-version.pl": No such file or directory SKIPPED [1] tests/checks/test_perl.py:62: PerlCheck: failed to run perl script: Can't open perl script "/usr/share/pkgcheck/perl-version.pl": No such file or directory SKIPPED [1] tests/checks/test_perl.py:69: PerlCheck: failed to run perl script: Can't open perl script "/usr/share/pkgcheck/perl-version.pl": No such file or directory tests/checks/test_all.py::TestMetadataError::test_register_missing_attr PASSED [132/838] tests/checks/test_all.py::TestMetadataError::test_reregister_error PASSED [131/838] tests/checks/test_perl.py::TestPerlCheck::test_matching SKIPPED (PerlCheck: failed to run perl script: Can't open perl script "/usr/share/pkgcheck/perl-version.pl": No such file or directory) [370/838] tests/checks/test_perl.py::TestPerlCheck::test_no_dist_version SKIPPED (PerlCheck: failed to run perl script: Can't open perl script "/usr/share/pkgcheck/perl-version.pl": No such file or directory) [372/838] tests/checks/test_perl.py::TestPerlCheck::test_nonmatching SKIPPED (PerlCheck: failed to run perl script: Can't open perl script "/usr/share/pkgcheck/perl-version.pl": No such file or directory) [371/838] tests/checks/test_perl.py::TestPerlCheck::test_no_perl_deps SKIPPED (PerlCheck: failed to run perl script: Can't open perl script "/usr/share/pkgcheck/perl-version.pl": No such file or directory) [374/838] tests/checks/test_perl.py::TestPerlCheck::test_no_perl SKIPPED (PerlCheck: failed to run perl script: Can't open perl script "/usr/share/pkgcheck/perl-version.pl": No such file or directory) [373/838]
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=c219e33c3cb40dceb5b3796e00dbd25b3c9dcf8a commit c219e33c3cb40dceb5b3796e00dbd25b3c9dcf8a Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2022-12-31 11:19:02 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2022-12-31 11:31:23 +0000 test_pkgcheck_replay: fix test_replay_pipe_stdin from sdist We don't ship `bin/` in the sdist, so we are unable to run the script `bin/pkgcheck` from the sdist. Instead, use monkey-patching and `tool` to run with stdin `pkgcheck replay`. Bug: https://bugs.gentoo.org/888896 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> bin/pkgcheck | 1 - tests/scripts/test_pkgcheck_replay.py | 58 +++++++++++++++++------------------ 2 files changed, 29 insertions(+), 30 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10717ac4ea34a89ed60d1d0d118c491102de9862 commit 10717ac4ea34a89ed60d1d0d118c491102de9862 Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2022-12-31 11:30:19 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2022-12-31 11:30:19 +0000 dev-util/pkgcheck: fix missing bin/ for replay test Closes: https://bugs.gentoo.org/888896 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> .../files/pkgcheck-0.10.20-fix-replay-bin.patch | 109 +++++++++++++++++++++ dev-util/pkgcheck/pkgcheck-0.10.20.ebuild | 4 + 2 files changed, 113 insertions(+)