Project

General

Profile

Actions

action #45086

closed

Idea: way to get logs out of os-autoinst without network connection

Added by AdamWill over 5 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Low
Assignee:
Category:
Feature requests
Target version:
-
Start date:
2018-12-12
Due date:
% Done:

0%

Estimated time:

Description

Sometimes, a test failure occurs because there's no network connection in the SUT. Then we hit our post-fail hook, which probably tries to upload logs for diagnosing the problem...over the network...

I'm doing a sorta hacky workaround for this in the Fedora tests: have the post-fail hook check if it can ping the host IP, and if it can't, try and dump the contents of text logs via the serial console. That seems at least better than nothing.

It occurred to me that it may be interesting to do a more generalized implementation of this in os-autoinst - perhaps as a new command similar to upload_logs, or implement it within upload_logs based on whether it can ping the host IP, something like that? Does anyone think this sounds like a useful idea?


Related issues 2 (0 open2 closed)

Related to openQA Tests - action #36127: [functional][u] test fails in zypper_up with no network - debugging and logging should be improvedRejectedSLindoMansilla2018-05-14

Actions
Is duplicate of openQA Project - action #28285: Need to provide workaround for getting logs from system without network Resolvedasmorodskyi2017-11-23

Actions
Actions #1

Updated by AdamWill over 5 years ago

  • Category set to 132
  • Priority changed from Normal to Low
  • Difficulty set to medium
Actions #2

Updated by okurz over 5 years ago

  • Related to action #36127: [functional][u] test fails in zypper_up with no network - debugging and logging should be improved added
Actions #3

Updated by okurz over 5 years ago

  • Related to action #28285: Need to provide workaround for getting logs from system without network added
Actions #6

Updated by okurz over 5 years ago

  • Related to deleted (action #28285: Need to provide workaround for getting logs from system without network )
Actions #7

Updated by okurz over 5 years ago

  • Is duplicate of action #28285: Need to provide workaround for getting logs from system without network added
Actions #8

Updated by okurz over 5 years ago

  • Status changed from New to Rejected
  • Assignee set to okurz

it is a useful idea … raised before ;) I closed this ticket as duplicate of #28285 but provided your comment there.

Actions

Also available in: Atom PDF