action #17902

Check if qemu-img finished correctly and die if not

Added by thehejik almost 3 years ago. Updated almost 2 years ago.

Status:ResolvedStart date:23/03/2017
Priority:NormalDue date:
Assignee:mitiao% Done:

0%

Category:Feature requests
Target version:Done
Difficulty:
Duration:

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.

History

#1 Updated by thehejik almost 3 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.

#2 Updated by coolo about 2 years ago

  • Target version set to Ready

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

#3 Updated by mitiao about 2 years ago

  • Assignee set to mitiao

#4 Updated by mitiao about 2 years ago

  • Status changed from New to In Progress

#5 Updated by mitiao about 2 years ago

  • Target version changed from Ready to Current Sprint

#6 Updated by mitiao about 2 years ago

  • Status changed from In Progress to Resolved

#7 Updated by szarate almost 2 years ago

  • Target version changed from Current Sprint to Done

Also available in: Atom PDF