river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Costers (JIRA)" <j...@apache.org>
Subject [jira] Commented: (RIVER-301) Move the tests into the JUnit framework inside the main source project
Date Sat, 18 Apr 2009 22:16:15 GMT

    [ https://issues.apache.org/jira/browse/RIVER-301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700539#action_12700539
] 

Jonathan Costers commented on RIVER-301:
----------------------------------------

Some results running the QA suite from the current trunk:

categories: id,activation,config,constraint,policyprovider,url,io,jrmp,iiop,joinmanager (transient,http)
----------------------------------------------------------------------------------------------------

[java] com/sun/jini/test/spec/constraint/coreconstraint/PrincipalElementsTest.td
[java] Test Failed: Setup Failed: com.sun.jini.qa.harness.TestException: Exception has been
thrown while creating ClientMaxPrincipal object; nested exception is: 
[java] 	Could not load configuration file /etc/krb5.conf (No such file or directory)
...
com/sun/jini/test/spec/jrmp/jrmpservercontext/GetServerContext_Test.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.rmi.server.ExportException:
tie class unavailable
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/jrmp/jrmpservercontext/GetServerContext_Test1.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.rmi.server.ExportException:
tie class unavailable
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/jrmp/jrmpservercontext/GetServerContext_Test2.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.rmi.server.ExportException:
tie class unavailable
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/jrmp/jrmpservercontext/GetServerContext_Test3.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.rmi.server.ExportException:
tie class unavailable
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/jrmp/jrmpservercontext/GetServerContext_Test4.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.rmi.server.ExportException:
tie class unavailable
...
[java] # of tests started   = 248
[java] # of tests completed = 248
[java] # of tests skipped   = 6
[java] # of tests passed    = 242
[java] # of tests failed    = 6
[java] 
[java] -----------------------------------------
[java] 
[java]    Time elapsed:
[java]       3077 seconds


categories: export,io,security,reliability,thread,loader (transient,http)
----------------------------------------------------------------------------------------------------

[java] -----------------------------------------
[java] com/sun/jini/test/spec/loader/pref/preferredClassLoader/GetResources.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.lang.NullPointerException
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/loader/pref/preferredClassLoader/GetResourcesNoDlPerm.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.lang.NullPointerException
[java] 
[java] -----------------------------------------

[java] # of tests started   = 147
[java] # of tests completed = 147
[java] # of tests skipped   = 10
[java] # of tests passed    = 145
[java] # of tests failed    = 2
[java] 
[java] -----------------------------------------
[java] 
[java]    Time elapsed:
[java]       935 seconds



categories: jeri,discoverymanager,discoveryproviders,locatordiscovery,lookupdiscovery (transient,http)
----------------------------------------------------------------------------------------------------

