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

openJcePlusTests_0 ibm.jceplus.junit.TestMultithreadFIPS.testMultithreadFIPS AssertionFailedError: Timeout initializing threads! #20944

Open
JasonFengJ9 opened this issue Jan 15, 2025 · 0 comments

Comments

@JasonFengJ9
Copy link
Member

Failure link

From internal Test_openjdk23_j9_extended.functional_x86-64_linux_fips140_3_openjceplusfips (rtj-rhel8x86-svl-test-n4gzp-1)

openjdk version "23.0.1-beta" 2024-10-15
IBM Semeru Runtime Open Edition 23.0.1+11-202501111703 (build 23.0.1-beta+11-202501111703)
Eclipse OpenJ9 VM 23.0.1+11-202501111703 (build master-c8dd8900e3, JRE 23 Linux amd64-64-Bit Compressed References 20250111_82 (JIT enabled, AOT enabled)
OpenJ9   - c8dd8900e3
OMR      - 9e718a6f9
JCL      - 62fcf4c8d based on jdk-23.0.1+11)

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

Optional info

Failure output (captured from console output)

[2025-01-11T17:50:29.369Z] variation: NoOptions
[2025-01-11T17:50:29.369Z] JVM_OPTIONS:   -Dsemeru.fips=true -Dsemeru.customprofile=OpenJCEPlusFIPS

[2025-01-11T19:03:58.123Z] ====================================================================================
[2025-01-11T19:03:58.123Z] ================  NEW TEST #67  =====================================================
[2025-01-11T19:03:58.123Z] ====================================================================================
[2025-01-11T19:03:58.123Z] Test finished: ibm.jceplus.junit.openjceplusfips.multithread.TestMiniRSAPSS2
[2025-01-11T19:03:58.123Z] Test calling: ibm.jceplus.junit.openjceplusfips.multithread.TestRSASignature
[2025-01-11T19:04:21.845Z] Test finished: ibm.jceplus.junit.openjceplusfips.multithread.TestRSASignature
[2025-01-11T19:04:21.845Z] Test calling: ibm.jceplus.junit.openjceplusfips.multithread.TestRSA_2048
[2025-01-11T19:04:23.094Z] [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2453 s <<< FAILURE! -- in ibm.jceplus.junit.TestMultithreadFIPS
[2025-01-11T19:04:23.094Z] [ERROR] ibm.jceplus.junit.TestMultithreadFIPS.testMultithreadFIPS -- Time elapsed: 2453 s <<< FAILURE!
[2025-01-11T19:04:23.094Z] org.opentest4j.AssertionFailedError: Timeout initializing threads! Perform long lasting initializations before passing runnables to assertConcurrent ==> expected: <true> but was: <false>
[2025-01-11T19:04:23.095Z] 	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
[2025-01-11T19:04:23.095Z] 	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
[2025-01-11T19:04:23.095Z] 	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
[2025-01-11T19:04:23.095Z] 	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
[2025-01-11T19:04:23.095Z] 	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
[2025-01-11T19:04:23.095Z] 	at ibm.jceplus.junit.TestMultithreadFIPS.assertConcurrent(TestMultithreadFIPS.java:112)
[2025-01-11T19:04:23.095Z] 	at ibm.jceplus.junit.TestMultithreadFIPS.testMultithreadFIPS(TestMultithreadFIPS.java:165)
[2025-01-11T19:04:23.095Z] 	at java.base/java.lang.reflect.Method.invoke(Method.java:586)
[2025-01-11T19:04:23.095Z] 	at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
[2025-01-11T19:04:23.095Z] 	at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
[2025-01-11T19:04:23.095Z] 
[2025-01-11T19:04:25.922Z] [INFO] 
[2025-01-11T19:04:25.922Z] [INFO] Results:
[2025-01-11T19:04:25.922Z] [INFO] 
[2025-01-11T19:04:25.922Z] [ERROR] Failures: 
[2025-01-11T19:04:25.922Z] [ERROR]   TestMultithreadFIPS.testMultithreadFIPS:165->assertConcurrent:112 Timeout initializing threads! Perform long lasting initializations before passing runnables to assertConcurrent ==> expected: <true> but was: <false>
[2025-01-11T19:04:25.922Z] [INFO] 
[2025-01-11T19:04:25.922Z] [ERROR] Tests run: 2378, Failures: 1, Errors: 0, Skipped: 0
[2025-01-11T19:04:25.922Z] [INFO] 
[2025-01-11T19:04:25.922Z] [INFO] ------------------------------------------------------------------------
[2025-01-11T19:04:25.922Z] [INFO] BUILD FAILURE
[2025-01-11T19:04:25.922Z] [INFO] ------------------------------------------------------------------------
[2025-01-11T19:04:25.922Z] [INFO] Total time:  01:13 h
[2025-01-11T19:04:25.922Z] [INFO] Finished at: 2025-01-11T11:04:25-08:00
[2025-01-11T19:04:25.922Z] [INFO] ------------------------------------------------------------------------
[2025-01-11T19:04:27.333Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.3.0:test (default-cli) on project OpenJCEPlus: There are test failures.
[2025-01-11T19:04:27.334Z] [ERROR] 
[2025-01-11T19:04:27.334Z] [ERROR] Please refer to /home/jenkins/workspace/Test_openjdk23_j9_extended.functional_x86-64_linux_fips140_3_openjceplusfips/aqa-tests/TKG/../TKG/output_1736617828287/openJcePlusTests_0/target/surefire-reports for the individual test results.
[2025-01-11T19:04:27.334Z] [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[2025-01-11T19:04:27.334Z] [ERROR] -> [Help 1]
[2025-01-11T19:04:27.334Z] [ERROR] 
[2025-01-11T19:04:27.334Z] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[2025-01-11T19:04:27.334Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2025-01-11T19:04:27.334Z] [ERROR] 
[2025-01-11T19:04:27.334Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[2025-01-11T19:04:27.334Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[2025-01-11T19:04:27.334Z] -----------------------------------
[2025-01-11T19:04:27.334Z] openJcePlusTests_0_FAILED

50x internal Grinder

FYI @jasonkatonica

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

No branches or pull requests

1 participant