Another note is that although this does not fix the hang on KVM instance, but I can see this test passed on B-AWS bare metals (was failing on previous cycle)
Instance c5.metal 4.15.0-1091.96 AWS Test failed with timeout https://pastebin.ubuntu.com/p/b77pbFdjf7/
4.15.0-1093.99 AWS Test passed 6. 01/22 06:24:42 DEBUG| utils:0153| [stdout] timeout -k 1s --foreground 30 /usr/bin/qemu-system-x86_64 -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.lGWO5mvwC6 -smp 1 -cpu host,+vmx -append vmx_nm_test # -initrd /tmp/tmp.zlSuqJDX9u 7. 01/22 06:24:42 DEBUG| utils:0153| [stdout] enabling apic 8. 01/22 06:24:42 DEBUG| utils:0153| [stdout] paging enabled 9. 01/22 06:24:42 DEBUG| utils:0153| [stdout] cr0 = 80010011 10. 01/22 06:24:42 DEBUG| utils:0153| [stdout] cr3 = 477000 11. 01/22 06:24:42 DEBUG| utils:0153| [stdout] cr4 = 20 12. 01/22 06:24:42 DEBUG| utils:0153| [stdout] 13. 01/22 06:24:42 DEBUG| utils:0153| [stdout] Test suite: vmx_nm_test 14. 01/22 06:24:42 DEBUG| utils:0153| [stdout] PASS: fnop with CR0.TS set in L2 triggers #NM VM-exit to L1 15. 01/22 06:24:42 DEBUG| utils:0153| [stdout] PASS: fnop with CR0.EM set in L2 triggers #NM VM-exit to L1 16. 01/22 06:24:42 DEBUG| utils:0153| [stdout] SUMMARY: 9 tests 17. 01/22 06:24:42 DEBUG| utils:0153| [stdout] PASS vmx_nm_test (9 tests)
Another note is that although this does not fix the hang on KVM instance, but I can see this test passed on B-AWS bare metals (was failing on previous cycle)
Instance c5.metal /pastebin. ubuntu. com/p/b77pbFdjf 7/
4.15.0-1091.96 AWS
Test failed with timeout
https:/
4.15.0-1093.99 AWS qemu-system- x86_64 -nodefaults -device pc-testdev -device isa-debug- exit,iobase= 0xf4,iosize= 0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.lGWO5mvwC6 -smp 1 -cpu host,+vmx -append vmx_nm_test # -initrd /tmp/tmp.zlSuqJDX9u
Test passed
6. 01/22 06:24:42 DEBUG| utils:0153| [stdout] timeout -k 1s --foreground 30 /usr/bin/
7. 01/22 06:24:42 DEBUG| utils:0153| [stdout] enabling apic
8. 01/22 06:24:42 DEBUG| utils:0153| [stdout] paging enabled
9. 01/22 06:24:42 DEBUG| utils:0153| [stdout] cr0 = 80010011
10. 01/22 06:24:42 DEBUG| utils:0153| [stdout] cr3 = 477000
11. 01/22 06:24:42 DEBUG| utils:0153| [stdout] cr4 = 20
12. 01/22 06:24:42 DEBUG| utils:0153| [stdout]
13. 01/22 06:24:42 DEBUG| utils:0153| [stdout] Test suite: vmx_nm_test
14. 01/22 06:24:42 DEBUG| utils:0153| [stdout] PASS: fnop with CR0.TS set in L2 triggers #NM VM-exit to L1
15. 01/22 06:24:42 DEBUG| utils:0153| [stdout] PASS: fnop with CR0.EM set in L2 triggers #NM VM-exit to L1
16. 01/22 06:24:42 DEBUG| utils:0153| [stdout] SUMMARY: 9 tests
17. 01/22 06:24:42 DEBUG| utils:0153| [stdout] PASS vmx_nm_test (9 tests)