From: James Nunez Date: Mon, 6 Jun 2016 19:29:35 +0000 (-0600) Subject: LU-4257 test: Correct error_ignore message X-Git-Tag: 2.8.55~78 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=5f03bf91e68e925149f2331a44d1e4ad858b8006 LU-4257 test: Correct error_ignore message 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 Change-Id: Ieda9d06facd3e1519ac6a84e15505bc4c74aa60a Reviewed-on: http://review.whamcloud.com/20647 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Jinshan Xiong Reviewed-by: Andreas Dilger --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 78a90ed..b8e710e 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -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"; - 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