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 InvalidKeyException: Point has small order & j9mm.141 ASSERTION FAILED omr/gc/base/standard/Scavenger.cpp:1649: ((false)) #20989

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

Comments

@JasonFengJ9
Copy link
Member

Failure link

From internal Test_openjdk23_j9_extended.functional_s390x_linux_fips140_3_openjceplusfips (rhel10s390x-rtbeta-2)

openjdk version "23.0.1-beta" 2024-10-15
IBM Semeru Runtime Open Edition 23.0.1+11-202501181703 (build 23.0.1-beta+11-202501181703)
Eclipse OpenJ9 VM 23.0.1+11-202501181703 (build master-c1949d7088, JRE 23 Linux s390x-64-Bit Compressed References 20250118_86 (JIT enabled, AOT enabled)
OpenJ9   - c1949d7088
OMR      - 6bfb20f78
JCL      - d98479bbe 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-18T17:53:53.213Z] variation: NoOptions
[2025-01-18T17:53:53.213Z] JVM_OPTIONS:   -Dsemeru.fips=true -Dsemeru.customprofile=OpenJCEPlusFIPS

[2025-01-18T17:54:23.322Z] [INFO] 
[2025-01-18T17:54:23.322Z] [INFO] -------------------------------------------------------
[2025-01-18T17:54:23.322Z] [INFO]  T E S T S
[2025-01-18T17:54:23.322Z] [INFO] -------------------------------------------------------
[2025-01-18T17:54:27.214Z] [INFO] Running ibm.jceplus.junit.TestIntegration
[2025-01-18T17:54:27.214Z] [INFO] Running ibm.jceplus.junit.openjceplus.integration.TestAll
[2025-01-18T17:54:27.214Z] [INFO] Running ibm.jceplus.junit.openjceplus.integration.TestTLS
[2025-01-18T17:54:27.214Z] Testing TLSv1.3 rsa_pkcs1_sha1 TLS_AES_128_GCM_SHA256
[2025-01-18T17:54:27.214Z] Server listining on port: 39465
[2025-01-18T17:54:27.214Z] javax.net.ssl.SSLHandshakeException: Could not generate secret
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.KAKeyDerivation.t13DeriveKey(KAKeyDerivation.java:127)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.KAKeyDerivation.deriveKey(KAKeyDerivation.java:63)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.ServerHello$T13ServerHelloProducer.produce(ServerHello.java:601)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.SSLHandshake.produce(SSLHandshake.java:437)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.ClientHello$T13ClientHelloConsumer.goServerHello(ClientHello.java:1243)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.ClientHello$T13ClientHelloConsumer.consume(ClientHello.java:1179)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.onClientHello(ClientHello.java:837)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.ClientHello$ClientHelloConsumer.consume(ClientHello.java:798)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:393)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:476)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:447)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:206)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1507)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1422)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.SSLSocketImpl.ensureNegotiated(SSLSocketImpl.java:924)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:1015)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:975)
[2025-01-18T17:54:27.214Z] 	at ibm.jceplus.junit.base.integration.BaseTestTLS$Server.doServerSide(BaseTestTLS.java:126)
[2025-01-18T17:54:27.214Z] 	at ibm.jceplus.junit.base.integration.BaseTestTLS$Server.run(BaseTestTLS.java:148)
[2025-01-18T17:54:27.214Z] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[2025-01-18T17:54:27.214Z] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[2025-01-18T17:54:27.214Z] 	at java.base/java.lang.Thread.run(Thread.java:1587)
[2025-01-18T17:54:27.214Z] Caused by: java.security.InvalidKeyException: Point has small order.
[2025-01-18T17:54:27.214Z] 	at openjceplus/com.ibm.crypto.plus.provider.XDHKeyAgreement.engineDoPhase(XDHKeyAgreement.java:125)
[2025-01-18T17:54:27.214Z] 	at java.base/javax.crypto.KeyAgreement.doPhase(KeyAgreement.java:581)
[2025-01-18T17:54:27.214Z] 	at java.base/sun.security.ssl.KAKeyDerivation.t13DeriveKey(KAKeyDerivation.java:103)
[2025-01-18T17:54:27.214Z] 	... 23 more
[2025-01-18T17:54:27.214Z] Testing TLSv1.3 rsa_pkcs1_sha256 TLS_AES_128_GCM_SHA256
[2025-01-18T17:54:27.214Z] Server listining on port: 38873
[2025-01-18T17:54:27.214Z] Corruption in Evacuate at 00000000FF83C290: calculated object size 1334848000 larger than available 8142192, Forwarded Header at 000003FF8E6FDF38
[2025-01-18T17:54:27.214Z] 17:54:26.086 0x157bb00    j9mm.141    *   ** ASSERTION FAILED ** at /home/jenkins/workspace/build-scripts/jobs/jdk23u/jdk23u-linux-s390x-openj9/workspace/build/src/omr/gc/base/standard/Scavenger.cpp:1649: ((false))
[2025-01-18T17:54:27.214Z] Corruption in Evacuate at 00000000FF8342E8: calculated object size 1334848000 larger than available 8174872, Forwarded Header at 000003FF8F573AB0
[2025-01-18T17:54:27.214Z] 17:54:26.086 0x13e4800    j9mm.141    *   ** ASSERTION FAILED ** at /home/jenkins/workspace/build-scripts/jobs/jdk23u/jdk23u-linux-s390x-openj9/workspace/build/src/omr/gc/base/standard/Scavenger.cpp:1649: ((false))
[2025-01-18T17:54:27.214Z] JVMDUMP039I Processing dump event "traceassert", detail "" at 2025/01/18 17:54:26 - please wait.

[2025-01-18T17:54:29.233Z] 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

2 participants