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

DefaultContextServiceServletTestCase#testServletin WildFly test suite fails on Openj9 OpenJDK8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 7.3.0.CD18
    • Test Suite

      We see DefaultContextServiceServletTestCase#testServlet fails on OpenJ9 Openjdk8. It passes on other jdks.

      Job run: https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/eap-7.x-pit-rhel-as-testsuite-integration-rhel/5/jdk=adoptopenjdk-8-openj9,label_exp=RHEL8.next&&dynamic&&large/testReport/

      Failing tests
      org.jboss.as.test.integration.ee.concurrent.DefaultContextServiceServletTestCase#testServlet

      2019-09-24 12:05:30,937 ERROR [io.undertow.request] (default task-1) UT005023: Exception handling request to /war-example/simple: javax.servlet.ServletException: java.lang.ClassNotFoundException: org.wildfly.extension.undertow.security.AccountImpl$AccountPrincipal
              at org.jboss.as.test.integration.ee.concurrent.DefaultContextServiceTestServlet.doGet(DefaultContextServiceTestServlet.java:74)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:503)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
              at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
              at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
              at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
              at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
              at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
              at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
              at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
              at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
              at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
              at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
              at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
              at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
              at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
              at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
              at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
              at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
              at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
              at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
              at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
              at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
              at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
              at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:269)
              at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78)
              at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133)
              at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130)
              at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
              at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
              at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
              at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction$$Lambda$750.00000000A00AB500.call(Unknown Source)
              at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
              at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction$$Lambda$751.00000000A00CE300.call(Unknown Source)
              at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
              at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction$$Lambda$751.00000000A00CE300.call(Unknown Source)
              at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
              at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction$$Lambda$751.00000000A00CE300.call(Unknown Source)
              at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
              at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction$$Lambda$751.00000000A00CE300.call(Unknown Source)
              at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249)
              at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:78)
              at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:99)
              at io.undertow.server.Connectors.executeRootHandler(Connectors.java:376)
              at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
              at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
              at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
              at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
              at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
              at java.lang.Thread.run(Thread.java:819)
      Caused by: java.lang.ClassNotFoundException: org.wildfly.extension.undertow.security.AccountImpl$AccountPrincipal
              at java.lang.Class.forNameImpl(Native Method)
              at java.lang.Class.forName(Class.java:403)
              at java.io.ClassCache$FutureValue.get(ClassCache.java:190)
              at java.io.ClassCache.get(ClassCache.java:161)
              at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:791)
              at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1974)
              at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1857)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2148)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
              at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2393)
              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2317)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2175)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
              at java.io.ObjectInputStream.readObjectImpl(ObjectInputStream.java:518)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:456)
              at java.util.HashSet.readObject(HashSet.java:341)
              at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1170)
              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2284)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2175)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
              at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2393)
              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2317)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2175)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
              at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2393)
              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2317)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2175)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
              at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2393)
              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2317)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2175)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
              at java.io.ObjectInputStream.readObjectImpl(ObjectInputStream.java:518)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:456)
              at org.jboss.as.security.deployment.SecurityContextHandleFactory.readSetupContextHandle(SecurityContextHandleFactory.java:75)
              at org.jboss.as.ee.concurrent.ConcurrentContext$ChainedSetupContextHandle.readObject(ConcurrentContext.java:251)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1170)
              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2284)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2175)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
              at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2393)
              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2317)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2175)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
              at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2393)
              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2317)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2175)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679)
              at java.io.ObjectInputStream.readObjectImpl(ObjectInputStream.java:518)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:456)
              at org.jboss.as.test.integration.ee.concurrent.DefaultContextServiceTestServlet.doGet(DefaultContextServiceTestServlet.java:71)
              ... 49 more
      

            jperkins-rhn James Perkins
            istraka@redhat.com Ivan Straka
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: