--9s922KAXlWjPfK/Q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 05/11 15:38, Nir Soffer wrote:
1/
=20
12:18:34 + mounts=3D($(mount | awk '{print $3}' | grep "$mock_root"))
12:18:34 ++ mount
12:18:34 ++ awk '{print $3}'
12:18:34 ++ grep /var/lib/mock/fedora-22-x86_64-d496d3daa673001f46dbbd9ad=
df9ba1b
12:18:34 + [[ -n
/var/lib/mock/fedora-22-x86_64-d496d3daa673001f46dbbd9addf9ba1b/root/proc
]]
12:18:34 + echo 'Found mounted dirs inside the chroot
/var/lib/mock/fedora-22-x86_64-d496d3daa673001f46dbbd9addf9ba1b.'
'Trying to umount.'
12:18:34 Found mounted dirs inside the chroot
/var/lib/mock/fedora-22-x86_64-d496d3daa673001f46dbbd9addf9ba1b.
Trying to umount.
12:18:34 + for mount in '"${mounts[@]}"'
12:18:34 + sudo umount
/var/lib/mock/fedora-22-x86_64-d496d3daa673001f46dbbd9addf9ba1b/root/proc
12:18:34 umount:
/var/lib/mock/fedora-22-x86_64-d496d3daa673001f46dbbd9addf9ba1b/root/proc:
target is busy.
12:18:34 (In some cases useful info about processes that use
12:18:34 the device is found by lsof(8) or fuser(1))
12:18:34 + echo 'ERROR: Failed to umount
/var/lib/mock/fedora-22-x86_64-d496d3daa673001f46dbbd9addf9ba1b/root/proc=
=2E'
12:18:34 ERROR: Failed to umount
/var/lib/mock/fedora-22-x86_64-d496d3daa673001f46dbbd9addf9ba1b/root/proc.
=20
We should check why the mountpoint is busy, but a quick fix may be using
the --lazy option:
=20
umount --lazy /mountpoint
That's only available on newer kernels, for the el7 slaves it's not yet the=
re
=20
Nir
_______________________________________________
Infra mailing list
Infra(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/infra
--=20
David Caro
Red Hat S.L.
Continuous Integration Engineer - EMEA ENG Virtualization R&D
Tel.: +420 532 294 605
Email: dcaro(a)redhat.com
IRC: dcaro|dcaroest@{freenode|oftc|redhat}
Web:
www.redhat.com
RHT Global #: 82-62605
--9s922KAXlWjPfK/Q
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJXMzGlAAoJEEBxx+HSYmnDHP4H/iWC/T9mnrjDtbclD7xvnIta
tPL47ZjwNsgC7T55WaFl27AN/J5+cCRHpAnVXhDl4v/ZImYRpVIRzEnoFO1fvrjD
K3B6BJhIR+E53yw8Ih+tOKfXzsNn+j9H01aJqE1kFdUCDu/fpZ2RjFiBun4k8cuT
WbBOmgRXGVBzzG4aq0WJG6470eEQCcfdun6PRGMnVnUTMkMUsN0HM47e4Cir/DYM
XXm3KqnPTljlf5Hpe91IQ3kgvcGaeCaz72+WSOaL7mhrljJxHy/RqgX4iVaaeeNK
vgA6nD7rY+F+Hbd3HnnBTPmvL9OmQZSvPf+y3LOGAPVeZHDjg+AG5MP2Ed0ORQY=
=i7Pp
-----END PGP SIGNATURE-----
--9s922KAXlWjPfK/Q--