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

reconnect_s390: Try to collect "blocked tasks" if we are stuck on bootup #4843

Merged
merged 1 commit into from Apr 18, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 8 additions & 1 deletion lib/utils.pm
Expand Up @@ -1126,10 +1126,17 @@ sub _handle_login_not_found {
diag 'Checking login target reached';
die "login target not reached" unless $str =~ /Reached target Login Prompts/;
diag 'Checking for login prompt';
die "no login prompt found" unless $str =~ /login:/;
diag "no login prompt found" unless $str =~ /login:/;
diag 'Checking for known failure';
return record_soft_failure 'bsc#1040606 - incomplete message when LeanOS is implicitly selected instead of SLES'
if $str =~ /Welcome to SUSE Linux Enterprise 15/;
if (check_var('BACKEND', 's390x')) {
diag 'Trying to look for "blocked tasks" with magic sysrq';
console('x3270')->sequence_3270("String(\"^-w\")", "ENTER", "ENTER", "ENTER", "ENTER",);
console('x3270')->expect_3270(output_delim => 'Show Blocked State');
save_screenshot;
}

die "unknown error, system couldn't boot";
}

Expand Down