Project

General

Profile

Actions

action #17902

closed

Check if qemu-img finished correctly and die if not

Added by thehejik about 7 years ago. Updated about 6 years ago.

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

0%

Estimated time:

Description

We are facing to an issue on openqaworker5 where qemu-img process didn't finish correctly but return code is 0. Then hooked tests were broken for eg. https://openqa.suse.de/tests/831428#step/boot_to_desktop/2

The problem came from sles12_minimal_base+sdk_create_hdd job.
https://openqa.suse.de/tests/831165/file/autoinst-log.txt

where you can see:
23:14:54.2789 8080 running nice ionice qemu-img convert -O qcow2 raid/l1 assets_public/SLES-12-SP3-x86_64-0293-minimal_with_sdk0131_installed.qcow2 -c
qemu-img: error while writing sector 9018496: No space left on device
8080: EXIT 0

Maybe we should also check free space on workers somehow.

Actions #1

Updated by thehejik about 7 years ago

Return code 0 belongs to "master" worker process and not to qemu-img process. The return code for qemu-img seems to be just ignored.

Actions #2

Updated by coolo over 6 years ago

  • Target version set to Ready

there are a lot of unguarded runcmd()s - sounds like a nice entrance level issue

Actions #3

Updated by mitiao over 6 years ago

  • Assignee set to mitiao
Actions #4

Updated by mitiao over 6 years ago

  • Status changed from New to In Progress
Actions #5

Updated by mitiao over 6 years ago

  • Target version changed from Ready to Current Sprint
Actions #6

Updated by mitiao about 6 years ago

  • Status changed from In Progress to Resolved
Actions #7

Updated by szarate about 6 years ago

  • Target version changed from Current Sprint to Done
Actions

Also available in: Atom PDF