[ovirt-devel] mount test failure
Nir Soffer
nsoffer at redhat.com
Thu May 26 19:57:56 UTC 2016
On Wed, May 25, 2016 at 2:23 PM, Piotr Kliczewski
<piotr.kliczewski at gmail.com> wrote:
> I noticed build failure [1] with:
Thanks for reporting.
This is an old issue. I believe these patches will eliminate
the issue.
https://gerrit.ovirt.org/#/q/status:open+project:vdsm+branch:master+topic:umount-cleanup
Nir
>
> 11:03:56 ======================================================================
> 11:03:56 ERROR: testLoopMount (mountTests.MountTests)
> 11:03:56 ----------------------------------------------------------------------
> 11:03:56 Traceback (most recent call last):
> 11:03:56 File
> "/home/jenkins/workspace/vdsm_master_check-patch-fc23-x86_64/vdsm/tests/testValidation.py",
> line 97, in wrapper
> 11:03:56 return f(*args, **kwargs)
> 11:03:56 File
> "/home/jenkins/workspace/vdsm_master_check-patch-fc23-x86_64/vdsm/tests/mountTests.py",
> line 133, in testLoopMount
> 11:03:56 m.mount(mntOpts="loop")
> 11:03:56 File
> "/home/jenkins/workspace/vdsm_master_check-patch-fc23-x86_64/vdsm/lib/vdsm/storage/mount.py",
> line 219, in mount
> 11:03:56 timeout=timeout, cgroup=cgroup)
> 11:03:56 File
> "/home/jenkins/workspace/vdsm_master_check-patch-fc23-x86_64/vdsm/lib/vdsm/storage/mount.py",
> line 275, in _mount
> 11:03:56 _runcmd(cmd, timeout)
> 11:03:56 File
> "/home/jenkins/workspace/vdsm_master_check-patch-fc23-x86_64/vdsm/lib/vdsm/storage/mount.py",
> line 310, in _runcmd
> 11:03:56 raise MountError(rc, ";".join((out, err)))
> 11:03:56 MountError: (32, ';mount: /tmp/tmptchBPu: failed to setup
> loop device: No such file or directory\n')
> 11:03:56 -------------------- >> begin captured logging << --------------------
> 11:03:56 2016-05-25 07:01:50,432 DEBUG [Storage.Misc.excCmd]
> (MainThread) /usr/bin/taskset --cpu-list 0-1 /sbin/mkfs.ext2 -F
> /tmp/tmptchBPu (cwd None)
> 11:03:56 2016-05-25 07:01:50,848 DEBUG [Storage.Misc.excCmd]
> (MainThread) SUCCESS: <err> = 'mke2fs 1.42.13 (17-May-2015)\n'; <rc> =
> 0
> 11:03:56 2016-05-25 07:01:50,849 INFO [storage.Mount] (MainThread)
> mounting /tmp/tmptchBPu at /var/tmp/tmpNYrdxK
> 11:03:56 2016-05-25 07:01:50,849 DEBUG [root] (MainThread)
> /usr/bin/taskset --cpu-list 0-1 /usr/bin/mount -o loop /tmp/tmptchBPu
> /var/tmp/tmpNYrdxK (cwd None)
> 11:03:56 --------------------- >> end captured logging << ---------------------
> 11:03:56
> 11:03:56 ======================================================================
> 11:03:56 ERROR: testSymlinkMount (mountTests.MountTests)
> 11:03:56 ----------------------------------------------------------------------
> 11:03:56 Traceback (most recent call last):
> 11:03:56 File
> "/home/jenkins/workspace/vdsm_master_check-patch-fc23-x86_64/vdsm/tests/testValidation.py",
> line 97, in wrapper
> 11:03:56 return f(*args, **kwargs)
> 11:03:56 File
> "/home/jenkins/workspace/vdsm_master_check-patch-fc23-x86_64/vdsm/tests/mountTests.py",
> line 157, in testSymlinkMount
> 11:03:56 m.mount(mntOpts="loop")
> 11:03:56 File
> "/home/jenkins/workspace/vdsm_master_check-patch-fc23-x86_64/vdsm/lib/vdsm/storage/mount.py",
> line 219, in mount
> 11:03:56 timeout=timeout, cgroup=cgroup)
> 11:03:56 File
> "/home/jenkins/workspace/vdsm_master_check-patch-fc23-x86_64/vdsm/lib/vdsm/storage/mount.py",
> line 275, in _mount
> 11:03:56 _runcmd(cmd, timeout)
> 11:03:56 File
> "/home/jenkins/workspace/vdsm_master_check-patch-fc23-x86_64/vdsm/lib/vdsm/storage/mount.py",
> line 310, in _runcmd
> 11:03:56 raise MountError(rc, ";".join((out, err)))
> 11:03:56 MountError: (32, ';mount: /var/tmp/tmp4S4yaR/backing.img:
> failed to setup loop device: No such file or directory\n')
> 11:03:56 -------------------- >> begin captured logging << --------------------
> 11:03:56 2016-05-25 07:01:51,291 DEBUG [Storage.Misc.excCmd]
> (MainThread) /usr/bin/taskset --cpu-list 0-1 /sbin/mkfs.ext2 -F
> /var/tmp/tmp4S4yaR/backing.img (cwd None)
> 11:03:56 2016-05-25 07:01:52,964 DEBUG [Storage.Misc.excCmd]
> (MainThread) SUCCESS: <err> = 'mke2fs 1.42.13 (17-May-2015)\n'; <rc> =
> 0
> 11:03:56 2016-05-25 07:01:52,964 INFO [storage.Mount] (MainThread)
> mounting /var/tmp/tmp4S4yaR/link_to_image at
> /var/tmp/tmp4S4yaR/mountpoint
> 11:03:56 2016-05-25 07:01:52,964 DEBUG [root] (MainThread)
> /usr/bin/taskset --cpu-list 0-1 /usr/bin/mount -o loop
> /var/tmp/tmp4S4yaR/link_to_image /var/tmp/tmp4S4yaR/mountpoint (cwd
> None)
> 11:03:56 --------------------- >> end captured logging << ---------------------
>
> Thanks,
> Piotr
>
> [1] http://jenkins.ovirt.org/job/vdsm_master_check-patch-fc23-x86_64/2171
More information about the Devel
mailing list