Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-7986

Migration test fails for migration from 3.4.3.Final

    XMLWordPrintable

    Details

    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      Tests run: 4, Failures: 1, Errors: 0, Skipped: 3, Time elapsed: 385.601 sec <<< FAILURE! - in org.keycloak.testsuite.migration.MigrationTest
      migration3_4_3Test(org.keycloak.testsuite.migration.MigrationTest)  Time elapsed: 306.903 sec  <<< FAILURE!
      Expected: [master-test-client-role], was: [master-test-client]: arrays first differed at element [0]; expected:<master-test-client[-role]> but was:<master-test-client[]>
              at org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:55)
              at org.junit.Assert.internalArrayEquals(Assert.java:532)
              at org.junit.Assert.assertArrayEquals(Assert.java:283)
              at org.keycloak.testsuite.Assert.assertNames(Assert.java:56)
              at org.keycloak.testsuite.migration.AbstractMigrationTest.testMigratedMasterData(AbstractMigrationTest.java:108)
              at org.keycloak.testsuite.migration.AbstractMigrationTest.testMigratedData(AbstractMigrationTest.java:89)
              at org.keycloak.testsuite.migration.MigrationTest.migration3_4_3Test(MigrationTest.java:73)
              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 org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
              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:57)
              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 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:133)
              at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105)
              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 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 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 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 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 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 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 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 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 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 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:133)
              at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:122)
              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 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 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 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 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 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 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 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 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 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 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:133)
              at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105)
              at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:142)
              at org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:273)
              at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
              at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
              at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
              at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
              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.run(ParentRunner.java:363)
              at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:115)
              at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
      Caused by: org.junit.ComparisonFailure: expected:<master-test-client[-role]> but was:<master-test-client[]>
              at org.junit.Assert.assertEquals(Assert.java:115)
              at org.junit.Assert.assertEquals(Assert.java:144)
              at org.junit.internal.ExactComparisonCriteria.assertElementsEqual(ExactComparisonCriteria.java:8)
              at org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:53)
              ... 135 more
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                hmlnarik Hynek Mlnařík
                Reporter:
                hmlnarik Hynek Mlnařík
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: