Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9072

Concurrent tests are failing in AS TS with Elytron profile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.ER2
    • 7.1.0.DR12
    • Test Suite
    • None

      Some tests in org.jboss.as.test.integration.ee.concurrent package are failing when using "-Delytron" argument.

      cd testsuite/integration/basic
      mvn clean test -Dtest=org.jboss.as.test.integration.ee.concurrent.* -Delytron
      ...
      Tests in error: 
        DefaultContextServiceTestCase.testTaskSubmit:58 » EJBAccess WFLYEJB0364: Invoc...
        DefaultManagedExecutorServiceTestCase.testTaskSubmit:57 » EJBAccess WFLYEJB036...
        DefaultManagedScheduledExecutorServiceTestCase.testTaskSubmit:58 » EJBAccess W...
        DefaultManagedThreadFactoryTestCase.testTaskSubmit:57 » EJBAccess WFLYEJB0364:...
      

      Sample stack trace of the failure:

      FAILURE! - in org.jboss.as.test.integration.ee.concurrent.DefaultContextServiceTestCase
      testTaskSubmit(org.jboss.as.test.integration.ee.concurrent.DefaultContextServiceTestCase)  Time elapsed: 0.507 sec  <<< ERROR!
      javax.ejb.EJBAccessException: WFLYEJB0364: Invocation on method: public java.util.concurrent.Future org.jboss.as.test.integration.ee.concurrent.DefaultContextServiceTestEJB.submit(org.jboss.as.test.integration.ee.concurrent.TestEJBRunnable) throws javax.naming.NamingException of bean: DefaultContextServiceTestEJB is not allowed
              at org.jboss.as.ejb3.security.RolesAllowedInterceptor.processInvocation(RolesAllowedInterceptor.java:67)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240)
              at org.jboss.as.ejb3.security.SecurityDomainInterceptor.processInvocation(SecurityDomainInterceptor.java:44)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240)
              at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240)
              at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240)
              at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240)
              at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240)
              at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240)
              at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:60)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240)
              at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:256)
              at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:609)
              at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:57)
              at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:240)
              at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
              at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)
              at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
              at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:74)
              at org.jboss.as.test.integration.ee.concurrent.DefaultContextServiceTestEJB$$$view1.submit(Unknown Source)
              at org.jboss.as.test.integration.ee.concurrent.DefaultContextServiceTestCase.testTaskSubmit(DefaultContextServiceTestCase.java:58)
      

              Unassigned Unassigned
              josef.cacek@gmail.com Josef Cacek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: