On some HMC controlled systems, InstallUpstreamKernel testcase gets stuck indefinitely at get_console() just after executing kexec -l command.
On some HMC controlled systems, InstallUpstreamKernel testcase gets stuck
indefinitely at get_console() just after executing kexec -l command.

xxxxxx login:

Red Hat Enterprise Linux 8.4 (Ootpa)
Kernel 4.18.0-305.el8.ppc64le on an ppc64le

Activate the web console with: systemctl enable --now cockpit.socket

xxxxxxx login:

Earlier theory of existing timeout value in pty.expect() comand for "login:"
not being sufficient is partially valid.

Abdul suggested that WAITTIME value of 15 seconds in pty.expect("login:")
also can cause timeouts on certain HMC managed systems.

The later approach seems much efficient in fixing this issue.
Increase the timeout value to 30.

Suggested-by: Abdul Haleem <d72979407b2438b90c42979d11f88d04d190c5d3@linux.vnet.ibm.com>
Signed-off-by: Sachin Sant <3cb3463e59fd47adefd284694e4e7b71899dd60f@linux.vnet.ibm.com>

open-power/op-test-framework,open-power/op-test-framework,open-power/op-test-framework