← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2058379] Re: /tmp cleanup seems to result in missing directories for tests

 

the cleanup wasn't the cause of this, it was because of args being
passed to the autopkgtest call in the worker script being passed
incorrectly, causing an immediate failure and obviously no output
directory. This is amended now

** Changed in: auto-package-testing
       Status: Triaged => Invalid

** Changed in: auto-package-testing
   Importance: High => Undecided

-- 
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to Auto Package Testing.
https://bugs.launchpad.net/bugs/2058379

Title:
  /tmp cleanup seems to result in missing directories for tests

Status in Auto Package Testing:
  Invalid

Bug description:
  Well, I'm not entirely sure it's down to the queue cleanup, but we're
  seeing these tracebacks in the logs very often:

  Mar 19 11:59:29 juju-7f2275-prod-proposed-migration-environment-2 sh[3406877]:   File "/usr/lib/python3/dist-packages/amqplib/client_0_8/abstract_channel.py", line 117, in dispatch_method
  Mar 19 11:59:29 juju-7f2275-prod-proposed-migration-environment-2 sh[3406877]:     return amqp_method(self, args, content)
  Mar 19 11:59:29 juju-7f2275-prod-proposed-migration-environment-2 sh[3406877]:   File "/usr/lib/python3/dist-packages/amqplib/client_0_8/channel.py", line 2060, in _basic_deliver
  Mar 19 11:59:29 juju-7f2275-prod-proposed-migration-environment-2 sh[3406877]:     func(msg)
  Mar 19 11:59:29 juju-7f2275-prod-proposed-migration-environment-2 sh[3406877]:   File "/home/ubuntu/autopkgtest-cloud/worker/worker", line 1101, in request
  Mar 19 11:59:29 juju-7f2275-prod-proposed-migration-environment-2 sh[3406877]:     files = set(os.listdir(out_dir))
  Mar 19 11:59:29 juju-7f2275-prod-proposed-migration-environment-2 sh[3406877]: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest-work.ai3gc6_w/out'

  I thought I disabled the /tmp cleanup, but it seems to still be
  happening? I'm going to investigate a little further today, and see
  what I can find.

To manage notifications about this bug go to:
https://bugs.launchpad.net/auto-package-testing/+bug/2058379/+subscriptions



References