You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.
accept02 from LTP test suite fails, but make regression (hence CI) does not report it.
Steps to reproduce
Run ./pal_loader ./accept02 in LibOS/shim/test/ltp/install/testcases/bin - it does not work: TBROK: setsockopt() failed unexpectedly: ENOPROTOOPT (92)
Run make regression in LibOS/shim/test/ltp/ - the above failure is not reported.
The text was updated successfully, but these errors were encountered:
Currently, a thread calling exit_group() will cause all other
threads to also exit, but the exit code for these threads will be
0. As a result, another process calling wait() might receive 0
instead of the right exit code.
Instead, make sure that all other threads exit with the same
exit_code and term_signal.
It looks like this regression was introduced in
50ca6c4. I noticed it because
LTP test accept02 incorrectly returned exit code 0 before failing
(see gramineproject#1937).
The previous commit strengthens a test (exit_group) that triggers
the described scenario.
Description of the problem
accept02
from LTP test suite fails, butmake regression
(hence CI) does not report it.Steps to reproduce
Run
./pal_loader ./accept02
inLibOS/shim/test/ltp/install/testcases/bin
- it does not work:TBROK: setsockopt() failed unexpectedly: ENOPROTOOPT (92)
Run
make regression
inLibOS/shim/test/ltp/
- the above failure is not reported.The text was updated successfully, but these errors were encountered: