Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840812 - dev-vcs/pre-commit-2.18.1 fails test - E AssertionError: assert (/usr/bin/coreutils, --coreutils-prog-shebang=echo, .../echo, hi)
Summary: dev-vcs/pre-commit-2.18.1 fails test - E AssertionError: assert (/usr/bin/cor...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2022-04-25 16:28 UTC by Toralf Förster
Modified: 2022-06-29 14:07 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.81 KB, text/plain)
2022-04-25 16:28 UTC, Toralf Förster
Details
dev-vcs:pre-commit-2.18.1:20220425-151419.log (dev-vcs:pre-commit-2.18.1:20220425-151419.log,68.92 KB, text/plain)
2022-04-25 16:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,177.44 KB, text/plain)
2022-04-25 16:28 UTC, Toralf Förster
Details
environment (environment,124.71 KB, text/plain)
2022-04-25 16:29 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,35.36 KB, application/x-bzip)
2022-04-25 16:29 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,834.69 KB, application/x-bzip)
2022-04-25 16:29 UTC, Toralf Förster
Details
tests.tar.bz2 (tests.tar.bz2,42.84 KB, application/x-bzip)
2022-04-25 16:29 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-04-25 16:28:54 UTC
    def test_normalize_cmd_trivial():
        cmd = (_echo_exe(), 'hi')
>       assert parse_shebang.normalize_cmd(cmd) == cmd
E       AssertionError: assert ('/usr/bin/coreutils', '--coreutils-prog-shebang=echo', '/bin/echo', 'hi') == ('/bin/echo', 'hi')
E         At index 0 diff: '/usr/bin/coreutils' != '/bin/echo'
E         Left contains 2 more items, first extra item: '/bin/echo'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4_test-20220423-192942

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.3.0 *
clang/llvm (if any):
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.60.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit bba156477a99b4420b2fb99a86102d1c64549d1e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Apr 25 14:18:28 2022 +0000

    2022-04-25 14:18:27 UTC

emerge -qpvO dev-vcs/pre-commit
[ebuild  N    ] dev-vcs/pre-commit-2.18.1  USE="test" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-04-25 16:28:56 UTC
Created attachment 774521 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-25 16:28:57 UTC
Created attachment 774524 [details]
dev-vcs:pre-commit-2.18.1:20220425-151419.log
Comment 3 Toralf Förster gentoo-dev 2022-04-25 16:28:59 UTC
Created attachment 774527 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-25 16:29:00 UTC
Created attachment 774530 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-25 16:29:01 UTC
Created attachment 774533 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-25 16:29:03 UTC
Created attachment 774536 [details]
temp.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-25 16:29:05 UTC
Created attachment 774539 [details]
tests.tar.bz2
Comment 8 Marek Szuba archtester gentoo-dev 2022-06-29 07:31:36 UTC
Does this still happen with 2.19.0?
Comment 9 Toralf Förster gentoo-dev 2022-06-29 14:07:25 UTC
(In reply to Marek Szuba from comment #8)
> Does this still happen with 2.19.0?

nope