<div dir="ltr">I notice the build job is failing more often recently due to cleanup of the loop devices [1],<div>Any thoughts how we can solve it? are there other tools we can use that will use loop devices differently which won&#39;t require cleanups?</div><div><br></div><div>[1] <span style="color:rgb(51,51,51);font-size:14px;white-space:pre-wrap">down.</span></div><pre class="gmail-console-output" style="box-sizing:border-box;white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51);font-size:14px"><span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:07</b> </span>2017-09-05 08:01:07,254: Shutting down LiveOS-9bd49940-c8d7-49ab-91fc-05a8d955d9fd
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:07</b> </span>error: Failed to destroy domain LiveOS-9bd49940-c8d7-49ab-91fc-05a8d955d9fd
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:07</b> </span>error: Requested operation is not valid: domain is not running
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:07</b> </span>
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:07</b> </span>Domain LiveOS-9bd49940-c8d7-49ab-91fc-05a8d955d9fd has been undefined
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:07</b> </span>
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:07</b> </span>2017-09-05 08:01:07,314: Disk Image install successful
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:07</b> </span>2017-09-05 08:01:07,314: working dir is /var/tmp/tmpn4Xv3F
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:07</b> </span>2017-09-05 08:01:07,428: Partition mounted on /var/tmp/tmpUHLBrQ size=4294967296
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:07</b> </span>2017-09-05 08:01:07,429: Creating live rootfs image
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:08</b> </span>losetup: /var/tmp/tmpn4Xv3F/squashfs_root/LiveOS/rootfs.img: failed to set up loop device: No such file or directory
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>Traceback (most recent call last):
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>  File &quot;/sbin/livemedia-creator&quot;, line 1347, in &lt;module&gt;
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>    result_dir = make_live_images(opts, work_dir, img_mount.mount_dir, size=size)
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>  File &quot;/sbin/livemedia-creator&quot;, line 940, in make_live_images
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>    mkrootfsimg(root_dir, joinpaths(liveos_dir, &quot;rootfs.img&quot;), &quot;LiveOS&quot;, size=size, sysroot=sys_root)
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>  File &quot;/usr/lib/python2.7/site-packages/pylorax/imgutils.py&quot;, line 100, in mkrootfsimg
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>    mkext4img(rootdir, outfile, label=label, size=fssize)
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>  File &quot;/usr/lib/python2.7/site-packages/pylorax/imgutils.py&quot;, line 389, in mkext4img
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>    mkfsargs=[&quot;-L&quot;, label, &quot;-b&quot;, &quot;1024&quot;, &quot;-m&quot;, &quot;0&quot;], graft=graft)
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>  File &quot;/usr/lib/python2.7/site-packages/pylorax/imgutils.py&quot;, line 366, in mkfsimage
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>    with LoopDev(outfile, size) as loopdev:
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>  File &quot;/usr/lib/python2.7/site-packages/pylorax/imgutils.py&quot;, line 271, in __enter__
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>    self.loopdev = loop_attach(self.filename)
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>  File &quot;/usr/lib/python2.7/site-packages/pylorax/imgutils.py&quot;, line 131, in loop_attach
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>    dev = runcmd_output([&quot;losetup&quot;, &quot;--find&quot;, &quot;--show&quot;, outfile])
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>  File &quot;/usr/lib/python2.7/site-packages/pylorax/executils.py&quot;, line 420, in runcmd_output
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>    return execWithCapture(cmd[0], cmd[1:], **kwargs)
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>  File &quot;/usr/lib/python2.7/site-packages/pylorax/executils.py&quot;, line 263, in execWithCapture
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>    raise subprocess.CalledProcessError(proc.returncode, [command]+argv)
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>subprocess.CalledProcessError: Command &#39;[&#39;losetup&#39;, &#39;--find&#39;, &#39;--show&#39;, &#39;/var/tmp/tmpn4Xv3F/squashfs_root/LiveOS/rootfs.img&#39;]&#39; returned non-zero exit status 1
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>make: *** [ovirt-node-ng-image.squashfs.img] Error 1
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>++ save_logs
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>++ sudo ln -fv data/ovirt-node-ng-image.ks config.log livemedia.log program.log virt-install.log /home/jenkins/workspace/ovirt-node-ng_ovirt-4.2_build-artifacts-el7-x86_64/ovirt-node-ng/exported-artifacts/
<span class="gmail-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">08:01:09</b> </span>���/home/jenkins/workspace/ovirt-node-ng_ovirt-4.2_build-artifacts-</pre></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 5, 2017 at 11:01 AM,  <span dir="ltr">&lt;<a href="mailto:jenkins@jenkins.phx.ovirt.org" target="_blank">jenkins@jenkins.phx.ovirt.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Project: <a href="http://jenkins.ovirt.org/job/ovirt-node-ng_ovirt-4.2_build-artifacts-el7-x86_64/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-node-ng_ovirt-4.2_build-<wbr>artifacts-el7-x86_64/</a><br>
Build: <a href="http://jenkins.ovirt.org/job/ovirt-node-ng_ovirt-4.2_build-artifacts-el7-x86_64/4/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-node-ng_ovirt-4.2_build-<wbr>artifacts-el7-x86_64/4/</a><br>
Build Number: 4<br>
Build Status:  Failure<br>
Triggered By: Started by user Daniel<br>
<br>
------------------------------<wbr>-------<br>
Changes Since Last Success:<br>
------------------------------<wbr>-------<br>
Changes for Build #4<br>
[Ryan Barry] Increase the release for 4.2 development<br>
<br>
<br>
<br>
<br>
-----------------<br>
Failed Tests:<br>
-----------------<br>
No tests ran.<br>______________________________<wbr>_________________<br>
Infra mailing list<br>
<a href="mailto:Infra@ovirt.org">Infra@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/infra" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/infra</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><p style="font-family:overpass,sans-serif;margin:0px;padding:0px;font-size:14px;text-transform:uppercase;font-weight:bold"><font color="#cc0000">Eyal edri</font></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><br></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase">ASSOCIATE MANAGER</p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase">RHV DevOps</p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase">EMEA VIRTUALIZATION R&amp;D</p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><br></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat EMEA</a></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" style="color:rgb(17,85,204)" target="_blank"><img src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-black.png" width="90" height="auto"></a></td><td style="font-size:10px"><a href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></td></tr></tbody></table></div><div>phone: +972-9-7692018<br>irc: eedri (on #tlv #rhev-dev #rhev-integ)</div></div></div></div></div></div></div></div></div>
</div>