[Bug 1167745] [NEW] autopkgtest failure: testStdin failed if stdin is redirected

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Thu Apr 11 07:27:43 UTC 2013


Public bug reported:

testStdin from the python2.7 regression testsuite failed when run with
autopkgtest [1] with the error below because adt-run redirects stdin to
/dev/null

======================================================================
FAIL: testStdin (test.test_file2k.OtherFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/test/test_file2k.py", line 232, in testStdin
    self.assertRaises(IOError, sys.stdin.seek, -1)
AssertionError: IOError not raised

----------------------------------------------------------------------

This is reproducible from the command line with:
 $ python2.7 -E -Wd -3 -E -tt /usr/lib/python2.7/test/regrtest.py -w test_file2k </dev/null


[1] https://jenkins.qa.ubuntu.com/job/raring-adt-python2.7/ARCH=amd64,label=adt/1/

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: python2.7 2.7.4-1ubuntu4
ProcVersionSignature: Ubuntu 3.8.0-17.27-generic 3.8.6
Uname: Linux 3.8.0-17-generic x86_64
ApportVersion: 2.9.2-0ubuntu5
Architecture: amd64
Date: Thu Apr 11 09:14:12 2013
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: python2.7
UpgradeStatus: Upgraded to raring on 2012-01-31 (435 days ago)

** Affects: python2.7 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug qa-daily-testing raring

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1167745

Title:
  autopkgtest failure: testStdin failed if stdin is redirected

Status in “python2.7” package in Ubuntu:
  New

Bug description:
  testStdin from the python2.7 regression testsuite failed when run with
  autopkgtest [1] with the error below because adt-run redirects stdin
  to /dev/null

  ======================================================================
  FAIL: testStdin (test.test_file2k.OtherFileTests)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/lib/python2.7/test/test_file2k.py", line 232, in testStdin
      self.assertRaises(IOError, sys.stdin.seek, -1)
  AssertionError: IOError not raised

  ----------------------------------------------------------------------

  This is reproducible from the command line with:
   $ python2.7 -E -Wd -3 -E -tt /usr/lib/python2.7/test/regrtest.py -w test_file2k </dev/null

  
  [1] https://jenkins.qa.ubuntu.com/job/raring-adt-python2.7/ARCH=amd64,label=adt/1/

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: python2.7 2.7.4-1ubuntu4
  ProcVersionSignature: Ubuntu 3.8.0-17.27-generic 3.8.6
  Uname: Linux 3.8.0-17-generic x86_64
  ApportVersion: 2.9.2-0ubuntu5
  Architecture: amd64
  Date: Thu Apr 11 09:14:12 2013
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: python2.7
  UpgradeStatus: Upgraded to raring on 2012-01-31 (435 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1167745/+subscriptions




More information about the foundations-bugs mailing list