Skip to content
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

Handle new mediacheck-select-device needle #5471

Merged
merged 1 commit into from
Jul 31, 2018
Merged

Handle new mediacheck-select-device needle #5471

merged 1 commit into from
Jul 31, 2018

Conversation

michelmno
Copy link
Contributor

now that linuxrc may reports a new screen with correction
https://bugzilla.suse.com/show_bug.cgi?id=1036004

need new needle as provided by os-autoinst/os-autoinst-needles-opensuse#402

validated locally in my openQA instance with ppc64/ppc64le with TW Build 602.2

@okurz
Copy link
Member

okurz commented Jul 27, 2018

Needle merged

now that linuxrc may reports a new screen with correction
https://bugzilla.suse.com/show_bug.cgi?id=1036004

WARNING: keep the insane 3600s timeout as do not know the condition that added it !

Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
@mitiao
Copy link
Contributor

mitiao commented Jul 30, 2018

LGTM, and verified links?

send_key "ret";
if (match_has_tag('mediacheck-checksum-wrong')) {
die "Checksum reported as wrong";
while ($iterations++ < 3) {
Copy link
Member

Choose a reason for hiding this comment

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

Is it kind of workaround? What is the reason to have a loop here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you @rwx788; this patch is not a workaround, the loop is present to continue to support the "old" linuxrc version for release other than TW that do not have yet support of this new screen.

@rwx788 rwx788 merged commit ee17c75 into os-autoinst:master Jul 31, 2018
@michelmno michelmno deleted the mediacheck branch August 3, 2018 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants