Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-707

ONAO-PAP-REST unit tests fail on first build on clean checkout

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Done
    • Beijing Release
    • Beijing Release
    • None

    Description

      This happens on macOS and Ubuntu

          • Warning do this on a clean checkout ****

      cd engine

      Delete ONAP-PAP-REST to clean it
      rm fr ONAP--PAP-REST

      Check it out again
      git co – .

      Build ONAP-PAP-REST
      mvn clean install

      <blah blah>

      Results :

      Tests in error:
        XACMLPAPTest.setUp:102 » Servlet PE200 - System Error: PAP not initialized; un...
        XACMLPAPTest.setUp:102 » Servlet PE200 - System Error: PAP not initialized; un...
        XACMLPAPTest.setUp:102 » Servlet PE200 - System Error: PAP not initialized; un...
        XACMLPAPTest.setUp:102 » Servlet PE200 - System Error: PAP not initialized; un...
        XACMLPAPTest.setUp:102 » Servlet PE200 - System Error: PAP not initialized; un...
        XACMLPAPTest.setUp:102 » Servlet PE200 - System Error: PAP not initialized; un...
        XACMLPAPTest.setUp:102 » Servlet PE200 - System Error: PAP not initialized; un...
        XACMLPAPTest.setUp:102 » Servlet PE200 - System Error: PAP not initialized; un...
        XACMLPAPTest.setUp:102 » Servlet PE200 - System Error: PAP not initialized; un...
        XACMLPAPTest.setUp:102 » Servlet PE200 - System Error: PAP not initialized; un...
        XACMLPAPTest.setUp:102 » Servlet PE200 - System Error: PAP not initialized; un...
        XACMLPAPTest.setUp:102 » Servlet PE200 - System Error: PAP not initialized; un...
        XACMLPAPTest.setUp:102 » Servlet PE200 - System Error: PAP not initialized; un...
        XACMLPAPTest.setUp:102 » Servlet PE200 - System Error: PAP not initialized; un...
        XACMLPAPTest.setUp:102 » Servlet PE200 - System Error: PAP not initialized; un...

      Build again:

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------

      It's probably some initialization thing. Not too serious but could look very bad if someone checks out code and it can't build.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            liamfallon Liam Fallon
            liamfallon Liam Fallon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: