-
Notifications
You must be signed in to change notification settings - Fork 720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRIU testThreadSleep - expected sleep time #18557
Comments
openj9/test/functional/cmdLineTests/criu/src/org/openj9/criu/JDK11UpTimeoutAdjustmentTest.java Line 81 in 21f742f
Got the status set by openj9/test/functional/cmdLineTests/criu/src/org/openj9/criu/JDK11UpTimeoutAdjustmentTest.java Line 63 in 21f742f
And openj9/test/functional/cmdLineTests/criu/src/org/openj9/criu/JDK11UpTimeoutAdjustmentTest.java Line 64 in 21f742f
didn't start before openj9/test/functional/cmdLineTests/criu/src/org/openj9/criu/JDK11UpTimeoutAdjustmentTest.java Line 84 in 21f742f
Will fix the test. |
https://openj9-jenkins.osuosl.org/job/Test_openjdk22_j9_sanity.functional_s390x_linux_Nightly_testList_1/7
|
@JasonFengJ9 Please take a look |
This slipped off my radar, will pick it up. |
https://openj9-jenkins.osuosl.org/job/Test_openjdk22_j9_sanity.functional_s390x_linux_Release_testList_1/2 - ub20-390-6 |
The test was running
Please report the failure afterwards. |
The build was for 0.44, did you double deliver the fix to 0.44? |
It was a test change, just opened |
https://openj9-jenkins.osuosl.org/job/Test_openjdk22_j9_sanity.functional_s390x_linux_Nightly_testList_1/25 Test output``` Testing: Create CRIU checkpoint image and restore once - testThreadSleep Test start time: 2024/03/12 09:14:05 Coordinated Universal Time Running command: bash /home/jenkins/workspace/Test_openjdk22_j9_sanity.functional_s390x_linux_Nightly_testList_1/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu/criuScript.sh /home/jenkins/workspace/Test_openjdk22_j9_sanity.functional_s390x_linux_Nightly_testList_1/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu /home/jenkins/workspace/Test_openjdk22_j9_sanity.functional_s390x_linux_Nightly_testList_1/jdkbinary/j2sdk-image/bin/java " -XX:+JVMPortableRestoreMode -Xtrace:print={j9vm.684-696,j9vm.699,j9vm.717-743} --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED --add-exports=java.base/openj9.internal.criu=ALL-UNNAMED" "org.openj9.criu.JDK11UpTimeoutAdjustmentTest testThreadSleep" 1 1 false false Time spent starting: 11 milliseconds Time spent executing: 16670 milliseconds Test result: FAILED Output from test: [OUT] start running script [OUT] export GLIBC_TUNABLES=glibc.cpu.hwcaps=-XSAVEC,-XSAVE,-AVX2,-ERMS,-AVX,-AVX_Fast_Unaligned_Load [OUT] export LD_BIND_NOT=on [OUT] /home/jenkins/workspace/Test_openjdk22_j9_sanity.functional_s390x_linux_Nightly_testList_1/jdkbinary/j2sdk-image/bin/java -XX:+EnableCRIUSupport -XX:+JVMPortableRestoreMode -Xtrace:print={j9vm.684-696,j9vm.699,j9vm.717-743} --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED --add-exports=java.base/openj9.internal.criu=ALL-UNNAMED -cp /home/jenkins/workspace/Test_openjdk22_j9_sanity.functional_s390x_linux_Nightly_testList_1/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu/criu.jar org.openj9.criu.JDK11UpTimeoutAdjustmentTest testThreadSleep 1 1 [OUT] Start test name: testThreadSleep [OUT] main: Tue Mar 12 09:14:06 UTC 2024, Before starting testThreadSleep, System.currentTimeMillis(): 1710234846343, System.nanoTime(): 1710234846339069901 [OUT] main: Tue Mar 12 09:14:06 UTC 2024, testThreadSleep NO C/R before sleep(), System.currentTimeMillis(): 1710234846432, System.nanoTime(): 1710234846428203908 [OUT] main: Tue Mar 12 09:14:11 UTC 2024, testThreadSleep NO C/R after sleep(), System.currentTimeMillis(): 1710234851433, System.nanoTime(): 1710234851429935344 [OUT] main: Tue Mar 12 09:14:11 UTC 2024, PASSED: expected sleep time 5000 ms, but the actual elapsed time was: 5001006258ns (~5001ms) with startNanoTime = 1710234846428309844ns, and endNanoTime = 1710234851429316102ns, CheckpointRestoreNanoTimeDelta: 0ns (~0ms) [OUT] Thread-0: Tue Mar 12 09:14:11 UTC 2024, testThreadSleep before sleep(), System.currentTimeMillis(): 1710234851476, System.nanoTime(): 1710234851472938127 [OUT] main: Tue Mar 12 09:14:11 UTC 2024, Performing CRIUSupport.checkpointJVM(), System.currentTimeMillis(): 1710234851480, System.nanoTime(): 1710234851476212001 [OUT] 09:14:11.815*0x1f16800 j9vm.728 > Java_openj9_internal_criu_CRIUSupport_checkpointJVMImpl [OUT] 09:14:11.815 0x1f16800 j9vm.727 - Taking a checkpoint with active clinit [OUT] 09:14:11.815 0x1f16800 j9vm.684 > initializeCriuHooks [OUT] 09:14:11.815 0x1f16800 j9vm.720 - initializeCriuHooks() checkpoint CPU count (4) [OUT] 09:14:11.815 0x1f16800 j9vm.723 * - initializeCriuHooks() j.u.Random class not found [OUT] 09:14:11.815 0x1f16800 j9vm.717 < initializeCriuHooks - checkpointState.hookRecords (000003FF882CDC60), classIterationRestoreHookRecords (000003FF882CEDA0), delayedLockingOperationsRecords (000003FF882CFEE0) [OUT] 09:14:11.816 0x1f16800 j9vm.730 - Before checkpoint, checkpointNanoTimeMonotonic = 1710234851812299381, checkpointNanoUTCTime = 1710234851817054919 [OUT] 09:14:12.516 0x1f16800 j9vm.689 > runInternalJVMCheckpointHooks [OUT] 09:14:12.518 0x1f16800 j9vm.690 < runInternalJVMCheckpointHooks [OUT] 09:14:12.518 0x1f16800 j9vm.732 - Current syslogOptions: error,vital [OUT] 09:14:12.518 0x1f16800 j9vm.729 - Before checkpoint criu_dump(), j9time_nano_time() returns 1710234852514701756, j9time_current_time_nanos() returns 1710234852519456773 [OUT] 09:14:16.899 0x1f16800 j9vm.691 > runInternalJVMRestoreHooks [OUT] 09:14:16.899 0x1f16800 j9vm.721 - Reset j.l.VirtualThread.ForkJoinPool.parallelism: same cpu count (4) between C/R [OUT] 09:14:16.902 0x1f16800 j9vm.692 < runInternalJVMRestoreHooks [OUT] 09:14:16.902 0x1f16800 j9vm.733 - After checkpoint criu_dump(), j9time_nano_time() returns 1710234856898702104, j9time_current_time_nanos() returns 1710234856903457025 [OUT] 09:14:16.902 0x1f16800 j9vm.734 - After restore, restoreNanoUTCTime = 1710234856903457025, checkpointNanoUTCTime = 1710234851817054919, checkpointRestoreTimeDelta = 5086402106, restoreNanoTimeMonotonic = 1710234856898702104, checkpointNanoTimeMonotonic = 1710234851812299381, nanoTimeMonotonicClockDelta = 5086402723 [OUT] 09:14:16.914 0x1f16800 j9vm.743 < Java_openj9_internal_criu_CRIUSupport_checkpointJVMImpl [OUT] main: Tue Mar 12 09:14:16 UTC 2024, testThreadSleep NO C/R before sleep(), System.currentTimeMillis(): 1710234856914, System.nanoTime(): 1710234851824045363 [OUT] Thread-0: Tue Mar 12 09:14:16 UTC 2024, testThreadSleep after sleep(), System.currentTimeMillis(): 1710234856925, System.nanoTime(): 1710234851834761527 [OUT] Thread-0: Tue Mar 12 09:14:16 UTC 2024, FAILED: expected sleep time 5000 ms, but the actual elapsed time was: 357581891ns (~357ms) with startNanoTime = 1710234851475891641ns, and endNanoTime = 1710234851833473532ns, CheckpointRestoreNanoTimeDelta: 5086402106ns (~5086ms) [OUT] main: Tue Mar 12 09:14:21 UTC 2024, testThreadSleep NO C/R after sleep(), System.currentTimeMillis(): 1710234861919, System.nanoTime(): 1710234856829238593 [OUT] main: Tue Mar 12 09:14:21 UTC 2024, PASSED: expected sleep time 5000 ms, but the actual elapsed time was: 5003729064ns (~5003ms) with startNanoTime = 1710234851824170826ns, and endNanoTime = 1710234856827899890ns, CheckpointRestoreNanoTimeDelta: 5086402106ns (~5086ms) [OUT] main: Tue Mar 12 09:14:21 UTC 2024, After run test : testThreadSleep, System.currentTimeMillis(): 1710234861922, System.nanoTime(): 1710234856831883973 [OUT] main: Tue Mar 12 09:14:21 UTC 2024, End testThreadSleep, System.currentTimeMillis(): 1710234861922, System.nanoTime(): 1710234856832115440 [OUT] initiate restore [OUT] Removed test output files [OUT] finished script [ERR] /home/jenkins/workspace/Test_openjdk22_j9_sanity.functional_s390x_linux_Nightly_testList_1/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu/criuScript.sh: line 41: 2969494 Killed $2 -XX:+EnableCRIUSupport $3 -cp "$1/criu.jar" $4 $5 $6 > testOutput 2>&1 >> Success condition was found: [Output match: PASSED: expected sleep time] >> Required condition was found: [Output match: Killed] >> Required condition was found: [Output match: Start test name: testThreadSleep] >> Failure condition was not found: [Output match: CRIU is not enabled] >> Failure condition was not found: [Output match: Operation not permitted] >> Failure condition was found: [Output match: FAILED: expected sleep time] >> Failure condition was not found: [Output match: InterruptedException] >> Success condition was not found: [Output match: Unable to create a thread:] >> Success condition was not found: [Output match: Thread pid mismatch] >> Success condition was not found: [Output match: do not match expected] >> Failure condition was not found: [Output match: Could not dump the JVM processes, err=-70] >> Failure condition was not found: [Output match: User requested Java dump using] ``` |
50x grinder - https://openj9-jenkins.osuosl.org/job/Grinder/3371/ - passed |
https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.functional_s390x_linux_Nightly_testList_0/110/
cmdLineTester_criu_nonPortableRestoreJDK11Up_3
The text was updated successfully, but these errors were encountered: