Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-4217

ManagementAuthenticationUsersTestCase fails with Elytron profile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.0.0.Alpha5
    • Security, Test Suite
    • None
    • Hide
      cd testsuite/standalone/
      mvn test -Delytron -Dtest=ManagementAuthenticationUsersTestCase
      
      Show
      cd testsuite/standalone/ mvn test -Delytron -Dtest=ManagementAuthenticationUsersTestCase

      cd testsuite/standalone/
      mvn test -Delytron -Dtest=ManagementAuthenticationUsersTestCase
      
      [INFO] Running null
      [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.004 s <<< FAILURE! - in null
      [ERROR] Failure when constructing test  Time elapsed: 0.003 s  <<< FAILURE!
      java.lang.AssertionError: 
      WFLYCTL0216: Management resource '[
          ("core-service" => "management"),
          ("security-realm" => "ManagementRealm")
      ]' not found
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.jboss.as.test.integration.credential.store.ManagementAuthenticationUsersServerSetupTask.executeForSuccess(ManagementAuthenticationUsersServerSetupTask.java:113)
      	at org.jboss.as.test.integration.credential.store.ManagementAuthenticationUsersServerSetupTask.setup(ManagementAuthenticationUsersServerSetupTask.java:65)
      	at org.wildfly.core.testrunner.WildflyTestRunner.runSetupTasks(WildflyTestRunner.java:121)
      	at org.wildfly.core.testrunner.WildflyTestRunner.run(WildflyTestRunner.java:107)
      	at org.junit.runners.Suite.runChild(Suite.java:128)
      	at org.junit.runners.Suite.runChild(Suite.java:27)
      	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.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
      	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:158)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344)
      	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417)
      
      [INFO] 
      [INFO] Results:
      [INFO] 
      [ERROR] Failures: 
      [ERROR]   WFLYCTL0216: Management resource '[
          ("core-service" => "management"),
          ("security-realm" => "ManagementRealm")
      ]' not found
      [INFO] 
      [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      

              pberan@redhat.com Petr Beran
              mchoma@redhat.com Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: