[Avocado-devel] How to enable and run SR-IOV testcases with Avocado ?

吴志国 wuzhiguo at loongson.cn
Tue Aug 9 12:26:55 UTC 2022


Hi avocado development team,




I am working on KVM testing. I am trying to run SR-IOV testcases with Avocado. But I found that there is not any testcases about SR-IOV in results of "avocado list". 




It is unuseful, throught I tried to modify some config file, as following:


1. modified "pf_assignable"/"vf_assignable" variants in avocado-vt: virttest/shared/cfg/guest-hw.cfg;

2. removed "only pf_assignable"/"only vf_assignable" in tp-qemu config file;

3. modified _process_options function in avocado-vt: avocado_vt/options.py.




Could you please share your comments and suggestions about SR-IOV testing?




By the way, I could run the general testcases with avocado. 




root at localhost:/root/avocado-vt# avocado run system_reset,system_powerdown --vt-type qemu 
JOB ID     : 5c24bd3aea6a743d24f225f96f61a77cdbedca71
JOB LOG    : /root/avocado/job-results/job-2022-08-09T19.49-5c24bd3/job.log
 (1/2) type_specific.io-github-autotest-qemu.system_reset: PASS (61.99 s)
 (2/2) type_specific.io-github-autotest-qemu.system_powerdown: PASS (47.17 s)
RESULTS    : PASS 2 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB TIME   : 110.87 s







Best Regards,

Zhiguo Wu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/avocado-devel/attachments/20220809/32360e68/attachment.htm>


More information about the Avocado-devel mailing list