[Python-modules-team] Bug#692813: python-markdown: autopkgtest fails due to stderr

Dmitry Shachnev mitya57 at gmail.com
Fri Nov 9 11:11:34 UTC 2012


This is already fixed in SVN, I'll wait until upstream accepts some my
fixes and then upload a new version.

--
Dmitry Shachnev

On 11/9/12, Martin Pitt <mpitt at debian.org> wrote:
> Package: python-markdown
> Version: 2.2.1-2
> Tags: patch
> User: ubuntu-devel at lists.ubuntu.com
> Usertags: origin-ubuntu ubuntu-patch raring
>
> Hello,
>
> python-markdown's autopkgtest currently fails because the tests output
> all the interesting bits to stderr; that's an unfortunate default of
> Python's unittest, and the test scripts also use set -x. This leads
> to:
>
> adt-run: trace: & tree0t-python-markdown:  - - - - - - - - - - results - - -
> - - - - - - -
> tree0t-python-markdown FAIL status: 0, stderr: + cp -r tests run-tests.py
> /tmp/tmp...
> adt-run: trace: & tree0t-python-markdown:  - - - - - - - - - - stderr - - -
> - - - - - - -
> + cp -r tests run-tests.py
> /tmp/tmp.KBPiJHUJzY/tree0t-python-markdown-testtmp/adttmp/
> + cd /tmp/tmp.KBPiJHUJzY/tree0t-python-markdown-testtmp/adttmp
> + pyversions -i
> + PYTHONWARNINGS=d python2.7 run-tests.py
> /usr/lib/python2.7/dist-packages/nose/util.py:14: DeprecationWarning: The
> compiler package is deprecated and removed in Python 3.x.
>   from compiler.consts import CO_GENERATOR
> /usr/lib/python2.7/dist-packages/nose/plugins/manager.py:405: UserWarning:
> Module tests was already imported from
> /tmp/tmp.KBPiJHUJzY/tree0t-python-markdown-testtmp/adttmp/tests/__init__.py,
> but /usr/lib/python2.7/dist-packages is being added to sys.path
>   import pkg_resources
> ......................................................................................................................S......................................................................
> ----------------------------------------------------------------------
> Ran 189 tests in 1.456s
>
> You can also see this in Jenkins:
>
>
> https://jenkins.qa.ubuntu.com/view/Raring/view/AutoPkgTest/job/raring-adt-python-markdown/3/ARCH=i386,label=albali/
>
> Attached patch fixes this by redirecting stderr to stdout.
>
> Thanks for considering,
>
> Martin
>
> --
> Martin Pitt                        | http://www.piware.de
> Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
>



More information about the Python-modules-team mailing list