1
0
-1

I am trying to run demo.sh script on vanilla openstack . It is failing with below error :

root@vm1-robot:/opt# ./demo.sh init
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.Demo :: Executes the VNF Orchestration Test ...
==============================================================================
Initialize Customer And Models | FAIL |
'200' does not match '^(201|412)$'
------------------------------------------------------------------------------
OpenECOMP ETE.Robot.Testsuites.Demo :: Executes the VNF Orchestrat... | 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: /share/logs/demo/InitDemo/output.xml
Log: /share/logs/demo/InitDemo/log.html
Report: /share/logs/demo/InitDemo/report.html
root@vm1-robot:/opt#

Attaching log file : log.html . Please help.

In my setup i have 2 aai vms created.

docker containers on vm1 :

root@vm1-aai-inst1:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9bb65535cd6d nexus3.onap.org:10001/openecomp/search-data-service "/bin/sh -c /opt/a..." 17 hours ago Up 17 hours 0.0.0.0:9509->9509/tcp testconfig_aai.searchservice.simpledemo.openecomp.org_1
efd3118c97a1 nexus3.onap.org:10001/openecomp/model-loader "/bin/sh -c /opt/j..." 17 hours ago Exited (1) 29 minutes ago testconfig_model-loader_1
5d00f0414cae nexus3.onap.org:10001/openecomp/data-router "/bin/sh -c /opt/a..." 17 hours ago Up 17 hours 0.0.0.0:9502->9502/tcp testconfig_datarouter_1
2915d6f68bb1 aaionap/haproxy "/docker-entrypoin..." 17 hours ago Up 17 hours 0.0.0.0:8443->8443/tcp testconfig_aai.api.simpledemo.openecomp.org_1
ff68ca58f05d nexus3.onap.org:10001/openecomp/aai-traversal "/bin/sh -c ./dock..." 17 hours ago Up 17 hours 0.0.0.0:8446->8446/tcp testconfig_aai-traversal.api.simpledemo.openecomp.org_1
bc225e33acd1 nexus3.onap.org:10001/openecomp/aai-resources "/bin/sh -c ./dock..." 17 hours ago Up 17 hours 0.0.0.0:8447->8447/tcp testconfig_aai-resources.api.simpledemo.openecomp.org_1
root@vm1-aai-inst1:~#

Docker containers on vm2 :

root@vm1-aai-inst2:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7f308d634c18 elasticsearch:2.4.1 "/docker-entrypoin..." 19 hours ago Up 19 hours 0.0.0.0:9200->9200/tcp, 9300/tcp elasticsearch
65b000c4284a aaionap/gremlin-server "/bin/sh -c \"/dock..." 19 hours ago Up 19 hours 0.0.0.0:8182->8182/tcp testconfig_aai.gremlinserver.simpledemo.openecomp.org_1
64437c5ecace harisekhon/hbase "/bin/sh -c \"/entr..." 19 hours ago Up 19 hours 0.0.0.0:2181->2181/tcp, 0.0.0.0:8080->8080/tcp, 0.0.0.0:8085->8085/tcp, 0.0.0.0:9090->9090/tcp, 0.0.0.0:16000->16000/tcp, 0.0.0.0:16010->16010/tcp, 9095/tcp, 0.0.0.0:16201->16201/tcp, 16301/tcp testconfig_aai.hbase.simpledemo.openecomp.org_1
root@vm1-aai-inst2:~#


  1. Chandrakiran Barad

    Reconfigured containers on aai vm1 and vm2 :

    root@vm1-aai-inst1:~# docker ps -a
    CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
    8fbabdf719af nexus3.onap.org:10001/openecomp/data-router "/opt/app/data-rou..." 2 hours ago Up 2 hours 0.0.0.0:9502->9502/tcp testconfig_datarouter_1
    b95bd5660419 nexus3.onap.org:10001/openecomp/model-loader "/opt/app/model-lo..." 2 hours ago Up 2 hours testconfig_model-loader_1
    e50742e89a0c nexus3.onap.org:10001/openecomp/search-data-service "/opt/app/search-d..." 2 hours ago Up 2 hours 0.0.0.0:9509->9509/tcp testconfig_aai.searchservice.simpledemo.openecomp.org_1
    2482736c5624 aaionap/haproxy "/docker-entrypoin..." 2 hours ago Up 2 hours 0.0.0.0:8443->8443/tcp testconfig_aai.api.simpledemo.openecomp.org_1
    c0fda02022f9 nexus3.onap.org:10001/openecomp/aai-traversal "/bin/sh -c ./dock..." 2 hours ago Up 2 hours 0.0.0.0:8446->8446/tcp testconfig_aai-traversal.api.simpledemo.openecomp.org_1
    ea187d6f84a5 nexus3.onap.org:10001/openecomp/aai-resources "/bin/sh -c ./dock..." 2 hours ago Up 2 hours 0.0.0.0:8447->8447/tcp testconfig_aai-resources.api.simpledemo.openecomp.org_1
    4e014eebf8eb attos/dmaap "/bin/sh -c ./star..." 4 hours ago Up 3 hours 0.0.0.0:3904-3905->3904-3905/tcp dockerfiles_dmaap_1
    6fc139404a3c dockerfiles_kafka "start-kafka.sh" 4 hours ago Up 3 hours 0.0.0.0:9092->9092/tcp dockerfiles_kafka_1
    76c96d2ede57 wurstmeister/zookeeper "/bin/sh -c '/usr/..." 4 hours ago Up 3 hours 22/tcp, 2888/tcp, 3888/tcp, 0.0.0.0:2181->2181/tcp dockerfiles_zookeeper_1
    root@vm1-aai-inst1:~#

    and vm2 :

    croot@vm1-aai-inst2:~# docker ps -a
    CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
    318b922479c5 elasticsearch:2.4.1 "/docker-entrypoin..." 2 hours ago Up 2 hours 0.0.0.0:9200->9200/tcp, 9300/tcp elasticsearch
    b73b007e8f6c aaionap/gremlin-server "/bin/sh -c \"/dock..." 2 hours ago Up 2 hours 0.0.0.0:8182->8182/tcp testconfig_aai.gremlinserver.simpledemo.openecomp.org_1
    73d1097fca44 harisekhon/hbase "/bin/sh -c \"/entr..." 2 hours ago Up 2 hours 0.0.0.0:2181->2181/tcp, 0.0.0.0:8080->8080/tcp, 0.0.0.0:8085->8085/tcp, 0.0.0.0:9090->9090/tcp, 0.0.0.0:16000->16000/tcp, 0.0.0.0:16010->16010/tcp, 9095/tcp, 0.0.0.0:16201->16201/tcp, 16301/tcp testconfig_aai.hbase.simpledemo.openecomp.org_1
    root@vm1-aai-inst2:~#

    From robot vm : ran ./demo.sh init

    first time it passed :

    root@vm1-robot:/opt# ./demo.sh init
    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.Demo :: Executes the VNF Orchestration Test ...
    ==============================================================================
    Initialize Customer And Models | PASS |
    ------------------------------------------------------------------------------
    OpenECOMP ETE.Robot.Testsuites.Demo :: Executes the VNF Orchestrat... | 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/InitDemo/output.xml
    Log: /share/logs/demo/InitDemo/log.html
    Report: /share/logs/demo/InitDemo/report.html

    Second time when i ran same command it is failing with same error :

    root@vm1-robot:/opt# ./demo.sh init
    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.Demo :: Executes the VNF Orchestration Test ...
    ==============================================================================
    Initialize Customer And Models | FAIL |
    '200' does not match '^(201|412)$'
    ------------------------------------------------------------------------------
    OpenECOMP ETE.Robot.Testsuites.Demo :: Executes the VNF Orchestrat... | 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: /share/logs/demo/InitDemo/output.xml
    Log: /share/logs/demo/InitDemo/log.html
    Report: /share/logs/demo/InitDemo/report.html
    root@vm1-robot:/opt#



CommentAdd your comment...

1 answer

  1.  
    1
    0
    -1

    this is a bug in aai. PLease open a defect for Manisha Aggarwal

    1. Chandrakiran Barad

      Thanks Raised bug : 

      type key summary assignee reporter priority status resolution created updated due

      Jira project doesn't exist or you don't have permission to view it.

      View these issues in Jira

    CommentAdd your comment...