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

cmdLineTester_criu_keepCheckpoint_0_FAILED Error (criu/proc_parse.c:474): Can't open map_files: Permission denied #19073

Open
JasonFengJ9 opened this issue Mar 5, 2024 · 2 comments
Labels
criu Used to track CRIU snapshot related work test failure

Comments

@JasonFengJ9
Copy link
Member

JasonFengJ9 commented Mar 5, 2024

From an internal build(sles12x86-rtp-rt5-1):

java version "17.0.11-beta" 2024-04-16
IBM Semeru Runtime Certified Edition 17.0.11+5-202403021534 (build 17.0.11-beta+5-202403021534)
Eclipse OpenJ9 VM 17.0.11+5-202403021534 (build master-5726a9c57, JRE 17 Linux amd64-64-Bit Compressed References 20240302_621 (JIT enabled, AOT enabled)
OpenJ9   - 5726a9c57
OMR      - 53e909c41
JCL      - 8507349ca3 based on jdk-17.0.11+5)

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

Optional info

Failure output (captured from console output)

[2024-03-02T16:37:17.926Z] variation: -Xjit
[2024-03-02T16:37:17.926Z] JVM_OPTIONS:  -Xjit 

[2024-03-02T16:37:18.385Z] TESTING:
[2024-03-02T16:37:18.944Z] *** Starting test suite: J9 Criu Command-Line Option Tests ***
[2024-03-02T16:37:18.944Z] Testing: Create Criu Checkpoint Image without Restore
[2024-03-02T16:37:19.370Z] Test start time: 2024/03/02 08:37:18 Pacific Standard Time
[2024-03-02T16:37:19.370Z] Running command: bash /home/jenkins/workspace/Test_openjdk17_j9_sanity.functional_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu/criuScript.sh /home/jenkins/workspace/Test_openjdk17_j9_sanity.functional_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu /home/jenkins/workspace/Test_openjdk17_j9_sanity.functional_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java " -Xjit " org.openj9.criu.CRIUSimpleTest 1 1 true true
[2024-03-02T16:37:19.370Z] Time spent starting: 90 milliseconds
[2024-03-02T16:37:21.557Z] Time spent executing: 2138 milliseconds
[2024-03-02T16:37:21.557Z] Test result: FAILED
[2024-03-02T16:37:21.557Z] Output from test:

