Skip to content

Introducing the concept of non fatal failures in KVM autotest

Lucas Meneghel Rodrigues kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4client job: Introduce a run_test_detail methodclient/bin/job.py+50 -40 replies
2/4KVM test: Fail a test right away if 'dependency_fail = yes' is on paramsclient/tests/kvm/kvm_preprocessing.py client/tests/kvm/kvm_utils.py+10 -20 replies
3/4KVM test: Refine image_check functionclient/tests/kvm/kvm_vm.py+16 -31 reply
4/4KVM test: Modify kvm_utils.run_tests to include non fatal failuresclient/tests/kvm/kvm_utils.py+10 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Introducing the concept of non fatal failures in KVM autotest

In order to fix make it possible to throw test errors in certain special conditions, yet executing dependent tests,introduced a new public job API and modified kvm_utils.run_tests logic.

Also modified preprocessing code to provide a feature asked for a long time:
make tests with dependencies failed to execute, but to throw a TestNA exception, so our developers are not fooled with a high PASS rate on a job that had a central dependency (such as KVM build) failed.

More info on the commit messages. John, I would like you to review only the first patch, as it touches a very visible autotest API, so it is high risk.

Lucas Meneghel Rodrigues (4):
client job: Introduce a run_test_detail method
KVM test: Fail a test right away if 'dependency_fail = yes' is on
params
KVM test: Refine image_check function
KVM test: Modify kvm_utils.run_tests to include non fatal failures

 client/bin/job.py                     |   54 ++++++++++++++++++++++++++++++--
 client/tests/kvm/kvm_preprocessing.py |    6 +++-
 client/tests/kvm/kvm_utils.py         |   17 ++++++++--
 client/tests/kvm/kvm_vm.py            |   19 ++++++++++--
 4 files changed, 84 insertions(+), 12 deletions(-)
Signature · 1 line
1.7.4.2