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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • Beijing Release
    • None

      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.

       

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

              Created:
              Updated:
              Resolved: