[Bug 1393426] Re: shutil.Error: ./results/fifo_log is a named pipe
Martin Pitt
martin.pitt at ubuntu.com
Wed Nov 19 10:18:38 UTC 2014
This happens because you put your --output-dir *within* the tested tree.
This generally easily leads to recursive effects, as that tests tree
needs to be copied to testbeds while having active files in the output
dir. It's better to use /tmp/results/ or anything not inside the tests
tree.
I'll commit a patch which at least avoids that particular issue.
** Changed in: autopkgtest (Ubuntu)
Importance: Undecided => Low
** Changed in: autopkgtest (Ubuntu)
Status: New => In Progress
** Changed in: autopkgtest (Ubuntu)
Assignee: (unassigned) => Martin Pitt (pitti)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1393426
Title:
shutil.Error: ./results/fifo_log is a named pipe
Status in “autopkgtest” package in Ubuntu:
In Progress
Bug description:
$ adt-run --output-dir results .// --setup-commands='apt-get update'
--- lxc -es adt-utopic
...
adt-run [15:13:25]: @@@@@@@@@@@@@@@@@@@@ unbuilt-tree .//
Unexpected error:
Traceback (most recent call last):
File "/usr/share/autopkgtest/python/VirtSubproc.py", line 671, in mainloop
command()
File "/usr/share/autopkgtest/python/VirtSubproc.py", line 609, in command
r = f(c, ce)
File "/usr/share/autopkgtest/python/VirtSubproc.py", line 551, in cmd_copydown
copyupdown(c, ce, False)
File "/usr/share/autopkgtest/python/VirtSubproc.py", line 442, in copyupdown
copyupdown_internal(ce[0], c[1:], upp)
File "/usr/share/autopkgtest/python/VirtSubproc.py", line 469, in copyupdown_internal
copydown_shareddir(sd[0], sd[1], dirsp, downtmp_host)
File "/usr/share/autopkgtest/python/VirtSubproc.py", line 422, in copydown_shareddir
shutil.copytree(host, host_tmp, symlinks=True)
File "/usr/lib/python3.4/shutil.py", line 342, in copytree
raise Error(errors)
shutil.Error: [('./results/fifo_log', '/tmp/adt-virt-lxc.shared.d5duryup/downtmp/ubtree-/results/fifo_log', '`./results/fifo_log` is a named pipe')]
adt-run [15:13:30]: ERROR: testbed failed: cannot send to testbed: ['BrokenPipeError: [Errno 32] Broken pipe\n']
$ adt-run .// --setup-commands='apt-get update' --- lxc -es adt-utopic
runs fine but here I wanted to look at which files were created by
adt-run.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1393426/+subscriptions
More information about the foundations-bugs
mailing list