Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-16199

Reoccurring exceptions in existing SAML test runs

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.0.0
    • Fix Version/s: None
    • Component/s: SAML
    • Labels:
      None
    • Target Version/s:

      Description

      Bug description

      Three different exceptions have been reported when running the pyforge test:

      ./run-pybot.py -v -c perf -s SAML.SAML_basic -n OpenAM
      

      The tests do run up in Jenkins, though it does report some of the same exceptions, whereas locally they fail. http://jenkins-fr.internal.forgerock.com:8080/job/AM-7.0.0/job/saml/job/saml/

      Exceptions:

      om.sun.identity.saml2.common.SAML2Exception: No local user being mapped.
      	at com.sun.identity.saml2.profile.SPACSUtils.processResponse(SPACSUtils.java:1203)
      	at org.apache.jsp.saml2.jsp.spAssertionConsumer_jsp._jspService(spAssertionConsumer_jsp.java:348)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)
      	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
      	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      
      com.sun.identity.saml2.common.SAML2Exception: Single Logout Failed.
      	at com.sun.identity.saml2.profile.LogoutUtil.doSLOBySOAP(LogoutUtil.java:459)
      	at com.sun.identity.saml2.profile.LogoutUtil.doLogout(LogoutUtil.java:306)
      	at com.sun.identity.saml2.profile.IDPSingleLogout.initiateLogoutRequest(IDPSingleLogout.java:281)
      	at org.apache.jsp.saml2.jsp.idpSingleLogoutInit_jsp._jspService(idpSingleLogoutInit_jsp.java:294)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
      
      i.n.c.AbstractChannel$AnnotatedSocketException: Connection reset by peer: openam.example.com/127.0.0.1:8081
      

      How to reproduce the issue

      With the latest pyforge, simply run the above perf test and observe the results; look in the Federation log file of both the SP and IDP.

      Expected behaviour

      Clean test run without any KOs or exceptions.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              apforrest Andrew Forrest
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: