river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Firmstone <j...@zeus.net.au>
Subject (River-304) Reactivate River jtreg tests
Date Sun, 25 Oct 2009 13:38:31 GMT
Hi I'm down to 7 test failures:

Commit to follow.

For now though here's my output:

bash-3.00$ ant jtreg
Buildfile: build.xml

jtreg:
    [mkdir] Created dir: /opt/src/ApacheRiver/trunk/qa/jtreg/JTlib-tmp
     [move] Moving 4 files to /opt/src/ApacheRiver/trunk/qa/jtreg/JTlib-tmp
     [move] Moving 1 file to /opt/src/ApacheRiver/trunk/qa/jtreg/JTlib-tmp
    [jtreg] --------------------------------------------------
    [jtreg] TEST: net/jini/jeri/http/echo/EchoImpl.java
    [jtreg] JDK under test: (/usr/jdk/jdk1.5.0_15)
    [jtreg] java version "1.5.0_15"
    [jtreg] Java(TM) 2 Runtime Environment, Standard Edition (build 
1.5.0_15-b04)
    [jtreg] Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode)
    [jtreg]
    [jtreg] ACTION: build -- Passed. All files up to date
    [jtreg] REASON: User specified action: run build Echo EchoImpl
    [jtreg] TIME:   0.0020 seconds
    [jtreg] messages:
    [jtreg] command: build Echo EchoImpl
    [jtreg] reason: User specified action: run build Echo EchoImpl
    [jtreg] elapsed time (seconds): 0.0020
    [jtreg]
    [jtreg] ACTION: build -- Passed. All files up to date
    [jtreg] REASON: Named class compiled on demand
    [jtreg] TIME:   0.0010 seconds
    [jtreg] messages:
    [jtreg] command: build EchoImpl
    [jtreg] reason: Named class compiled on demand
    [jtreg] elapsed time (seconds): 0.0010
    [jtreg]
    [jtreg] ACTION: main -- Passed. Execution successful
    [jtreg] REASON: User specified action: run main/othervm EchoImpl
    [jtreg] TIME:   5.232 seconds
    [jtreg] messages:
    [jtreg] command: main EchoImpl
    [jtreg] reason: User specified action: run main/othervm EchoImpl
    [jtreg] elapsed time (seconds): 5.232
    [jtreg] STDOUT:
    [jtreg] STDERR:
    [jtreg] STATUS:Passed.
    [jtreg]
    [jtreg] ACTION: build -- Passed. All files up to date
    [jtreg] REASON: Named class compiled on demand
    [jtreg] TIME:   0.0020 seconds
    [jtreg] messages:
    [jtreg] command: build EchoImpl
    [jtreg] reason: Named class compiled on demand
    [jtreg] elapsed time (seconds): 0.0020
    [jtreg]
    [jtreg] ACTION: main -- Failed. Execution failed: `main' threw 
exception: java.rmi.UnknownHostException: unknown host in 
BasicObjectEndpoint[ac01bf91-e908-46c4-9b56-364ad1746656,HttpEndpoint[10.1.1.2:46722]]; 
nested exception is:   java.net.UnknownHostException: jiniproxy
    [jtreg] REASON: User specified action: run main/othervm 
-Dhttp.proxyHost=jiniproxy -Dhttp.proxyPort=8001 EchoImpl
    [jtreg] TIME:   4.107 seconds
    [jtreg] messages:
    [jtreg] command: main  -Dhttp.proxyHost=jiniproxy 
-Dhttp.proxyPort=8001EchoImpl
    [jtreg] reason: User specified action: run main/othervm 
-Dhttp.proxyHost=jiniproxy -Dhttp.proxyPort=8001 EchoImpl
    [jtreg] elapsed time (seconds): 4.107
    [jtreg] STDOUT:
    [jtreg] STDERR:
    [jtreg] java.rmi.UnknownHostException: unknown host in 
BasicObjectEndpoint[ac01bf91-e908-46c4-9b56-364ad1746656,HttpEndpoint[10.1.1.2:46722]]; 
nested exception is:
    [jtreg]     java.net.UnknownHostException: jiniproxy
    [jtreg]     at 
net.jini.jeri.BasicInvocationHandler.wrapSafeIOException(BasicInvocationHandler.java:887)
    [jtreg]     at 
net.jini.jeri.BasicInvocationHandler.invokeRemoteMethodOnce(BasicInvocationHandler.java:711)
    [jtreg]     at 
net.jini.jeri.BasicInvocationHandler.invokeRemoteMethod(BasicInvocationHandler.java:659)
    [jtreg]     at 
net.jini.jeri.BasicInvocationHandler.invoke(BasicInvocationHandler.java:528)
    [jtreg]     at $Proxy0.echo(Unknown Source)
    [jtreg]     at EchoImpl.testExport(EchoImpl.java:60)
    [jtreg]     at EchoImpl.main(EchoImpl.java:38)
    [jtreg]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
    [jtreg]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [jtreg]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [jtreg]     at java.lang.reflect.Method.invoke(Method.java:585)
    [jtreg]     at 
com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
    [jtreg]     at java.lang.Thread.run(Thread.java:595)
    [jtreg] Caused by: java.net.UnknownHostException: jiniproxy
    [jtreg]     at 
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
    [jtreg]     at 
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    [jtreg]     at java.net.Socket.connect(Socket.java:520)
    [jtreg]     at 
net.jini.jeri.http.HttpEndpoint$SocketFactoryAdapter.connectToSocketAddress(HttpEndpoint.java:959)
    [jtreg]     at 
net.jini.jeri.http.HttpEndpoint$SocketFactoryAdapter.connectToHost(HttpEndpoint.java:855)
    [jtreg]     at 
net.jini.jeri.http.HttpEndpoint$SocketFactoryAdapter.createSocket(HttpEndpoint.java:822)
    [jtreg]     at 
com.sun.jini.jeri.internal.http.HttpClientConnection.connect(HttpClientConnection.java:298)
    [jtreg]     at 
com.sun.jini.jeri.internal.http.HttpClientConnection.setupConnection(HttpClientConnection.java:268)
    [jtreg]     at 
com.sun.jini.jeri.internal.http.HttpClientConnection.<init>(HttpClientConnection.java:126)
    [jtreg]     at 
net.jini.jeri.http.HttpEndpoint$Connection.<init>(HttpEndpoint.java:1031)
    [jtreg]     at 
net.jini.jeri.http.HttpEndpoint$3.run(HttpEndpoint.java:567)
    [jtreg]     at java.security.AccessController.doPrivileged(Native 
Method)
    [jtreg]     at 
net.jini.jeri.http.HttpEndpoint.connectionAction(HttpEndpoint.java:564)
    [jtreg]     at 
net.jini.jeri.http.HttpEndpoint.nextRequest(HttpEndpoint.java:648)
    [jtreg]     at 
net.jini.jeri.http.HttpEndpoint.nextRequest(HttpEndpoint.java:443)
    [jtreg]     at 
net.jini.jeri.http.HttpEndpoint.access$000(HttpEndpoint.java:104)
    [jtreg]     at 
net.jini.jeri.http.HttpEndpoint$1.next(HttpEndpoint.java:427)
    [jtreg]     at 
net.jini.jeri.BasicObjectEndpoint$1.next(BasicObjectEndpoint.java:371)
    [jtreg]     at 
net.jini.jeri.BasicInvocationHandler.invokeRemoteMethodOnce(BasicInvocationHandler.java:708)
    [jtreg]     ... 11 more
    [jtreg]
    [jtreg] JavaTest Message: Test threw exception: 
java.rmi.UnknownHostException: unknown host in 
BasicObjectEndpoint[ac01bf91-e908-46c4-9b56-364ad1746656,HttpEndpoint[10.1.1.2:46722]]; 
nested exception is:
    [jtreg]     java.net.UnknownHostException: jiniproxy
    [jtreg] JavaTest Message: shutting down test
    [jtreg]
    [jtreg] STATUS:Failed.`main' threw exception: 
java.rmi.UnknownHostException: unknown host in 
BasicObjectEndpoint[ac01bf91-e908-46c4-9b56-364ad1746656,HttpEndpoint[10.1.1.2:46722]]; 
nested exception is:   java.net.UnknownHostException: jiniproxy
    [jtreg]
    [jtreg] TEST RESULT: Failed. Execution failed: `main' threw 
exception: java.rmi.UnknownHostException: unknown host in 
BasicObjectEndpoint[ac01bf91-e908-46c4-9b56-364ad1746656,HttpEndpoint[10.1.1.2:46722]]; 
nested exception is:   java.net.UnknownHostException: jiniproxy
    [jtreg] --------------------------------------------------
    [jtreg] TEST: 
net/jini/jeri/kerberos/RegressionTests/runListenEndpointTest.sh
    [jtreg] JDK under test: (/usr/jdk/jdk1.5.0_15)
    [jtreg] java version "1.5.0_15"
    [jtreg] Java(TM) 2 Runtime Environment, Standard Edition (build 
1.5.0_15-b04)
    [jtreg] Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode)
    [jtreg]
    [jtreg] ACTION: build -- Passed. All files up to date
    [jtreg] REASON: User specified action: run build ListenEndpointTest
    [jtreg] TIME:   0.0010 seconds
    [jtreg] messages:
    [jtreg] command: build ListenEndpointTest
    [jtreg] reason: User specified action: run build ListenEndpointTest
    [jtreg] elapsed time (seconds): 0.0010
    [jtreg]
    [jtreg] ACTION: shell -- Failed. Execution failed: exit code 1
    [jtreg] REASON: User specified action: run shell 
runListenEndpointTest.sh
    [jtreg] TIME:   1.036 seconds
    [jtreg] messages:
    [jtreg] command: shell runListenEndpointTest.sh []
    [jtreg] reason: User specified action: run shell 
runListenEndpointTest.sh
    [jtreg] elapsed time (seconds): 1.036
    [jtreg] STDOUT:
    [jtreg] STDERR:
    [jtreg] 
KEYSRC=/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/jeri/kerberos/RegressionTests/../UnitTests
    [jtreg] + . 
/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/jeri/kerberos/RegressionTests/../UnitTests/krb-setenv.sh
    [jtreg] REALM=DAVIS.JINI.SUN.COM
    [jtreg] KDC_HOST=jiniautot.east.sun.com
    [jtreg] + mkdir config
    [jtreg] + cp 
/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/jeri/kerberos/RegressionTests/../UnitTests/config/jgssTests.keytab

config
    [jtreg] + /usr/jdk/jdk1.5.0_15/bin/java -Djava.security.manager= 
-Djava.security.policy=/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/jeri/kerberos/RegressionTests/config/policy

-Djava.security.auth.login.config=/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/jeri/kerberos/RegressionTests/config/test.login

-Djava.security.krb5.realm=DAVIS.JINI.SUN.COM 
-Djava.security.krb5.kdc=jiniautot.east.sun.com -classpath 
/opt/src/ApacheRiver/trunk/qa/jtreg/JTwork/classes/net/jini/jeri/kerberos/RegressionTests

ListenEndpointTest
    [jtreg] Exception in thread "main" java.lang.NoClassDefFoundError: 
net/jini/jeri/ServerEndpoint
    [jtreg]
    [jtreg] TEST RESULT: Failed. Execution failed: exit code 1
    [jtreg] --------------------------------------------------
    [jtreg] TEST: net/jini/jeri/kerberos/UnitTests/runTestEndpoints.sh
    [jtreg] JDK under test: (/usr/jdk/jdk1.5.0_15)
    [jtreg] java version "1.5.0_15"
    [jtreg] Java(TM) 2 Runtime Environment, Standard Edition (build 
1.5.0_15-b04)
    [jtreg] Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode)
    [jtreg]
    [jtreg] ACTION: build -- Passed. All files up to date
    [jtreg] REASON: User specified action: run build UnitTestUtilities 
BasicTest Test
    [jtreg] TIME:   0.0030 seconds
    [jtreg] messages:
    [jtreg] command: build UnitTestUtilities BasicTest Test
    [jtreg] reason: User specified action: run build UnitTestUtilities 
BasicTest Test
    [jtreg] elapsed time (seconds): 0.0030
    [jtreg]
    [jtreg] ACTION: build -- Passed. All files up to date
    [jtreg] REASON: User specified action: run build TestUtilities 
TestEndpoints
    [jtreg] TIME:   0.0010 seconds
    [jtreg] messages:
    [jtreg] command: build TestUtilities TestEndpoints
    [jtreg] reason: User specified action: run build TestUtilities 
TestEndpoints
    [jtreg] elapsed time (seconds): 0.0010
    [jtreg]
    [jtreg] ACTION: shell -- Failed. Execution failed: exit code 255
    [jtreg] REASON: User specified action: run shell/timeout=3600 
runTestEndpoints.sh
    [jtreg] TIME:   3.468 seconds
    [jtreg] messages:
    [jtreg] command: shell runTestEndpoints.sh []
    [jtreg] reason: User specified action: run shell/timeout=3600 
runTestEndpoints.sh
    [jtreg] elapsed time (seconds): 3.468
    [jtreg] STDOUT:
    [jtreg] STDERR:
    [jtreg] + . 
/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/jeri/kerberos/UnitTests/krb-setenv.sh
    [jtreg] REALM=DAVIS.JINI.SUN.COM
    [jtreg] KDC_HOST=jiniautot.east.sun.com
    [jtreg] + mkdir config
    [jtreg] + cp 
/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/jeri/kerberos/UnitTests/config/jgssTests.keytab

config
    [jtreg] + /usr/jdk/jdk1.5.0_15/bin/java 
-Djava.security.krb5.realm=DAVIS.JINI.SUN.COM 
-Djava.security.krb5.kdc=jiniautot.east.sun.com 
sun.security.krb5.internal.tools.Kinit -f -k -t 
/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/jeri/kerberos/UnitTests/config/jgssTests.keytab

-c FILE:config/testClient1.tgt testClient1
    [jtreg] Exception: jiniautot.east.sun.com: jiniautot.east.sun.com
    [jtreg] java.net.UnknownHostException: jiniautot.east.sun.com: 
jiniautot.east.sun.com
    [jtreg]     at java.net.InetAddress.getAllByName0(InetAddress.java:1145)
    [jtreg]     at java.net.InetAddress.getAllByName(InetAddress.java:1072)
    [jtreg]     at java.net.InetAddress.getAllByName(InetAddress.java:1008)
    [jtreg]     at java.net.InetAddress.getByName(InetAddress.java:958)
    [jtreg]     at 
sun.security.krb5.internal.UDPClient.<init>(UDPClient.java:51)
    [jtreg]     at 
sun.security.krb5.KrbKdcReq$KdcCommunication.run(KrbKdcReq.java:258)
    [jtreg]     at java.security.AccessController.doPrivileged(Native 
Method)
    [jtreg]     at sun.security.krb5.KrbKdcReq.send(KrbKdcReq.java:195)
    [jtreg]     at sun.security.krb5.KrbKdcReq.send(KrbKdcReq.java:140)
    [jtreg]     at sun.security.krb5.KrbKdcReq.send(KrbKdcReq.java:106)
    [jtreg]     at 
sun.security.krb5.internal.tools.Kinit.sendASRequest(Kinit.java:300)
    [jtreg]     at 
sun.security.krb5.internal.tools.Kinit.<init>(Kinit.java:239)
    [jtreg]     at 
sun.security.krb5.internal.tools.Kinit.main(Kinit.java:106)
    [jtreg]
    [jtreg] TEST RESULT: Failed. Execution failed: exit code 255
    [jtreg] --------------------------------------------------
    [jtreg] TEST: net/jini/jeri/kerberos/UnitTests/runTestPerformance.sh
    [jtreg] JDK under test: (/usr/jdk/jdk1.5.0_15)
    [jtreg] java version "1.5.0_15"
    [jtreg] Java(TM) 2 Runtime Environment, Standard Edition (build 
1.5.0_15-b04)
    [jtreg] Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode)
    [jtreg]
    [jtreg] ACTION: build -- Passed. All files up to date
    [jtreg] REASON: User specified action: run build UnitTestUtilities 
BasicTest Test
    [jtreg] TIME:   0.0020 seconds
    [jtreg] messages:
    [jtreg] command: build UnitTestUtilities BasicTest Test
    [jtreg] reason: User specified action: run build UnitTestUtilities 
BasicTest Test
    [jtreg] elapsed time (seconds): 0.0020
    [jtreg]
    [jtreg] ACTION: build -- Passed. All files up to date
    [jtreg] REASON: User specified action: run build TestUtilities 
TestPerformance
    [jtreg] TIME:   0.0010 seconds
    [jtreg] messages:
    [jtreg] command: build TestUtilities TestPerformance
    [jtreg] reason: User specified action: run build TestUtilities 
TestPerformance
    [jtreg] elapsed time (seconds): 0.0010
    [jtreg]
    [jtreg] ACTION: shell -- Failed. Execution failed: exit code 255
    [jtreg] REASON: User specified action: run shell/timeout=3600 
runTestPerformance.sh
    [jtreg] TIME:   3.139 seconds
    [jtreg] messages:
    [jtreg] command: shell runTestPerformance.sh []
    [jtreg] reason: User specified action: run shell/timeout=3600 
runTestPerformance.sh
    [jtreg] elapsed time (seconds): 3.139
    [jtreg] STDOUT:
    [jtreg] STDERR:
    [jtreg] + . 
/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/jeri/kerberos/UnitTests/krb-setenv.sh
    [jtreg] REALM=DAVIS.JINI.SUN.COM
    [jtreg] KDC_HOST=jiniautot.east.sun.com
    [jtreg] + mkdir config
    [jtreg] + cp 
/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/jeri/kerberos/UnitTests/config/jgssTests.keytab

config
    [jtreg] + /usr/jdk/jdk1.5.0_15/bin/java 
-Djava.security.krb5.realm=DAVIS.JINI.SUN.COM 
-Djava.security.krb5.kdc=jiniautot.east.sun.com 
sun.security.krb5.internal.tools.Kinit -f -k -t 
/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/jeri/kerberos/UnitTests/config/jgssTests.keytab

-c FILE:config/testClient1.tgt testClient1
    [jtreg] Exception: jiniautot.east.sun.com: jiniautot.east.sun.com
    [jtreg] java.net.UnknownHostException: jiniautot.east.sun.com: 
jiniautot.east.sun.com
    [jtreg]     at java.net.InetAddress.getAllByName0(InetAddress.java:1145)
    [jtreg]     at java.net.InetAddress.getAllByName(InetAddress.java:1072)
    [jtreg]     at java.net.InetAddress.getAllByName(InetAddress.java:1008)
    [jtreg]     at java.net.InetAddress.getByName(InetAddress.java:958)
    [jtreg]     at 
sun.security.krb5.internal.UDPClient.<init>(UDPClient.java:51)
    [jtreg]     at 
sun.security.krb5.KrbKdcReq$KdcCommunication.run(KrbKdcReq.java:258)
    [jtreg]     at java.security.AccessController.doPrivileged(Native 
Method)
    [jtreg]     at sun.security.krb5.KrbKdcReq.send(KrbKdcReq.java:195)
    [jtreg]     at sun.security.krb5.KrbKdcReq.send(KrbKdcReq.java:140)
    [jtreg]     at sun.security.krb5.KrbKdcReq.send(KrbKdcReq.java:106)
    [jtreg]     at 
sun.security.krb5.internal.tools.Kinit.sendASRequest(Kinit.java:300)
    [jtreg]     at 
sun.security.krb5.internal.tools.Kinit.<init>(Kinit.java:239)
    [jtreg]     at 
sun.security.krb5.internal.tools.Kinit.main(Kinit.java:106)
    [jtreg]
    [jtreg] TEST RESULT: Failed. Execution failed: exit code 255
    [jtreg] --------------------------------------------------
    [jtreg] TEST: net/jini/jeri/transport/multihomed/runMultihome.sh
    [jtreg] JDK under test: (/usr/jdk/jdk1.5.0_15)
    [jtreg] java version "1.5.0_15"
    [jtreg] Java(TM) 2 Runtime Environment, Standard Edition (build 
1.5.0_15-b04)
    [jtreg] Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode)
    [jtreg]
    [jtreg] ACTION: build -- Passed. All files up to date
    [jtreg] REASON: User specified action: run build 
AbstractSocketFactory Multihomed TestNameService 
TestNameServiceDescriptor Resolver
    [jtreg] TIME:   0.0030 seconds
    [jtreg] messages:
    [jtreg] command: build AbstractSocketFactory Multihomed 
TestNameService TestNameServiceDescriptor Resolver
    [jtreg] reason: User specified action: run build 
AbstractSocketFactory Multihomed TestNameService 
TestNameServiceDescriptor Resolver
    [jtreg] elapsed time (seconds): 0.0030
    [jtreg]
    [jtreg] ACTION: shell -- Failed. Execution failed: exit code 1
    [jtreg] REASON: User specified action: run shell runMultihome.sh
    [jtreg] TIME:   2.441 seconds
    [jtreg] messages:
    [jtreg] command: shell runMultihome.sh []
    [jtreg] reason: User specified action: run shell runMultihome.sh
    [jtreg] elapsed time (seconds): 2.441
    [jtreg] STDOUT:
    [jtreg] STDERR:
    [jtreg] + . 
/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/jeri/transport/multihomed/krb-setenv.sh
    [jtreg] REALM=DAVIS.JINI.SUN.COM
    [jtreg] KDC_HOST=jiniautot.east.sun.com
    [jtreg] SEPARATOR=:
    [jtreg] + uname
    [jtreg] + mkdir config
    [jtreg] + cp 
/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/jeri/transport/multihomed/../../kerberos/UnitTests/config/jgssTests.keytab

config
    [jtreg] + /usr/jdk/jdk1.5.0_15/bin/java -classpath 
/opt/src/ApacheRiver/trunk/qa/jtreg/JTwork/classes/net/jini/jeri/transport/multihomed 
Resolver
    [jtreg] HOSTNAME=bluto
    [jtreg] + /usr/jdk/jdk1.5.0_15/bin/java -classpath 
/opt/src/ApacheRiver/trunk/qa/jtreg/JTwork/classes/net/jini/jeri/transport/multihomed 
Resolver bluto
    [jtreg] HOSTADDR=10.1.1.2
    [jtreg] + /usr/jdk/jdk1.5.0_15/bin/java -classpath 
/opt/src/ApacheRiver/trunk/qa/jtreg/JTwork/classes/net/jini/jeri/transport/multihomed 
Resolver jiniautot.east.sun.com
    [jtreg] Exception in thread "main" java.net.UnknownHostException: 
jiniautot.east.sun.com: jiniautot.east.sun.com
    [jtreg]     at java.net.InetAddress.getAllByName0(InetAddress.java:1145)
    [jtreg]     at java.net.InetAddress.getAllByName(InetAddress.java:1072)
    [jtreg]     at java.net.InetAddress.getAllByName(InetAddress.java:1008)
    [jtreg]     at java.net.InetAddress.getByName(InetAddress.java:958)
    [jtreg]     at Resolver.main(Resolver.java:28)
    [jtreg]
    [jtreg] TEST RESULT: Failed. Execution failed: exit code 1
    [jtreg] --------------------------------------------------
    [jtreg] TEST: 
net/jini/loader/pref/PreferredClassProvider/registryRetainCodebase/RegistryRetainCodebase.java
    [jtreg] JDK under test: (/usr/jdk/jdk1.5.0_15)
    [jtreg] java version "1.5.0_15"
    [jtreg] Java(TM) 2 Runtime Environment, Standard Edition (build 
1.5.0_15-b04)
    [jtreg] Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode)
    [jtreg]
    [jtreg] ACTION: build -- Passed. All files up to date
    [jtreg] REASON: User specified action: run build 
RegistryRetainCodebase BasicRemote Client RegistryRetainCodebase_Stub
    [jtreg] TIME:   0.0020 seconds
    [jtreg] messages:
    [jtreg] command: build RegistryRetainCodebase BasicRemote Client 
RegistryRetainCodebase_Stub
    [jtreg] reason: User specified action: run build 
RegistryRetainCodebase BasicRemote Client RegistryRetainCodebase_Stub
    [jtreg] elapsed time (seconds): 0.0020
    [jtreg]
    [jtreg] ACTION: build -- Passed. All files up to date
    [jtreg] REASON: User specified action: run build TestLibrary 
TestParams JavaVM HTTPD TestFailedException
    [jtreg] TIME:   0.0020 seconds
    [jtreg] messages:
    [jtreg] command: build TestLibrary TestParams JavaVM HTTPD 
TestFailedException
    [jtreg] reason: User specified action: run build TestLibrary 
TestParams JavaVM HTTPD TestFailedException
    [jtreg] elapsed time (seconds): 0.0020
    [jtreg]
    [jtreg] ACTION: build -- Passed. All files up to date
    [jtreg] REASON: Named class compiled on demand
    [jtreg] TIME:   0.0 seconds
    [jtreg] messages:
    [jtreg] command: build RegistryRetainCodebase
    [jtreg] reason: Named class compiled on demand
    [jtreg] elapsed time (seconds): 0.0
    [jtreg]
    [jtreg] ACTION: main -- Failed. Execution failed: `main' threw 
exception: TestFailedException: TEST FAILED: client failed to call back 
in time
    [jtreg] REASON: User specified action: run main/othervm 
-Djava.rmi.server.logCalls=true -Djava.rmi.server.hostname=localhost 
RegistryRetainCodebase
    [jtreg] TIME:   81.171 seconds
    [jtreg] messages:
    [jtreg] command: main  -Djava.rmi.server.logCalls=true 
-Djava.rmi.server.hostname=localhostRegistryRetainCodebase
    [jtreg] reason: User specified action: run main/othervm 
-Djava.rmi.server.logCalls=true -Djava.rmi.server.hostname=localhost 
RegistryRetainCodebase
    [jtreg] elapsed time (seconds): 81.171
    [jtreg] STDOUT:
    [jtreg] STDERR:
    [jtreg] HTTPD: using /opt/src/ApacheRiver/trunk/lib/tools.jar on 
port 9867 serving 
/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/loader/pref/PreferredClassProvider/registryRetainCodebase
    [jtreg] 25/10/2009 23:27:06 com.sun.jini.tool.ClassServer run
    [jtreg] INFO: ClassServer started 
[[/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/loader/pref/PreferredClassProvider/registryRetainCodebase/],

port 9867]
    [jtreg] JAVAVM: command = 
/usr/jdk/instances/jdk1.5.0/jre/bin/java    
-Djava.util.logging.config.file=/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/loader/pref/PreferredClassProvider/registryRetainCodebase/../../logging.properties

-Djava.security.policy=./client.policy -Djava.rmi.server.logCalls=true 
-classpath 
/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/loader/pref/PreferredClassProvider/registryRetainCodebase/retain.jar

sun.rmi.registry.RegistryImpl 2006
    [jtreg]
    [jtreg] JavaVM: parsed command: 
[/usr/jdk/instances/jdk1.5.0/jre/bin/java, 
-Djava.util.logging.config.file=/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/loader/pref/PreferredClassProvider/registryRetainCodebase/../../logging.properties,

-Djava.security.policy=./client.policy, -Djava.rmi.server.logCalls=true, 
-classpath, 
/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/loader/pref/PreferredClassProvider/registryRetainCodebase/retain.jar,

sun.rmi.registry.RegistryImpl, 2006]
    [jtreg] JAVAVM: finished starting vm.
    [jtreg] registry: 25/10/2009 23:27:21 
sun.rmi.server.UnicastServerRef logCall
    [jtreg] registry: FINER: RMI TCP Connection(1)-127.0.0.1: 
[127.0.0.1: sun.rmi.registry.RegistryImpl[0:0:0, 0]: void 
rebind(java.lang.String, java.rmi.Remote)]
    [jtreg] registry: 25/10/2009 23:27:21 
sun.rmi.server.UnicastServerRef logCall
    [jtreg] registry: FINER: RMI TCP Connection(1)-127.0.0.1: 
[127.0.0.1: sun.rmi.registry.RegistryImpl[0:0:0, 0]: void 
rebind(java.lang.String, java.rmi.Remote)]
    [jtreg] 25/10/2009 23:27:22 sun.rmi.server.UnicastServerRef logCall
    [jtreg] FINER: RMI TCP Connection(1)-127.0.0.1: [127.0.0.1: 
sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease 
dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)]
    [jtreg] JAVAVM: command = /usr/jdk/instances/jdk1.5.0/jre/bin/java   
-Djava.rmi.server.logCalls=true 
-Djava.util.logging.config.file=/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/loader/pref/PreferredClassProvider/registryRetainCodebase/../../logging.properties

-Djava.class.path=/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/loader/pref/PreferredClassProvider/registryRetainCodebase/retain.jar:/opt/src/ApacheRiver/trunk/qa/jtreg/JTwork/classes/net/jini/loader/pref/PreferredClassProvider/registryRetainCodebase/

-Djava.security.policy=/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/loader/pref/PreferredClassProvider/registryRetainCodebase/client.policy

Client
    [jtreg]
    [jtreg] JavaVM: parsed command: 
[/usr/jdk/instances/jdk1.5.0/jre/bin/java, 
-Djava.rmi.server.logCalls=true, 
-Djava.util.logging.config.file=/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/loader/pref/PreferredClassProvider/registryRetainCodebase/../../logging.properties,

-Djava.class.path=/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/loader/pref/PreferredClassProvider/registryRetainCodebase/retain.jar:/opt/src/ApacheRiver/trunk/qa/jtreg/JTwork/classes/net/jini/loader/pref/PreferredClassProvider/registryRetainCodebase/,

-Djava.security.policy=/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/loader/pref/PreferredClassProvider/registryRetainCodebase/client.policy,

Client]
    [jtreg] JAVAVM: finished starting vm.
    [jtreg] registry: 25/10/2009 23:27:25 
