action #17902
closedCheck if qemu-img finished correctly and die if not
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.
Updated by thehejik over 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.
Updated by coolo about 7 years ago
- Target version set to Ready
there are a lot of unguarded runcmd()s - sounds like a nice entrance level issue
Updated by mitiao almost 7 years ago
- Target version changed from Ready to Current Sprint
Updated by mitiao almost 7 years ago
- Status changed from In Progress to Resolved
Updated by szarate almost 7 years ago
- Target version changed from Current Sprint to Done