Your message dated Wed, 30 Apr 2014 13:00:09 +0000
with message-id <e1wfu7n-0003dk...@franck.debian.org>
and subject line Bug#746118: fixed in python-httpretty 0.8.0-2
has caused the Debian Bug report #746118,
regarding python-httpretty: FTBFS: Tests failures
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
746118: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746118
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-httpretty
Version: 0.8.0-1
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20140426 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
>
> A content-type of application/json should parse a valid json body ... ok
> A content-type of application/json with an invalid json body should return
> the content unaltered ... ok
> A content-type of x-www-form-urlencoded with a valid queryparam body should
> return parsed content ... ok
> A non-handled content type request's post body should return the content
> unaltered ... ok
> httpretty.last_request() should return httpretty.core.last_request ... ok
>
> ======================================================================
> FAIL: HTTPretty should not raise a RuntimeError when the fakesocket is used in
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
> File "/«PKGBUILDDIR»/tests/unit/test_httpretty.py", line 96, in
> test_httpretty_should_not_raise_on_socket_send_when_uri_not_registered
> ).should_not.throw(RuntimeError)
> File "/usr/lib/python2.7/dist-packages/sure/__init__.py", line 376, in
> wrapper
> value = func(self, *args, **kw)
> File "/usr/lib/python2.7/dist-packages/sure/__init__.py", line 788, in throw
> raise AssertionError(err)
> AssertionError: <bound method socket.sendto of <httpretty.core.socket object
> at 0x2ba39bf51590>> called with args [] and kwargs {} should not raise <type
> 'exceptions.RuntimeError'> but raised sendto() takes 2 or 3 arguments (0
> given)
>
> ======================================================================
> FAIL: tests.unit.test_httpretty.test_global_boolean_enabled
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
> File "/«PKGBUILDDIR»/tests/unit/test_httpretty.py", line 239, in
> test_global_boolean_enabled
> expect(HTTPretty.is_enabled()).to.be.falsy
> File "/usr/lib/python2.7/dist-packages/sure/__init__.py", line 426, in
> __getattr__
> return getattr(self._ab, name)
> File "/usr/lib/python2.7/dist-packages/sure/__init__.py", line 376, in
> wrapper
> value = func(self, *args, **kw)
> File "/usr/lib/python2.7/dist-packages/sure/__init__.py", line 570, in falsy
> assert not bool(self.obj), msg
> AssertionError: expected `True` to be falsy
>
> ======================================================================
> FAIL: tests.unit.test_httpretty.test_fake_socket_passes_through_setblocking
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
> File "/«PKGBUILDDIR»/tests/unit/test_httpretty.py", line 280, in
> test_fake_socket_passes_through_setblocking
> s.truesock.setblocking.assert_called_with(0)
> File "/usr/lib/python2.7/dist-packages/mock.py", line 844, in
> assert_called_with
> raise AssertionError(msg)
> AssertionError: Expected call: setblocking(0)
> Actual call: setblocking()
>
> ======================================================================
> FAIL: tests.unit.test_httpretty.test_fake_socket_passes_through_getsockopt
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
> File "/«PKGBUILDDIR»/tests/unit/test_httpretty.py", line 297, in
> test_fake_socket_passes_through_getsockopt
> s.truesock.getsockopt.assert_called_with(socket.SOL_SOCKET, 1)
> File "/usr/lib/python2.7/dist-packages/mock.py", line 844, in
> assert_called_with
> raise AssertionError(msg)
> AssertionError: Expected call: getsockopt(1, 1)
> Actual call: getsockopt()
>
> ======================================================================
> FAIL: tests.unit.test_httpretty.test_fake_socket_passes_through_shutdown
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
> File "/«PKGBUILDDIR»/tests/unit/test_httpretty.py", line 353, in
> test_fake_socket_passes_through_shutdown
> s.truesock.shutdown.assert_called_with(socket.SHUT_RD)
> File "/usr/lib/python2.7/dist-packages/mock.py", line 844, in
> assert_called_with
> raise AssertionError(msg)
> AssertionError: Expected call: shutdown(0)
> Actual call: shutdown()
>
> Name Stmts Miss Cover Missing
> ------------------------------------------------
> httpretty 23 0 100%
> httpretty.compat 10 0 100%
> httpretty.core 535 120 78% 392-394, 414, 423, 426, 429, 432,
> 439, 443-449, 453, 457, 462, 480-482, 486, 492, 515-516, 532, 554, 557,
> 562-563, 597-599, 632-633, 654, 691, 717, 727-730, 738, 744-768, 774,
> 787-791, 796-833, 838-847, 878, 881-884, 898-899, 904, 939-940, 978-979,
> 995-1020
> httpretty.errors 3 0 100%
> httpretty.http 28 0 100%
> httpretty.utils 10 0 100%
> ------------------------------------------------
> TOTAL 609 120 80%
> ----------------------------------------------------------------------
> Ran 48 tests in 0.127s
>
> FAILED (failures=5)
> make[1]: *** [override_dh_auto_test] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2014/04/26/python-httpretty_0.8.0-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
--- End Message ---
--- Begin Message ---
Source: python-httpretty
Source-Version: 0.8.0-2
We believe that the bug you reported is fixed in the latest version of
python-httpretty, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 746...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <z...@debian.org> (supplier of updated python-httpretty package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 03 Apr 2014 15:44:09 +0800
Source: python-httpretty
Binary: python-httpretty python3-httpretty
Architecture: source all
Version: 0.8.0-2
Distribution: unstable
Urgency: medium
Maintainer: PKG OpenStack <openstack-de...@lists.alioth.debian.org>
Changed-By: Thomas Goirand <z...@debian.org>
Description:
python-httpretty - HTTP client mock - Python 2.x
python3-httpretty - HTTP client mock - Python 3.x
Closes: 746118
Changes:
python-httpretty (0.8.0-2) unstable; urgency=medium
.
* Added python3 support.
* Allow the unit tests to fail, because they do with the last version of
python-sure (Closes: #746118).
Checksums-Sha1:
f7651d2b22250050586e999b898337e503126ce3 2465 python-httpretty_0.8.0-2.dsc
14dd361733113060dbde07de200e44307d8c384a 3568
python-httpretty_0.8.0-2.debian.tar.xz
09eba49597e836d3f422552e2e623d66dfb0527c 18054 python-httpretty_0.8.0-2_all.deb
760dda9f835657c9764a1e4f2b4c4b1b335b227d 17660
python3-httpretty_0.8.0-2_all.deb
Checksums-Sha256:
c08e4d76fe477b74f9558da46d854290788454e3be0a8e3ab6666aeb627170e8 2465
python-httpretty_0.8.0-2.dsc
05cc91f6b4c617eee53630a8a03d257a8f8461a54057d8537362cb5617070982 3568
python-httpretty_0.8.0-2.debian.tar.xz
cedc07abf3355149b886b4f9554866f2f9e5f40ab6c5ee009502fd33f28034fe 18054
python-httpretty_0.8.0-2_all.deb
fda9185b039fe0c31bf1a49dd7d1db3248b9478695b10725222d6b8097a61325 17660
python3-httpretty_0.8.0-2_all.deb
Files:
85225316d625a8174376db202d54cdfc 2465 python optional
python-httpretty_0.8.0-2.dsc
0abc4c809460f37a4acf493b5828040e 3568 python optional
python-httpretty_0.8.0-2.debian.tar.xz
f9846c3121c3d936f086f415308dd67e 18054 python optional
python-httpretty_0.8.0-2_all.deb
4e0afe1566409cb62246d7a47f53a758 17660 python optional
python3-httpretty_0.8.0-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJTYLiRAAoJENQWrRWsa0P+KGgP/RxqthvQbHA989sK+pKfW+th
QmCCaAPG9JzM8hL9RmA3jioP4VQp2kgEphB/Zw1yeKkCDieUi8jsvBSg/OVE0MyF
A6+vT/IZVLNOnkxxllUrh87gOjhGGzOeoj937HtXnMOxMambkoZnVMxD7r2Xf0h2
AXTDsm3PiEeZ289zzGQvF9pnKblT7rR6jTQjuTPWUT4FIGdSIJToldSK19jARXf3
UBsbmvoCodUo5aMO6z0v37h46Bs6Fd0kos1D6vyRUt6AKPjHEMH76MeIHE0R0uEx
mceGc/Klv2h/DdA0n+wsKc2AG+Fyt73rBHhfNrSUNQSGMpMCd+GWsQKY+Z2xPr/y
lt12isex4tjR5cpvL4Jrq+ejxKVvKkbhO31RhjHcpC8soCnEuYh6k8D38BQ6p8DA
dgfxbPXy3++bmH1V5j84XyXmJxsXNBqv8CmTcmsEz6HC5Z73u9O/BsE2UG2rN960
2fWytM/pCao0rcZ6J4DjFYxOwS8sTP/dC58CdlEM0UtVLiXdrG0dOO96c9MnlbcR
1VlLjw2iGV97hpoaXWMGU0MfPiL9fp0sB7FO+PuzbM+3K6uD7ivCge5spuQpQlbp
bsBQ2DqTNc6lNjtaLH9X6JHJvZa5Si0NWj0Tf6Jm7fK75qCSBcbfruj1be3OT71p
rAlfOJ+46tLfPdXNESiD
=7YdZ
-----END PGP SIGNATURE-----
--- End Message ---