[Bug 1157292] Re: autopkgtest fails with a stack trace on timeout

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Tue Mar 19 16:42:18 UTC 2013


Full log file

** Attachment added: "adt-friends.log"
   https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1157292/+attachment/3583603/+files/adt-friends.log

** Description changed:

- When autopkgtest times out (which is the correct behaviour) is crashes with the trace below:
- + rm -rf -- /tmp/tmp.hJAy7kExCy/dsc0t-unit-testtmp /tmp/tmp.hJAy7kExCy/dsc0t-unit-testtmp/tmpdir /tmp/tmp.hJAy7kExCy/dsc0t-unit-testtmp/adttmp
- + mkdir -- /tmp/tmp.hJAy7kExCy/dsc0t-unit-testtmp /tmp/tmp.hJAy7kExCy/dsc0t-unit-testtmp/tmpdir /tmp/tmp.hJAy7kExCy/dsc0t-unit-testtmp/adttmp
- + chown ubuntu /tmp/tmp.hJAy7kExCy/dsc0t-unit-testtmp /tmp/tmp.hJAy7kExCy/dsc0t-unit-testtmp/tmpdir /tmp/tmp.hJAy7kExCy/dsc0t-unit-testtmp/adttmp
- adt-run: trace: ** bomb sent `execute su,ubuntu,-c,/tmp/tmp.hJAy7kExCy/dsc0-build/friends-0.1.2daily13.03.19/debian/tests/unit /dev/null /tmp/tmp.hJAy7kExCy/dsc0t-unit-stdout /tmp/tmp.hJAy7kExCy/dsc0t-unit-stderr /tmp/tmp.hJAy7kExCy/dsc0-build/friends-0.1.2daily13.03.19/ timeout=10000 env=TMPDIR=/tmp/tmp.hJAy7kExCy/dsc0t-unit-testtmp/tmpdir env=ADTTMP=/tmp/tmp.hJAy7kExCy/dsc0t-unit-testtmp/adttmp', got `timeout', expected `ok...'
- <VirtSubproc>: failure: end of file - caller quit?
- adt-run: testbed failing, exit status 12
- adt-run: testbed failed: sent `execute su,ubuntu,-c,/tmp/tmp.hJAy7kExCy/dsc0-build/friends-0.1.2daily13.03.19/debian/tests/unit /dev/null /tmp/tmp.hJAy7kExCy/dsc0t-unit-stdout /tmp/tmp.hJAy7kExCy/dsc0t-unit-stderr /tmp/tmp.hJAy7kExCy/dsc0-build/friends-0.1.2daily13.03.19/ timeout=10000 env=TMPDIR=/tmp/tmp.hJAy7kExCy/dsc0t-unit-testtmp/tmpdir env=ADTTMP=/tmp/tmp.hJAy7kExCy/dsc0t-unit-testtmp/adttmp', got `timeout', expected `ok...'
+ When autopkgtest times out (which is the correct behaviour) is 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
+   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
+  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)

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

Title:
  autopkgtest fails with a stack trace on timeout

Status in “autopkgtest” package in Ubuntu:
  New

Bug description:
  When autopkgtest times out (which is the correct behaviour) is 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)

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




More information about the foundations-bugs mailing list