-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
8
-
generic
-
solaris
I observed the following SDK/JDK test fail in my baseline test for JDK8-B22
on Solaris-X86 and Solaris X64:
closed/javax/management/remote/mandatory/sslStub/SslStubTest.sh
Normally, timeouts don't catch my attention, but the same test on
two different configurations in the same baseline build? Definitely
unusual. Also, if a test times out because a machine is overloaded,
then all phases of the JavaTest/JTREG infrastructure for the test
are typically also slow.
Here is the config ID and elapsed times from the Solaris X86 config:
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b22)
Java HotSpot(TM) Server VM (build 23.0-b10-fastdebug, compiled mode)
----------messages:(3/163)----------
command: clean SslStubTest ServerImpl ServerImpl_Stub
reason: User specified action: run clean SslStubTest ServerImpl ServerImpl_Stub
elapsed time (seconds): 0.0
<snip>
----------messages:(3/165)----------
command: build SslStubTest ServerImpl ServerImpl_Stub
reason: User specified action: run build SslStubTest ServerImpl ServerImpl_Stub
elapsed time (seconds): 0.669
<snip>
----------messages:(3/472)----------
command: compile /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/close
d/javax/management/remote/mandatory/sslStub/SslStubTest.java /work/shared/mirror
s/src_clones/jdk8/tl_jdk_baseline/test/closed/javax/management/remote/mandatory/
sslStub/ServerImpl.java /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/tes
t/closed/javax/management/remote/mandatory/sslStub/ServerImpl_Stub.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.667
<snip>
----------messages:(3/134)----------
command: shell SslStubTest.sh []
reason: User specified action: run shell/timeout=300 SslStubTest.sh
elapsed time (seconds): 300.007
Here is where the test timed out:
--- BEGIN TEST ---
Test ID: SslStubTest 6
Test Description: RMIServer's stub == RMIServerImpl_Stub && RemoteRef == Unicast
Ref2 && RemoteRef's RMIClientSocketFactory != SslRMIClientSocketFactory
KeyStore = /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/closed/java
x/management/remote/mandatory/sslStub/keystore
TrustStore = /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/closed/ja
vax/management/remote/mandatory/sslStub/truststore
Running SslStubTest [6]
Create the MBean server
Start the RMI connector server
RMI connector server successfully started
Waiting for incoming connections...
Address: service:jmx:rmi://frankenputer/stub/rO0ABXNyAC5qYXZheC5tYW5hZ2VtZW50LnJ
lbW90ZS5ybWkuUk1JU2VydmVySW1wbF9TdHViAAAAAAAAAAICAAB4cgAaamF2YS5ybWkuc2VydmVyLlJ
lbW90ZVN0dWLp/tzJi+FlGgIAAHhyABxqYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN002G0kQxhMx4
DAAB4cHciAAtVbmljYXN0UmVmMgEADjE0MS4xNDQuMjEuMTc4AADwLXNyABlTc2xTdHViVGVzdCRDbGl
lbnRGYWN0b3J58jMCu9WWMFECAAB4cgAnamF2YXgucm1pLnNzbC5Tc2xSTUlDbGllbnRTb2NrZXRGYWN
0b3J5jKq0u4GFJQ8CAAB4cHcX/51TNGtNjoQGtRCFAAABNP2s8n6AAQB4
ClientFactory::Calling createSocket(141.144.21.178,61485)
Warning: Handler @1 takes mixed loaded/unloaded exceptions in
virtual jobject java.lang.Class.getEnumConstantsShared()
ClientFactory::Calling createSocket(141.144.21.178,61485)
SslStubTest [6] PASSED! Exception: java.lang.SecurityException: Expecting a java
x.rmi.ssl.SslRMIClientSocketFactory RMI client socket factory in stub!
--- END TEST ---
--- BEGIN TEST ---
Test ID: SslStubTest 7
Test Description: RMIServer's stub == Proxy && RemoteRef == UnicastRef2 && Remot
eRef's RMIClientSocketFactory != SslRMIClientSocketFactory
KeyStore = /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/closed/java
x/management/remote/mandatory/sslStub/keystore
TrustStore = /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/closed/ja
vax/management/remote/mandatory/sslStub/truststore
Running SslStubTest [7]
I only included the output for the last two tests above. This
run failed on the 7th test.
For the Solaris X64 config:
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b22)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b10-fastdebug, compiled mode)
The elapsed times were similar:
elapsed time (seconds): 0.0
elapsed time (seconds): 1.888
elapsed time (seconds): 1.887
elapsed time (seconds): 300.007
And the test timed out in the 6th test:
--- BEGIN TEST ---
Test ID: SslStubTest 5
Test Description: RMIServer's stub == Proxy && RemoteRef == UnicastRef2 && Remot
eRef's RMIClientSocketFactory == null
KeyStore = /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/closed/java
x/management/remote/mandatory/sslStub/keystore
TrustStore = /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/closed/ja
vax/management/remote/mandatory/sslStub/truststore
Running SslStubTest [5]
Start RMI registry...
RMI registry running on port 8000
SslStubTest [5] PASSED! Exception: java.lang.SecurityException: Expecting a java
x.rmi.ssl.SslRMIClientSocketFactory RMI client socket factory in stub!
--- END TEST ---
--- BEGIN TEST ---
Test ID: SslStubTest 6
Test Description: RMIServer's stub == RMIServerImpl_Stub && RemoteRef == Unicast
Ref2 && RemoteRef's RMIClientSocketFactory != SslRMIClientSocketFactory
KeyStore = /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/closed/java
x/management/remote/mandatory/sslStub/keystore
TrustStore = /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/closed/ja
vax/management/remote/mandatory/sslStub/truststore
Running SslStubTest [6]
Create the MBean server
Start the RMI connector server
on Solaris-X86 and Solaris X64:
closed/javax/management/remote/mandatory/sslStub/SslStubTest.sh
Normally, timeouts don't catch my attention, but the same test on
two different configurations in the same baseline build? Definitely
unusual. Also, if a test times out because a machine is overloaded,
then all phases of the JavaTest/JTREG infrastructure for the test
are typically also slow.
Here is the config ID and elapsed times from the Solaris X86 config:
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b22)
Java HotSpot(TM) Server VM (build 23.0-b10-fastdebug, compiled mode)
----------messages:(3/163)----------
command: clean SslStubTest ServerImpl ServerImpl_Stub
reason: User specified action: run clean SslStubTest ServerImpl ServerImpl_Stub
elapsed time (seconds): 0.0
<snip>
----------messages:(3/165)----------
command: build SslStubTest ServerImpl ServerImpl_Stub
reason: User specified action: run build SslStubTest ServerImpl ServerImpl_Stub
elapsed time (seconds): 0.669
<snip>
----------messages:(3/472)----------
command: compile /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/close
d/javax/management/remote/mandatory/sslStub/SslStubTest.java /work/shared/mirror
s/src_clones/jdk8/tl_jdk_baseline/test/closed/javax/management/remote/mandatory/
sslStub/ServerImpl.java /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/tes
t/closed/javax/management/remote/mandatory/sslStub/ServerImpl_Stub.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.667
<snip>
----------messages:(3/134)----------
command: shell SslStubTest.sh []
reason: User specified action: run shell/timeout=300 SslStubTest.sh
elapsed time (seconds): 300.007
Here is where the test timed out:
--- BEGIN TEST ---
Test ID: SslStubTest 6
Test Description: RMIServer's stub == RMIServerImpl_Stub && RemoteRef == Unicast
Ref2 && RemoteRef's RMIClientSocketFactory != SslRMIClientSocketFactory
KeyStore = /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/closed/java
x/management/remote/mandatory/sslStub/keystore
TrustStore = /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/closed/ja
vax/management/remote/mandatory/sslStub/truststore
Running SslStubTest [6]
Create the MBean server
Start the RMI connector server
RMI connector server successfully started
Waiting for incoming connections...
Address: service:jmx:rmi://frankenputer/stub/rO0ABXNyAC5qYXZheC5tYW5hZ2VtZW50LnJ
lbW90ZS5ybWkuUk1JU2VydmVySW1wbF9TdHViAAAAAAAAAAICAAB4cgAaamF2YS5ybWkuc2VydmVyLlJ
lbW90ZVN0dWLp/tzJi+FlGgIAAHhyABxqYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN002G0kQxhMx4
DAAB4cHciAAtVbmljYXN0UmVmMgEADjE0MS4xNDQuMjEuMTc4AADwLXNyABlTc2xTdHViVGVzdCRDbGl
lbnRGYWN0b3J58jMCu9WWMFECAAB4cgAnamF2YXgucm1pLnNzbC5Tc2xSTUlDbGllbnRTb2NrZXRGYWN
0b3J5jKq0u4GFJQ8CAAB4cHcX/51TNGtNjoQGtRCFAAABNP2s8n6AAQB4
ClientFactory::Calling createSocket(141.144.21.178,61485)
Warning: Handler @1 takes mixed loaded/unloaded exceptions in
virtual jobject java.lang.Class.getEnumConstantsShared()
ClientFactory::Calling createSocket(141.144.21.178,61485)
SslStubTest [6] PASSED! Exception: java.lang.SecurityException: Expecting a java
x.rmi.ssl.SslRMIClientSocketFactory RMI client socket factory in stub!
--- END TEST ---
--- BEGIN TEST ---
Test ID: SslStubTest 7
Test Description: RMIServer's stub == Proxy && RemoteRef == UnicastRef2 && Remot
eRef's RMIClientSocketFactory != SslRMIClientSocketFactory
KeyStore = /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/closed/java
x/management/remote/mandatory/sslStub/keystore
TrustStore = /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/closed/ja
vax/management/remote/mandatory/sslStub/truststore
Running SslStubTest [7]
I only included the output for the last two tests above. This
run failed on the 7th test.
For the Solaris X64 config:
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b22)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b10-fastdebug, compiled mode)
The elapsed times were similar:
elapsed time (seconds): 0.0
elapsed time (seconds): 1.888
elapsed time (seconds): 1.887
elapsed time (seconds): 300.007
And the test timed out in the 6th test:
--- BEGIN TEST ---
Test ID: SslStubTest 5
Test Description: RMIServer's stub == Proxy && RemoteRef == UnicastRef2 && Remot
eRef's RMIClientSocketFactory == null
KeyStore = /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/closed/java
x/management/remote/mandatory/sslStub/keystore
TrustStore = /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/closed/ja
vax/management/remote/mandatory/sslStub/truststore
Running SslStubTest [5]
Start RMI registry...
RMI registry running on port 8000
SslStubTest [5] PASSED! Exception: java.lang.SecurityException: Expecting a java
x.rmi.ssl.SslRMIClientSocketFactory RMI client socket factory in stub!
--- END TEST ---
--- BEGIN TEST ---
Test ID: SslStubTest 6
Test Description: RMIServer's stub == RMIServerImpl_Stub && RemoteRef == Unicast
Ref2 && RemoteRef's RMIClientSocketFactory != SslRMIClientSocketFactory
KeyStore = /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/closed/java
x/management/remote/mandatory/sslStub/keystore
TrustStore = /work/shared/mirrors/src_clones/jdk8/tl_jdk_baseline/test/closed/ja
vax/management/remote/mandatory/sslStub/truststore
Running SslStubTest [6]
Create the MBean server
Start the RMI connector server
- relates to
-
JDK-7061191 some javax/management tests fail with fastdebug VM
-
- Closed
-