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

DLPAR : taking hmc console timesout

Open abdhaleegit opened this issue 3 years ago • 0 comments

+ ./op-test --run-suite dlpario-suite -c ./machine_optest.conf
2021-08-30 19:40:49,292:op-test:setUpLoggerFile:INFO:Preparing to set location of Log File to /home/jenkins/jenkins_home/workspace/ioBot@9/test-reports/test-run-20210830194049/20210831004049292873.main.log
2021-08-30 19:40:49,293:op-test:setUpLoggerFile:INFO:Log file: /home/jenkins/jenkins_home/workspace/ioBot@9/test-reports/test-run-20210830194049/20210831004049292873.main.log
2021-08-30 19:40:49,293:op-test:setUpLoggerDebugFile:INFO:Preparing to set location of Debug Log File to /home/jenkins/jenkins_home/workspace/ioBot@9/test-reports/test-run-20210830194049/20210831004049293322.debug.log
2021-08-30 19:40:49,293:op-test:setUpLoggerDebugFile:INFO:Debug Log file: /home/jenkins/jenkins_home/workspace/ioBot@9/test-reports/test-run-20210830194049/20210831004049293322.debug.log
2021-08-30 19:40:49,293:op-test:do_testing_setup:INFO:TestCase Log files: /home/jenkins/jenkins_home/workspace/ioBot@9/test-reports/test-run-20210830194049/*
2021-08-30 19:40:49,293:op-test:do_testing_setup:INFO:StreamHandler setup normal
2021-08-30 19:41:02,169:op-test.common.OpTestHMC:connect:INFO:De-activating the console
Logs in: /home/jenkins/jenkins_home/workspace/ioBot@9/test-reports/test-run-20210830194049
Disabling the firewall before running any FSP commands
Established Connection with FSP: ltcden11-fsp1 
command-line line 0: Unsupported option "afstokenpassing"


~.
~.Traceback (most recent call last):
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/OpTestConfiguration.py", line 862, in objs
    hmc.set_system(self.op_system)
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestHMC.py", line 332, in set_system
    self.console.set_system(system)
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestHMC.py", line 405, in set_system
    self.pty = self.get_console()
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestHMC.py", line 518, in get_console
    self.connect(logger=logger)
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestHMC.py", line 469, in connect
    self.deactivate_lpar_console()
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestHMC.py", line 152, in deactivate_lpar_console
    (self.mg_system, self.lpar_name), timeout=10)
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestSSH.py", line 225, in run_command
    return self.util.run_command(self, command, timeout, retry)
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestUtil.py", line 1611, in run_command
    output = self.try_command(term_obj, command, timeout)
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestUtil.py", line 1631, in try_command
    pty = term_obj.get_console()
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestSSH.py", line 205, in get_console
    self.connect(logger)
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestSSH.py", line 185, in connect
    self.check_set_term()
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestSSH.py", line 201, in check_set_term
    self, setup_term_flag)
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestUtil.py", line 1477, in setup_term
    msg="Getting login and sudo not successful, probably 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="
~."
Expect After Buffer="<class 'pexpect.exceptions.EOF'>" 
Message="Getting login and sudo not successful, probably connection or credential issue, retry"
2021-08-30 19:41:17,510:op-test.common.OpTestUtil:cleanup:INFO:OpTestSystem Starting to Gather ESEL's
2021-08-30 19:41:17,510:op-test.common.OpTestUtil:dump_versions:INFO:Log Location: /home/jenkins/jenkins_home/workspace/ioBot@9/test-reports/test-run-20210830194049/*debug*
2021-08-30 19:41:17,510:op-test.common.OpTestUtil:dump_versions:INFO:
----------------------------------------------------------
OpTestSystem Firmware Versions Tested
(if flashed things like skiboot.lid, may not be accurate)
----------------------------------------------------------
None
----------------------------------------------------------
----------------------------------------------------------

Traceback (most recent call last):
  File "./op-test", line 185, in <module>
    OpTestConfiguration.conf.objs()
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/OpTestConfiguration.py", line 998, in objs
    raise e
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/OpTestConfiguration.py", line 862, in objs
    hmc.set_system(self.op_system)
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestHMC.py", line 332, in set_system
    self.console.set_system(system)
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestHMC.py", line 405, in set_system
    self.pty = self.get_console()
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestHMC.py", line 518, in get_console
    self.connect(logger=logger)
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestHMC.py", line 469, in connect
    self.deactivate_lpar_console()
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestHMC.py", line 152, in deactivate_lpar_console
    (self.mg_system, self.lpar_name), timeout=10)
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestSSH.py", line 225, in run_command
    return self.util.run_command(self, command, timeout, retry)
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestUtil.py", line 1611, in run_command
    output = self.try_command(term_obj, command, timeout)
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestUtil.py", line 1631, in try_command
    pty = term_obj.get_console()
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestSSH.py", line 205, in get_console
    self.connect(logger)
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestSSH.py", line 185, in connect
    self.check_set_term()
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestSSH.py", line 201, in check_set_term
    self, setup_term_flag)
  File "/home/jenkins/jenkins_home/workspace/ioBot@9/common/OpTestUtil.py", line 1477, in setup_term
    msg="Getting login and sudo not successful, probably 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="
~."
Expect After Buffer="<class 'pexpect.exceptions.EOF'>" 
Message="Getting login and sudo not successful, probably connection or credential issue, retry"
[Pipeline] }

abdhaleegit avatar Aug 31 '21 18:08 abdhaleegit