emulator test in ubuntu_kvm_unit_tests timeout on T

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

Bug Description

# TESTNAME=emulator TIMEOUT=90s ACCEL= ./x86/run x86/emulator.flat -smp 1
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 x86/emulator.flat -smp 1 # -initrd /tmp/tmp.YBoMEFy5dN
enabling apic
paging enabled
cr0 = 80010011
cr3 = 45b000
cr4 = 20
PASS: mov reg, r/m (1)
PASS: or
PASS: add
PASS: xor
PASS: sub
PASS: adc(0)
PASS: adc(0)
PASS: sbb(0)
PASS: sbb(1)
PASS: and
PASS: test
PASS: repe/cmpsb (1)
PASS: repe/cmpsb (1.zf)
PASS: repe/cmpsw (1)
PASS: repe/cmpll (1)
PASS: repe/cmpsq (1)
PASS: repe/cmpsb (2)
PASS: repe/cmpsw (2)
PASS: repe/cmpll (2)
PASS: repe/cmpsq (2)
PASS: repe/cmpsb (1)
PASS: repe/cmpsb (1.zf)
PASS: repe/cmpsw (1)
PASS: repe/cmpll (1)
PASS: repe/cmpsq (1)
PASS: repe/cmpsb (2)
PASS: repe/cmpsw (2)
PASS: repe/cmpll (2)
PASS: repe/cmpsq (2)
PASS: scasb match
PASS: scasb mismatch
PASS: scasw match
PASS: scasw mismatch
PASS: scasd match
PASS: scasd mismatch
PASS: scasq match
PASS: scasq mismatch
PASS: push $imm8
PASS: push %reg
PASS: push mem
PASS: push $imm
PASS: pop mem
PASS: pop mem (2)
PASS: pop reg
PASS: ret
PASS: leave
PASS: enter
PASS: xchg reg, r/m (1)
PASS: xchg reg, r/m (2)
PASS: xchg reg, r/m (3)
PASS: xchg reg, r/m (4)
PASS: xadd reg, r/m (1)
PASS: xadd reg, r/m (2)
PASS: xadd reg, r/m (3)
PASS: xadd reg, r/m (4)
PASS: mov %cr8
PASS: smsw (1)
PASS: smsw (2)
PASS: smsw (3)
before 80010011 after 80010019
PASS: lmsw (1)
before 80010011 after 80010011
PASS: lmsw (2)
PASS: lmsw (3)
PASS: ljmp
PASS: outsb up
PASS: outsb down
PASS: incl
PASS: decl
PASS: incb
PASS: decb
PASS: lock incl
PASS: lock decl
PASS: lock incb
PASS: lock decb
PASS: lock negl
PASS: lock notl
PASS: lock negb
PASS: lock notb
PASS: btcl imm8, r/m
PASS: btcl reg, r/m
PASS: btcq reg, r/m
PASS: bsfw r/m, reg
PASS: bsfl r/m, reg
PASS: bsfq r/m, reg
PASS: bsfq r/m, reg
PASS: bsrw r/m, reg
PASS: bsrl r/m, reg
PASS: bsrq r/m, reg
PASS: bsrq r/m, reg
PASS: imul ax, mem
PASS: imul eax, mem
PASS: imul rax, mem
PASS: imul ax, mem, imm8
PASS: imul eax, mem, imm8
PASS: imul rax, mem, imm8
PASS: imul ax, mem, imm
PASS: imul eax, mem, imm
PASS: imul rax, mem, imm
PASS: divq (fault)
PASS: divq (1)
PASS: mulb mem
PASS: mulw mem
PASS: mull mem
PASS: mulq mem
PASS: movdqu (read)
PASS: movdqu (write)
KVM internal error. Suberror: 1
emulation failure
RAX=000000000000000a RBX=ffffffffffffe000 RCX=00000000000003fd RDX=00000000000003f8
RSI=0000000000000029 RDI=000000000000000a RBP=0000000000452b40 RSP=0000000000452b20
R8 =0000000000410d68 R9 =00000000000003f8 R10=0000000000410d68 R11=000000000000000d
R12=ffffffffffffe000 R13=ffffffffffffd000 R14=1111111111111111 R15=3333333333333333
RIP=00000000004007fa RFL=00000006 [-----P-] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0010 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA]
CS =0008 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA]
SS =0010 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA]
DS =0010 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA]
FS =0010 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA]
GS =0010 0000000000451bc0 ffffffff 00c09300 DPL=0 DS [-WA]
LDT=0000 0000000000000000 0000ffff 00008200 DPL=0 LDT
TR =0080 000000000040e48a 0000ffff 00008b00 DPL=0 TSS64-busy
GDT= 000000000040e00a 0000047f
IDT= 0000000000000000 00000fff
CR0=80010011 CR2=0000000000000000 CR3=000000000045b000 CR4=00000220
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000500
Code=00 00 c7 45 e8 03 00 00 00 c7 45 ec 04 00 00 00 0f 28 45 e0 <0f> 29 03 48 8d 75 e0 48 89 df e8 9e fb ff ff 0f b6 f0 bf e7 05 41 00 b8 00 00 00 00 e8 82
qemu: terminating on signal 15 from pid 14717

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-169-generic 3.13.0-169.219
ProcVersionSignature: User Name 3.13.0-169.219-generic 3.13.11-ckt39
Uname: Linux 3.13.0-169-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.29
Architecture: amd64
Date: Thu Apr 11 06:21:10 2019
SourcePackage: linux-signed
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Failed on AWS 5.0 Bionic as well.

 PASS: mov null, %ss
 FAIL: mov null, %ss (with ss.rpl != cpl)
 PASS: ltr
 PASS: cmovnel
 SKIP: skipping register-only tests, use kvm.forced_emulation_prefix=1 to enable
 PASS: push16
 PASS: cross-page mmio read
 PASS: cross-page mmio write
 PASS: string_io_mmio
 qemu-system-x86_64: terminating on signal 15 from pid 11994 (timeout)
 FAIL emulator (timeout; duration=90s)

Test report:
https://pastebin.ubuntu.com/p/KrsPrkY9fm/

tags: added: sru-20190701
tags: added: ubuntu-kvm-unit-tests
summary: - emulator test in ubuntu_kvm_unit_tests timeout on Trusty
+ emulator test in ubuntu_kvm_unit_tests timeout on T, AWS-edge
tags: added: aws
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: emulator test in ubuntu_kvm_unit_tests timeout on T, AWS-edge

For comment 2, this test should not be tested on AWS (test case issue). I will revert the tags.

tags: removed: aws
tags: removed: sru-20190701
summary: - emulator test in ubuntu_kvm_unit_tests timeout on T, AWS-edge
+ emulator test in ubuntu_kvm_unit_tests timeout on T
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.