Learn more about these different git repos.
Other Git URLs
A branched compose failed when tweak_buildinstall failed to unmount the image. https://kojipkgs.fedoraproject.org/compose/branched/Fedora-26-20170306.n.1/logs/global/pungi.global.log
According to the traceback the error was Device or resource busy.
Device or resource busy
Metadata Update from @lsedlar: - Issue assigned to lsedlar
Proposed fix in #561.
I can somewhat reliably reproduce it the following steps. Sometimes I can get the error, but most of the times it works to print the error. With the patch at most one or two retries (first one immediate, second one after 1sec pause) are sufficient to unmount correctly.
$ dd if=/dev/zero of=block bs=1k count=5760 $ mke2fs -F block $ cat repro.py from kobo.shortcuts import run from pungi.util import temp_dir import os with temp_dir() as mount_tmp_dir: run(["LIBGUESTFS_BACKEND=direct", "guestmount", "-a", "block", "-m", "/dev/sda", mount_tmp_dir]) print os.listdir(mount_tmp_dir) run(["fusermount", "-u", mount_tmp_dir]) $ python repro.py ['lost+found'] Traceback (most recent call last): File "repro.py", line 9, in <module> run(["fusermount", "-u", mount_tmp_dir]) File "/home/lsedlar/repos/kobo/kobo/shortcuts.py", line 337, in run raise exc RuntimeError: ERROR running command: fusermount -u /tmp/tmpMlB24G
Metadata Update from @lsedlar: - Assignee reset
The retry logic is merged. As @ausil suggested we should also log some information about what is blocking the unmounting.
Metadata Update from @lsedlar: - Issue assigned to lsedlar - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Metadata Update from @lsedlar: - Issue tagged with: 4.1.14
Log in to comment on this ticket.