op-test icon indicating copy to clipboard operation
op-test copied to clipboard

Setting the prompt or logging in for the console was not successful, check credentials and review the following for more details

Open abdhaleegit opened this issue 3 years ago • 0 comments

We are seeing this https://github.com/open-power/op-test/issues/587 again and the lpar was not in panic state before the run.

kexec -l --initrd /boot/initramfs-5.12.0-rc2-next-20210309-autotest.img --command-line="BOOT_IMAGE=/boot/vmlinuz-4.18.0-147.el8.ppc64le root=UUID=664cd220-b5e4-4fa4-85fe-4f6b71456669 ro crashkernel=2048M biosdevname=0" /boot/vmlinuz-5.12.0-rc2-next-20210309-autotest
Modified cmdline:BOOT_IMAGE=/boot/vmlinuz-4.18.0-147.el8.ppc64le root=UUID=664cd220-b5e4-4fa4-85fe-4f6b71456669 ro crashkernel=2048M biosdevname=0 
[console-expect]#echo $?
echo $?
0
[console-expect]#^M~.




Red Hat Enterprise Linux 8.1 (Ootpa)
Kernel 4.18.0-147.el8.ppc64le on an ppc64le

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

ltc1 login: 



Red Hat Enterprise Linux 8.1 (Ootpa)
Kernel 4.18.0-147.el8.ppc64le on an ppc64le

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

ltc1 login: root

root

2021-03-09 18:42:01,362:op-test.common.OpTestUtil:get_login:WARNING:OpTestSystem Problem with the login and/or password prompt, raised Exception ConsoleSettings but continuing
ERROR

======================================================================
ERROR: runTest (testcases.InstallUpstreamKernel.InstallUpstreamKernel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/jenkins_home/workspace/ioci@2/testcases/InstallUpstreamKernel.py", line 147, in runTest
    raw_pty = self.cv_SYSTEM.console.get_console()
  File "/home/jenkins/jenkins_home/workspace/ioci@2/common/OpTestHMC.py", line 487, in get_console
    None, self.system.block_setup_term)
  File "/home/jenkins/jenkins_home/workspace/ioci@2/common/OpTestUtil.py", line 1490, in setup_term
    system_obj.cv_HOST, term_obj, pty, self.build_prompt(system_obj.prompt))
  File "/home/jenkins/jenkins_home/workspace/ioci@2/common/OpTestUtil.py", line 1299, in get_login
    msg="Problem with the login and/or password prompt, probably a connection or credential issue, retry")
common.Exceptions.ConsoleSettings: Setting the prompt or logging in for the console was not successful, check credentials and review the following for more details
Expect Before Buffer="root

"
Expect After Buffer="<class 'pexpect.exceptions.TIMEOUT'>" 
Message="Problem with the login and/or password prompt, probably a connection or credential issue, retry"

----------------------------------------------------------------------
Ran 1 test in 2323.712s

FAILED (errors=1)
2021-03-09 18:42:03,367:op-test:<module>:INFO:Exit with Result errors="1" and failures="0"
2021-03-09 18:42:03,368:op-test.common.OpTestUtil:cleanup:INFO:OpTestSystem Starting to Gather ESEL's
2021-03-09 18:42:03,369:op-test.common.OpTestUtil:dump_versions:INFO:Log Location: /home/jenkins/jenkins_home/workspace/ioci@2/test-reports/test-run-20210309180053/*debug*
2021-03-09 18:42:03,369:op-test.common.OpTestUtil:dump_versions:INFO:

abdhaleegit avatar Mar 12 '21 12:03 abdhaleegit