- weekly: set appropriate length of line in the console
- semiweekly: set appropriate length of line in the console
and remove classifier (-deb) from the info what vpp version
will be tested
Change-Id: I7ff36d9e61e922cd200b9248b7ba645b0b4cf54e
Signed-off-by: Jan Gelety <jgelety@cisco.com>
echo ${VPP_DEBS[@]}
VPP_VER=$(echo ${VPP_DEBS#vpp-})
echo ${VPP_DEBS[@]}
VPP_VER=$(echo ${VPP_DEBS#vpp-})
-VPP_VER=$(echo ${VPP_VER%.deb})
-echo VPP version to be tested: ${VPP_VER}
+VPP_VER=$(echo ${VPP_VER%-deb.deb})
-echo "******************************************************************************"
-echo "1st step: Download VPP packages FINISHED"
-echo "******************************************************************************"
+echo "****************************************************************************************************************************************"
+echo "1st step: Download VPP packages FINISHED"
+echo "VPP version to be tested: ${VPP_VER}"
+echo "****************************************************************************************************************************************"
pip install -r ${SCRIPT_DIR}/requirements.txt
set +x
pip install -r ${SCRIPT_DIR}/requirements.txt
set +x
-echo "******************************************************************************"
-echo "2nd step: Start virtual env and install requirements FINISHED"
-echo "******************************************************************************"
+echo "****************************************************************************************************************************************"
+echo "2nd step: Start virtual env and install requirements FINISHED"
+echo "****************************************************************************************************************************************"
-echo "******************************************************************************"
-echo "3rd step: Start the simulation on the VIRL server FINISHED"
-echo "******************************************************************************"
+echo "****************************************************************************************************************************************"
+echo "3rd step: Start the simulation on the VIRL server FINISHED"
+echo "****************************************************************************************************************************************"
echo Functional test loop: ${test_set}
echo
echo Functional test loop: ${test_set}
echo
-v TOPOLOGY_PATH:${SCRIPT_DIR}/topologies/enabled/topology_VIRL.yaml \
--suite "tests.func" \
--include vm_envAND3_node_single_link_topo \
-v TOPOLOGY_PATH:${SCRIPT_DIR}/topologies/enabled/topology_VIRL.yaml \
--suite "tests.func" \
--include vm_envAND3_node_single_link_topo \
-echo "******************************************************************************"
-echo "4th step: Run functional tests FINISHED"
-echo "******************************************************************************"
+echo "****************************************************************************************************************************************"
+echo "4th step: Run functional tests FINISHED"
+echo "****************************************************************************************************************************************"
set -x
# Set RETURN_STATUS=1 if some critical test failed
set -x
# Set RETURN_STATUS=1 if some critical test failed
if [ ${RC} -eq 0 ]; then
set +x
echo
if [ ${RC} -eq 0 ]; then
set +x
echo
- echo "=============================================================================="
- echo "Final result of all test loops: | PASS |"
+ echo "========================================================================================================================================"
+ echo "Final result of all test loops: | PASS |"
echo "All critical tests have passed."
echo "All critical tests have passed."
- echo "=============================================================================="
+ echo "========================================================================================================================================"
echo
set -x
elif [ ${MORE_FAILS} -eq 0 ]; then
echo
set -x
elif [ ${MORE_FAILS} -eq 0 ]; then
- echo "=============================================================================="
- echo "Final result of all test loops: | FAIL |"
+ echo "========================================================================================================================================"
+ echo "Final result of all test loops: | FAIL |"
echo "${RC} critical ${HLP_STR} failed."
echo "${RC} critical ${HLP_STR} failed."
- echo "=============================================================================="
+ echo "========================================================================================================================================"
echo
set -x
else
set +x
echo
echo
set -x
else
set +x
echo
- echo "=============================================================================="
- echo "Final result of all test loops: | FAIL |"
+ echo "========================================================================================================================================"
+ echo "Final result of all test loops: | FAIL |"
echo "More then 250 critical tests have failed in one test loop."
echo "More then 250 critical tests have failed in one test loop."
- echo "=============================================================================="
+ echo "========================================================================================================================================"
do
echo
echo ${test_set}. test loop
do
echo
echo ${test_set}. test loop
- PYTHONPATH=`pwd` pybot -L TRACE \
+ PYTHONPATH=`pwd` pybot -L TRACE -W 136\
-v TOPOLOGY_PATH:${SCRIPT_DIR}/topologies/enabled/topology.yaml \
--suite "tests.func" \
--include vm_envAND3_node_single_link_topo \
-v TOPOLOGY_PATH:${SCRIPT_DIR}/topologies/enabled/topology.yaml \
--suite "tests.func" \
--include vm_envAND3_node_single_link_topo \
if [ ${RC} -eq 0 ]; then
set +x
echo
if [ ${RC} -eq 0 ]; then
set +x
echo
- echo "=============================================================================="
- echo "Final result of all test loops: | PASS |"
+ echo "========================================================================================================================================"
+ echo "Final result of all test loops: | PASS |"
echo "All critical tests have passed."
echo "All critical tests have passed."
- echo "=============================================================================="
+ echo "========================================================================================================================================"
echo
set -x
elif [ ${MORE_FAILS} -eq 0 ]; then
echo
set -x
elif [ ${MORE_FAILS} -eq 0 ]; then
- echo "=============================================================================="
- echo "Final result of all test loops: | FAIL |"
+ echo "========================================================================================================================================"
+ echo "Final result of all test loops: | FAIL |"
echo "${RC} critical ${HLP_STR} failed."
echo "${RC} critical ${HLP_STR} failed."
- echo "=============================================================================="
+ echo "========================================================================================================================================"
echo
set -x
else
set +x
echo
echo
set -x
else
set +x
echo
- echo "=============================================================================="
- echo "Final result of all test loops: | FAIL |"
+ echo "========================================================================================================================================"
+ echo "Final result of all test loops: | FAIL |"
echo "More then 250 critical tests have failed in one test loop."
echo "More then 250 critical tests have failed in one test loop."
- echo "=============================================================================="
+ echo "========================================================================================================================================"