autotest / tp-libvirt

Test Provider for Libvirt and related virtualization backends
Other
33 stars 169 forks source link

filesystem_device: fix cmdline check #5840

Closed smitterl closed 2 months ago

smitterl commented 2 months ago

The new libvirt version maintains the existing libvirt-side values for cache but translates them to virtiofsd arguments.

Add logic to also translate these names for the command line check.

smitterl commented 2 months ago

@iccaszhulili Please help review.

smitterl commented 2 months ago
JOB ID     : 03ad11827f12b2a1816d10d2c9166597e8febc52
JOB LOG    : /var/log/avocado/job-results/job-2024-08-14T06.22-03ad118/job.log
 (1/9) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device.positive_test.hugepages_backed.nop.fs_test.xattr_on.cache_mode_none.thread_pool_noset.one_fs.one_guest: PASS (39.67 s)
 (2/9) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device.positive_test.hugepages_backed.nop.fs_test.xattr_on.cache_mode_always.thread_pool_noset.one_fs.one_guest: PASS (39.13 s)
 (3/9) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device.positive_test.hugepages_backed.nop.fs_test.xattr_on.cache_mode_auto.thread_pool_noset.one_fs.one_guest: PASS (39.29 s)
 (4/9) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device.positive_test.hugepages_backed.nop.fs_test.xattr_off.cache_mode_none.thread_pool_noset.one_fs.one_guest: PASS (39.91 s)
 (5/9) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device.positive_test.hugepages_backed.nop.fs_test.xattr_off.cache_mode_always.thread_pool_noset.one_fs.one_guest: PASS (39.35 s)
 (6/9) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device.positive_test.hugepages_backed.nop.fs_test.xattr_off.cache_mode_auto.thread_pool_noset.one_fs.one_guest: PASS (39.53 s)
 (7/9) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device.positive_test.hugepages_backed.nop.fs_test.xattr_noset.cache_mode_none.thread_pool_noset.one_fs.one_guest: PASS (40.00 s)
 (8/9) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device.positive_test.hugepages_backed.nop.fs_test.xattr_noset.cache_mode_always.thread_pool_noset.one_fs.one_guest: PASS (39.10 s)
 (9/9) type_specific.io-github-autotest-libvirt.virtual_devices.filesystem_device.positive_test.hugepages_backed.nop.fs_test.xattr_noset.cache_mode_auto.thread_pool_noset.one_fs.one_guest: PASS (39.12 s)
RESULTS    : PASS 9 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : /var/log/avocado/job-results/job-2024-08-14T06.22-03ad118/results.html
JOB TIME   : 356.12 s
smitterl commented 2 months ago

Close in favor of https://github.com/autotest/tp-libvirt/pull/5843