Whamcloud - gitweb
LU-4257 test: Correct error_ignore message 47/20647/3
authorJames Nunez <james.a.nunez@intel.com>
Mon, 6 Jun 2016 19:29:35 +0000 (13:29 -0600)
committerAndreas Dilger <andreas.dilger@intel.com>
Thu, 9 Jun 2016 00:16:21 +0000 (00:16 +0000)
The error_ignore routine requires a bug number to indicate why an
error should be ignored. In sanity test 248, there is no ticket
indicating why the test results should be ignored, but, due to running
the test in a VM, the performance numbers may not be what is
expected and, thus, the results can be ignored.

Add a reason to ignore the error to the call to error_ignore.

Test-Parameters: trivial testlist=sanity,sanity,sanity,sanity

Signed-off-by: James Nunez <james.a.nunez@intel.com>
Change-Id: Ieda9d06facd3e1519ac6a84e15505bc4c74aa60a
Reviewed-on: http://review.whamcloud.com/20647
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/sanity.sh

index 78a90ed..b8e710e 100644 (file)
@@ -13724,7 +13724,7 @@ test_248() {
        # the work load on the host machine when the task is running.
        which virt-what 2> /dev/null && [ "$(virt-what)" != "kvm" ] ||
                { echo "no virt-what installed or running in kvm; ignore error";
        # the work load on the host machine when the task is running.
        which virt-what 2> /dev/null && [ "$(virt-what)" != "kvm" ] ||
                { echo "no virt-what installed or running in kvm; ignore error";
-                 my_error=error_ignore; }
+                 my_error="error_ignore env=kvm"; }
 
        # create a large file for fast read verification
        dd if=/dev/zero of=$DIR/$tfile bs=128M count=1 > /dev/null 2>&1
 
        # create a large file for fast read verification
        dd if=/dev/zero of=$DIR/$tfile bs=128M count=1 > /dev/null 2>&1