tp-qemu icon indicating copy to clipboard operation
tp-qemu copied to clipboard

thread_context: adds support for multiple thread contexts

Open mcasquer opened this issue 11 months ago • 2 comments

Depends on https://github.com/avocado-framework/avocado-vt/pull/3856

thread_context: adds support for multiple thread contexts

According to the new changes in the avocado-vt framework, updating thread_context related test cases to support this new behavior. Applies the black code formatter.

Signed-off-by: mcasquer [email protected] ID: 2097

mcasquer avatar Mar 19 '24 07:03 mcasquer

Tests passed successfully

 (1/6) Host_RHEL.m9.u5.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.x86_64.io-github-autotest-qemu.numa_node_affinity.q35: STARTED
 (1/6) Host_RHEL.m9.u5.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.x86_64.io-github-autotest-qemu.numa_node_affinity.q35: PASS (40.34 s)
 (2/6) Host_RHEL.m9.u5.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.x86_64.io-github-autotest-qemu.numa_prealloc_handling.q35: STARTED
 (2/6) Host_RHEL.m9.u5.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.x86_64.io-github-autotest-qemu.numa_prealloc_handling.q35: PASS (7.32 s)
 (3/6) Host_RHEL.m9.u5.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.x86_64.io-github-autotest-qemu.numa_prealloc_threads.q35: STARTED
 (3/6) Host_RHEL.m9.u5.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.x86_64.io-github-autotest-qemu.numa_prealloc_threads.q35: PASS (178.57 s)
 (4/6) Host_RHEL.m9.u5.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.x86_64.io-github-autotest-qemu.numa_prealloc_threads.sandbox_off.q35: STARTED
 (4/6) Host_RHEL.m9.u5.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.x86_64.io-github-autotest-qemu.numa_prealloc_threads.sandbox_off.q35: PASS (185.64 s)
 (5/6) Host_RHEL.m9.u5.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.x86_64.io-github-autotest-qemu.numa_prealloc_threads.boot_cpu_affinity.q35: STARTED
 (5/6) Host_RHEL.m9.u5.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.x86_64.io-github-autotest-qemu.numa_prealloc_threads.boot_cpu_affinity.q35: PASS (182.20 s)
 (6/6) Host_RHEL.m9.u5.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.x86_64.io-github-autotest-qemu.numa_prealloc_threads.boot_cpu_affinity.sandbox_off.q35: STARTED
 (6/6) Host_RHEL.m9.u5.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.5.0.x86_64.io-github-autotest-qemu.numa_prealloc_threads.boot_cpu_affinity.sandbox_off.q35: PASS (290.75 s)
RESULTS    : PASS 6 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0

mcasquer avatar Mar 19 '24 08:03 mcasquer

@yanan-fu @PaulYuuu @zhenyzha @MiriamDeng please, could you review this PR? Thanks !

mcasquer avatar Mar 19 '24 08:03 mcasquer

This is a kindly reminder, @yanan-fu @zhenyzha @MiriamDeng could you review this PR? Thanks !

mcasquer avatar Apr 25 '24 06:04 mcasquer

 (1/6) numa_prealloc_handling.arm64-pci: PASS (4.33 s)
 (2/6) numa_prealloc_threads.arm64-pci: PASS (58.96 s)
 (3/6) numa_prealloc_threads.sandbox_off.arm64-pci: PASS (54.73 s)
 (4/6) numa_prealloc_threads.boot_cpu_affinity.arm64-pci: PASS (59.50 s)
 (5/6) numa_prealloc_threads.boot_cpu_affinity.sandbox_off.arm64-pci: PASS (54.64 s)
 (6/6) numa_node_affinity.arm64-pci: CANCEL: Host only has one NUMA node, skipping test... (12.58 s)

Pass on the aarch64 platform LGTM.Acked-by: Zhenyu Zhang [email protected]

zhenyzha avatar Apr 25 '24 06:04 zhenyzha

@yanan-fu @MiriamDeng this is a kindly reminder, could this PR be merged? Thanks !

mcasquer avatar May 06 '24 05:05 mcasquer

According to "required_qemu = [7.2,)" in cfg. It's not supported on ppc and no test cases will be filtered out. INFO | Start to run test Test Suite could not be created. No test references provided nor any other arguments resolved into tests It should be the expected results. ACK

MiriamDeng avatar May 06 '24 06:05 MiriamDeng

@yanan-fu this is a kindly reminder, could this PR be merged? Thanks !

mcasquer avatar May 10 '24 07:05 mcasquer