a8bb345
@@ -208,6 +208,11 @@
except subprocess.CalledProcessError:
time.sleep(3)
else:
+ # Kill the qemu process
+ try:
+ os.kill(proc.pid, signal.SIGTERM)
+ except OSError:
+ pass
raise RuntimeError("could not access launched qcow2 image: {0}".format(image))
# Process of our parent
I hit the issue when I tried to run "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/CloudImages/x86_64/images/Fedora-Cloud-Base-Rawhide-20171016.n.0.x86_64.qcow2" (I know it was wrong image as it was not the Atomic one) the script could not access the launched image, but qemu process continued to run.
Pull-Request has been merged by astepano
I hit the issue when I tried to run "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/CloudImages/x86_64/images/Fedora-Cloud-Base-Rawhide-20171016.n.0.x86_64.qcow2" (I know it was wrong image as it was not the Atomic one) the script could not access the launched image, but qemu process continued to run.