Open pshipton opened 6 days ago
Issue Number: 20464 Status: Open Recommended Components: comp:vm, comp:test, comp:gc Recommended Assignees: jasonfengj9, tajila, babsingh
https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/234/ cmdLineTester_criu_nonPortableRestore_1
18:13:51 Testing: Create CRIU checkpoint image and restore once - testTimeCompensation
18:13:51 Test start time: 2024/11/04 23:13:50 Coordinated Universal Time
18:13:51 Running command: bash /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu/criuScript.sh /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/jdkbinary/j2sdk-image/bin/java " -Xint -XX:+CRIURestoreNonPortableMode -Xtrace:print={j9jcl.533,j9vm.684-696,j9vm.699,j9vm.717-743} --add-exports java.base/openj9.internal.criu=ALL-UNNAMED" org.openj9.criu.TimeChangeTest testTimeCompensation 1 false false
18:13:51 Time spent starting: 2 milliseconds
18:13:59 Time spent executing: 8514 milliseconds
18:13:59 Test result: FAILED
18:13:59 Output from test:
18:13:59 [OUT] start running script
18:13:59 [OUT] export GLIBC_TUNABLES=glibc.cpu.hwcaps=-XSAVEC,-XSAVE,-AVX2,-ERMS,-AVX,-AVX_Fast_Unaligned_Load
18:13:59 [OUT] export LD_BIND_NOT=on
18:13:59 [OUT] /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/jdkbinary/j2sdk-image/bin/java -XX:+EnableCRIUSupport -Xint -XX:+CRIURestoreNonPortableMode -Xtrace:print={j9jcl.533,j9vm.684-696,j9vm.699,j9vm.717-743} --add-exports java.base/openj9.internal.criu=ALL-UNNAMED -cp /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu/criu.jar org.openj9.criu.TimeChangeTest testTimeCompensation 1
18:13:59 [OUT] main: Mon Nov 04 23:13:50 UTC 2024, testTimeCompensation() starts, System.currentTimeMillis(): 1730762030800, System.nanoTime(): 3342715433189007
18:13:59 [OUT] testTimeCompensation() sleep 100ms checkElapseTime starts, current thread name: main, Mon Nov 04 23:13:50 UTC 2024, System.currentTimeMillis() 1730762030992, System.nanoTime() 3342715625317434
18:13:59 [OUT] testTimeCompensation() sleep 100ms: startMillisTime (1730762030890ms) startNanoTime (3342715522882379ns) currentMillisTime (1730762030990ms) currentNanoTime (3342715622993287ns) elapsedMillisTime (100ms) elapsedNanoTime (100110908ns)
18:13:59 [OUT] testTimeCompensation() sleep 100ms checkElapseTime ends, current thread name: main, Mon Nov 04 23:13:51 UTC 2024, System.currentTimeMillis() 1730762031026, System.nanoTime() 3342715658540469
18:13:59 [OUT] testTimeCompensation() preCheckpoint timer delayed 100ms checkElapseTime starts, current thread name: testTimeCompensation() preCheckpoint timer delayed 100ms, Mon Nov 04 23:13:51 UTC 2024, System.currentTimeMillis() 1730762031126, System.nanoTime() 3342715759246617
18:13:59 [OUT] testTimeCompensation() preCheckpoint timer delayed 100ms: startMillisTime (1730762031026ms) startNanoTime (3342715658620738ns) currentMillisTime (1730762031126ms) currentNanoTime (3342715759133841ns) elapsedMillisTime (100ms) elapsedNanoTime (100513103ns)
18:13:59 [OUT] testTimeCompensation() preCheckpoint timer delayed 100ms checkElapseTime ends, current thread name: testTimeCompensation() preCheckpoint timer delayed 100ms, Mon Nov 04 23:13:51 UTC 2024, System.currentTimeMillis() 1730762031127, System.nanoTime() 3342715759600779
18:13:59 [OUT] testTimeCompensation() preCheckpoint timer delayed 2s checkElapseTime starts, current thread name: testTimeCompensation() preCheckpoint timer delayed 2s, Mon Nov 04 23:13:53 UTC 2024, System.currentTimeMillis() 1730762033027, System.nanoTime() 3342717659609262
18:13:59 [OUT] testTimeCompensation() preCheckpoint timer delayed 2s: startMillisTime (1730762031026ms) startNanoTime (3342715659013059ns) currentMillisTime (1730762033027ms) currentNanoTime (3342717659478865ns) elapsedMillisTime (2001ms) elapsedNanoTime (2000465806ns)
18:13:59 [OUT] testTimeCompensation() preCheckpoint timer delayed 2s checkElapseTime ends, current thread name: testTimeCompensation() preCheckpoint timer delayed 2s, Mon Nov 04 23:13:53 UTC 2024, System.currentTimeMillis() 1730762033027, System.nanoTime() 3342717660034730
18:13:59 [OUT] testTimeCompensation() preCheckpoint checkElapseTime starts, current thread name: main, Mon Nov 04 23:13:53 UTC 2024, System.currentTimeMillis() 1730762033030, System.nanoTime() 3342717663082710
18:13:59 [OUT] testTimeCompensation() preCheckpoint: startMillisTime (1730762031026ms) startNanoTime (3342715659297021ns) currentMillisTime (1730762033030ms) currentNanoTime (3342717663037019ns) elapsedMillisTime (2004ms) elapsedNanoTime (2003739998ns)
18:13:59 [OUT] testTimeCompensation() preCheckpoint checkElapseTime ends, current thread name: main, Mon Nov 04 23:13:53 UTC 2024, System.currentTimeMillis() 1730762033030, System.nanoTime() 3342717663305852
18:13:59 [OUT] main: Mon Nov 04 23:13:53 UTC 2024, Performing CRIUSupport.checkpointJVM(), System.currentTimeMillis(): 1730762033031, System.nanoTime(): 3342717663413419
18:13:59 [OUT] 23:13:53.052*0x95800 j9vm.728 > Java_openj9_internal_criu_CRIUSupport_checkpointJVMImpl
18:13:59 [OUT] 23:13:53.052 0x95800 j9vm.727 - Taking a checkpoint with active clinit
18:13:59 [OUT] 23:13:53.052 0x95800 j9vm.684 > initializeCriuHooks
18:13:59 [OUT] 23:13:53.052 0x95800 j9vm.720 - initializeCriuHooks() checkpoint CPU count (4)
18:13:59 [OUT] 23:13:53.052 0x95800 j9vm.723 * - initializeCriuHooks() j.u.Random class not found
18:13:59 [OUT] 23:13:53.052 0x95800 j9vm.717 < initializeCriuHooks - checkpointState.hookRecords (00007FFF8029D410), classIterationRestoreHookRecords (00007FFF8029E550), delayedLockingOperationsRecords (00007FFF8029F690)
18:13:59 [OUT] testTimeCompensation() preCheckpointHook checkElapseTime starts, current thread name: main, Mon Nov 04 23:13:53 UTC 2024, System.currentTimeMillis() 1730762033052, System.nanoTime() 3342717684804603
18:13:59 [OUT] testTimeCompensation() preCheckpointHook: startMillisTime (1730762031026ms) startNanoTime (3342715659297021ns) currentMillisTime (1730762033052ms) currentNanoTime (3342717684723377ns) elapsedMillisTime (2026ms) elapsedNanoTime (2025426356ns)
18:13:59 [OUT] testTimeCompensation() preCheckpointHook checkElapseTime ends, current thread name: main, Mon Nov 04 23:13:53 UTC 2024, System.currentTimeMillis() 1730762033052, System.nanoTime() 3342717685048482
18:13:59 [OUT] 23:13:53.052 0x95800 j9vm.696 - Checkpoint thread calling lock-related op=1 on instance=00000000FFEE1320
18:13:59 [OUT] 23:13:53.053 0x95800 j9vm.696 - Checkpoint thread calling lock-related op=1 on instance=00000000FFEE1930
18:13:59 [OUT] 23:13:53.053 0x95800 j9vm.730 - Before checkpoint, checkpointNanoTimeMonotonic = 3342717686243417, checkpointNanoUTCTime = 1730762033053876008
18:13:59 [OUT] 23:13:53.069 0x95800 j9vm.689 > runInternalJVMCheckpointHooks
18:13:59 [OUT] 23:13:53.071 0x95800 j9vm.690 < runInternalJVMCheckpointHooks
18:13:59 [OUT] 23:13:53.071 0x95800 j9vm.732 - Current syslogOptions: error,vital
18:13:59 [OUT] 23:13:53.071 0x95800 j9vm.729 - Before checkpoint criu_dump(), j9time_nano_time() returns 3342717703511314, j9time_current_time_nanos() returns 1730762033071143899
18:13:59 [OUT] 23:13:55.129 0x95800 j9vm.691 > runInternalJVMRestoreHooks
18:13:59 [OUT] 23:13:55.129 0x95800 j9vm.721 - Reset j.l.VirtualThread.ForkJoinPool.parallelism: same cpu count (4) between C/R
18:13:59 [OUT] 23:13:55.130 0x95800 j9vm.692 < runInternalJVMRestoreHooks
18:13:59 [OUT] 23:13:55.130 0x95800 j9vm.733 - After checkpoint criu_dump(), j9time_nano_time() returns 3342719762565844, j9time_current_time_nanos() returns 1730762035130198417
18:13:59 [OUT] 23:13:55.130 0x95800 j9vm.734 - After restore, restoreNanoUTCTime = 1730762035130198417, checkpointNanoUTCTime = 1730762033053876008, checkpointRestoreTimeDelta = 2076322409, restoreNanoTimeMonotonic = 3342719762565844, checkpointNanoTimeMonotonic = 3342717686243417, nanoTimeMonotonicClockDelta = 2076322427
18:13:59 [OUT] testTimeCompensation() postRestoreHook checkElapseTime starts, current thread name: main, Mon Nov 04 23:13:55 UTC 2024, System.currentTimeMillis() 1730762035136, System.nanoTime() 3342717692243538
18:13:59 [OUT] testTimeCompensation() postRestoreHook: startMillisTime (1730762031026ms) startNanoTime (3342715659297021ns) currentMillisTime (1730762035136ms) currentNanoTime (3342717692187642ns) elapsedMillisTime (4110ms) elapsedNanoTime (2032890621ns)
18:13:59 [OUT] testTimeCompensation() postRestoreHook checkElapseTime ends, current thread name: main, Mon Nov 04 23:13:55 UTC 2024, System.currentTimeMillis() 1730762035136, System.nanoTime() 3342717692470569
18:13:59 [OUT] 23:13:55.136 0x95800 j9vm.696 - Checkpoint thread calling lock-related op=1 on instance=00000000FFEF6190
18:13:59 [OUT] 23:13:55.136 0x95800 j9vm.696 - Checkpoint thread calling lock-related op=1 on instance=00000000FFEF67A0
18:13:59 [OUT] 23:13:55.136 0x95800 j9vm.743 < Java_openj9_internal_criu_CRIUSupport_checkpointJVMImpl
18:13:59 [OUT] testTimeCompensation() after CRIU restore checkElapseTime starts, current thread name: main, Mon Nov 04 23:13:55 UTC 2024, System.currentTimeMillis() 1730762035137, System.nanoTime() 3342717693097100
18:13:59 [OUT] testTimeCompensation() after CRIU restore: startMillisTime (1730762031026ms) startNanoTime (3342715659297021ns) currentMillisTime (1730762035137ms) currentNanoTime (3342717693046548ns) elapsedMillisTime (4111ms) elapsedNanoTime (2033749527ns)
18:13:59 [OUT] testTimeCompensation() after CRIU restore checkElapseTime ends, current thread name: main, Mon Nov 04 23:13:55 UTC 2024, System.currentTimeMillis() 1730762035137, System.nanoTime() 3342717693292862
18:13:59 [OUT] main: Mon Nov 04 23:13:55 UTC 2024, testTimeCompensation() postRestore, System.currentTimeMillis(): 1730762035137, System.nanoTime(): 3342717693395511
18:13:59 [OUT] testTimeCompensation()() preCheckpointHook timer delayed 10ms checkElapseTime starts, current thread name: testTimeCompensation()() preCheckpointHook timer delayed 10ms, Mon Nov 04 23:13:55 UTC 2024, System.currentTimeMillis() 1730762035140, System.nanoTime() 3342717696151262
18:13:59 [OUT] testTimeCompensation()() preCheckpointHook timer delayed 10ms: startMillisTime (1730762033052ms) startNanoTime (3342717685136668ns) currentMillisTime (1730762035140ms) currentNanoTime (3342717696104049ns) elapsedMillisTime (2088ms) elapsedNanoTime (10967381ns)
18:13:59 [OUT] testTimeCompensation()() preCheckpointHook timer delayed 10ms checkElapseTime ends, current thread name: testTimeCompensation()() preCheckpointHook timer delayed 10ms, Mon Nov 04 23:13:55 UTC 2024, System.currentTimeMillis() 1730762035140, System.nanoTime() 3342717696516224
18:13:59 [OUT] testTimeCompensation() postRestoreHook timer delayed 10ms checkElapseTime starts, current thread name: testTimeCompensation() postRestoreHook timer delayed 10ms, Mon Nov 04 23:13:55 UTC 2024, System.currentTimeMillis() 1730762035147, System.nanoTime() 3342717703165234
18:13:59 [OUT] testTimeCompensation() postRestoreHook timer delayed 10ms: startMillisTime (1730762035136ms) startNanoTime (3342717692546981ns) currentMillisTime (1730762035147ms) currentNanoTime (3342717703103254ns) elapsedMillisTime (11ms) elapsedNanoTime (10556273ns)
18:13:59 [OUT] testTimeCompensation() postRestoreHook timer delayed 10ms checkElapseTime ends, current thread name: testTimeCompensation() postRestoreHook timer delayed 10ms, Mon Nov 04 23:13:55 UTC 2024, System.currentTimeMillis() 1730762035147, System.nanoTime() 3342717703397547
18:13:59 [OUT] testTimeCompensation() postRestore timer delayed 100ms checkElapseTime starts, current thread name: testTimeCompensation() postRestore timer delayed 100ms, Mon Nov 04 23:13:55 UTC 2024, System.currentTimeMillis() 1730762035238, System.nanoTime() 3342717794088828
18:13:59 [OUT] testTimeCompensation() postRestore timer delayed 100ms: startMillisTime (1730762035137ms) startNanoTime (3342717693500579ns) currentMillisTime (1730762035237ms) currentNanoTime (3342717793975727ns) elapsedMillisTime (100ms) elapsedNanoTime (100475148ns)
18:13:59 [OUT] testTimeCompensation() postRestore timer delayed 100ms checkElapseTime ends, current thread name: testTimeCompensation() postRestore timer delayed 100ms, Mon Nov 04 23:13:55 UTC 2024, System.currentTimeMillis() 1730762035238, System.nanoTime() 3342717794373084
18:13:59 [OUT] testTimeCompensation() preCheckpoint timer delayed 4s checkElapseTime starts, current thread name: testTimeCompensation() preCheckpoint timer delayed 4s, Mon Nov 04 23:13:57 UTC 2024, System.currentTimeMillis() 1730762037103, System.nanoTime() 3342719659868826
18:13:59 [OUT] testTimeCompensation() preCheckpoint timer delayed 4s: startMillisTime (1730762031026ms) startNanoTime (3342715659117310ns) currentMillisTime (1730762037103ms) currentNanoTime (3342719659747736ns) elapsedMillisTime (6077ms) elapsedNanoTime (4000630426ns)
18:13:59 [OUT] testTimeCompensation() preCheckpoint timer delayed 4s checkElapseTime ends, current thread name: testTimeCompensation() preCheckpoint timer delayed 4s, Mon Nov 04 23:13:57 UTC 2024, System.currentTimeMillis() 1730762037104, System.nanoTime() 3342719660162900
18:13:59 [OUT] testTimeCompensation() postRestore timer delayed 2s checkElapseTime starts, current thread name: testTimeCompensation() postRestore timer delayed 2s, Mon Nov 04 23:13:57 UTC 2024, System.currentTimeMillis() 1730762037137, System.nanoTime() 3342719693197386
18:13:59 [OUT] testTimeCompensation() postRestore timer delayed 2s: startMillisTime (1730762035137ms) startNanoTime (3342717693644694ns) currentMillisTime (1730762037137ms) currentNanoTime (3342719693129105ns) elapsedMillisTime (2000ms) elapsedNanoTime (1999484411ns)
18:13:59 [OUT] testTimeCompensation() postRestoreHook timer delayed 2s checkElapseTime starts, current thread name: testTimeCompensation() postRestoreHook timer delayed 2s, Mon Nov 04 23:13:57 UTC 2024, System.currentTimeMillis() 1730762037137, System.nanoTime() 3342719693197380
18:13:59 [OUT] testTimeCompensation() postRestoreHook timer delayed 2s: startMillisTime (1730762035136ms) startNanoTime (3342717692743833ns) currentMillisTime (1730762037137ms) currentNanoTime (3342719693129286ns) elapsedMillisTime (2001ms) elapsedNanoTime (2000385453ns)
18:13:59 [OUT] testTimeCompensation() postRestore timer delayed 2s checkElapseTime ends, current thread name: testTimeCompensation() postRestore timer delayed 2s, Mon Nov 04 23:13:57 UTC 2024, System.currentTimeMillis() 1730762037137, System.nanoTime() 3342719693448323
18:13:59 [OUT] testTimeCompensation() postRestoreHook timer delayed 2s checkElapseTime ends, current thread name: testTimeCompensation() postRestoreHook timer delayed 2s, Mon Nov 04 23:13:57 UTC 2024, System.currentTimeMillis() 1730762037137, System.nanoTime() 3342719693696977
18:13:59 [OUT] testTimeCompensation() postRestore checkElapseTime starts, current thread name: main, Mon Nov 04 23:13:57 UTC 2024, System.currentTimeMillis() 1730762037138, System.nanoTime() 3342719694114257
18:13:59 [OUT] testTimeCompensation() postRestore: startMillisTime (1730762035137ms) startNanoTime (3342717693494391ns) currentMillisTime (1730762037138ms) currentNanoTime (3342719694071438ns) elapsedMillisTime (2001ms) elapsedNanoTime (2000577047ns)
18:13:59 [OUT] testTimeCompensation() postRestore checkElapseTime ends, current thread name: main, Mon Nov 04 23:13:57 UTC 2024, System.currentTimeMillis() 1730762037138, System.nanoTime() 3342719694312501
18:13:59 [OUT] getResultAndCancelTimers before Thread.yield() taskRunning = 1, current thread name: main, Mon Nov 04 23:13:57 UTC 2024, System.currentTimeMillis() 1730762037149, System.nanoTime() 3342719705825657
18:13:59 [OUT] testTimeCompensation() preCheckpointHook timer delayed 4s checkElapseTime starts, current thread name: testTimeCompensation() preCheckpointHook timer delayed 4s, Mon Nov 04 23:13:59 UTC 2024, System.currentTimeMillis() 1730762039130, System.nanoTime() 3342721686285659
18:13:59 [OUT] testTimeCompensation() preCheckpointHook timer delayed 4s: startMillisTime (1730762033052ms) startNanoTime (3342717685346316ns) currentMillisTime (1730762039130ms) currentNanoTime (3342721686146372ns) elapsedMillisTime (6078ms) elapsedNanoTime (4000800056ns)
18:13:59 [OUT] testTimeCompensation() preCheckpointHook timer delayed 4s checkElapseTime ends, current thread name: testTimeCompensation() preCheckpointHook timer delayed 4s, Mon Nov 04 23:13:59 UTC 2024, System.currentTimeMillis() 1730762039130, System.nanoTime() 3342721686646940
18:13:59 [OUT] getResultAndCancelTimers before timer.cancel(), current thread name: main, Mon Nov 04 23:13:59 UTC 2024, System.currentTimeMillis() 1730762039130, System.nanoTime() 3342721686813182
18:13:59 [OUT] TimeTestTask tasksPassed: true, taskStarted: 9, taskExecuted: 8, current thread name: main, Mon Nov 04 23:13:59 UTC 2024, System.currentTimeMillis() 1730762039147, System.nanoTime() 3342721703416437
18:13:59 [OUT] FAILED: testTimeCompensation
18:13:59 [OUT] initiate restore
18:13:59 [OUT] Removed test output files
18:13:59 [OUT] finished script
18:13:59 [ERR] /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu/criuScript.sh: line 41: 444416 Killed $2 -XX:+EnableCRIUSupport $3 -cp "$1/criu.jar" $4 $5 $6 > testOutput 2>&1
18:13:59 >> Success condition was found: [Output match: Killed]
18:13:59 >> Success condition was not found: [Output match: PASSED: testTimeCompensation]
18:13:59 >> Failure condition was not found: [Output match: CRIU is not enabled]
18:13:59 >> Failure condition was not found: [Output match: Operation not permitted]
18:13:59 >> Failure condition was found: [Output match: FAILED: testTimeCompensation]
18:13:59 >> Success condition was not found: [Output match: Thread pid mismatch]
18:13:59 >> Success condition was not found: [Output match: do not match expected]
18:13:59 >> Success condition was not found: [Output match: Unable to create a thread:]
18:13:59 >> Failure condition was not found: [Output match: Could not dump the JVM processes, err=-70]
18:13:59 >> Failure condition was not found: [Output match: User requested Java dump using]
18:13:59 >> Failure condition was not found: [Output match: AOT load and compilation disabled post restore]
@tajila fyi
https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.functional_aarch64_linux_OMR_testList_0/176 cmdLineTester_criu_nonPortableRestore_10