I notice the build job is failing more often recently due to cleanup of the
loop devices [1],
Any thoughts how we can solve it? are there other tools we can use that
will use loop devices differently which won't require cleanups?
[1] down.
*08:01:07* 2017-09-05 08:01:07,254: Shutting down
LiveOS-9bd49940-c8d7-49ab-91fc-05a8d955d9fd*08:01:07* error: Failed to
destroy domain LiveOS-9bd49940-c8d7-49ab-91fc-05a8d955d9fd*08:01:07*
error: Requested operation is not valid: domain is not
running*08:01:07* *08:01:07* Domain
LiveOS-9bd49940-c8d7-49ab-91fc-05a8d955d9fd has been
undefined*08:01:07* *08:01:07* 2017-09-05 08:01:07,314: Disk Image
install successful*08:01:07* 2017-09-05 08:01:07,314: working dir is
/var/tmp/tmpn4Xv3F*08:01:07* 2017-09-05 08:01:07,428: Partition
mounted on /var/tmp/tmpUHLBrQ size=4294967296*08:01:07* 2017-09-05
08:01:07,429: Creating live rootfs image*08:01:08* losetup:
/var/tmp/tmpn4Xv3F/squashfs_root/LiveOS/rootfs.img: failed to set up
loop device: No such file or directory*08:01:09* *08:01:09* Traceback
(most recent call last):*08:01:09* File "/sbin/livemedia-creator",
line 1347, in <module>*08:01:09* result_dir =
make_live_images(opts, work_dir, img_mount.mount_dir,
size=size)*08:01:09* File "/sbin/livemedia-creator", line 940, in
make_live_images*08:01:09* mkrootfsimg(root_dir,
joinpaths(liveos_dir, "rootfs.img"), "LiveOS", size=size,
sysroot=sys_root)*08:01:09* File
"/usr/lib/python2.7/site-packages/pylorax/imgutils.py", line 100, in
mkrootfsimg*08:01:09* mkext4img(rootdir, outfile, label=label,
size=fssize)*08:01:09* File
"/usr/lib/python2.7/site-packages/pylorax/imgutils.py", line 389, in
mkext4img*08:01:09* mkfsargs=["-L", label, "-b", "1024",
"-m",
"0"], graft=graft)*08:01:09* File
"/usr/lib/python2.7/site-packages/pylorax/imgutils.py", line 366, in
mkfsimage*08:01:09* with LoopDev(outfile, size) as
loopdev:*08:01:09* File
"/usr/lib/python2.7/site-packages/pylorax/imgutils.py", line 271, in
__enter__*08:01:09* self.loopdev =
loop_attach(self.filename)*08:01:09* File
"/usr/lib/python2.7/site-packages/pylorax/imgutils.py", line 131, in
loop_attach*08:01:09* dev = runcmd_output(["losetup", "--find",
"--show", outfile])*08:01:09* File
"/usr/lib/python2.7/site-packages/pylorax/executils.py", line 420, in
runcmd_output*08:01:09* return execWithCapture(cmd[0], cmd[1:],
**kwargs)*08:01:09* File
"/usr/lib/python2.7/site-packages/pylorax/executils.py", line 263, in
execWithCapture*08:01:09* raise
subprocess.CalledProcessError(proc.returncode,
[command]+argv)*08:01:09* subprocess.CalledProcessError: Command
'['losetup', '--find', '--show',
'/var/tmp/tmpn4Xv3F/squashfs_root/LiveOS/rootfs.img']' returned
non-zero exit status 1*08:01:09* make: ***
[ovirt-node-ng-image.squashfs.img] Error 1*08:01:09* ++
save_logs*08:01:09* ++ 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/*08:01:09*
���/home/jenkins/workspace/ovirt-node-ng_ovirt-4.2_build-artifacts-
On Tue, Sep 5, 2017 at 11:01 AM, <jenkins(a)jenkins.phx.ovirt.org> wrote:
Project:
http://jenkins.ovirt.org/job/ovirt-node-ng_ovirt-4.2_build-
artifacts-el7-x86_64/
Build:
http://jenkins.ovirt.org/job/ovirt-node-ng_ovirt-4.2_build-
artifacts-el7-x86_64/4/
Build Number: 4
Build Status: Failure
Triggered By: Started by user Daniel
-------------------------------------
Changes Since Last Success:
-------------------------------------
Changes for Build #4
[Ryan Barry] Increase the release for 4.2 development
-----------------
Failed Tests:
-----------------
No tests ran.
_______________________________________________
Infra mailing list
Infra(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/infra
--
Eyal edri
ASSOCIATE MANAGER
RHV DevOps
EMEA VIRTUALIZATION R&D
Red Hat EMEA <
https://www.redhat.com/>
<
https://red.ht/sig> TRIED. TESTED. TRUSTED. <
https://redhat.com/trusted>
phone: +972-9-7692018
irc: eedri (on #tlv #rhev-dev #rhev-integ)