-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
26
-
None
-
generic
-
linux
This JTreg case failed on both AArch64 and x86_64 after JDK-8359956
Here is the test environment on my side:
os: ubuntu 24.04
gcc: 13.3.0
jdk: fastdebug
How to reproduce;
make test TEST=test/jdk/javax/management/security/SecurityTest.java
Here shows the snippet of error log:
STDERR:
[SecurityTest$ClientSide] Exception in thread "main" java.lang.RuntimeException
[SecurityTest$ClientSide] at SecurityTest$ClientSide.run(SecurityTest.java:661)
[SecurityTest$ClientSide] at SecurityTest$ClientSide.main(SecurityTest.java:543)
java.lang.RuntimeException: java.lang.RuntimeException: errorCount = 1
at SecurityTest.run(SecurityTest.java:521)
at SecurityTest.main(SecurityTest.java:170)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1474)
Caused by: java.lang.RuntimeException: errorCount = 1
at SecurityTest.run(SecurityTest.java:515)
... 5 more
JavaTest Message: Test threw exception: java.lang.RuntimeException: java.lang.RuntimeException: errorCount = 1
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: java.lang.RuntimeException: errorCount = 1
rerun:
cd /tmp/jtwork_rerun/jdk/scratch && \
HOME=/home/bot \
PATH=/bin:/usr/bin:/usr/sbin \
CLASSPATH=/tmp/jtwork_rerun/jdk/classes/javax/management/security/SecurityTest.d:/tmp/jdk-src/test/jdk/javax/management/security:/tmp/jtwork_rerun/jdk/classes/test/lib:/tmp/jdk-src/test/lib:/usr/local/lib/jtreg/jtreg-7.5.2+1/lib/jtreg.jar \
/tmp/build-fastdebug/images/jdk/bin/java \
-Dtest.vm.opts='-server -ea -esa -Xmx768m -Djdk.incubator.vector.test.loop-iterations=500 -Djdk.test.lib.artifacts.jcstress-tests-all=/usr/local/lib/jcstress-tests-all-0.17-snapshot-20240328.jar' \
-Dtest.tool.vm.opts='-J-server -J-ea -J-esa -J-Xmx768m -J-Djdk.incubator.vector.test.loop-iterations=500 -J-Djdk.test.lib.artifacts.jcstress-tests-all=/usr/local/lib/jcstress-tests-all-0.17-snapshot-20240328.jar' \
-Dtest.compiler.opts= \
-Dtest.java.opts= \
-Dtest.jdk=/tmp/build-fastdebug/images/jdk \
-Dcompile.jdk=/tmp/build-fastdebug/images/jdk \
-Dtest.timeout.factor=16.0 \
-Dtest.nativepath=/tmp/build-fastdebug/images/test/jdk/jtreg/native \
-Dtest.root=/tmp/jdk-src/test/jdk \
-Dtest.name=javax/management/security/SecurityTest.java \
-Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=BRIEF,t=false,m=false] \
-Dtest.file=/tmp/jdk-src/test/jdk/javax/management/security/SecurityTest.java \
-Dtest.main.class=SecurityTest \
-Dtest.src=/tmp/jdk-src/test/jdk/javax/management/security \
-Dtest.src.path=/tmp/jdk-src/test/jdk/javax/management/security:/tmp/jdk-src/test/lib \
-Dtest.classes=/tmp/jtwork_rerun/jdk/classes/javax/management/security/SecurityTest.d \
-Dtest.class.path=/tmp/jtwork_rerun/jdk/classes/javax/management/security/SecurityTest.d:/tmp/jtwork_rerun/jdk/classes/test/lib \
-Dtest.modules=java.management.rmi \
--add-modules java.management.rmi \
-server \
-ea \
-esa \
-Xmx768m \
-Djdk.incubator.vector.test.loop-iterations=500 \
-Djdk.test.lib.artifacts.jcstress-tests-all=/usr/local/lib/jcstress-tests-all-0.17-snapshot-20240328.jar \
-Djava.library.path=/tmp/build-fastdebug/images/test/jdk/jtreg/native \
-DDEBUG_STANDARD \
com.sun.javatest.regtest.agent.MainWrapper /tmp/jtwork_rerun/jdk/javax/management/security/SecurityTest.d/main.11.jta -server -mapType rmi.client.socket.factory.ssl;rmi.server.socket.factory.ssl -keystore keystoreAgent -keystorepassword glopglop -client -truststore truststoreClient -truststorepassword glopglop
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: java.lang.RuntimeException: errorCount = 1
Here is the test environment on my side:
os: ubuntu 24.04
gcc: 13.3.0
jdk: fastdebug
How to reproduce;
make test TEST=test/jdk/javax/management/security/SecurityTest.java
Here shows the snippet of error log:
STDERR:
[SecurityTest$ClientSide] Exception in thread "main" java.lang.RuntimeException
[SecurityTest$ClientSide] at SecurityTest$ClientSide.run(SecurityTest.java:661)
[SecurityTest$ClientSide] at SecurityTest$ClientSide.main(SecurityTest.java:543)
java.lang.RuntimeException: java.lang.RuntimeException: errorCount = 1
at SecurityTest.run(SecurityTest.java:521)
at SecurityTest.main(SecurityTest.java:170)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1474)
Caused by: java.lang.RuntimeException: errorCount = 1
at SecurityTest.run(SecurityTest.java:515)
... 5 more
JavaTest Message: Test threw exception: java.lang.RuntimeException: java.lang.RuntimeException: errorCount = 1
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: java.lang.RuntimeException: errorCount = 1
rerun:
cd /tmp/jtwork_rerun/jdk/scratch && \
HOME=/home/bot \
PATH=/bin:/usr/bin:/usr/sbin \
CLASSPATH=/tmp/jtwork_rerun/jdk/classes/javax/management/security/SecurityTest.d:/tmp/jdk-src/test/jdk/javax/management/security:/tmp/jtwork_rerun/jdk/classes/test/lib:/tmp/jdk-src/test/lib:/usr/local/lib/jtreg/jtreg-7.5.2+1/lib/jtreg.jar \
/tmp/build-fastdebug/images/jdk/bin/java \
-Dtest.vm.opts='-server -ea -esa -Xmx768m -Djdk.incubator.vector.test.loop-iterations=500 -Djdk.test.lib.artifacts.jcstress-tests-all=/usr/local/lib/jcstress-tests-all-0.17-snapshot-20240328.jar' \
-Dtest.tool.vm.opts='-J-server -J-ea -J-esa -J-Xmx768m -J-Djdk.incubator.vector.test.loop-iterations=500 -J-Djdk.test.lib.artifacts.jcstress-tests-all=/usr/local/lib/jcstress-tests-all-0.17-snapshot-20240328.jar' \
-Dtest.compiler.opts= \
-Dtest.java.opts= \
-Dtest.jdk=/tmp/build-fastdebug/images/jdk \
-Dcompile.jdk=/tmp/build-fastdebug/images/jdk \
-Dtest.timeout.factor=16.0 \
-Dtest.nativepath=/tmp/build-fastdebug/images/test/jdk/jtreg/native \
-Dtest.root=/tmp/jdk-src/test/jdk \
-Dtest.name=javax/management/security/SecurityTest.java \
-Dtest.verbose=Verbose[p=BRIEF,f=FULL,e=BRIEF,t=false,m=false] \
-Dtest.file=/tmp/jdk-src/test/jdk/javax/management/security/SecurityTest.java \
-Dtest.main.class=SecurityTest \
-Dtest.src=/tmp/jdk-src/test/jdk/javax/management/security \
-Dtest.src.path=/tmp/jdk-src/test/jdk/javax/management/security:/tmp/jdk-src/test/lib \
-Dtest.classes=/tmp/jtwork_rerun/jdk/classes/javax/management/security/SecurityTest.d \
-Dtest.class.path=/tmp/jtwork_rerun/jdk/classes/javax/management/security/SecurityTest.d:/tmp/jtwork_rerun/jdk/classes/test/lib \
-Dtest.modules=java.management.rmi \
--add-modules java.management.rmi \
-server \
-ea \
-esa \
-Xmx768m \
-Djdk.incubator.vector.test.loop-iterations=500 \
-Djdk.test.lib.artifacts.jcstress-tests-all=/usr/local/lib/jcstress-tests-all-0.17-snapshot-20240328.jar \
-Djava.library.path=/tmp/build-fastdebug/images/test/jdk/jtreg/native \
-DDEBUG_STANDARD \
com.sun.javatest.regtest.agent.MainWrapper /tmp/jtwork_rerun/jdk/javax/management/security/SecurityTest.d/main.11.jta -server -mapType rmi.client.socket.factory.ssl;rmi.server.socket.factory.ssl -keystore keystoreAgent -keystorepassword glopglop -client -truststore truststoreClient -truststorepassword glopglop
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: java.lang.RuntimeException: errorCount = 1
- caused by
-
JDK-8359956 Support algorithm constraints and certificate checks in SunX509 key manager
-
- Resolved
-
- duplicates
-
JDK-8364484 misc tests fail with Received fatal alert: handshake_failure
-
- Resolved
-