← Back to team overview

canonical-ubuntu-qa team mailing list archive

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

 

Public bug reported:

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.

** Affects: auto-package-testing
     Importance: High
     Assignee: Tim Andersson (andersson123)
         Status: Triaged

** Changed in: auto-package-testing
     Assignee: (unassigned) => Tim Andersson (andersson123)

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

** Changed in: auto-package-testing
       Status: New => Confirmed

** Changed in: auto-package-testing
       Status: Confirmed => In Progress

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

-- 
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:
  Triaged

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



Follow ups