Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-19669

JWTIdentityPropagationTestCase fails intermitently in Windows JDK 11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • Security
    • ---
    • ---

      WildFly Core integration test history shows that  org.wildfly.test.integration.microprofile.jwt.propagation.JWTIdentityPropagationTestCase(standalone-enabled-microprofile-test).testInvokeEJBWithinSingleDeploymentOutflowAnonymousConfigured test has started to fail since 19th August with the following trace:

      java.lang.AssertionError: expectedMessage:[targetCallerPrincipal: anonymous, targetIsCallerAdmin: false] returned msg:[hello + testUser, hasJWT: true, targetCallerPrincipal: testUser, targetIsCallerAdmin: false]  at org.junit.Assert.fail(Assert.java:89)  at org.junit.Assert.assertTrue(Assert.java:42)  at org.wildfly.test.integration.microprofile.jwt.propagation.JWTIdentityPropagationTestCase.testInvokeEJB(JWTIdentityPropagationTestCase.java:335)  at org.wildfly.test.integration.microprofile.jwt.propagation.JWTIdentityPropagationTestCase.testInvokeEJBWithinSingleDeploymentOutflowAnonymousConfigured(JWTIdentityPropagationTestCase.java:283)  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.base/java.lang.reflect.Method.invoke(Method.java:566)  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)  at org.jboss.arquillian.junit.Arquillian$8$1.invokeMethod(Arquillian.java:325)  at org.jboss.arquillian.junit.MethodInvoker$1.invoke(MethodInvoker.java:18)  at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:58)  at jdk.internal.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.base/java.lang.reflect.Method.invoke(Method.java:566)  at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)  at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)  at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90)  at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)  at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:106)  at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:62)  at org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:50)  at jdk.internal.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.base/java.lang.reflect.Method.invoke(Method.java:566)  at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)  at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)  at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90)  at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:128)  at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.java:118)  at jdk.internal.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.base/java.lang.reflect.Method.invoke(Method.java:566)  at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)  at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)  at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:69)  at jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.base/java.lang.reflect.Method.invoke(Method.java:566)  at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)  at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)  at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:116)  at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.base/java.lang.reflect.Method.invoke(Method.java:566)  at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)  at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)  at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:83)  at jdk.internal.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.base/java.lang.reflect.Method.invoke(Method.java:566)  at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)  at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)  at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)  at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:139)  at org.jboss.arquillian.junit.MethodInvoker.invoke(MethodInvoker.java:15)  at org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:332)  at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:204)  at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:350)  at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54)  at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:215)  at org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:279)  at org.jboss.arquillian.container.test.impl.execution.ClientBeforeAfterLifecycleEventExecuter.execute(ClientBeforeAfterLifecycleEventExecuter.java:88)  at org.jboss.arquillian.container.test.impl.execution.ClientBeforeAfterLifecycleEventExecuter.on(ClientBeforeAfterLifecycleEventExecuter.java:66)  at jdk.internal.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.base/java.lang.reflect.Method.invoke(Method.java:566)  at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)  at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)  at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:90)  at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:128)  at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createBeforeContext(ContainerEventController.java:114)  at jdk.internal.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.base/java.lang.reflect.Method.invoke(Method.java:566)  at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)  at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)  at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:69)  at jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.base/java.lang.reflect.Method.invoke(Method.java:566)  at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)  at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)  at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:116)  at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.base/java.lang.reflect.Method.invoke(Method.java:566)  at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)  at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)  at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:83)  at jdk.internal.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  at java.base/java.lang.reflect.Method.invoke(Method.java:566)  at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:86)  at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:95)  at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)  at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:106)  at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159)  at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:273)  at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)  at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)  at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)  at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)  at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)  at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)  at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)  at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)  at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:166)  at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:350)  at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54)  at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:177)  at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)  at org.junit.runners.ParentRunner.run(ParentRunner.java:413)  at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:115)  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)  at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

            fjuma1@redhat.com Farah Juma
            yborgess1@redhat.com Yeray Borges Santana
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: