Project

General

Profile

Actions

action #67753

closed

reset_consoles on powerhmc backend does not work

Added by tinawang123 almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Support
Target version:
-
Start date:
2020-06-05
Due date:
% Done:

0%

Estimated time:

Description

I want to select new console (select_console 'powerhmc-ssh';) after reboot.
I set reset_consoles, it still cannot select the new console
Please check https://openqa.nue.suse.com/tests/4305741#

Actions #1

Updated by Xiaojing_liu almost 4 years ago

  • Project changed from openQA Tests to openQA Project
Actions #2

Updated by okurz almost 4 years ago

  • Category set to Support

@Xiaojing_liu can you say what your intention is with moving the ticket to "openQA Project"? What I see is that in https://openqa.nue.suse.com/tests/4305741#step/bootloader#1/3 the system is still busy loading the bootloader and just is about to reach grub in https://openqa.nue.suse.com/tests/4305741#step/bootloader#1/7 but then the test times out after 30s waiting for "powerhmc-ssh". Not sure what you intend to do at this point in the HMC session. Please update the ticket description and especially the summary as "reset_console cannot work" is certainly too generic and wrong as it is phrased because "reset_consoles" can work. I am not sure about reference jobs where reset_consoles is used with ppc64 hmc jobs though

Actions #3

Updated by Xiaojing_liu almost 4 years ago

okurz wrote:

@Xiaojing_liu can you say what your intention is with moving the ticket to "openQA Project"?

I did not look into this ticket. The reporter asked me to change this ticket to openQA project, because she did not know how to do that, then I did it.

Actions #4

Updated by tinawang123 almost 4 years ago

This is my requirement, I want to switch the console to "powerhmc-ssh" after reboot. I checked openqa test API document, I should reset_console first then switch to 'powerhmc-ssh' console. But please check my case, it cannot work. The console cannot switch. I think this is backend problem
My question is how can I switch console to "powerhmc-ssh" after reboot?

Actions #5

Updated by okurz almost 4 years ago

  • Subject changed from reset_consoles cannot work to reset_consoles on powerhmc backend does not work
  • Status changed from New to Feedback
  • Assignee set to okurz

Ok, we'll see. Please look for reference jobs where the backend is already used and compare to the test flow in these

Actions #6

Updated by tinawang123 almost 4 years ago

Please check the job: https://openqa.nue.suse.com/tests/4312185
At log:
https://openqa.nue.suse.com/tests/4312185/file/autoinst-log.txt
I diag 'reset---' at log when use 'reset_console'
[2020-06-04T10:30:05.849 CEST] [debug] tests/migration/version_switch_origin_system.pm:40 called testapi::record_info
[2020-06-04T10:30:05.849 CEST] [debug] <<< testapi::record_info(title="Version", output="VERSION=15-SP1", result="ok")
[2020-06-04T10:30:05.850 CEST] [debug] reset-----
[2020-06-04T10:30:05.851 CEST] [debug] ||| finished version_switch_origin_system migration at 2020-06-04 08:30:05 (3 s)
[2020-06-04T10:30:05.851 CEST] [debug] ||| starting bootloader tests/installation/bootloader.pm
[2020-06-04T10:30:05.853 CEST] [debug] tests/installation/bootloader.pm:45 called bootloader_pvm::boot_pvm -> lib/bootloader_pvm.pm:144 called bootloader_pvm::boot_hmc_pvm -> lib/bootloader_pvm.pm:153 called testapi::select_console
[2020-06-04T10:30:05.853 CEST] [debug] <<< testapi::select_console(testapi_console="powerhmc-ssh")
/usr/lib/os-autoinst/consoles/vnc_base.pm:62:{
"ikvm" => 0,
"port" => 57013,
"hostname" => "localhost"
}
[2020-06-04T10:30:05.999 CEST] [debug] Connected to Xvnc - PID 496890
icewm PID is 496912
[2020-06-04T10:30:07.004 CEST] [debug] Wait for SSH on host powerhmc1.arch.suse.de (timeout: 120)
xterm PID is 496914
[2020-06-04T10:30:07.060 CEST] [debug] led state 0 0 0 -261
[2020-06-04T10:30:07.070 CEST] [debug] activate_console, console: powerhmc-ssh, type: ssh
[2020-06-04T10:30:07.070 CEST] [debug] tests/installation/bootloader.pm:45 called bootloader_pvm::boot_pvm -> lib/bootloader_pvm.pm:144 called bootloader_pvm::boot_hmc_pvm -> lib/bootloader_pvm.pm:153 called testapi::select_console -> lib/susedistribution.pm:800 called testapi::assert_screen

It cannot switch to 'powerhmc-ssh'

Actions #7

Updated by okurz almost 4 years ago

Yes, I got that. I mean that you please look for other examples where the same backend is used, that is not migration jobs

Actions #8

Updated by tinawang123 almost 4 years ago

I think other team don't need reboot to powerhmc-ssh console, I checked function team's case: https://openqa.nue.suse.com/tests/4308205# They just need login the system again. But we need reboot to powerhmc-ssh console, to choose 'network' to boot the system, so we can do migration. I will check more.

Actions #9

Updated by okurz almost 4 years ago

  • Status changed from Feedback to Resolved

no response

Actions

Also available in: Atom PDF