[Bug 1420355] Re: adt-virt-ssh cleanup fails on removed ssh control socket

Martin Pitt martin.pitt at ubuntu.com
Wed Feb 11 14:09:40 UTC 2015


Sorry, wrong commit. That's the right one:
http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=6f240abf

-- 
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/1420355

Title:
  adt-virt-ssh cleanup fails on removed ssh control socket

Status in autopkgtest package in Ubuntu:
  Fix Committed

Bug description:
  http://d-jenkins.ubuntu-ci:8080/job/vivid-boottest-ubuntu-ui-
  toolkit/1/console

  09:38:02 E: adt-run [09:38:02]: test getpkgsrc:  - - - - - - - - - - results - - - - - - - - - -
  09:38:02 O: getpkgsrc            PASS
  09:38:02 E: adt-run: DBG: sending command to testbed: copyup /tmp/adt-run.RvqknF/getpkgsrc-artifacts/ pkgsrc/artifacts/
  09:38:06 E: adt-run: DBG: got reply from testbed: ok
  09:38:06 E: adt-run: DBG: testbed command ['rm', '-rf', '/tmp/adt-run.RvqknF/getpkgsrc-artifacts'], kind short, sout raw, serr pipe, env ['LANG=C.UTF-8']
  09:38:07 E: adt-run: DBG: testbed command exited with code 0
  09:38:07 E: adt-run: DBG: needs_reset, previously=False, requested by run_tests() line 1229
  09:38:07 E: adt-run: DBG: testbed stop
  09:38:07 E: adt-run: DBG: testbed close, scratch=/tmp/adt-run.RvqknF
  09:38:07 E: adt-run: DBG: sending command to testbed: close
  09:38:08 E: Exit request sent.
  09:38:08 E: Unexpected error:
  09:38:08 E: Traceback (most recent call last):
  09:38:08 E:   File "/usr/share/autopkgtest/python/VirtSubproc.py", line 676, in mainloop
  09:38:08 E:     command()
  09:38:08 E:   File "/usr/share/autopkgtest/python/VirtSubproc.py", line 614, in command
  09:38:08 E:     r = f(c, ce)
  09:38:08 E:   File "/usr/share/autopkgtest/python/VirtSubproc.py", line 116, in cmd_close
  09:38:08 E:     cleanup()
  09:38:08 E:   File "/usr/share/autopkgtest/python/VirtSubproc.py", line 639, in cleanup
  09:38:08 E:     caller.hook_cleanup()
  09:38:08 E:   File "/usr/bin/adt-virt-ssh", line 418, in hook_cleanup
  09:38:08 E:     shutil.rmtree(workdir)
  09:38:08 E:   File "/usr/lib/python3.4/shutil.py", line 463, in rmtree
  09:38:08 E:     _rmtree_safe_fd(fd, path, onerror)
  09:38:08 E:   File "/usr/lib/python3.4/shutil.py", line 421, in _rmtree_safe_fd
  09:38:08 E:     onerror(os.unlink, fullname, sys.exc_info())
  09:38:08 E:   File "/usr/lib/python3.4/shutil.py", line 419, in _rmtree_safe_fd
  09:38:08 E:     os.unlink(name, dir_fd=topfd)
  09:38:08 E: FileNotFoundError: [Errno 2] No such file or directory: 'ssh_control-phablet at localhost:2222'
  09:38:08 E: adt-run: DBG: bomb unexpected eof from the testbed
  09:38:08 E: adt-run: DBG: testbed stop
  09:38:08 E: adt-run [09:38:08]: ERROR: 
  09:38:08 E: adt-run: error cleaning up:
  09:38:08 E: 
  09:38:08 E: adt-run [09:38:08]: ERROR: testbed failed: unexpected eof from the testbed
  09:38:08 E: adt-run: DBG: / tests-tree rmtree pkgsrc/tests-tree
  09:38:08 I: Finished with exitcode 20

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1420355/+subscriptions



More information about the foundations-bugs mailing list