Actions
action #34699
open[qe-core][functional][ipmi] access to serial log during installation
Status:
New
Priority:
Normal
Assignee:
-
Category:
Enhancement to existing tests
Target version:
Start date:
2018-04-10
Due date:
% Done:
0%
Estimated time:
Difficulty:
Description
Acceptance criteria¶
- AC1: ipmi tests have access to the serial port for forwarding output, e.g. within a post_fail_hook during installation
Suggestions¶
- Setup an IPMI worker connection to a local openQA development environment
- Make a test fail explicitly in early stages and observe if the post_fail_hook is able to access the serial port, e.g. in script_run calls
- Maybe by chance it just works now, if not - try to understand why it works in later steps, e.g. https://openqa.suse.de/tests/1603718#step/logs_from_installation_system/9 but not in earlier steps
- Adjust test code accordingly, e.g. if we need to activate a console or something
Further details¶
[22 Sep 2017 08:58:32] <okurz> https://openqa.suse.de/tests/1181415#step/partitioning_firstdisk/4 looks to me as if the second hard disk needs to be unselected at first now?
[22 Sep 2017 09:01:26] <coolo> there are quite some SLES on it :)
[22 Sep 2017 09:02:46] <okurz> as in: a bug…
[22 Sep 2017 09:03:11] <coolo> do we have yast logs? if so, shot :)
[22 Sep 2017 09:03:37] <okurz> we don't
[22 Sep 2017 09:08:57] <okurz> coolo: idea why the serial output is missing? can we improve the debugging about serial port forwarding on ipmi?
[22 Sep 2017 09:11:20] <coolo> okurz: I don't think we even try serial port forwarding on installation
[22 Sep 2017 09:15:53] <coolo> okurz: if we start installation with ssh=1 we could open a connection
[22 Sep 2017 09:16:31] <okurz> I guess you mean sshd=1 ?
[…]
[22 Sep 2017 09:17:27] <coolo> anyway, tests/installation/install_and_reboot.pm: use_ssh_serial_console;
[22 Sep 2017 09:17:33] <coolo> this might too late for your failures
[22 Sep 2017 09:18:05] <coolo> it was good enough on sp3 when installation just worked :)
[22 Sep 2017 09:18:30] <okurz> ssh=1 -> start installation and wait for connection over ssh to conduct installation over ssh, sshd=1 -> just spawn a ssh server in the installer system, as we do for zVM where we conduct the installation over VNC
Always latest in this scenario
Actions