FIX: Change plugin default behavior for Container tests 34/11534/3
authorPeter Mikus <pmikus@cisco.com>
Thu, 5 Apr 2018 09:12:22 +0000 (09:12 +0000)
committerPeter Mikus <pmikus@cisco.com>
Thu, 5 Apr 2018 09:17:01 +0000 (09:17 +0000)
Looks like disabling all plugins in container leaving
only memif_plugin.so results into issue that could lead
into lost of SSH connectivity to TB or in better case
to not handling any traffic.

This fix is supose to return previous behavior for Container
instance of VPP.

Change-Id: Ie8b3ce2e35a40c8f3498e490abb6967cd4dd912a
Signed-off-by: Peter Mikus <pmikus@cisco.com>
bootstrap-verify-perf.sh
resources/libraries/python/ContainerUtils.py
tests/vpp/perf/container_memif/10ge2p1x520-eth-l2xcbase-eth-2memif-1dcr-mrr.robot

index 98855a7..d3b1f03 100755 (executable)
@@ -15,9 +15,7 @@
 set -x
 
 # Space separated list of available testbeds, described by topology files
-TOPOLOGIES="topologies/available/lf_testbed1.yaml \
-            topologies/available/lf_testbed2.yaml \
-            topologies/available/lf_testbed3.yaml"
+TOPOLOGIES="topologies/available/lf_testbed3.yaml"
 
 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 
@@ -347,6 +345,7 @@ case "$TEST_TAG" in
         pybot ${PYBOT_ARGS} \
               -v TOPOLOGY_PATH:${WORKING_TOPOLOGY} \
               -s "tests.vpp.perf" \
+              -i THIS \
               tests/
         RETURN_STATUS=$(echo $?)
 esac
index da3d705..da9e93a 100644 (file)
@@ -327,8 +327,7 @@ class ContainerEngine(object):
         if cpuset_cpus:
             corelist_workers = ','.join(str(cpu) for cpu in cpuset_cpus)
             vpp_config.add_cpu_corelist_workers(corelist_workers)
-        vpp_config.add_plugin('disable', 'default')
-        vpp_config.add_plugin('enable', 'memif_plugin.so')
+        vpp_config.add_plugin('disable', 'dpdk_plugin.so')
 
         self.execute('mkdir -p /etc/vpp/')
         self.execute('echo "{c}" | tee {f}'
index 908180d..34fa214 100644 (file)
@@ -94,7 +94,7 @@
 | | ... | [Ver] Measure MaxReceivedRate for 64B frames using single trial\
 | | ... | throughput test.
 | | ...
-| | [Tags] | 64B | 1T1C | STHREAD
+| | [Tags] | 64B | 1T1C | STHREAD | THIS
 | | [Template] | Check RR for l2xcbase-eth-2memif-1dcr
 | | framesize=${64} | wt=1 | rxq=1