IPC-Run icon indicating copy to clipboard operation
IPC-Run copied to clipboard

t/parent_and_child_fds_match.t may fail

Open eserte opened this issue 3 years ago • 1 comments

Sometimes t/parent_and_child_fds_match.t fails like this:

#   Failed test 'child process exited with success status'
#   at t/parent_and_child_fds_match.t line 63.
# Looks like you failed 1 test of 3.
t/parent_and_child_fds_match.t ....... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests 

Does not seem to depend on an operating system (seen on freebsd, macosx and linux) or perl version (happened on my smokers for perls between 5.18.4 and 5.34.0). Rerunning the test suite usually gives a pass.

eserte avatar Aug 01 '21 10:08 eserte

Can you set IPCRUNDEBUG=gory in the environment and share the output from a failing run? I've been unable to reproduce this. I tried the test in a loop on a fast machine, a slow machine, and running under rr record --chaos --always-switch --force-things. Output from a failure in the latest version (20220807.0) would be best, but any version (guessing you had used 20200505.0) would be helpful.

nmisch avatar Aug 26 '22 14:08 nmisch