proot
proot copied to clipboard
test-ptrace01.c test fails with exit status 1 (waitpid(): No child processes)
Expected Behavior
The test should pass.
Actual Behavior
The test seems to fail due to waitpid(): No child processes
. See the output below.
Steps to Reproduce the Problem
- Run the test suite with:
make check -C test V=1 -j 4
.
Specifications
- Proot/Care version: v5.2.0-alpha tag
- Kernel version: 5.12.9-gnu x86_64
- Host distribution: Guix System
- Guest distribution: N/A
Using the following build inputs:
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
Command Output
if [ -e /tmp/guix-build-proot-5.2.0-alpha.drv-0/source/test//rootfs/bin/test-ptrace01 ]; then /tmp/guix-build-proot-5.2.0-alpha.drv-0/source/test//../src/proot -b /proc -r /tmp/guix-build-proot-5.2.0-alpha.drv-0/source/test//rootfs /bin/test-ptrace01 ; case "$?" in 0) echo " CHECK test-ptrace01 ok";; 125) echo " CHECK test-ptrace01 skipped";; *) echo " CHECK test-ptrace01 FAILED"; touch failure ;; esac else echo " CHECK test-ptrace01 skipped"; fi
+ cat_result=1
+ readlink dl1/r3/.
+ readlink_result=1
+ echo 'dl1/r3/., 1, 1, 1'
+ for c in ${x4} ""
+ x=dl1/r3/..
++ cd dl1/r3/..
+ cd_result=1
+ cat dl1/r3/..
+ cat_result=1
+ readlink dl1/r3/..
+ readlink_result=1
+ echo 'dl1/r3/.., 1, 1, 1'
+ for c in ${x4} ""
+ x=dl1/r3
++ cd dl1/r3
+ cd_result=1
+ cat dl1/r3
+ cat_result=1
+ readlink dl1/r3
+ readlink_result=1
+ echo 'dl1/r3, 1, 1, 1'
+ for b in ${x3}
+ make_tests dl1/d3
+ for c in ${x4} ""
+ x=dl1/d3/
++ cd dl1/d3/
+ cd_result=1
+ cat dl1/d3/
waitpid(): No child processes
+ cat_result=1
+ readlink dl1/d3/
@Apteryks can you test again on the latest v5.3.0 release?
See: https://github.com/proot-me/proot/issues/286#issuecomment-1019532072.