[2024-03-02T16:37:21.561Z]  [OUT] (00.062494) Error (criu/proc_parse.c:474): Can't open map_files: Permission denied
[2024-03-02T16:37:21.561Z]  [OUT] (00.062514) Error (criu/proc_parse.c:694): Can't open 15971's mapfile link 7f79ec309000: Permission denied
[2024-03-02T16:37:21.561Z]  [OUT] (00.062534) Error (criu/cr-dump.c:1558): Collect mappings (pid: 15971) failed with -1
[2024-03-02T16:37:21.561Z]  [OUT] (00.062739) net: Unlock network
[2024-03-02T16:37:21.561Z]  [OUT] (00.062759) Unfreezing tasks into 1
[2024-03-02T16:37:21.561Z]  [OUT] (00.062769) 	Unseizing 15971 into 1
[2024-03-02T16:37:21.561Z]  [OUT] (00.063324) Error (criu/cr-dump.c:2093): Dumping FAILED.
[2024-03-02T16:37:21.561Z]  [OUT] -------------- End of checkpoint criu.log -------------
[2024-03-02T16:37:21.561Z]  [OUT] Exception in thread "main" org.eclipse.openj9.criu.SystemCheckpointException: Could not dump the JVM processes, err=-52
[2024-03-02T16:37:21.561Z]  [OUT] 	at openj9.criu/org.eclipse.openj9.criu.CRIUSupport.checkpointJVM(CRIUSupport.java:536)
[2024-03-02T16:37:21.561Z]  [OUT] 	at org.openj9.criu.CRIUTestUtils.checkPointJVM(CRIUTestUtils.java:92)
[2024-03-02T16:37:21.561Z]  [OUT] 	at org.openj9.criu.CRIUTestUtils.checkPointJVM(CRIUTestUtils.java:80)
[2024-03-02T16:37:21.561Z]  [OUT] 	at org.openj9.criu.CRIUTestUtils.checkPointJVM(CRIUTestUtils.java:76)
[2024-03-02T16:37:21.561Z]  [OUT] 	at org.openj9.criu.CRIUSimpleTest.checkpoints(CRIUSimpleTest.java:59)
[2024-03-02T16:37:21.561Z]  [OUT] 	at org.openj9.criu.CRIUSimpleTest.main(CRIUSimpleTest.java:38)
[2024-03-02T16:37:21.561Z]  [OUT] Caused by: openj9.internal.criu.SystemCheckpointException: Could not dump the JVM processes, err=-52
[2024-03-02T16:37:21.561Z]  [OUT] 	at java.base/openj9.internal.criu.InternalCRIUSupport.checkpointJVMImpl(Native Method)
[2024-03-02T16:37:21.561Z]  [OUT] 	at java.base/openj9.internal.criu.InternalCRIUSupport.checkpointJVM(InternalCRIUSupport.java:961)
[2024-03-02T16:37:21.561Z]  [OUT] 	at openj9.criu/org.eclipse.openj9.criu.CRIUSupport.checkpointJVM(CRIUSupport.java:530)
[2024-03-02T16:37:21.561Z]  [OUT] 	... 5 more
[2024-03-02T16:37:21.561Z]  [OUT] finished script
[2024-03-02T16:37:21.561Z]  [ERR] cat: criuOutput: No such file or directory
[2024-03-02T16:37:21.561Z] >> Success condition was not found: [Output match: Killed]
[2024-03-02T16:37:21.561Z] >> Required condition was found: [Output match: Pre-checkpoint]
[2024-03-02T16:37:21.561Z] >> Failure condition was not found: [Output match: Post-checkpoint]
[2024-03-02T16:37:21.561Z] >> Failure condition was not found: [Output match: CRIU is not enabled]
[2024-03-02T16:37:21.561Z] >> Failure condition was not found: [Output match: Removed testOutput file]
[2024-03-02T16:37:21.561Z] >> Failure condition was found: [Output match: Operation not permitted]
[2024-03-02T16:37:21.561Z] >> Failure condition was not found: [Output match: ERR]
[2024-03-02T16:37:21.561Z] >> Failure condition was not found: [Output match: Could not dump the JVM processes, err=-70]
[2024-03-02T16:37:21.561Z] >> Failure condition was not found: [Output match: User requested Java dump using]
[2024-03-02T16:37:21.561Z] 
[2024-03-02T16:37:21.561Z] 
[2024-03-02T16:37:21.561Z] ---TEST RESULTS---
[2024-03-02T16:37:21.561Z] Number of PASSED tests: 0 out of 1
[2024-03-02T16:37:21.561Z] Number of FAILED tests: 1 out of 1
[2024-03-02T16:37:21.561Z] 
[2024-03-02T16:37:21.561Z] ---SUMMARY OF FAILED TESTS---
[2024-03-02T16:37:21.561Z] Create Criu Checkpoint Image without Restore
[2024-03-02T16:37:21.561Z] -----------------------------
[2024-03-02T16:37:21.561Z] 
[2024-03-02T16:37:21.561Z] -----------------------------------
[2024-03-02T16:37:21.561Z] cmdLineTester_criu_keepCheckpoint_0_FAILED

50x internal grinder - passed

@JasonFengJ9 JasonFengJ9 added test failure criu Used to track CRIU snapshot related work labels Mar 5, 2024
@pshipton
Copy link
Member

pshipton commented Mar 5, 2024

Seems like a machine problem.

@cjjdespres
Copy link
Contributor

Also seen in https://hyc-runtimes-jenkins.swg-devops.com/job/Test_openjdk17_j9_sanity.functional_s390x_linux_jit_Personal_testList_1/945/, on sles15s390x-svl-rt10-1, if this is a machine issue.

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

No branches or pull requests

3 participants