[java] -----------------------------------------
[java] com/sun/jini/test/spec/jeri/kerberos/KerberosCheckConstraints.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.security.PrivilegedActionException:
net.jini.config.ConfigurationException: jar:file:/home/jonathan/NetBeansProjects/River/jtsk/trunk/qa/lib/jinitests.jar!/com/sun/jini/test/spec/jeri/kerberos/KerberosServerEndpointTest.config:15:
problem invoking method KerberosServerEndpoint.getInstance; caused by:
[java] 	net.jini.io.UnsupportedConstraintException: Forgot JAAS login?  Using default serverSubject
but no subject is associated with the current access control context.
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/jeri/kerberos/KerberosCheckTrustEquivalence.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.lang.NullPointerException
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/jeri/kerberos/KerberosConstructorAccessor.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.lang.NullPointerException
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/jeri/kerberos/KerberosEndpointInUse.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.security.PrivilegedActionException:
net.jini.config.ConfigurationException: jar:file:/home/jonathan/NetBeansProjects/River/jtsk/trunk/qa/lib/jinitests.jar!/com/sun/jini/test/spec/jeri/kerberos/KerberosServerEndpointTest.config:15:
problem invoking method KerberosServerEndpoint.getInstance; caused by:
[java] 	net.jini.io.UnsupportedConstraintException: Forgot JAAS login?  Using default serverSubject
but no subject is associated with the current access control context.
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/jeri/kerberos/KerberosEqualityTest.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.security.PrivilegedActionException:
net.jini.config.ConfigurationException: jar:file:/home/jonathan/NetBeansProjects/River/jtsk/trunk/qa/lib/jinitests.jar!/com/sun/jini/test/spec/jeri/kerberos/KerberosServerEndpointTest.config:15:
problem invoking method KerberosServerEndpoint.getInstance; caused by:
[java] 	net.jini.io.UnsupportedConstraintException: Forgot JAAS login?  Using default serverSubject
but no subject is associated with the current access control context.
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/jeri/kerberos/KerberosIllegalArgumentException.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.security.PrivilegedActionException:
net.jini.config.ConfigurationException: jar:file:/home/jonathan/NetBeansProjects/River/jtsk/trunk/qa/lib/jinitests.jar!/com/sun/jini/test/spec/jeri/kerberos/KerberosServerEndpointTest.config:15:
problem invoking method KerberosServerEndpoint.getInstance; caused by:
[java] 	net.jini.io.UnsupportedConstraintException: Forgot JAAS login?  Using default serverSubject
but no subject is associated with the current access control context.
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/jeri/kerberos/KerberosListenContextException.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.security.PrivilegedActionException:
net.jini.config.ConfigurationException: jar:file:/home/jonathan/NetBeansProjects/River/jtsk/trunk/qa/lib/jinitests.jar!/com/sun/jini/test/spec/jeri/kerberos/KerberosServerEndpointTest.config:15:
problem invoking method KerberosServerEndpoint.getInstance; caused by:
[java] 	net.jini.io.UnsupportedConstraintException: Forgot JAAS login?  Using default serverSubject
but no subject is associated with the current access control context.
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/jeri/kerberos/KerberosNewRequestConflictingConstraints.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.security.PrivilegedActionException:
net.jini.config.ConfigurationException: jar:file:/home/jonathan/NetBeansProjects/River/jtsk/trunk/qa/lib/jinitests.jar!/com/sun/jini/test/spec/jeri/kerberos/KerberosServerEndpointTest.config:15:
problem invoking method KerberosServerEndpoint.getInstance; caused by:
[java] 	net.jini.io.UnsupportedConstraintException: Forgot JAAS login?  Using default serverSubject
but no subject is associated with the current access control context.
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/jeri/kerberos/KerberosNullPointerException.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.security.PrivilegedActionException:
net.jini.config.ConfigurationException: jar:file:/home/jonathan/NetBeansProjects/River/jtsk/trunk/qa/lib/jinitests.jar!/com/sun/jini/test/spec/jeri/kerberos/KerberosServerEndpointTest.config:15:
problem invoking method KerberosServerEndpoint.getInstance; caused by:
[java] 	net.jini.io.UnsupportedConstraintException: Forgot JAAS login?  Using default serverSubject
but no subject is associated with the current access control context.
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/jeri/kerberos/KerberosRobustnessTest.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.security.PrivilegedActionException:
net.jini.config.ConfigurationException: jar:file:/home/jonathan/NetBeansProjects/River/jtsk/trunk/qa/lib/jinitests.jar!/com/sun/jini/test/spec/jeri/kerberos/KerberosServerEndpointTest.config:15:
problem invoking method KerberosServerEndpoint.getInstance; caused by:
[java] 	net.jini.io.UnsupportedConstraintException: Forgot JAAS login?  Using default serverSubject
but no subject is associated with the current access control context.
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/jeri/kerberos/KerberosServerConstructorAccessor.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.lang.NullPointerException
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/jeri/kerberos/KerberosServerEndpoint.td
[java] Test Failed: Test Failed with an Unexpected Exception: java.security.PrivilegedActionException:
net.jini.config.ConfigurationException: jar:file:/home/jonathan/NetBeansProjects/River/jtsk/trunk/qa/lib/jinitests.jar!/com/sun/jini/test/spec/jeri/kerberos/KerberosServerEndpointTest.config:15:
problem invoking method KerberosServerEndpoint.getInstance; caused by:
[java] 	net.jini.io.UnsupportedConstraintException: Forgot JAAS login?  Using default serverSubject
but no subject is associated with the current access control context.
[java] 
[java] -----------------------------------------
...
[java] -----------------------------------------
[java] com/sun/jini/test/spec/jeri/ssl/SslServerConstructorAccessor.td
[java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: SecurityExceptioin
was not thrown when creating an instance with an unauthorized host
[java] 
[java] -----------------------------------------
..
[java] -----------------------------------------
[java] com/sun/jini/test/spec/locatordiscovery/DiscardUnreachable.td
[java] Test Failed: Setup Failed: com.sun.jini.qa.harness.TestException: Problem creating
service for net.jini.core.lookup.ServiceRegistrar; nested exception is: 
[java] 	Error occurred in server thread; nested exception is: 
[java] 	java.lang.NoClassDefFoundError: net/jini/lookup/DiscoveryAdmin
[java] 
[java] -----------------------------------------
...

[java] -----------------------------------------
[java] com/sun/jini/test/spec/lookupdiscovery/DiscardUnreachable.td
[java] Test Failed: Setup Failed: com.sun.jini.qa.harness.TestException: Problem creating
service for net.jini.core.lookup.ServiceRegistrar; nested exception is: 
[java] 	Error occurred in server thread; nested exception is: 
[java] 	java.lang.NoClassDefFoundError: net/jini/lookup/DiscoveryAdmin
[java] 
[java] -----------------------------------------
...
[java] -----------------------------------------
[java] com/sun/jini/test/spec/lookupdiscovery/MulticastMonitorStop.td
[java] Test Failed: Setup Failed: com.sun.jini.qa.harness.TestException: Problem creating
service for net.jini.core.lookup.ServiceRegistrar; nested exception is: 
[java] 	Error occurred in server thread; nested exception is: 
[java] 	java.lang.NoClassDefFoundError: net/jini/lookup/DiscoveryAdmin
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/lookupdiscovery/MulticastMonitorStopReplace.td
[java] Test Failed: Setup Failed: com.sun.jini.qa.harness.TestException: Problem creating
service for net.jini.core.lookup.ServiceRegistrar; nested exception is: 
[java] 	Error occurred in server thread; nested exception is: 
[java] 	java.lang.NoClassDefFoundError: net/jini/lookup/DiscoveryAdmin
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/lookupdiscovery/MulticastMonitorTerminate.td
[java] Test Failed: Setup Failed: com.sun.jini.qa.harness.TestException: Problem creating
service for net.jini.core.lookup.ServiceRegistrar; nested exception is: 
[java] 	Error occurred in server thread; nested exception is: 
[java] 	java.lang.NoClassDefFoundError: net/jini/lookup/DiscoveryAdmin
[java] 
[java] -----------------------------------------
...
[java] # of tests started   = 288
[java] # of tests completed = 288
[java] # of tests skipped   = 4
[java] # of tests passed    = 269
[java] # of tests failed    = 19
[java] 
[java] -----------------------------------------
[java]    Time elapsed:
[java]       9163 seconds



categories: servicediscovery,eventmailbox,javaspace (transient,http)
----------------------------------------------------------------------------------------------------

[java] -----------------------------------------
[java] com/sun/jini/test/spec/servicediscovery/lookup/LookupMinLessMax.td
[java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException:  -- blocked longer
than expected -- requested block = 60 second(s), actual block = 60 second(s)
[java] 
...
[java] -----------------------------------------
[java] com/sun/jini/test/impl/outrigger/leasing/UseTxnMgrSpaceLeaseTest.td
[java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: Resource was available
after lease expiration
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/impl/outrigger/leasing/UseTxnMgrSpaceLeaseTestRenew.td
[java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: Resource was available
after lease expiration
[java] 
[java] -----------------------------------------
[java] com/sun/jini/test/spec/javaspace/conformance/ExpirationNotifyTest.td
[java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: Not all listeners've
got expected number of events.
[java]
[java] -----------------------------------------
[java] com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotExpirationNotifyTest.td
[java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: Not all listeners've
got expected number of events.
[java] 
[java] -----------------------------------------
...
[java] # of tests started   = 393
[java] # of tests completed = 393
[java] # of tests skipped   = 7
[java] # of tests passed    = 388
[java] # of tests failed    = 5
[java] 
[java] -----------------------------------------
[java] 
[java]    Time elapsed:
[java]       34489 seconds


There are some errors about the Kerberos setup, which are normal because I have no KDC in
my network.
I am trying to setup a KDC and following the guidelines in the QA documentation to create
principles etc.
Would we have a Kerberos infrastructure available at Apache to run these tests?

Notes:
- on Windows, try to make sure there are no spaces in the directories you use for running
the QA tests ... just to make sure.
- make sure your network is configured in a sensible way

> Move the tests into the JUnit framework inside the main source project
> ----------------------------------------------------------------------
>
>                 Key: RIVER-301
>                 URL: https://issues.apache.org/jira/browse/RIVER-301
>             Project: River
>          Issue Type: Task
>          Components: other
>    Affects Versions: AR3
>            Reporter: Tom Hobbs
>            Assignee: Jonathan Costers
>         Attachments: integrationtest.xml, RIVER-301-JC-5.1.patch, RIVER-301-JC-6.0.patch.tar.gz,
RIVER-301.patch, RIVER-301.patch, River-301.patch.zip, River-build-qa5.patch
>
>   Original Estimate: 672h
>  Remaining Estimate: 672h
>
> The tests donated by SUN live in their own source project and are runnable in a format
that is unfriendly towards IDEs and new developers to the River project.
> This is the proposal to move the test code, mostly unmodified, into the main source directory
whilst shoe-horning it into JUnit 3.  This will allow it to be easily viewable and runnable.
 Such a structure will also reduce the code-compile-test cycle since no JARs will have to
be created in the middle of the cycle and no long command-line incantations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message