Uploaded image for project: 'Integration'
  1. Integration
  2. INT-1057

Robot init script is giving connectionerror

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: High High
    • None
    • Dublin Release
    • None

      ./demo-k8s.sh onap init is giving connection error. Not able to create customers. Error log is given below:

      // code placeholder
       
      root@excldublinrkeexcelsior01052019-rancher:~/oom/kubernetes/robot# ./demo-k8s.sh onap init
      Number of parameters:
      2
      KEY:
      init
      ++ kubectl --namespace onap get pods
      ++ sed 's/ .*//'
      ++ grep robot
      + POD=dev-robot-robot-7ccfd97c9f-bpx4x
      + ETEHOME=/var/opt/ONAP
      ++ kubectl --namespace onap exec dev-robot-robot-7ccfd97c9f-bpx4x -- bash -c 'ls -1q /share/logs/ | wc -l'
      + export GLOBAL_BUILD_NUMBER=5
      + GLOBAL_BUILD_NUMBER=5
      ++ printf %04d 5
      + OUTPUT_FOLDER=0005_demo_init
      + DISPLAY_NUM=95
      + VARIABLEFILES='-V /share/config/vm_properties.py -V /share/config/integration_robot_properties.py -V /share/config/integration_preload_parameters.py'
      + kubectl --namespace onap exec dev-robot-robot-7ccfd97c9f-bpx4x -- /var/opt/ONAP/runTags.sh -V /share/config/vm_properties.py -V /share/config/integration_robot_properties.py -V /share/config/integration_preload_parameters.py -d /share/logs/0005_demo_init -i InitDemo --display 95
      Starting Xvfb on display :95 with res 1280x1024x24
      Executing robot tests at log level TRACE
      ==============================================================================
      Testsuites 
      ==============================================================================
      Testsuites.Demo :: Executes the VNF Orchestration Test cases including setu...
      ==============================================================================
      Initialize Customer And Models | FAIL |
      ConnectionError: ('Connection aborted.', BadStatusLine("''",))
      ------------------------------------------------------------------------------
      Testsuites.Demo :: Executes the VNF Orchestration Test cases inclu... | FAIL |
      1 critical test, 0 passed, 1 failed
      1 test total, 0 passed, 1 failed
      ==============================================================================
      Testsuites | FAIL |
      1 critical test, 0 passed, 1 failed
      1 test total, 0 passed, 1 failed
      ==============================================================================
      Output: /share/logs/0005_demo_init/output.xml
      Log: /share/logs/0005_demo_init/log.html
      Report: /share/logs/0005_demo_init/report.html
      

       

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

              Created:
              Updated:
              Resolved: