diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2016-03-02 10:54:50 +0000 |
---|---|---|
committer | Maryam Tahhan <maryam.tahhan@intel.com> | 2016-03-12 09:28:20 +0000 |
commit | 5853025b59cb6e44f23a1d245a58a2cd286e03dc (patch) | |
tree | 72a228335843baae63f7ce294345265f332a0f4a /testcases | |
parent | a81278b11de6393390816c8b3b675a313cd0ce9f (diff) |
bugfix: Eliminate error and warning messages
Several issues have been fixed to decrease a number of warning
and error messages written to the standard output. Error and
warning messages causes false build failure report by Jenkins,
in case that internal parsing of job output is enabled.
Fixed issues:
* qemu makefile updated
* shared directories between host and guests are forcibly deleted
before vsperf execution
* nonstop_tsc cpu flag is exported from host to the guest
* vloop-vnf help has been updated and changelog added
* TCL scripts updated to print info instead of warning
* vloop-vnf image updated to avoid snmpd related warnings
Change-Id: Id9ca014bae8fa34772b67d1ebab3431682682931
JIRA: VSPERF-206
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Diffstat (limited to 'testcases')
-rw-r--r-- | testcases/testcase.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/testcases/testcase.py b/testcases/testcase.py index b6726dc4..8d23014c 100644 --- a/testcases/testcase.py +++ b/testcases/testcase.py @@ -264,9 +264,13 @@ class TestCase(object): while counter < self.deployment.count('v'): guest_dir = S.getValue('GUEST_SHARE_DIR')[counter] - # create shared dir if it doesn't exist - if not os.path.exists(guest_dir): - os.makedirs(guest_dir) + # remove shared dir if it exists to avoid issues with file consistency + if os.path.exists(guest_dir): + tasks.run_task(['rm', '-f', '-r', guest_dir], self._logger, + 'Removing content of shared directory...', True) + + # directory to share files between host and guest + os.makedirs(guest_dir) # copy sources into shared dir only if neccessary if 'testpmd' in self.guest_loopback or 'l2fwd' in self.guest_loopback: |