-
Bug
-
Resolution: Fixed
-
P4
-
13
-
b21
-
sparc_64
-
solaris_11
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8228472 | 11.0.5 | Weijun Wang | P4 | Resolved | Fixed | b01 |
The following test has been timing out on Solaris SPARC in
the JDK13-CI:
sun/security/tools/keytool/PSS.java
Here's a snippet from the log:
----------System.out:(18/1752)----------
Command line: [/system/zones/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.893/solaris-sparcv9.jdk/jdk-13/bin/keytool -J-Duser.language=en -J-Duser.country=US -J-Djava.security.egd=file:/dev/./urandom -storepass changeit -keypass changeit -keystore ks -genkeypair -alias p -dname CN=p -keyalg RSASSA-PSS -sigalg RSASSA-PSS]
Generating -1 bit RSASSA-PSS key pair and self-signed certificate (RSASSA-PSS) with a validity of 90 days
for: CN=p
Exit value: 0
Command line: [/system/zones/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.893/solaris-sparcv9.jdk/jdk-13/bin/keytool -J-Duser.language=en -J-Duser.country=US -J-Djava.security.egd=file:/dev/./urandom -storepass changeit -keypass changeit -keystore ks -genkeypair -alias a -dname CN=a -keyalg RSA -sigalg RSASSA-PSS -keysize 2048]
Generating 2,048 bit RSA key pair and self-signed certificate (RSASSA-PSS) with a validity of 90 days
for: CN=a
Exit value: 0
Command line: [/system/zones/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.893/solaris-sparcv9.jdk/jdk-13/bin/keytool -J-Duser.language=en -J-Duser.country=US -J-Djava.security.egd=file:/dev/./urandom -storepass changeit -keypass changeit -keystore ks -genkeypair -alias b -dname CN=b -keyalg RSA -sigalg RSASSA-PSS -keysize 4096]
Generating 4,096 bit RSA key pair and self-signed certificate (RSASSA-PSS) with a validity of 90 days
for: CN=b
Exit value: 0
Command line: [/system/zones/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.893/solaris-sparcv9.jdk/jdk-13/bin/keytool -J-Duser.language=en -J-Duser.country=US -J-Djava.security.egd=file:/dev/./urandom -storepass changeit -keypass changeit -keystore ks -genkeypair -alias c -dname CN=c -keyalg RSA -sigalg RSASSA-PSS -keysize 8192]
Exit value: 6
----------System.err:(18/828)----------
stdout: [];
stderr: []
exitValue = 6
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:430)
at PSS.main(PSS.java:59)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:835)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Error. Agent error: java.lang.Exception: Agent 6 timed out with a timeout of 960 seconds; check console log for any additional details
test result: Error. Agent error: java.lang.Exception: Agent 6 timed out with a timeout of 960 seconds; check console log for any additional details
The test is failing due to "exitValue = 6", but this is being
reported as a timeout at 960 seconds. I'm not sure why
both an exitValue failure and a timeout failure are showing
up here.
the JDK13-CI:
sun/security/tools/keytool/PSS.java
Here's a snippet from the log:
----------System.out:(18/1752)----------
Command line: [/system/zones/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.893/solaris-sparcv9.jdk/jdk-13/bin/keytool -J-Duser.language=en -J-Duser.country=US -J-Djava.security.egd=file:/dev/./urandom -storepass changeit -keypass changeit -keystore ks -genkeypair -alias p -dname CN=p -keyalg RSASSA-PSS -sigalg RSASSA-PSS]
Generating -1 bit RSASSA-PSS key pair and self-signed certificate (RSASSA-PSS) with a validity of 90 days
for: CN=p
Exit value: 0
Command line: [/system/zones/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.893/solaris-sparcv9.jdk/jdk-13/bin/keytool -J-Duser.language=en -J-Duser.country=US -J-Djava.security.egd=file:/dev/./urandom -storepass changeit -keypass changeit -keystore ks -genkeypair -alias a -dname CN=a -keyalg RSA -sigalg RSASSA-PSS -keysize 2048]
Generating 2,048 bit RSA key pair and self-signed certificate (RSASSA-PSS) with a validity of 90 days
for: CN=a
Exit value: 0
Command line: [/system/zones/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.893/solaris-sparcv9.jdk/jdk-13/bin/keytool -J-Duser.language=en -J-Duser.country=US -J-Djava.security.egd=file:/dev/./urandom -storepass changeit -keypass changeit -keystore ks -genkeypair -alias b -dname CN=b -keyalg RSA -sigalg RSASSA-PSS -keysize 4096]
Generating 4,096 bit RSA key pair and self-signed certificate (RSASSA-PSS) with a validity of 90 days
for: CN=b
Exit value: 0
Command line: [/system/zones/opt/mach5/mesos/work_dir/jib-master/install/jdk13-jdk.893/solaris-sparcv9.jdk/jdk-13/bin/keytool -J-Duser.language=en -J-Duser.country=US -J-Djava.security.egd=file:/dev/./urandom -storepass changeit -keypass changeit -keystore ks -genkeypair -alias c -dname CN=c -keyalg RSA -sigalg RSASSA-PSS -keysize 8192]
Exit value: 6
----------System.err:(18/828)----------
stdout: [];
stderr: []
exitValue = 6
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:430)
at PSS.main(PSS.java:59)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:835)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Error. Agent error: java.lang.Exception: Agent 6 timed out with a timeout of 960 seconds; check console log for any additional details
test result: Error. Agent error: java.lang.Exception: Agent 6 timed out with a timeout of 960 seconds; check console log for any additional details
The test is failing due to "exitValue = 6", but this is being
reported as a timeout at 960 seconds. I'm not sure why
both an exitValue failure and a timeout failure are showing
up here.
- backported by
-
JDK-8228472 sun/security/tools/keytool/PSS.java times out on Solaris-SPARC
- Resolved