sun.rmi.server.UnicastServerRef logCall
    [jtreg] registry: FINER: RMI TCP Connection(2)-127.0.0.1: 
[127.0.0.1: sun.rmi.registry.RegistryImpl[0:0:0, 0]: java.rmi.Remote 
lookup(java.lang.String)]
    [jtreg] registry: 25/10/2009 23:27:25 
sun.rmi.server.UnicastServerRef logCall
    [jtreg] registry: FINER: RMI TCP Connection(2)-127.0.0.1: 
[127.0.0.1: sun.rmi.registry.RegistryImpl[0:0:0, 0]: java.rmi.Remote 
lookup(java.lang.String)]
    [jtreg] client:
    [jtreg] client: RegistryRetainCodebase_Stub
    [jtreg] client: java.lang.RuntimeException: Preferred class loaded 
from a file: 
file:/opt/src/ApacheRiver/trunk/qa/jtreg/net/jini/loader/pref/PreferredClassProvider/registryRetainCodebase/retain.jar
    [jtreg] client:     at Client.main(Client.java:62)
    [jtreg] 25/10/2009 23:27:25 sun.rmi.server.UnicastServerRef logCall
    [jtreg] FINER: RMI TCP Connection(2)-127.0.0.1: [127.0.0.1: 
sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease 
dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)]
    [jtreg] TEST FAILED: client failed to call back in time
    [jtreg] TestFailedException: TEST FAILED: client failed to call back 
