Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-9912

SRPLoginModuleUnitTestCase fails consistently in EWP testsuite due to LoginException

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: EAP_EWP 5.1.2, EAP_EWP 5.2.0 ER2, EAP_EWP 5.2.0 ER4, EAP_EWP 5.2.0 ER6
    • Fix Version/s: TBD EAP 5
    • Component/s: Security
    • Labels:
      None
    • Release Notes Docs Status:
      Not Required
    • Docs QE Status:
      NEW
    • Target Release:

      Description

      EWP do not ship everything in EAP as per https://docspace.corp.redhat.com/docs/DOC-35930 but I could not explain why this test should fail as it contains security.
      Also the failure has some similarity to JBPAPP-

      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EWP5/view/TestSuite/job/ewp-as-rhel5-sun6/lastCompletedBuild/testReport/org.jboss.test.security.test/SRPLoginModuleUnitTestCase%28tests-security-basic-unit%29/testSRPLoginHTTP/

      stacktrace:

      Failed to complete SRP login, msg=IOE; nested exception is: java.io.FileNotFoundException: http://localhost:8080/invoker/JMXInvokerServlet

      Stacktrace

      javax.security.auth.login.LoginException: Failed to complete SRP login, msg=IOE; nested exception is:
      java.io.FileNotFoundException: http://localhost:8080/invoker/JMXInvokerServlet
      at org.jboss.security.srp.jaas.SRPLoginModule.login(SRPLoginModule.java:251)
      at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
      at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
      at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
      at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
      at org.jboss.test.security.test.SRPLoginModuleUnitTestCase.login(SRPLoginModuleUnitTestCase.java:240)
      at org.jboss.test.security.test.SRPLoginModuleUnitTestCase.login(SRPLoginModuleUnitTestCase.java:228)
      at org.jboss.test.security.test.SRPLoginModuleUnitTestCase.testSRPLoginHTTP(SRPLoginModuleUnitTestCase.java:89)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      at junit.extensions.TestSetup.run(TestSetup.java:25)

        Gliffy Diagrams

          Attachments

          1. JBPAPP-9912.patch
            1 kB
            Chao Wang
          2. JBPAPP-9912.patch
            0.9 kB
            Chao Wang
          3. JBPAPP-9912.patch
            0.6 kB
            Chao Wang

            Issue Links

              Activity

                People

                • Assignee:
                  soul2zimate Chao Wang
                  Reporter:
                  madhumita12 Madhumita Sadhukhan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: