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

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

Open
abdhaleegit opened this issue Mar 12, 2021 · 0 comments

Comments

@abdhaleegit
Copy link
Collaborator

We are seeing this #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 added a commit to abdhaleegit/op-test-framework that referenced this issue Jun 14, 2021
this patch fixes open-power#615

login was hung and this fixes the issue

Signed-off-by: Abdul Haleem <[email protected]>
sacsant added a commit to sacsant/op-test that referenced this issue Jun 14, 2021
 - Increase stalltime to handle console login, fixes hung at login prompt issue
   open-power#615
 - OpTestUtil.py : get_login fails due to timeout (Issue 626)

Signed-off-by: Abdul Haleem <[email protected]>
sacsant added a commit to sacsant/op-test that referenced this issue Jun 14, 2021
this patch fixes open-power#615

login was hung and this fixes the issue

Signed-off-by: Abdul Haleem <[email protected]>
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

No branches or pull requests

1 participant