in time
    [jtreg]     at TestLibrary.bomb(TestLibrary.java:92)
    [jtreg]     at TestLibrary.bomb(TestLibrary.java:95)
    [jtreg]     at 
RegistryRetainCodebase.main(RegistryRetainCodebase.java:182)
    [jtreg]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
    [jtreg]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [jtreg]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [jtreg]     at java.lang.reflect.Method.invoke(Method.java:585)
    [jtreg]     at 
com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
    [jtreg]     at java.lang.Thread.run(Thread.java:595)
    [jtreg]
    [jtreg] JavaTest Message: Test threw exception: TestFailedException: 
TEST FAILED: client failed to call back in time
    [jtreg] JavaTest Message: shutting down test
    [jtreg]
    [jtreg] STATUS:Failed.`main' threw exception: TestFailedException: 
TEST FAILED: client failed to call back in time
    [jtreg]
    [jtreg] TEST RESULT: Failed. Execution failed: `main' threw 
exception: TestFailedException: TEST FAILED: client failed to call back 
in time
    [jtreg] --------------------------------------------------
    [jtreg] TEST: net/jini/security/GrantPermission/implies/Test.java
    [jtreg] JDK under test: (/usr/jdk/jdk1.5.0_15)
    [jtreg] java version "1.5.0_15"
    [jtreg] Java(TM) 2 Runtime Environment, Standard Edition (build 
1.5.0_15-b04)
    [jtreg] Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode)
    [jtreg]
    [jtreg] ACTION: build -- Passed. All files up to date
    [jtreg] REASON: Named class compiled on demand
    [jtreg] TIME:   0.0010 seconds
    [jtreg] messages:
    [jtreg] command: build Test
    [jtreg] reason: Named class compiled on demand
    [jtreg] elapsed time (seconds): 0.0010
    [jtreg]
    [jtreg] ACTION: main -- Failed. Execution failed: `main' threw 
exception: java.lang.Error
    [jtreg] REASON: Assumed action based on file name: run main Test
    [jtreg] TIME:   1.519 seconds
    [jtreg] messages:
    [jtreg] command: main Test
    [jtreg] reason: Assumed action based on file name: run main Test
    [jtreg] elapsed time (seconds): 1.519
    [jtreg] STDOUT:
    [jtreg] STDERR:
    [jtreg] java.lang.Error
    [jtreg]     at Test.main(Test.java:45)
    [jtreg]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
    [jtreg]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [jtreg]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [jtreg]     at java.lang.reflect.Method.invoke(Method.java:585)
    [jtreg]     at 
com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
    [jtreg]     at java.lang.Thread.run(Thread.java:595)
    [jtreg]
    [jtreg] JavaTest Message: Test threw exception: java.lang.Error
    [jtreg] JavaTest Message: shutting down test
    [jtreg]
    [jtreg] STATUS:Failed.`main' threw exception: java.lang.Error
    [jtreg]
    [jtreg] TEST RESULT: Failed. Execution failed: `main' threw 
exception: java.lang.Error
    [jtreg] --------------------------------------------------
    [jtreg] Test results: passed: 1; failed: 7
    [jtreg] Report written to 
/opt/src/ApacheRiver/trunk/qa/jtreg/JTreport/html/report.html
    [jtreg] Results written to /opt/src/ApacheRiver/trunk/qa/jtreg/JTwork
    [jtreg] Error: Some tests failed or other problems occurred.
     [move] Moving 4 files to /opt/src/ApacheRiver/trunk/lib
     [move] Moving 1 file to /opt/src/ApacheRiver/trunk/lib-ext
   [delete] Deleting directory /opt/src/ApacheRiver/trunk/qa/jtreg/JTlib-tmp
   [delete] Deleting: /opt/src/ApacheRiver/trunk/qa/jtreg/test.props

BUILD FAILED
/opt/src/ApacheRiver/trunk/qa/build.xml:176: if=jtreg.fail

Total time: 2 minutes 1 second




Mime
View raw message