]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: skip TEST-55-OOMD entirely if stress-ng is broken on this host
authorLuca Boccassi <luca.boccassi@gmail.com>
Tue, 26 May 2026 00:06:40 +0000 (01:06 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 26 May 2026 12:02:56 +0000 (14:02 +0200)
commit4840da2fdf044d78e6212c48c098c3cc6b17be7c
tree0577bc018dce9e9c1f336b872a834da06b5d125b
parentd096763827718083918244eb3b7796bf27876d56
test: skip TEST-55-OOMD entirely if stress-ng is broken on this host

This reverts commit a17efef137 ("test: try to detect SIGILL in stress-ng
and skip TEST-55-OOMD gracefully") and replaces it with a single
check to skip the test cases.

The previous check was not reliable as stress-ng can catch SIGILL
itself and exist with an error:

  stress-ng[1068]: stress-ng: debug: [1068] caught SIGILL, address \
    0x00005632f8330140 (ILL_ILLOPN)
  stress-ng[1068]: stress-ng: debug: [1068] stress-ng: info: \
    0x00005632f8330140:<62>71 fd 48 6f 2d 36 14 1c 00 c5 d1 ef ed 49 29
  ...
  stress-ng[1053]: stress-ng: error: [1053] vm: [1061] terminated \
    with an error, exit status=2 (stressor failed)
  ...
  systemd[1]: TEST-55-OOMD-slowrule.service: Main process exited, \
    code=exited, status=2/INVALIDARGUMENT
  systemd[1]: TEST-55-OOMD-slowrule.service: Failed with result \
    'exit-code'.

Try to detect at the beginning of the test and skip the test case if it
happens.
test/units/TEST-55-OOMD.sh