autopkgtest fails with a stack trace on timeout

Bug #1157292 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autopkgtest (Ubuntu)
Fix Released
High
Unassigned

Bug Description

When autopkgtest times out (which is the correct behaviour) it crashes with the trace below:

adt-run: error cleaning up:

adt-run: unexpected, exceptional, error:
Traceback (most recent call last):
  File "/usr/bin/adt-run", line 1307, in cleanup
    testbed.reset_apt()
  File "/usr/bin/adt-run", line 816, in reset_apt
    rc = tb.execute(what, cmdl, kind='install')
  File "/usr/bin/adt-run", line 962, in execute
    rc = tb.commandr1('execute', cmdl)
  File "/usr/bin/adt-run", line 918, in commandr1
    rl = tb.commandr(cmd, args, 1)
  File "/usr/bin/adt-run", line 911, in commandr
    tb.send(string.join(al))
  File "/usr/bin/adt-run", line 874, in send
    tb.sp.stdin
AttributeError: 'NoneType' object has no attribute 'stdin'
2013-03-19 16:34:56: Failure: adt-run exited with status 20.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: autopkgtest 2.2.3ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-12.21-generic 3.8.2
Uname: Linux 3.8.0-12-generic x86_64
ApportVersion: 2.9.1-0ubuntu1
Architecture: amd64
Date: Tue Mar 19 17:38:22 2013
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: autopkgtest
UpgradeStatus: Upgraded to raring on 2012-01-31 (412 days ago)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Full log file

description: updated
Changed in autopkgtest (Ubuntu):
importance: Undecided → High
Changed in autopkgtest (Ubuntu):
status: New → Triaged
description: updated
Martin Pitt (pitti)
Changed in autopkgtest (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package autopkgtest - 2.3

---------------
autopkgtest (2.3) unstable; urgency=low

  * runner/adt-run.1: Fix bad "affect modify" wording. (LP: #1199500)
  * Drop hosts/chinstrap. We haven't actually used this in many years, it has
    been replaced with https://launchpad.net/auto-package-testing, Jenkins,
    and blocking migration to release until tests pass. (LP: #381210)
  * Promote apt-utils from Recommends to Depends:, to avoid test failures due
    to not finding apt-ftparchive. (LP: #1065874)
  * Promote pbuilder from Recommends: to Depends:, as we always call
    pbuilder-satisfydepends-classic. (LP: #1065874)
  * runner/adt-run: Stop explicitly checking for $HOME (with broken error
    message) when giving --gnupg-home, use os.path.expanduser() instead.
    (LP: #1065873)
  * runner/adt-run: Fix timeout --help output.
  * runner/adt-run: Fix bomb() to clean up the testbed before removing it.
    Afterwards (in cleanup()) we don't have a testbed object any more to run
    commands in. (LP: #1157292)
  * runner/adt-run: Fix UnicodeDecodeError crash if stderr contains non-ASCII
    characters. (LP: #1100283)
  * Add "allow-stderr" restriction for tests where re-routing or disabling
    stderr is impractical. (LP: #1197005)
  * runner-adt-run: Support architecture specifiers in Depends: field.
    (LP: #1165128)
  * runner/adt-run: Remove/fix some unused variables, spotted by pyflakes.

 -- Martin Pitt <email address hidden> Fri, 19 Jul 2013 11:58:15 +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.