realmode in ubuntu_kvm_unit tests fails on Eoan

Bug #1850653 reported by Sean Feole
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Triaged
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Undecided
Unassigned
Eoan
Incomplete
Undecided
Unassigned
linux-azure (Ubuntu)
New
Undecided
Unassigned
Eoan
New
Undecided
Unassigned

Bug Description

Kernel: 5.3
Cloud: Azure
Test: ubuntu_kvm_unit_tests

realmode fails in the 5.3 kernel on Azure, I believe this may have something to do with the instances as we don't see this failure on other clouds. Only in a few cases on AWS, on baremetal.

10/25 13:50:31 DEBUG| utils:0116| Running 'kvm-ok'
10/25 13:50:31 DEBUG| utils:0153| [stdout] INFO: /dev/kvm exists
10/25 13:50:31 DEBUG| utils:0153| [stdout] KVM acceleration can be used
10/25 13:50:31 DEBUG| utils:0116| Running '/home/azure/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/realmode'
10/25 13:50:31 DEBUG| utils:0153| [stdout] BUILD_HEAD=e2c275c4
10/25 13:50:32 DEBUG| utils:0153| [stdout] timeout -k 1s --foreground 90s /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.QHy5F7j43j -smp 1 # -initrd /tmp/tmp.9RnyRFe5YU
10/25 13:50:32 DEBUG| utils:0153| [stderr] qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: null
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: shld
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: push/pop 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: push/pop 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: push/pop 3
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: push/pop 4
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: push/pop 5
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: push/pop 6
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: push/pop with high bits set in %esp
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: pusha/popa 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: pusha/popa 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: mov 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: mov 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: mov 3
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: mov 4
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: mov 5
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: cmp 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: cmp 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: cmp 3
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: add 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: add 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: sub 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: sub 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: sub 3
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: sub 4
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: xor 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: xor 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: xor 3
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: xor 4
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: pio 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: pio 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: pio 3
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: pio 4
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: pio 5
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: pio 6
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: clc
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: stc
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: cli
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: sti
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: cld
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: std
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: jnz short 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: jnz short 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: jmp short 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: jnz near 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: jnz near 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: jmp near 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: call 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: call near 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: call near 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: call far 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: call far 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: ret imm 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: retf imm 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: jmp far 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: xchg 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: xchg 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: xchg 3
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: xchg 4
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: xchg 5
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: xchg 6
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: xchg 7
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: xchg 8
10/25 13:50:33 DEBUG| utils:0153| [stdout] FAIL: iret 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: iret 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] FAIL: iret 3
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: rflags.rf
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: iret 4
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: int 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: imul 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: imul 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: imul 3
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: imul 4
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: imul 5
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: imul 6
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: mul 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: mul 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: mul 3
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: div 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: div 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: div 3
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: idiv 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: idiv 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: idiv 3
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: LOOPcc short 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: LOOPcc short 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: LOOPcc short 3
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: cbq 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: cwde 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: cwd 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: cwd 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: cdq 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: cdq 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: DAS
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: lds
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: les
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: lfs
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: lgs
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: lss
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: jcxz short 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: jcxz short 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: jcxz short 3
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: jecxz short 1
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: jecxz short 2
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: cpuid
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: ss relative addressing (1)
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: ss relative addressing (2)
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: sgdt
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: sidt
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: lahf
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: sahf
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: movsx
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: movzx
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: movsx ah
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: movzx ah
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: bswap
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: aad
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: aam
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: xlat
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: salc (1)
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: salc (2)
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: fninit
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: mov dr with mod bits
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: smsw
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: nopl
10/25 13:50:33 DEBUG| utils:0153| [stdout] PASS: xadd
10/25 13:50:34 DEBUG| utils:0153| [stdout] 1476 cycles/emulated jump instruction
10/25 13:50:35 DEBUG| utils:0153| [stdout] 1456 cycles/emulated move instruction
10/25 13:50:36 DEBUG| utils:0153| [stdout] 1397 cycles/emulated arithmetic instruction
10/25 13:50:38 DEBUG| utils:0153| [stdout] 1842 cycles/emulated memory load instruction
10/25 13:50:39 DEBUG| utils:0153| [stdout] 2051 cycles/emulated memory store instruction
10/25 13:50:41 DEBUG| utils:0153| [stdout] 2614 cycles/emulated memory RMW instruction
10/25 13:50:41 DEBUG| utils:0153| [stdout] FAIL realmode
10/25 13:50:41 ERROR| test:0414| Exception escaping from test:

Sean Feole (sfeole)
summary: - realmode in ubuntu_kvm_unit tests fails E
+ realmode in ubuntu_kvm_unit tests fails/ E-Azure
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: realmode in ubuntu_kvm_unit tests fails/ E-Azure

Spotted on Eoan bare-metal amd64 node gonzo
71. 11/01 14:00:18 DEBUG| utils:0153| [stdout] FAIL: iret 1
72. 11/01 14:00:18 DEBUG| utils:0153| [stdout] PASS: iret 2
73. 11/01 14:00:18 DEBUG| utils:0153| [stdout] FAIL: iret 3

tags: added: ubuntu-kvm-unit-tests
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1850653

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu Eoan):
status: New → Incomplete
Revision history for this message
Sean Feole (sfeole) wrote : Re: realmode in ubuntu_kvm_unit tests fails/ E-Azure

Note Failure exists on metal as well as in the clouds.

11/14 22:06:43 DEBUG| utils:0153| [stdout] 3 cycles/emulated jump instruction
11/14 22:06:43 DEBUG| utils:0153| [stdout] 0 cycles/emulated move instruction
11/14 22:06:43 DEBUG| utils:0153| [stdout] 0 cycles/emulated arithmetic instruction
11/14 22:06:43 DEBUG| utils:0153| [stdout] 0 cycles/emulated memory load instruction
11/14 22:06:43 DEBUG| utils:0153| [stdout] 0 cycles/emulated memory store instruction
11/14 22:06:43 DEBUG| utils:0153| [stdout] 0 cycles/emulated memory RMW instruction
11/14 22:06:43 DEBUG| utils:0153| [stdout] FAIL realmode

summary: - realmode in ubuntu_kvm_unit tests fails/ E-Azure
+ realmode in ubuntu_kvm_unit tests fails
Changed in ubuntu-kernel-tests:
status: Confirmed → Triaged
tags: added: sru-20191111
tags: added: metal
tags: added: generic
Po-Hsu Lin (cypressyew)
tags: added: sru-20191202
tags: added: aws
Po-Hsu Lin (cypressyew)
summary: - realmode in ubuntu_kvm_unit tests fails
+ realmode in ubuntu_kvm_unit tests fails on Eoan
Po-Hsu Lin (cypressyew)
tags: added: sru-20200316
Po-Hsu Lin (cypressyew)
tags: added: sru-20200518
tags: added: oracle
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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