hypercall in ubuntu_kvm_unit_test failed with "Unhandled exception 6 #UD at ip 0000000000400314" with J-realtime on openstack AMD64

Bug #2022893 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux-realtime (Ubuntu)
New
Undecided
Unassigned

Bug Description

hypercall test in ubuntu_kvm_unit_test will fail with J-realtime on openstack amd64 instance. This issue can be seen after we start testing on openstack with 5.15.0-1036.39 in sru-20230320.

Test log:
 Running '/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/hypercall'
 BUILD_HEAD=d8edb59a
 timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=tcg -kernel /tmp/tmp.Zn8ANQZd6Q -smp 1 # -initrd /tmp/tmp.YdHh1YcSqn
 enabling apic
 smp: waiting for 0 APs
 Unhandled exception 6 #UD at ip 0000000000400314
 error_code=0000 rflags=00000046 cs=00000008
 rax=00000000ffffffff rcx=00000000c0010007 rdx=00000000005110c0 rbx=0000000000000001
 rbp=00000000005110a0 rsi=0000000000511700 rdi=0000000000000001
  r8=00000000c0010206 r9=0000000000000000 r10=000000000000000d r11=0000000000000000
 r12=0000000000000000 r13=0000000000000000 r14=0000000000000000 r15=0000000000000000
 cr0=0000000080000011 cr2=0000000000000000 cr3=000000000040c000 cr4=0000000000000020
 cr8=0000000000000000
     STACK: @400314 40021d
 FAIL hypercall

This issue still exist with the latest upstream kvm-unit-tests code (02d8befe99f8)
It's worthy to note that this test has passed with j/ibm on openstack amd64.

Po-Hsu Lin (cypressyew)
description: updated
Po-Hsu Lin (cypressyew)
description: updated
Po-Hsu Lin (cypressyew)
tags: added: ubuntu-kvm-unit-tests
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.