Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-11075

New JBossWS Native tests intermittent failures with JDK 7 in EAP 5.3.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • EAP_EWP 5.3.1.GA
    • EAP_EWP 5.3.0.ER3
    • Web Services
    • None
    • NEW

    Description

      org.jboss.test.ws.jaxrpc.samples.secureejb.SecureEJBTestCase.testBasicSecuredSLSB

      ...
      Caused by: java.lang.SecurityException: Authentication exception, principal=hi
      at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityContext(SecurityInterceptor.java:335)
      	at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:256)
      	at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:205)
      	at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:169)
      	at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invokeHome(PreSecurityInterceptor.java:91)
      	at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
      	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
      	at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:639)
      	at org.jboss.ejb.Container.invoke(Container.java:1109)
      ...
      

      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP5/view/JBossWS/job/eap-5x-jbossws-smoke-native/16/jdk=jdk1.7.unlimited.BC,label_exp=RHEL5%26%26x86_64/testReport/org.jboss.test.ws.jaxrpc.samples.secureejb/SecureEJBTestCase/testBasicSecuredSLSB/

      org.jboss.test.ws.tools.jbws2018.JBWS2018TestCase.testMultiplePackageNameSpace

      java.lang.IllegalStateException: Package type 'org.jboss.test.ws.jbws2018.exception' does not equal 'org.jboss.test.ws.jbws2018.base'
      	at org.jboss.test.ws.tools.validation.JaxrpcMappingValidator.validatePackageMapping(JaxrpcMappingValidator.java:131)
      	at org.jboss.test.ws.tools.validation.JaxrpcMappingValidator.validatePackageMappings(JaxrpcMappingValidator.java:117)
      	at org.jboss.test.ws.tools.validation.JaxrpcMappingValidator.validate(JaxrpcMappingValidator.java:80)
      	at org.jboss.test.ws.tools.validation.JaxrpcMappingValidator.validate(JaxrpcMappingValidator.java:67)
      	at org.jboss.test.ws.tools.jbws2018.JBWS2018TestCase.testMultiplePackageNameSpace(JBWS2018TestCase.java:47)
      

      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP5/view/JBossWS/job/eap-5x-jbossws-smoke-native/16/jdk=jdk1.7.unlimited.BC,label_exp=RHEL6%26%26x86/testReport/org.jboss.test.ws.tools.jbws2018/JBWS2018TestCase/testMultiplePackageNameSpace/

      org.jboss.test.ws.jaxws.handlerlifecycleHandlerLifecycleTestCase
      4 tests are failed

      junit.framework.ComparisonFailure: expected:<[[PreClientHandler1:Message:OutBound, PreClientHandler2:Message:OutBound, ClientHandler1:Message:OutBound, ClientHandler2:Message:OutBound:false, PostClientHandler2:Close, PostClientHandler1:Clo]se, ClientHandler2:C...> but was:<[[ClientHandler1:PostConstruct, ClientHandler2:PostConstruct, ClientHandler3:PostConstruct, PreClientHandler1:PostConstruct, PreClientHandler2:PostConstruct, PostClientHandler1:PostConstruct, PostClientHandler2:PostConstruct, PreClientHandler1:Message:OutBound, PreClientHandler2:Message:OutBound, ClientHandler1:Message:OutBound, ClientHandler2:Message:OutBound:fal]se, ClientHandler2:C...>
      	at junit.framework.Assert.assertEquals(Assert.java:81)
      	at junit.framework.Assert.assertEquals(Assert.java:87)
      	at org.jboss.test.ws.jaxws.handlerlifecycle.HandlerLifecycleTestCase.testClientOutboundHandleMessageFalse(HandlerLifecycleTestCase.java:191)
      

      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP5/view/JBossWS/job/eap-5x-jbossws-native-HQ-sunjdk/6/jdk=jdk1.7.unlimited.BC,label_exp=sol10_sparc64/testReport/org.jboss.test.ws.jaxws.handlerlifecycle/HandlerLifecycleTestCase/

      org.jboss.test.ws.jaxws.jbws2934.JBWS2934EJBTestCase

      javax.xml.ws.soap.SOAPFaultException: java.lang.RuntimeException: java.lang.IllegalAccessException: Class org.jboss.ejb3.interceptors.aop.LifecycleCallbackBeanMethodInterceptor can not access a member of class org.jboss.test.ws.jaxws.jbws2934.AbstractEndpoint with modifiers "private"
      	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146)
      	at com.sun.proxy.$Proxy47.getQueryParameter(Unknown Source)
      	at org.jboss.test.ws.jaxws.jbws2934.AbstractTestCase$TestJob.run(AbstractTestCase.java:108)
      	at java.lang.Thread.run(Thread.java:744)
      Caused by: org.apache.cxf.binding.soap.SoapFault: java.lang.RuntimeException: java.lang.IllegalAccessException: Class org.jboss.ejb3.interceptors.aop.LifecycleCallbackBeanMethodInterceptor can not access a member of class org.jboss.test.ws.jaxws.jbws2934.AbstractEndpoint with modifiers "private"
      	at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:75)
      	at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:46)
      	at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:35)
      

      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP5/view/JBossWS/job/eap-5x-jbossws-cxf-HQ-sunjdk/7/jdk=jdk1.7.unlimited.BC,label_exp=sol10_sparc64/testReport/org.jboss.test.ws.jaxws.jbws2934/JBWS2934EJBTestCase/testEndpointConcurrently/

      org.jboss.test.ws.jaxws.samples.dar.AddressingClientTestCase

      junit.framework.AssertionFailedError: expected:<1> but was:<0>
      	at junit.framework.Assert.fail(Assert.java:47)
      	at junit.framework.Assert.failNotEquals(Assert.java:280)
      	at junit.framework.Assert.assertEquals(Assert.java:64)
      	at junit.framework.Assert.assertEquals(Assert.java:133)
      	at junit.framework.Assert.assertEquals(Assert.java:139)
      	at org.jboss.test.ws.jaxws.samples.dar.AddressingClientTestCase.testOneWay(AddressingClientTestCase.java:106)
      

      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP5/view/JBossWS/job/eap-5x-jbossws-native-HQ-ibm-openjdk/7/jdk=ibm16,label_exp=RHEL6%26%26x86_64/testReport/org.jboss.test.ws.jaxws.samples.dar/AddressingClientTestCase/testOneWay/

      org.jboss.test.ws.jaxrpc.wsse.UsernameTestCase

      java.rmi.RemoteException: Call invocation failed with code [Server] because of: SecurityException; nested exception is: 
      	java.lang.SecurityException: Denied: caller with subject=Subject:
      	Principal: anonymous
      	Principal: Roles(members)
       and security context post-mapping roles=Roles(): ejbMethod=public org.jboss.test.ws.jaxrpc.wsse.SimpleUserType org.jboss.test.ws.jaxrpc.wsse.JaxRpcEJBEndpoint.echoSimpleUserType(java.lang.String,org.jboss.test.ws.jaxrpc.wsse.SimpleUserType); nested exception is: 
      	javax.xml.rpc.soap.SOAPFaultException: SecurityException; nested exception is: 
      	java.lang.SecurityException: Denied: caller with subject=Subject:
      	Principal: anonymous
      	Principal: Roles(members)
       and security context post-mapping roles=Roles(): ejbMethod=public org.jboss.test.ws.jaxrpc.wsse.SimpleUserType org.jboss.test.ws.jaxrpc.wsse.JaxRpcEJBEndpoint.echoSimpleUserType(java.lang.String,org.jboss.test.ws.jaxrpc.wsse.SimpleUserType)
      	at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:535)
      	at org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:287)
      	at org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:154)
      	at com.sun.proxy.$Proxy134.echoSimpleUserType(Unknown Source)
      	at org.jboss.test.ws.jaxrpc.wsse.UsernameTestCase.testEchoSimpleUserType(UsernameTestCase.java:108)
      Caused by: javax.xml.rpc.soap.SOAPFaultException: SecurityException; nested exception is: 
      	java.lang.SecurityException: Denied: caller with subject=Subject:
      	Principal: anonymous
      	Principal: Roles(members)
       and security context post-mapping roles=Roles(): ejbMethod=public org.jboss.test.ws.jaxrpc.wsse.SimpleUserType org.jboss.test.ws.jaxrpc.wsse.JaxRpcEJBEndpoint.echoSimpleUserType(java.lang.String,org.jboss.test.ws.jaxrpc.wsse.SimpleUserType)
      	at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.getSOAPFaultException(SOAPFaultHelperJAXRPC.java:102)
      	at org.jboss.ws.core.jaxrpc.SOAP11BindingJAXRPC.throwFaultException(SOAP11BindingJAXRPC.java:66)
      	at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:582)
      	at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:396)
      	at org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:528)
      	... 35 more
      

      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP5/view/JBossWS/job/eap-5x-jbossws-native-JBM-sunjdk/6/jdk=jdk1.7.unlimited.BC,label_exp=RHEL6%26%26x86_64/testReport/org.jboss.test.ws.jaxrpc.wsse/UsernameTestCase/testEchoSimpleUserType/

      Attachments

        Activity

          People

            jboss-set_jira JBoss SET
            rsvoboda@redhat.com Rostislav Svoboda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: