Details
-
Bug
-
Status: Closed
-
High
-
Resolution: Unresolved
-
None
-
None
Description
I am trying to run demo.sh script on robot vm in vanilla openstack environment . 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#
I reconfigured my aai vm1 containers with docker version :1.1-STAGING-latest.
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#