Project

General

Profile

Actions

action #64917

closed

coordination #39719: [saga][epic] Detection of "known failures" for stable tests, easy test results review and easy tracking of known issues

coordination #62420: [epic] Distinguish all types of incompletes

auto_review:"(?s)qemu-img.*runcmd.*failed with exit code 1" sometimes but no apparent error message

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

Status:
Resolved
Priority:
Low
Assignee:
Category:
Feature requests
Target version:
-
Start date:
2020-03-26
Due date:
% Done:

0%

Estimated time:

Description

Observation

https://openqa.opensuse.org/tests/1214063 is incomplete with

[2020-03-26T04:54:21.454 CET] [debug] running /usr/bin/qemu-img create -f qcow2 /var/lib/openqa/pool/17/raid/hd0 20G
[2020-03-26T04:54:21.478 CET] [debug] Formatting '/var/lib/openqa/pool/17/raid/hd0', fmt=qcow2 size=21474836480 cluster_size=65536 lazy_refcounts=off refcount_bits=16
[2020-03-26T04:54:21.478 CET] [debug] Backend process died, backend errors are reported below in the following lines:
runcmd failed with exit code 1 at /usr/lib/os-autoinst/osutils.pm line 121.

as reported by https://gitlab.suse.de/openqa/auto-review/-/jobs/186291

The system journal on the assigned worker machine openqaworker4 did not provide any more information. Seems like the command qemu-img create … was providing the output "Formatting …" but then failed silently with exit code 1 but no apparent error message. When executing a similar command manually this works fine and if one triggers an error, e.g. with incorrect parameters, incorrect permissions, etc., I see useful error messages

Acceptance criteria

  • AC1: In case a failure from the qemu-img command can not be prevented we have a helpful message

Suggestions

  • Maybe we can just retry the qemu-img command some times

Files

journal_poo64917.log (122 KB) journal_poo64917.log okurz, 2020-05-03 20:54

Related issues 1 (0 open1 closed)

Related to openQA Project - action #81828: Jobs run into timeout_exceeded after the 'chattr' call, no output until timeout, auto_review:"(?s)Refusing to save an empty state file to avoid overwriting a useful one.*Result: timeout":retryResolvedokurz2021-01-06

Actions
Actions

Also available in: Atom PDF