VM doesn't boot after installation until an input event is received

Bug #1700557 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Test Case:
1. Boot an artful desktop ISO in a VM
2. Wait until it boots to the live session

Expected result
It boots to the live session

Actual result
It hangs on boot just before the splash screen is displayed
Moving a mouse over the window of the VM or pressing a key makes it resume.

===

Automated tests of preseeded installation are failing in UTAH. The VMs does not reboot unless a key is pressed. It started failing on 2017-06-20.

Only preseeded installation of desktop images are affected
preseeded installation of server image.
---
ApportVersion: 2.20.5-0ubuntu5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: ubuntu 1880 F.... pulseaudio
 /dev/snd/controlC1: ubuntu 1880 F.... pulseaudio
 /dev/snd/controlC0: ubuntu 1880 F.... pulseaudio
CasperVersion: 1.383
DistroRelease: Ubuntu 17.10
IwConfig:
 ens3 no wireless extensions.

 lo no wireless extensions.
LiveMediaBuild: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170703)
Lsusb: Error: command ['lsusb'] failed with exit code 1:
MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
Package: linux (not installed)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 qxldrmfb
ProcKernelCmdLine: file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz debug splash --- keyboard-configuration/layoutcode=fr keyboard-configuration/variantcode=oss
ProcVersionSignature: Ubuntu 4.10.0-26.30-generic 4.10.17
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.10.0-26-generic N/A
 linux-backports-modules-4.10.0-26-generic N/A
 linux-firmware 1.167
RfKill:

Tags: artful
Uname: Linux 4.10.0-26-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.10.2-1ubuntu1
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-i440fx-zesty
dmi.modalias: dmi:bvnSeaBIOS:bvr1.10.2-1ubuntu1:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-zesty:cvnQEMU:ct1:cvrpc-i440fx-zesty:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.version: pc-i440fx-zesty
dmi.sys.vendor: QEMU

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

diff between 20170620 (pass) and 20170620 (fail)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Boot logs from a VM that hangs on boot.

There is this gap in the logs. The VM resume when I moved the mouse over the console of the VM.

[ 1.505952] e1000 0000:00:03.0 ens3: renamed from eth0
[ 14.029827] random: fast init done

summary: - VM doesn't reboot after installation unless a key is pressed
+ VM doesn't reboot after installation until an input event is received
no longer affects: utah
Changed in linux (Ubuntu):
importance: Undecided → High
summary: - VM doesn't reboot after installation until an input event is received
+ VM doesn't boot after installation until an input event is received
Revision history for this message
Joseph Salisbury (jsalisbury) 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 1700557

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
description: updated
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

And the same happens in the lab. After installation the VM hangs until it receives an input event. Same gap in the logs

[ 1.776465] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x256f21accd7, max_idle_ns: 440795301583 ns
[ 59.357199] random: fast init done

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected artful
description: updated
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : CRDA.txt

apport information

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : JournalErrors.txt

apport information

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : Lspci.txt

apport information

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : ProcModules.txt

apport information

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : UdevDb.txt

apport information

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
description: updated
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.