From: Luca Boccassi Date: Mon, 15 Sep 2025 16:33:07 +0000 (+0100) Subject: Revert "TEST-55-OOMD: Verify that ExecStopPost= runs on oom-kill" X-Git-Tag: v258~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52ff4de962599e59807585e50de9dc07743409ac;p=thirdparty%2Fsystemd.git Revert "TEST-55-OOMD: Verify that ExecStopPost= runs on oom-kill" The test consistently fails on CentOS 9: TEST-55-OOMD.sh[678]: + test -f /run/testbloat-exec-stop-post [FAILED] Failed to start TEST-55-OOMD.service. https://github.com/systemd/systemd/actions/runs/17689186773/job/50293446228?pr=38911 This reverts commit 5bf7438ff025ae05daf1b706f204f31373d5ab82. --- diff --git a/test/integration-tests/TEST-55-OOMD/TEST-55-OOMD.units/TEST-55-OOMD-testbloat.service b/test/integration-tests/TEST-55-OOMD/TEST-55-OOMD.units/TEST-55-OOMD-testbloat.service index abb16b47f9f..70c87727c8b 100644 --- a/test/integration-tests/TEST-55-OOMD/TEST-55-OOMD.units/TEST-55-OOMD-testbloat.service +++ b/test/integration-tests/TEST-55-OOMD/TEST-55-OOMD.units/TEST-55-OOMD-testbloat.service @@ -8,4 +8,3 @@ Description=Create a lot of memory pressure MemoryHigh=3M Slice=TEST-55-OOMD-workload.slice ExecStart=stress-ng --timeout 3m --vm 10 --vm-bytes 200M --vm-keep -ExecStopPost=-touch /run/testbloat-exec-stop-post diff --git a/test/units/TEST-55-OOMD.sh b/test/units/TEST-55-OOMD.sh index 5eb3eb3f1a3..66793378584 100755 --- a/test/units/TEST-55-OOMD.sh +++ b/test/units/TEST-55-OOMD.sh @@ -133,9 +133,6 @@ test_basic() { testcase_basic_system() { test_basic /TEST.slice/TEST-55.slice/TEST-55-OOMD.slice/TEST-55-OOMD-workload.slice - - # Ensure ExecStopPost= runs on oom-kill. - test -f /run/testbloat-exec-stop-post } testcase_basic_user() {