The fedora machine has a different ssh console prompt and additional console characters .. causing the set_term to fail to set the unique prompt
Traceback (most recent call last):
File "/data/jenkins/workspace/sandbox/install/op-test/testcases/OpTestKernelTest.py", line 198, in setUp
super(KernelBuild,self).setUp()
File "/data/jenkins/workspace/sandbox/install/op-test/testcases/OpTestKernelTest.py", line 68, in setUp
self.host_distro_name = self.util.distro_name()
File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestUtil.py", line 2227, in distro_name
res = host.host_run_command("cat /etc/os-release")
File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestHost.py", line 211, in host_run_command
return self.ssh.run_command(i_cmd, timeout, retry)
File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestSSH.py", line 225, in run_command
return self.util.run_command(self, command, timeout, retry)
File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestUtil.py", line 1815, in run_command
output = self.try_command(term_obj, command, timeout)
File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestUtil.py", line 1835, in try_command
pty = term_obj.get_console()
File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestSSH.py", line 205, in get_console
self.connect(logger)
File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestSSH.py", line 185, in connect
self.check_set_term()
File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestSSH.py", line 200, in check_set_term
self.util.setup_term(self.system, self.pty,
File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestUtil.py", line 1709, in setup_term
raise ConsoleSettings(before=pty.before, after=pty.after,
common.Exceptions.ConsoleSettings: Setting the prompt or logging in for the console was not successful, check credentials and review the following for more details
new characherts and prompt
Last login: Tue Aug 13 03:23:33 2024 from 9.40.192.121^M
^[]0;root@ltcrain4-lp2:~^G^[[32mroot@ltcrain4-lp2^[[0m:^[[32m~^[[0m#^[[0m
The fedora machine has a different ssh console prompt and additional console characters .. causing the set_term to fail to set the unique prompt
Traceback (most recent call last): File "/data/jenkins/workspace/sandbox/install/op-test/testcases/OpTestKernelTest.py", line 198, in setUp super(KernelBuild,self).setUp() File "/data/jenkins/workspace/sandbox/install/op-test/testcases/OpTestKernelTest.py", line 68, in setUp self.host_distro_name = self.util.distro_name() File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestUtil.py", line 2227, in distro_name res = host.host_run_command("cat /etc/os-release") File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestHost.py", line 211, in host_run_command return self.ssh.run_command(i_cmd, timeout, retry) File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestSSH.py", line 225, in run_command return self.util.run_command(self, command, timeout, retry) File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestUtil.py", line 1815, in run_command output = self.try_command(term_obj, command, timeout) File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestUtil.py", line 1835, in try_command pty = term_obj.get_console() File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestSSH.py", line 205, in get_console self.connect(logger) File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestSSH.py", line 185, in connect self.check_set_term() File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestSSH.py", line 200, in check_set_term self.util.setup_term(self.system, self.pty, File "/data/jenkins/workspace/sandbox/install/op-test/common/OpTestUtil.py", line 1709, in setup_term raise ConsoleSettings(before=pty.before, after=pty.after, common.Exceptions.ConsoleSettings: Setting the prompt or logging in for the console was not successful, check credentials and review the following for more details
new characherts and prompt Last login: Tue Aug 13 03:23:33 2024 from 9.40.192.121^M ^[]0;root@ltcrain4-lp2:~^G^[[32mroot@ltcrain4-lp2^[[0m:^[[32m~^[[0m#^[[0m