Skip to content
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

FIPS cmdLineTester_criu_nonPortableRestore_5_FAILED JVMTRCE003E Error processing trace option, detail: Unable to set tracepoint 731 in j9vm - tracepoint id out of range #18563

Open
JasonFengJ9 opened this issue Dec 5, 2023 · 2 comments
Labels
comp:fips comp:test criu Used to track CRIU snapshot related work test failure

Comments

@JasonFengJ9
Copy link
Member

JasonFengJ9 commented Dec 5, 2023

Failure link

From an internal build(rhel8x86-rtp-rtfips5-1):

openjdk version "17.0.10" 2024-01-16
IBM Semeru Runtime Open Edition 17.0.10.0-m1 (build 17.0.10+5)
Eclipse OpenJ9 VM 17.0.10.0-m1 (build v0.43.0-release-9b2a42f8f, JRE 17 Linux amd64-64-Bit Compressed References 20240116_622 (JIT enabled, AOT enabled)
OpenJ9   - 9b2a42f8f
OMR      - d810fcb98
JCL      - 10ccdceee3c based on jdk-17.0.10+5)

Rerun in Grinder - Change TARGET to run only the failed test targets.

Optional info

Failure output (captured from console output)

[2023-12-03T20:23:07.642Z] variation: -Xgcpolicy:optthruput
[2023-12-03T20:23:07.642Z] JVM_OPTIONS:  -Xgcpolicy:optthruput  -Dsemeru.fips=true

[2023-12-03T20:25:26.667Z] Testing: Create and Restore Criu Checkpoint Image once - NotCheckpointSafeDeadlock
[2023-12-03T20:25:26.667Z] Test start time: 2023/12/03 12:25:24 Pacific Standard Time
[2023-12-03T20:25:26.667Z] Running command: bash /home/jenkins/workspace/Test_openjdk17_j9_sanity.functional_x86-64_linux_fips140_2_testList_2/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu/criuScript.sh /home/jenkins/workspace/Test_openjdk17_j9_sanity.functional_x86-64_linux_fips140_2_testList_2/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu /home/jenkins/workspace/Test_openjdk17_j9_sanity.functional_x86-64_linux_fips140_2_testList_2/jdkbinary/j2sdk-image/bin/java " -Xgcpolicy:optthruput  -Dsemeru.fips=true -XX:+ThrowOnDelayedCheckpointOperation -Xtrace:print=j9vm.731 --add-opens java.base/jdk.internal.misc=ALL-UNNAMED  --add-exports java.base/openj9.internal.criu=ALL-UNNAMED" org.openj9.criu.DeadlockTest NotCheckpointSafeDeadlock 1
[2023-12-03T20:25:26.667Z] Time spent starting: 2 milliseconds
[2023-12-03T20:25:27.062Z] Time spent executing: 2781 milliseconds
[2023-12-03T20:25:27.062Z] Test result: FAILED
[2023-12-03T20:25:27.062Z] Output from test:
[2023-12-03T20:25:27.062Z]  [OUT] start running script
[2023-12-03T20:25:27.062Z]  [OUT] export GLIBC_TUNABLES=glibc.cpu.hwcaps=-XSAVEC,-XSAVE,-AVX2,-ERMS,-AVX,-AVX_Fast_Unaligned_Load
[2023-12-03T20:25:27.062Z]  [OUT] export LD_BIND_NOT=on
[2023-12-03T20:25:27.062Z]  [OUT] /home/jenkins/workspace/Test_openjdk17_j9_sanity.functional_x86-64_linux_fips140_2_testList_2/jdkbinary/j2sdk-image/bin/java -XX:+EnableCRIUSupport  -Xgcpolicy:optthruput  -Dsemeru.fips=true -XX:+ThrowOnDelayedCheckpointOperation -Xtrace:print=j9vm.731 --add-opens java.base/jdk.internal.misc=ALL-UNNAMED  --add-exports java.base/openj9.internal.criu=ALL-UNNAMED -cp /home/jenkins/workspace/Test_openjdk17_j9_sanity.functional_x86-64_linux_fips140_2_testList_2/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu/criu.jar org.openj9.criu.DeadlockTest NotCheckpointSafeDeadlock 1
[2023-12-03T20:25:27.062Z]  [OUT] JVMTRCE003E Error processing trace option, detail: Unable to set tracepoint 731 in j9vm - tracepoint id out of range
[2023-12-03T20:25:27.062Z]  [OUT] JVMTRCE011W Module not configured for trace: j9vm
[2023-12-03T20:25:27.062Z]  [OUT] Pre-checkpoint
[2023-12-03T20:25:27.062Z]  [OUT] Performing CRIUSupport.checkpointJVM(), current thread name: main, Sun Dec 03 12:25:24 PST 2023, System.currentTimeMillis(): 1701635124422, System.nanoTime(): 115288618432948
[2023-12-03T20:25:27.062Z]  [OUT] JVMDUMP034I User requested Java dump using '/home/jenkins/workspace/Test_openjdk17_j9_sanity.functional_x86-64_linux_fips140_2_testList_2/aqa-tests/TKG/output_17016349156894/cmdLineTester_criu_nonPortableRestore_5/javacore.20231203.122524.333842.0001.txt' through org.eclipse.openj9.criu.CRIUSupport.checkpointJVMImpl
[2023-12-03T20:25:27.062Z]  [OUT] JVMDUMP010I Java dump written to /home/jenkins/workspace/Test_openjdk17_j9_sanity.functional_x86-64_linux_fips140_2_testList_2/aqa-tests/TKG/output_17016349156894/cmdLineTester_criu_nonPortableRestore_5/javacore.20231203.122524.333842.0001.txt
[2023-12-03T20:25:27.062Z]  [OUT] TEST PASSED
[2023-12-03T20:25:27.062Z]  [OUT] Error (criu/protobuf.c:72): Unexpected EOF on (empty-image)
[2023-12-03T20:25:27.062Z]  [OUT] Removed test output files
[2023-12-03T20:25:27.062Z]  [OUT] finished script
[2023-12-03T20:25:27.062Z] >> Success condition was found: [Output match: User requested Java dump using]
[2023-12-03T20:25:27.062Z] >> Success condition was found: [Output match: TEST PASSED]
[2023-12-03T20:25:27.062Z] >> Required condition was found: [Output match: Pre-checkpoint]
[2023-12-03T20:25:27.062Z] >> Required condition was not found: [Output match: Checkpoint blocked because thread]
[2023-12-03T20:25:27.062Z] >> Failure condition was not found: [Output match: Killed]
[2023-12-03T20:25:27.062Z] >> Failure condition was not found: [Output match: CRIU is not enabled]
[2023-12-03T20:25:27.062Z] >> Failure condition was not found: [Output match: Operation not permitted]
[2023-12-03T20:25:27.062Z] >> Success condition was not found: [Output match: Thread pid mismatch]
[2023-12-03T20:25:27.062Z] >> Success condition was not found: [Output match: do not match expected]
[2023-12-03T20:25:27.062Z] >> Success condition was not found: [Output match: Unable to create a thread:]
[2023-12-03T20:25:27.062Z] >> Failure condition was not found: [Output match: TEST FAILED]
[2023-12-03T20:25:27.062Z] >> Failure condition was not found: [Output match: Could not dump the JVM processes, err=-70]

[2023-12-03T20:27:39.183Z] ---TEST RESULTS---
[2023-12-03T20:27:39.183Z] Number of PASSED tests: 56 out of 57
[2023-12-03T20:27:39.183Z] Number of FAILED tests: 1 out of 57
[2023-12-03T20:27:39.183Z] 
[2023-12-03T20:27:39.183Z] ---SUMMARY OF FAILED TESTS---
[2023-12-03T20:27:39.183Z] Create and Restore Criu Checkpoint Image once - NotCheckpointSafeDeadlock
[2023-12-03T20:27:39.183Z] -----------------------------
[2023-12-03T20:27:39.183Z] 
[2023-12-03T20:27:39.183Z] -----------------------------------
[2023-12-03T20:27:39.183Z] cmdLineTester_criu_nonPortableRestore_5_FAILED

50x internal grinder - all failed

@JasonFengJ9 JasonFengJ9 added test failure criu Used to track CRIU snapshot related work comp:fips labels Dec 5, 2023
@JasonFengJ9 JasonFengJ9 changed the title cmdLineTester_criu_nonPortableRestore_5_FAILED JVMTRCE003E Error processing trace option, detail: Unable to set tracepoint 731 in j9vm - tracepoint id out of range FIPS cmdLineTester_criu_nonPortableRestore_5_FAILED JVMTRCE003E Error processing trace option, detail: Unable to set tracepoint 731 in j9vm - tracepoint id out of range Dec 5, 2023
@pshipton
Copy link
Member

pshipton commented Dec 7, 2023

Perhaps a typo in the tracepoint number? It should be corrected.

@JasonFengJ9
Copy link
Member Author

JasonFengJ9 commented Dec 7, 2023

This is a mismatch of the test and VM, the tracepoint j9vm.731 in question was introduced

which wasn't ported to 0.42 or 0.43 yet.
This 0.43 test was using the test from master branch.

15:12:59  + ./get.sh -s /home/jenkins/workspace/Test_openjdk17_j9_sanity.functional_x86-64_linux_fips140_2_testList_2/aqa-tests/.. -p x86-64_linux -r customized -j 17 -i openj9 -c 'https://na-public.artifactory.swg-devops.com/artifactory/sys-rt-generic-local/hyc-runtimes-jenkins.swg-devops.com/build-scripts/jobs/jdk17u/jdk17u-linux-x64-openj9/622/ibm-semeru-open-jdk_x64_linux_17.0.10_5_openj9-0.43.0-m1.tar.gz https://na-public.artifactory.swg-devops.com/artifactory/sys-rt-generic-local/hyc-runtimes-jenkins.swg-devops.com/build-scripts/jobs/jdk17u/jdk17u-linux-x64-openj9/622/ibm-semeru-open-testimage_x64_linux_17.0.10_5_openj9-0.43.0-m1.tar.gz' --clone_openj9 true --openj9_repo https://github.com/eclipse-openj9/openj9.git --openj9_branch master --tkg_repo https://github.com/adoptium/TKG.git --tkg_branch master

This test failure can be ignored. Created an internal issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:fips comp:test criu Used to track CRIU snapshot related work test failure
Projects
None yet
Development

No branches or pull requests

2 participants