Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-475

robot demo init_robot command requires ROOT permissions in OOM - and fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Amsterdam Release
    • Amsterdam Release
    • None
    • None

      OOM

      ubuntu@ip-172-31-95-117:/dockerdata-nfs/onap/robot$ ./demo-k8s.sh init_robot
      WEB Site Password for user 'test': ./demo-k8s.sh: line 123: UpdateWebPage.out: Permission denied
      
      ubuntu@ip-172-31-95-117:/dockerdata-nfs/onap/robot$ sudo ./demo-k8s.sh init_robot
      WEB Site Password for user 'test': Starting Xvfb on display :89 with res 1280x1024x24
      Executing robot tests at log level TRACE
      ==============================================================================
      OpenECOMP ETE                                                                 
      ==============================================================================
      OpenECOMP ETE.Robot                                                           
      ==============================================================================
      OpenECOMP ETE.Robot.Testsuites                                                
      ==============================================================================
      OpenECOMP ETE.Robot.Testsuites.Update Onap Page :: Initializes ONAP Test We...
      ==============================================================================
      Update ONAP Page                                                      | FAIL |
      '200 <= 401 < 300' should be true.
      ------------------------------------------------------------------------------
      OpenECOMP ETE.Robot.Testsuites.Update Onap Page :: Initializes ONA... | FAIL |
      1 critical test, 0 passed, 1 failed
      1 test total, 0 passed, 1 failed
      ==============================================================================
      OpenECOMP ETE.Robot.Testsuites                                        | FAIL |
      1 critical test, 0 passed, 1 failed
      1 test total, 0 passed, 1 failed
      ==============================================================================
      OpenECOMP ETE.Robot                                                   | FAIL |
      1 critical test, 0 passed, 1 failed
      1 test total, 0 passed, 1 failed
      ==============================================================================
      OpenECOMP ETE                                                         | FAIL |
      1 critical test, 0 passed, 1 failed
      1 test total, 0 passed, 1 failed
      ==============================================================================
      Output:  /var/opt/OpenECOMP_ETE/html/logs/demo/UpdateWebPage/output.xml
      Log:     /var/opt/OpenECOMP_ETE/html/logs/demo/UpdateWebPage/log.html
      Report:  /var/opt/OpenECOMP_ETE/html/logs/demo/UpdateWebPage/report.html

      HEAT

      root@onap-robot:/opt# ./demo.sh init_robot
      WEB Site Password for user 'test': Starting Xvfb on display :89 with res 1280x1024x24
      Executing robot tests at log level TRACE
      ==============================================================================
      OpenECOMP ETE                                                                 
      ==============================================================================
      OpenECOMP ETE.Robot                                                           
      ==============================================================================
      OpenECOMP ETE.Robot.Testsuites                                                
      ==============================================================================
      OpenECOMP ETE.Robot.Testsuites.Update Onap Page :: Initializes ONAP Test We...
      ==============================================================================
      Update ONAP Page                                                      | PASS |
      ------------------------------------------------------------------------------
      OpenECOMP ETE.Robot.Testsuites.Update Onap Page :: Initializes ONA... | PASS |
      1 critical test, 1 passed, 0 failed
      1 test total, 1 passed, 0 failed
      ==============================================================================
      OpenECOMP ETE.Robot.Testsuites                                        | PASS |
      1 critical test, 1 passed, 0 failed
      1 test total, 1 passed, 0 failed
      ==============================================================================
      OpenECOMP ETE.Robot                                                   | PASS |
      1 critical test, 1 passed, 0 failed
      1 test total, 1 passed, 0 failed
      ==============================================================================
      OpenECOMP ETE                                                         | PASS |
      1 critical test, 1 passed, 0 failed
      1 test total, 1 passed, 0 failed
      ==============================================================================
      Output:  /share/logs/demo/UpdateWebPage/output.xml
      Log:     /share/logs/demo/UpdateWebPage/log.html
      Report:  /share/logs/demo/UpdateWebPage/report.html
      root@onap-robot:/opt# exit
      logout
      Connection to 10.12.5.129 closed.

            adetalhouet adetalhouet
            michaelobrien michaelobrien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: