Open davidnich opened 3 years ago
still happening occasionally... root cause unknown
likely to be a race condition in the boost process library handling SIGCHLD
hopefully finally fixed:
ECHILD
on wait ignoredon_exit_handler()
sets the process's exit code if available - lifetime of the async handler now = internal process object'sthis is still happening - rarely. but it still happens
"
stderr : "Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
"
exit_code : -1
FAILURE: mainTest: 3 assertions, 2 succeeded
Assertion failure at /builds/qorus/qorus/test/QorusBug3233ConfigItems.qtest:59 [Main::mainTest()] <- /builds/qorus/qorus/test/QorusBug3233ConfigItems.qtest:37 [Main::constructor()]
-----
>> Expected: 0, Actual: -1, Difference: 1
-----
Ran 1 test case, 1 error (3 assertions, 2 succeeded)
+ RESULTS=' 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1'
sometimes a process's exit status is returned incorrectly as
-1
instead of0
ex - successful execution of a test with the
process
module:The actual exit code was
0
also there can be false negatives: