Project

General

Profile

Actions

action #34003

closed

[tools] Better logging and error handling in case of remote console connections in consoles or backends, e.g. ssh

Added by okurz about 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
-
Start date:
2018-03-29
Due date:
% Done:

0%

Estimated time:

Description

Motivation

See for example in gh#os-autoinst/os-autoinst-distri-opensuse#4629 we struggle a lot to find out why a select_console 'root-console' call fails for the s390x-kvm-sle12 machine using the svirt backend relying on an ssh-connection within an xterm-console within a local Xvnc server. If it fails we are mainly left with a mouse cursor on a black screen and nobody knows what is going on

Acceptance criteria

  • AC1: logs tell when a remote connection, e.g. over SSH or VNC is made
  • AC2: At least a hint is shown in logs or as thumbnail in openQA details view what could have gone wrong

Tasks

  • Research how the svirt backend conducts ssh connections using the according console
  • Add some logging with the according parameters, e.g. from where to where a connection is made
  • Add error handling and reporting in case something goes wrong
  • Take a look into other backends/consoles if maybe the same approach could be applied there

Related issues 5 (0 open5 closed)

Related to openQA Tests - action #33199: [sle][functional][s390x][zkvm][u][hard] test fails in kdump_and_crash - system does not shutdown or reboot? what is happening? better output needed?Resolvedmgriessmeier2018-03-132018-04-10

Actions
Related to openQA Tests - action #35641: [sle][functional][u][sporadic][mistyping] test fails in svirt_upload_assets - unchanged PS1Rejected2018-04-27

Actions
Blocks openQA Tests - action #33202: [sle][functional][s390x][zkvm][u][hard] test fails in boot_to_desktop - still insufficient error reporting, black screen with mouse cursor - we all hate it (was: I hate it)Resolvedmgriessmeier2018-03-132018-08-14

Actions
Blocks openQA Tests - action #33865: [sles][functional][s390x][easy][y] Enable yast2_ncurses testsuite for s390xResolvedriafarov2018-03-27

Actions
Blocks openQA Tests - action #36268: [sle][functional][u][hard][s390x] test fails in consoletest_finish - screen does not show desktop sessionResolvedoorlov2018-05-162018-09-11

Actions
Actions

Also available in: Atom PDF