Project

General

Profile

Actions

action #19602

closed

[tools] New ipmi backend can not switch back to sol console from root-ssh console

Added by xlai almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2017-06-06
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

In the new ipmi backend, root-ssh console can be successfully selected. And running commands under root-ssh console works fine too. However before reboot, when switching back to sol console, it fails. Job link http://147.2.212.149/tests/26. From autoinst log, it fails in finding sol needle. However the screen does not change to sol relative window, it just stays on the root-ssh screen window, so it is not able to create the relative needle.

Code to switch to sol:
sub use_sol_serial_console() {
console('root-ssh')->disable;
select_console('sol'); //fails here
set_var('SERIALDEV', '');
bmwqemu::save_vars();
resetup_console;
}

Also I have a question, when using root-ssh console, the key board interaction is via ssh pipe, the serial console is from the simulated fifo device. When switching back to sol console, the key board interaction should be re-established via ipmi, and serial console should also via ipmiconsole, right?

Actions

Also available in: Atom PDF