Skip to content

tests: wait for the boot to finish in the boot smoke - #399

Open
martinpitt wants to merge 2 commits into
amutable:mainfrom
martinpitt:boot-smoke-wait-for-startup
Open

martinpitt wants to merge 2 commits into
amutable:mainfrom
martinpitt:boot-smoke-wait-for-startup

Conversation

@martinpitt

Copy link
Copy Markdown
Member

The autologin shell comes up as soon as systemd-user-sessions.service is
done, which is way earlier than "boot is done". The smoke then often saw
state "starting" and failed as that was not an accepted state.

Wait for the boot to finish, with a timeout, and show the pending jobs
if it does not settle.

Signed-off-by: Martin Pitt martin@amutable.com


This started flaking very often recently, here or here

The next commit also needs that logic.

Signed-off-by: Martin Pitt <martin@amutable.com>
The autologin shell comes up as soon as systemd-user-sessions.service is
done, which is way earlier than "boot is done". The smoke then often saw
state "starting" and failed as that was not an accepted state.

Wait for the boot to finish, with a timeout, and show the pending jobs
if it does not settle.

Signed-off-by: Martin Pitt <martin@amutable.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant