NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/60353: cpio(1): tests are failing to run at all
>Number: 60353
>Category: bin
>Synopsis: cpio(1): tests are failing to run at all
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 23 15:50:00 +0000 2026
>Originator: Taylor R Campbell
>Release: current
>Organization:
The NetCPIO Notfoundation
>Environment:
>Description:
Since the libarchive 3.8.7 update in May, the cpio(1) tests
have been failing to start because (a) the atf test working
directory is owned root:wheel and mode 0700 but (b) the cpio
test newly drops privileges to the uid of nobody and a gid that
is equal to the uid of nobody, which lacks permission to use
the bsdcpio symlink we create in the working directory to get
the tests matching:
https://releng.netbsd.org/b5reports/i386/commits-2026.05.html#build-2026.05.03.14.40.12
https://releng.netbsd.org/b5reports/i386/2026/2026.05.03.14.40.12/test.html#usr.bin_cpio_t_cpio_cpio
Test case: usr.bin/cpio/t_cpio/cpio
Duration: 0.023406 seconds
Termination reason
FAILED: atf-check failed; see the output of the test for details
Standard output stream
Executing command [ /usr/tests/usr.bin/cpio/h_cpio -p /tmp/atf-run.sib4SG/bsdcpio -r /usr/tests/usr.bin/cpio ]
Standard error stream
Fail: incorrect exit status: 1, expected: 0
stdout:
Will switch to user nobody (uid 32767 gid 39)
If tests fail or crash, details will be in:
/tmp/h_cpio.2026-05-04T06.04.46-000
Reference files will be read from: /usr/tests/usr.bin/cpio
Running tests on: "/tmp/atf-run.sib4SG/bsdcpio"
Exercising: bsdcpio 3.8.7 - libarchive 3.8.7 zlib/1.3.1 liblzma/5.8.3 bz2lib/1.0.8 libzstd/1.5.7 openssl/3.5.6 libb2/bundled
0: test_0
stderr:
File "/tmp/atf-run.sib4SG/bsdcpio" does not exist; aborting test.
>How-To-Repeat:
cd /usr/tests/usr.bin/cpio && atf-run | atf-report
>Fix:
Yes, please!
Home |
Main Index |
Thread Index |
Old Index