Package: python-astropy Version: 1.0.5-2 Tags: patch User: [email protected] Usertags: autopkgtest
Hello,
python-astropy's py3 test currently fails [1]:
| adt-run [12:52:58]: test python3-astropy: - - - - - - - - - - results - - -
- - - - - - -
| python3-astropy FAIL stderr: /usr/lib/python3.5/threading.py:866:
ResourceWarning: unclosed <socket.socket fd=11, family=AddressFamily.AF_INET,
type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 36359)>
I. e. somewhere it leaks an open file object. This isn't directly from
debian/tests/python3-astropy but somewhere in the Python module
itself. So ideally this leak would be fixed properly.
Alternatively you could just apply this patch that ignores stderr
output for the test.
This can be reproduced in a sid schroot with e. g.
adt-run python-astropy --- schroot sid
Thanks,
Martin
[1] http://autopkgtest.ubuntu.com/packages/p/python-astropy/xenial/amd64/
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
diff -Nru python-astropy-1.0.5/debian/changelog python-astropy-1.0.5/debian/changelog --- python-astropy-1.0.5/debian/changelog 2015-10-08 15:45:14.000000000 +0200 +++ python-astropy-1.0.5/debian/changelog 2015-10-26 16:14:33.000000000 +0100 @@ -1,3 +1,10 @@ +python-astropy (1.0.5-2ubuntu1) xenial; urgency=medium + + * debian/tests/control: Ignore stderr for python3 test to avoid failing on + the ResourceWarning stderr message. + + -- Martin Pitt <[email protected]> Mon, 26 Oct 2015 16:14:06 +0100 + python-astropy (1.0.5-2) unstable; urgency=low * Fix FTBS on i386 diff -Nru python-astropy-1.0.5/debian/tests/control python-astropy-1.0.5/debian/tests/control --- python-astropy-1.0.5/debian/tests/control 2015-10-06 13:25:50.000000000 +0200 +++ python-astropy-1.0.5/debian/tests/control 2015-10-26 16:13:44.000000000 +0100 @@ -3,3 +3,4 @@ Tests: python3-astropy Depends: python3-astropy, python-scipy +Restrictions: allow-stderr
signature.asc
Description: Digital signature

