Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test-ptrace01.c test fails with exit status 1 (waitpid(): No child processes) #261

Open
Apteryks opened this issue Jul 9, 2021 · 2 comments

Comments

@Apteryks
Copy link

Apteryks commented Jul 9, 2021

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

  1. 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:

coreutils-minimal@8.30
libarchive@3.4.2
make@4.2.1
pkg-config@0.29.2
talloc@2.3.2
util-linux@2.35.1
which@2.21

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/
@oxr463 oxr463 added this to Needs triage in Triage via automation Jul 9, 2021
@oxr463 oxr463 added this to To do in PRoot via automation Jul 9, 2021
@oxr463 oxr463 moved this from Needs triage to Low priority in Triage Oct 1, 2021
@oxr463
Copy link
Member

oxr463 commented Jan 22, 2022

@Apteryks can you test again on the latest v5.3.0 release?

@Apteryks
Copy link
Author

See: #286 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
PRoot
To do
Triage
Low priority
Development

No branches or pull requests

2 participants