Package: python-pbkdf2
Version: 1.3+20110613.git2a0fb15~ds0-2
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch saucy

Hello,

The autopkgtests output to stderr, which causes autopkgtest to
consider this a failure (see [1]). As this uses unittest
auto-discovery which doesn't allow outputting to stdout, I think it's
easiest to just redirect the output to stdout. With that, it will
succeed [2].

Thanks for considering,

Martin

[1] 
https://jenkins.qa.ubuntu.com/view/Saucy/view/AutoPkgTest/job/saucy-adt-python-pbkdf2/4/ARCH=i386,label=adt/
[2] 
https://jenkins.qa.ubuntu.com/view/Saucy/view/AutoPkgTest/job/saucy-adt-python-pbkdf2/5/ARCH=i386,label=adt/

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -Nru python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/changelog 
python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/changelog
--- python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/changelog  2013-03-25 
05:17:12.000000000 -0700
+++ python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/changelog  2013-05-02 
13:36:58.000000000 -0700
@@ -1,3 +1,9 @@
+python-pbkdf2 (1.3+20110613.git2a0fb15~ds0-2ubuntu1) saucy; urgency=low
+
+  * autopkgtests: Redirect stderr to stdout.
+
+ -- Martin Pitt <martin.p...@ubuntu.com>  Thu, 02 May 2013 13:36:22 -0700
+
 python-pbkdf2 (1.3+20110613.git2a0fb15~ds0-2) unstable; urgency=low
 
   * Add autopkgtest support.
diff -Nru python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/tests/python3-pbkdf2 
python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/tests/python3-pbkdf2
--- python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/tests/python3-pbkdf2       
2013-03-25 05:09:00.000000000 -0700
+++ python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/tests/python3-pbkdf2       
2013-05-02 13:36:15.000000000 -0700
@@ -7,5 +7,5 @@
 cd "$WORKDIR/"
 
 for python in $(py3versions -i); do
-   PYTHONWARNINGS=d $python -m unittest discover -s test/
+   PYTHONWARNINGS=d $python -m unittest discover -s test/ 2>&1
 done
diff -Nru python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/tests/python-pbkdf2 
python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/tests/python-pbkdf2
--- python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/tests/python-pbkdf2        
2013-03-25 05:08:27.000000000 -0700
+++ python-pbkdf2-1.3+20110613.git2a0fb15~ds0/debian/tests/python-pbkdf2        
2013-05-02 13:35:58.000000000 -0700
@@ -7,5 +7,5 @@
 cd "$WORKDIR/"
 
 for python in $(pyversions -i); do
-   PYTHONWARNINGS=d $python -m unittest discover -s test/
+   PYTHONWARNINGS=d $python -m unittest discover -s test/ 2>&1
 done

Attachment: signature.asc
Description: Digital signature

Reply via email to