LXC runner hang forever with leaked processes

Bug #1488359 reported by Martin Pitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autopkgtest (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

$ adt-run deja-dup --- lxc -s --eatmydata adt-wily

This hangs forever after finishing the package build. In the container there are a lot of leaked dbus-daemon processes; when killing them, the test continues.

Related branches

Martin Pitt (pitti)
Changed in autopkgtest (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Martin Pitt (pitti) wrote :

This also happens with the schroot runner. In that case we get a hanging

root 31156 0.0 0.0 0 0 pts/24 Z+ 09:19 0:00 [schroot] <defunct>

while it is "sudo" for LXC (i. e. the auxverb wrapper).

summary: - LXC runner hangs forever with leaked processes
+ LXC/schroot runner hang forever with leaked processes
Revision history for this message
Martin Pitt (pitti) wrote : Re: LXC/schroot runner hang forever with leaked processes
Revision history for this message
Martin Pitt (pitti) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=6905b11dba provides the same hackish fix for LXC as I previously applied to ssh. This should now be generalized and moved out of the runners into adt-run, so that we avoid making the virt-subprocess and auxverbs unnecessarily complicated and also avoid copy-pasta.

Revision history for this message
Martin Pitt (pitti) wrote :

There is no practical solution for fixing this for schroot -- just fix your test, if you care. :-/ So I'm declaring this as fixed as we have the workaround for LXC now.

summary: - LXC/schroot runner hang forever with leaked processes
+ LXC runner hang forever with leaked processes
Changed in autopkgtest (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package autopkgtest - 3.17.1

---------------
autopkgtest (3.17.1) unstable; urgency=medium

  * Add new private python modules to Makefile, to actually ship them.
  * tests/adt-run: Fix test regression when $ADT_TEST* are not set.

 -- Martin Pitt <email address hidden> Tue, 15 Sep 2015 08:38:54 +0200

Changed in autopkgtest (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.