[jboss-dev] Re: AS testsuite

Dimitris Andreadis dandread at redhat.com
Wed Jun 18 04:06:06 EDT 2008


I can make a metadata Beta with the fix.

Do you mean the order of PS service tests within the same test, or across tests?

Ales Justin wrote:
> I think it's the order here (profileservice tests) that matters.
> If there is some testEjb2xDeployment failure, all the next tests fail, 
> since MainDeployer.checkComplete throws exception on that first error.
> 
> The WS errors are my.
> I broke the VirtualFileAdaptor's serialization. :-(
> Fixing it now.
> Can someone (Scott, Alexey, Dimitris) do the metadata release then?
> 
> 
>> The smoke tests pass for me, but the profileservice ones fails:
>>
>>     [junit] Running org.jboss.test.profileservice.test.DeployUnitTestCase
>>     [junit] Tests run: 6, Failures: 5, Errors: 1, Time elapsed: 8.203 sec
>>     [junit] Test org.jboss.test.profileservice.test.DeployUnitTestCase 
>> FAILED
>>     [junit] Running 
>> org.jboss.test.profileservice.test.JmsDestinationUnitTestCase
>>     [junit] Tests run: 5, Failures: 0, Errors: 4, Time elapsed: 3.391 sec
>>     [junit] Test 
>> org.jboss.test.profileservice.test.JmsDestinationUnitTestCase FAILED
>>     [junit] Running 
>> org.jboss.test.profileservice.test.ProfileServiceUnitTestCase
>>     [junit] Tests run: 22, Failures: 0, Errors: 10, Time elapsed: 
>> 4.954 sec
>>     [junit] Test 
>> org.jboss.test.profileservice.test.ProfileServiceUnitTestCase FAILED
>>
>> Those WS failures are also new:
>> http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.0.x-TestSuite-sun15/671/testReport/ 
>>
>>
>> org.jboss.test.webservice.admindevel.ExampleTestCase(tests-webservice).testHelloString 
>> org.jboss.test.webservice.admindevel.ExampleTestCase(tests-webservice).testHelloBean 
>> org.jboss.test.webservice.admindevel.ExampleTestCase(tests-webservice).testHelloArray 
>> org.jboss.test.webservice.admindevel.ExplodedExampleTestCase(tests-webservice).testHelloString 
>> org.jboss.test.webservice.admindevel.RedeployExampleTestCase(tests-webservice).testHelloString 
>> org.jboss.test.webservice.admindevel.RedeployExampleTestCase(tests-webservice).testHelloBean    
>> org.jboss.test.webservice.admindevel.RedeployExampleTestCase(tests-webservice).testHelloArray 
>> org.jboss.test.webservice.jbas5614.JBAS5614TestCase(tests-webservice).testCall 
> 
> 
>> e.g.
>> org.jboss.test.webservice.jbas5614.JBAS5614TestCase(tests-webservice).testCall 
>>
>> Failing for the past 1 build (Since Unstable#671 )
>> Took 0 seconds.
>>
>> javax.naming.NamingException: Could not dereference object [Root 
>> exception is org.jboss.ws.WSException: Cannot unmarshal 
>> jaxrpc-mapping-file: META-INF/jaxrpc-mapping.xml]
>>     at 
>> org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1337) 
>>
>>     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:765)
>>     at 
>> org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:153) 
>>
>>     at $Proxy2.lookup(Unknown Source)
>>     at javax.naming.InitialContext.lookup(InitialContext.java:351)
>>     at 
>> org.jboss.test.webservice.jbas5614.JBAS5614TestCase.setUp(JBAS5614TestCase.java:55) 
>>
>>     at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
>>     at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
>>     at junit.extensions.TestSetup.run(TestSetup.java:23)
>> Caused by: org.jboss.ws.WSException: Cannot unmarshal 
>> jaxrpc-mapping-file: META-INF/jaxrpc-mapping.xml
>>     at 
>> org.jboss.ws.core.jaxrpc.client.ServiceObjectFactoryJAXRPC.getJavaWsdlMapping(ServiceObjectFactoryJAXRPC.java:289) 
>>
>>     at 
>> org.jboss.ws.core.jaxrpc.client.ServiceObjectFactoryJAXRPC.getObjectInstance(ServiceObjectFactoryJAXRPC.java:155) 
>>
>>     at 
>> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
>>     at 
>> org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1312) 
>>
>>     at 
>> org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1329) 
>>
>>     ... 21 more
>> Caused by: java.lang.IllegalArgumentException: Null rootURL
>>     at 
>> org.jboss.virtual.spi.VFSContextFactoryLocator.getFactory(VFSContextFactoryLocator.java:166) 
>>
>>     at org.jboss.virtual.VFS.getVFS(VFS.java:132)
>>     at org.jboss.virtual.VFS.getRoot(VFS.java:149)
>>     at 
>> org.jboss.metadata.serviceref.VirtualFileAdaptor.getRoot(VirtualFileAdaptor.java:70) 
>>
>>     at 
>> org.jboss.metadata.serviceref.VirtualFileAdaptor.findChild(VirtualFileAdaptor.java:77) 
>>
>>     at 
>> org.jboss.ws.core.jaxrpc.client.ServiceObjectFactoryJAXRPC.getJavaWsdlMapping(ServiceObjectFactoryJAXRPC.java:284) 
>>
>>     ... 25 more
>>
>>
>> Scott Stark wrote:
>>> I'm only seeing 2 errors in the JmsDestinationUnitTestCase currently.
>>>
>>> [server:start] Starting server "profileservice" with command:
>>> [server:start] 
>>> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java 
>>> -cp 
>>> /Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.CR1/bin/run.jar:/Library/Java/Home/lib/tools.jar 
>>> -Xms128m -Xmx512m -XX:MaxPermSize=512m 
>>> -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true 
>>> -Djava.endorsed.dirs=/Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.CR1/lib/endorsed 
>>> -Djgroups.udp.ip_ttl=0  org.jboss.Main -c profileservice -b localhost
>>>     [echo] Starting patternset=profileservice.includes 
>>> config=profileservice
>>>    [junit] Running org.jboss.test.profileservice.test.DeployUnitTestCase
>>>    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 3.342 sec
>>>    [junit] Running 
>>> org.jboss.test.profileservice.test.JmsDestinationUnitTestCase
>>>    [junit] Tests run: 5, Failures: 2, Errors: 0, Time elapsed: 3.29 sec
>>>    [junit] Test 
>>> org.jboss.test.profileservice.test.JmsDestinationUnitTestCase FAILED
>>>    [junit] Running 
>>> org.jboss.test.profileservice.test.ProfileServiceUnitTestCase
>>>    [junit] Tests run: 22, Failures: 0, Errors: 0, Time elapsed: 5.013 
>>> sec
>>> [server:stop] Shutting down server: profileservice
>>> [server:stop] Shutting down server: 
>>> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java 
>>> -cp 
>>> /Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.CR1/bin/shutdown.jar:/Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.CR1/client/jbossall-client.jar:/Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.CR1/client/jboss-common.jar 
>>> org.jboss.Shutdown --server jnp://localhost:1099 --shutdown
>>>
>>>
>>> _______________________________________________
>>> jboss-development mailing list
>>> jboss-development at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-development
>> _______________________________________________
>> jboss-development mailing list
>> jboss-development at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-development
>>
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development



More information about the jboss-development mailing list