From 4845b8f0c3f292ef7b450c06790a1ff6d7b40979 Mon Sep 17 00:00:00 2001 From: Tobi Ajila Date: Tue, 31 Jan 2023 11:13:26 -0500 Subject: [PATCH] Make CRIU tests more resilient to OS failures Fixes: https://github.com/eclipse-openj9/openj9/issues/16610 Signed-off-by: Tobi Ajila --- test/functional/cmdLineTests/criu/criu_nonPortable.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/functional/cmdLineTests/criu/criu_nonPortable.xml b/test/functional/cmdLineTests/criu/criu_nonPortable.xml index 7e9df9b3003..fd1157119d0 100644 --- a/test/functional/cmdLineTests/criu/criu_nonPortable.xml +++ b/test/functional/cmdLineTests/criu/criu_nonPortable.xml @@ -1,7 +1,7 @@ @@ -69,7 +69,7 @@ bash $SCRIPPATH$ $TEST_RESROOT$ $JAVA_COMMAND$ "$JVM_OPTIONS$" "$MAINCLASS_TIMECHANGE$ testSystemNanoTime" 3 3 false Killed System.nanoTime() before CRIU checkpoint: - PASSED: System.nanoTime() after CRIU restore: + PASSED: System.nanoTime() after CRIU restore: CRIU is not enabled Operation not permitted FAILED: System.nanoTime() after CRIU restore: @@ -236,8 +236,9 @@ bash $SCRIPPATH$ $TEST_RESROOT$ $JAVA_COMMAND$ "$JVM_OPTIONS$ -Xtrace:print=j9criu.11 --add-opens java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.base/openj9.internal.criu=ALL-UNNAMED" $MAINCLASS_DEADLOCK_TEST$ MethodTypeDeadlockTest 1 TEST PASSED + TEST FAILED Pre-checkpoint - Checkpoint blocked because thread + Checkpoint blocked because thread Killed CRIU is not enabled Operation not permitted