Project

General

Profile

action #12926

Can not get ipmi serial output correctly.

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
2016-07-29
Due date:
% Done:

100%

Estimated time:
Difficulty:

Description

CASE FAILURES:

Job link: https://openqa.suse.de/tests/overview?distri=sle&version=12-SP2&build=2016&groupid=46

Testsuites:

*gi-guest_sles12sp2-on-host_sles12sp2-kvm:

Fail stage: host installation
Fail reason: what are typed out by type_string is not complete
At the last step of installation , 'install and reboot', command 'save_y2logs /tmp/y2logs.tar.bz2 ' is typed to 'save_y2lgs /tmp/y2logs.tar.bz2' which results to 'command y2lgs not found' and exit

*gi-guest_sles11sp4-on-host_sles12sp2-kvm

Fail stage: run the first script after login on the newly installed system
Fail reason: Seems unstable serial
Did not get the check code on serial for upload logs, but the previous check code of our virt code was got.

Logs:
20:01:14.5759 24169 <<< testapi::type_string(string='(source /usr/share/qa/virtautolib/lib/virtlib;update_virt_rpms off on off 2>&1 | tee /tmp/update_virt_rpms.log ; echo CMD_FINISHED-45346) 2>&1 | tee -a /dev/ttyS1
', max_interval=250)
20:01:26.2177 Debug: /var/lib/openqa/share/tests/sle/tests/virt_autotest/install_package.pm:44 called virt_autotest_base::execute_script_run
20:01:26.2182 24169 <<< testapi::wait_serial(regex='CMD_FINISHED-45346', timeout=7200)
20:02:02.2913 24169 >>> testapi::wait_serial: CMD_FINISHED-45346: ok

20:02:02.4125 24169 <<< testapi::type_string(string='curl --form upload=@/tmp/update_virt_rpms.log --form upname=install_package-update_virt_rpms.log http://10.162.0.12:20013/JI6Pc6TclLAoD8J5/uploadlog/update_virt_rpms.log; echo CUMYV-$?- > /dev/ttyS1', max_interval=250)
20:02:15.7595 Debug: /var/lib/openqa/share/tests/sle/tests/virt_autotest/install_package.pm:47 called testapi::upload_logs
20:02:15.7597 24169 <<< testapi::send_key(key='ret')
20:02:15.9613 Debug: /var/lib/openqa/share/tests/sle/tests/virt_autotest/install_package.pm:47 called testapi::upload_logs
20:02:15.9617 24169 <<< testapi::wait_serial(regex='CUMYV-\d+-', timeout=90)
20:06:46.7188 24169 >>> testapi::wait_serial: CUMYV-\d+-: fail

*gi-guest_sles12sp1-on-host_sles12sp2-kvm

Fail stage: run the first script after login on the newly installed system
Fail reason: seems serial decode problem, the serial output after the first reboot following installation are unknown character like @

Logs:

21:46:58.4681 Debug: /var/lib/openqa/share/tests/sle/tests/virt_autotest/guest_installation_run.pm:14 called testapi::script_output
21:46:58.4683 24846 <<< testapi::script_run(name='curl -f -v http://10.162.0.12:20013/84p34tmDuUI38f1X/current_script > /tmp/scriptOdTh6.sh; echo dTNlY-$?- > /dev/ttyS1', wait=0)
21:46:58.4684 Debug: /var/lib/openqa/share/tests/sle/tests/virt_autotest/guest_installation_run.pm:14 called testapi::script_output
21:46:58.4685 24846 <<< testapi::type_string(string='curl -f -v http://10.162.0.12:20013/84p34tmDuUI38f1X/current_script > /tmp/scriptOdTh6.sh; echo dTNlY-$?- > /dev/ttyS1', max_interval=250)
21:47:06.8974 Debug: /var/lib/openqa/share/tests/sle/tests/virt_autotest/guest_installation_run.pm:14 called testapi::script_output
21:47:06.8976 24846 <<< testapi::send_key(key='ret')
21:47:07.0989 Debug: /var/lib/openqa/share/tests/sle/tests/virt_autotest/guest_installation_run.pm:14 called testapi::script_output
21:47:07.0992 24846 <<< testapi::wait_serial(regex='dTNlY-\d+-', timeout=90)
21:51:38.4801 24846 >>> testapi::wait_serial: dTNlY-\d+-: fail

*gi-guest_sles12sp2-on-host_sles12sp1-kvm

Fail stage: run the first script after login on the newly installed system
Fail reason: seems serial decode problem, the serial output after the first reboot following installation are unknown character like @

Logs:

00:06:36.8151 26070 <<< testapi::script_run(name='curl -f -v http://10.162.0.12:20013/vkUq43upmdPkRsHZ/current_script > /tmp/scriptOdTh6.sh; echo FSXE_-$?- > /dev/ttyS1', wait=0)
00:06:36.8151 Debug: /var/lib/openqa/share/tests/sle/tests/virt_autotest/guest_installation_run.pm:14 called testapi::script_output
00:06:36.8153 26070 <<< testapi::type_string(string='curl -f -v http://10.162.0.12:20013/vkUq43upmdPkRsHZ/current_script > /tmp/scriptOdTh6.sh; echo FSXE_-$?- > /dev/ttyS1', max_interval=250)
00:06:45.2365 Debug: /var/lib/openqa/share/tests/sle/tests/virt_autotest/guest_installation_run.pm:14 called testapi::script_output
00:06:45.2368 26070 <<< testapi::send_key(key='ret')
00:06:45.4379 Debug: /var/lib/openqa/share/tests/sle/tests/virt_autotest/guest_installation_run.pm:14 called testapi::script_output
00:06:45.4381 26070 <<< testapi::wait_serial(regex='FSXE_-\d+-', timeout=90)
00:11:16.9354 26070 >>> testapi::wait_serial: FSXE_-\d+-: fail


Related issues

Blocks openQA Tests - action #12982: What are typed by type_string on ipmi physical machine is not correct.Closed2016-08-02

History

#1 Updated by xlai almost 6 years ago

  • Assignee set to xlai

#2 Updated by xlai almost 6 years ago

Fix the failure that console output is not correct in the tests after the second reboot after installation, pull request https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/1609.

Another key failure is type_string error during installation that what are typed is not correct, like saaaave_y2logs, still need to investigate, will open a new issue for it.

#3 Updated by xlai almost 6 years ago

  • % Done changed from 0 to 100

Console output is not correct, fixed.

#4 Updated by okurz almost 6 years ago

  • Blocks action #12982: What are typed by type_string on ipmi physical machine is not correct. added

#5 Updated by okurz almost 6 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF