I tried to run the vFWCL demo using robot script. It is the first time I got this error during the VMs creation process.
Robot script failed when it try to validate the presence of the VM in the AAI. Maybe it's a timing issue because I can run the querry inside PostMan and got the created VMs. Also, the instances are deployed on my OpenStack.
Here is where the robot execution script failed:
Here is the same request ( I think) using postman and returning VM information:
Here is the result in the terminal of the execution of the robot script:
./ete-k8s.sh onap instantiateVFWCL ++ export NAMESPACE=onap ++ NAMESPACE=onap +++ kubectl --namespace onap get pods +++ sed 's/ .*//' +++ grep robot ++ POD=dev-robot-robot-745c777789-jlmfn ++ TAGS='-i instantiateVFWCL' ++ ETEHOME=/var/opt/ONAP +++ kubectl --namespace onap exec dev-robot-robot-745c777789-jlmfn -- bash -c 'ls -1q /share/logs/ | wc -l' ++ export GLOBAL_BUILD_NUMBER=26 ++ GLOBAL_BUILD_NUMBER=26 +++ printf %04d 26 ++ OUTPUT_FOLDER=0026_ete_instantiateVFWCL ++ DISPLAY_NUM=116 ++ VARIABLEFILES='-V /share/config/vm_properties.py -V /share/config/integration_robot_properties.py -V /share/config/integration_preload_parameters.py' ++ VARIABLES='-v GLOBAL_BUILD_NUMBER:29423' ++ kubectl --namespace onap exec dev-robot-robot-745c777789-jlmfn -- /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 -v GLOBAL_BUILD_NUMBER:29423 -d /share/logs/0026_ete_instantiateVFWCL -i instantiateVFWCL --display 116 Starting Xvfb on display :116 with res 1280x1024x24 Executing robot tests at log level TRACE ============================================================================== Testsuites ============================================================================== Testsuites.Demo :: Executes the VNF Orchestration Test cases including setu... ============================================================================== Instantiate VFWCL Downloaded:service-Vfwcl201908261531-csar.csar Set VNF ProvStatus: 58ecf34b-8913-4a3b-871d-3fb64fd14203 to ACTIVE Set VNF ProvStatus: 296f0055-a6d7-4f57-a645-b60bd1e9f150 to ACTIVE | FAIL | 404 != 200 ------------------------------------------------------------------------------ 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/0026_ete_instantiateVFWCL/output.xml Log: /share/logs/0026_ete_instantiateVFWCL/log.html Report: /share/logs/0026_ete_instantiateVFWCL/report.html command terminated with exit code 1
Hi,
I tried to run the vFWCL demo using robot script. It is the first time I got this error during the VMs creation process.
Robot script failed when it try to validate the presence of the VM in the AAI. Maybe it's a timing issue because I can run the querry inside PostMan and got the created VMs. Also, the instances are deployed on my OpenStack.
Here is where the robot execution script failed:
Here is the same request ( I think) using postman and returning VM information:
Here is the result in the terminal of the execution of the robot script:
./ete-k8s.sh onap instantiateVFWCL
++ export NAMESPACE=onap
++ NAMESPACE=onap
+++ kubectl --namespace onap get pods
+++ sed 's/ .*//'
+++ grep robot
++ POD=dev-robot-robot-745c777789-jlmfn
++ TAGS='-i instantiateVFWCL'
++ ETEHOME=/var/opt/ONAP
+++ kubectl --namespace onap exec dev-robot-robot-745c777789-jlmfn -- bash -c 'ls -1q /share/logs/ | wc -l'
++ export GLOBAL_BUILD_NUMBER=26
++ GLOBAL_BUILD_NUMBER=26
+++ printf %04d 26
++ OUTPUT_FOLDER=0026_ete_instantiateVFWCL
++ DISPLAY_NUM=116
++ VARIABLEFILES='-V /share/config/vm_properties.py -V /share/config/integration_robot_properties.py -V /share/config/integration_preload_parameters.py'
++ VARIABLES='-v GLOBAL_BUILD_NUMBER:29423'
++ kubectl --namespace onap exec dev-robot-robot-745c777789-jlmfn -- /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 -v GLOBAL_BUILD_NUMBER:29423 -d /share/logs/0026_ete_instantiateVFWCL -i instantiateVFWCL --display 116
Starting Xvfb on display :116 with res 1280x1024x24
Executing robot tests at log level TRACE
==============================================================================
Testsuites
==============================================================================
Testsuites.Demo :: Executes the VNF Orchestration Test cases including setu...
==============================================================================
Instantiate VFWCL
Downloaded:service-Vfwcl201908261531-csar.csar
Set VNF ProvStatus: 58ecf34b-8913-4a3b-871d-3fb64fd14203 to ACTIVE
Set VNF ProvStatus: 296f0055-a6d7-4f57-a645-b60bd1e9f150 to ACTIVE
| FAIL |
404 != 200
------------------------------------------------------------------------------
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/0026_ete_instantiateVFWCL/output.xml
Log: /share/logs/0026_ete_instantiateVFWCL/log.html
Report: /share/logs/0026_ete_instantiateVFWCL/report.html
command terminated with exit code 1
Thanks,