Skip to content

Skip wait_boot for autoyast installations #17721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 15, 2023

Conversation

frankenmichl
Copy link
Member

When we deploy the system with autoyast, there is no reboot after the installation and wait_boot never sees a grub menu, so let's skip this in this case.

This will fix https://openqa.suse.de/tests/11998046 and similar

@frankenmichl frankenmichl force-pushed the fix_autoyast_wait_boot branch from 68792da to 3d17a57 Compare September 8, 2023 11:00
@mdoucha
Copy link
Contributor

mdoucha commented Sep 8, 2023

Verification run: https://openqa.suse.de/tests/12048649

@frankenmichl frankenmichl force-pushed the fix_autoyast_wait_boot branch from 3d17a57 to 59a7f35 Compare September 8, 2023 12:19
When we deploy the system with autoyast, there is no reboot after the
installation and wait_boot never sees a grub menu, so let's skip this in
this case.

Signed-off-by: Michael Moese <[email protected]>
@frankenmichl frankenmichl force-pushed the fix_autoyast_wait_boot branch from 59a7f35 to 8470f59 Compare September 8, 2023 12:28
mdoucha
mdoucha previously requested changes Sep 8, 2023
@mdoucha mdoucha dismissed their stale review September 8, 2023 14:43

I got the code wrong.

@mdoucha
Copy link
Contributor

mdoucha commented Sep 8, 2023

@Julie-CAO Please have a look whether this will work correctly with VIRT_AUTOTEST.

@Julie-CAO
Copy link
Contributor

@Julie-CAO Please have a look whether this will work correctly with VIRT_AUTOTEST.

thanks for asking. tests/autoyast/console.pm is not called by virt tests, so VIRT_AUTOTEST is not required here.

@frankenmichl
Copy link
Member Author

So we can keep this a bit simpler

Copy link
Contributor

@mdoucha mdoucha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The first comment is redundant but otherwise LGTM.

@mdoucha
Copy link
Contributor

mdoucha commented Sep 11, 2023

New verification run: https://openqa.suse.de/tests/12078155

@Martchus
Copy link
Contributor

Yes, the commits should be squashed. You can do this directly on GitHub when merging.

@frankenmichl frankenmichl merged commit ba9628d into os-autoinst:master Sep 15, 2023
@frankenmichl frankenmichl deleted the fix_autoyast_wait_boot branch September 15, 2023 12:01
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.

4 participants