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_random test failure with JITServer #16502

Closed
cjjdespres opened this issue Jan 3, 2023 · 1 comment
Closed

cmdLineTester_criu_random test failure with JITServer #16502

cjjdespres opened this issue Jan 3, 2023 · 1 comment

Comments

@cjjdespres
Copy link
Contributor

Starting about two weeks ago, the cmdLineTester_criu_random_0 test has been failing in the JITServer nightly test runs. From the logs, it looks like the initial checkpoint is not created, causing the subsequent operations to fail. E.g., from https://hyc-runtimes-jenkins.swg-devops.com/job/Test_openjdk11_j9_sanity.functional_x86-64_linux_jit_Personal there is the console log:

cmdLineTester_criu_random_0 Start Time: Tue Jan  3 04:01:59 2023 Epoch Time (ms): 1672736519411
variation: -Denable.j9internal.checkpoint.security.api.debug=true
JVM_OPTIONS: -XX:+UseJITServer -Denable.j9internal.checkpoint.security.api.debug=true 

TEST SETUP:
JVMSHRC005I No shared class caches available
JVMSHRC005I No shared class caches available
cache cleanup done

TESTING:
*** Starting test suite: J9 Criu Command-Line Option Tests ***
Testing: Create Criu Checkpoint Image
Test start time: 2023/01/03 04:02:00 Eastern Standard Time
Running command: bash /home/jenkins/workspace/Test_openjdk11_j9_sanity.functional_x86-64_linux_jit_Personal_testList_0/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu/criuRandomScript.sh /home/jenkins/workspace/Test_openjdk11_j9_sanity.functional_x86-64_linux_jit_Personal_testList_0/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu /home/jenkins/workspace/Test_openjdk11_j9_sanity.functional_x86-64_linux_jit_Personal_testList_0/openjdkbinary/j2sdk-image/bin/java -XX:+UseJITServer -Denable.j9internal.checkpoint.security.api.debug=true  "Checkpoint"
Time spent starting: 75 milliseconds
Time spent executing: 98 milliseconds
Test result: FAILED
Output from test:
 [OUT] start running script
 [OUT] finished script
 [ERR] cat: testOutput: No such file or directory
>> Success condition was not found: [Output match: Killed]
>> Success condition was not found: [Output match: Pre-checkpoint]
>> Failure condition was not found: [Output match: CRIU is not enabled]
>> Failure condition was not found: [Output match: Operation not permitted]
>> 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]

Testing: First Restore of Criu Checkpoint Image
Test start time: 2023/01/03 04:02:00 Eastern Standard Time
Running command: bash /home/jenkins/workspace/Test_openjdk11_j9_sanity.functional_x86-64_linux_jit_Personal_testList_0/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu/criuRandomScript.sh /home/jenkins/workspace/Test_openjdk11_j9_sanity.functional_x86-64_linux_jit_Personal_testList_0/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu /home/jenkins/workspace/Test_openjdk11_j9_sanity.functional_x86-64_linux_jit_Personal_testList_0/openjdkbinary/j2sdk-image/bin/java -XX:+UseJITServer -Denable.j9internal.checkpoint.security.api.debug=true  "FirstRestore"
Time spent starting: 5 milliseconds
Time spent executing: 16 milliseconds
Test result: FAILED
Output from test:
 [OUT] start running script
 [OUT] finished script
 [ERR] cat: testOutput: No such file or directory
>> Success condition was not found: [Output match: First Restore]
>> Success condition was not found: [Output match: Post-checkpoint]
>> Failure condition was not found: [Output match: CRIU is not enabled]
>> Failure condition was not found: [Output match: Operation not permitted]
>> Success condition was not found: [Output match: Thread pid mismatch]
>> Success condition was not found: [Output match: do not match expected]
>> Success condition was not found: [Output match: Unable to create a thread:]
>> Failure condition was not found: [Output match: Can't open dir cpData: No such file or directory]
>> Failure condition was not found: [Output match: Could not dump the JVM processes, err=-70]

Testing: Second Restore of Criu Checkpoint Image
Test start time: 2023/01/03 04:02:00 Eastern Standard Time
Running command: bash /home/jenkins/workspace/Test_openjdk11_j9_sanity.functional_x86-64_linux_jit_Personal_testList_0/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu/criuRandomScript.sh /home/jenkins/workspace/Test_openjdk11_j9_sanity.functional_x86-64_linux_jit_Personal_testList_0/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/criu /home/jenkins/workspace/Test_openjdk11_j9_sanity.functional_x86-64_linux_jit_Personal_testList_0/openjdkbinary/j2sdk-image/bin/java -XX:+UseJITServer -Denable.j9internal.checkpoint.security.api.debug=true  "SecondRestore"
Time spent starting: 6 milliseconds
Time spent executing: 14 milliseconds
Test result: FAILED
Output from test:
 [OUT] start running script
 [OUT] finished script
 [ERR] cat: testOutput: No such file or directory
>> Success condition was not found: [Output match: Different random values]
>> Success condition was not found: [Output match: Post-checkpoint]
>> Required condition was not found: [Output match: Second Restore]
>> Failure condition was not found: [Output match: CRIU is not enabled]
>> Failure condition was not found: [Output match: Operation not permitted]
>> Success condition was not found: [Output match: Thread pid mismatch]
>> Success condition was not found: [Output match: do not match expected]
>> Success condition was not found: [Output match: Unable to create a thread:]
>> Failure condition was not found: [Output match: Can't open dir cpData: No such file or directory]
>> Failure condition was not found: [Output match: Could not dump the JVM processes, err=-70]

This test appears to fail consistently with JITServer enabled, and not fail with JITServer disabled. Attn @mpirvu.

@cjjdespres
Copy link
Contributor Author

I'll close this issue in favour of #16514.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant