Debian Bug report logs -
#879223
websockify FTBFS with Python 3.6 as default
Reported by: Adrian Bunk <bunk@debian.org>
Date: Fri, 20 Oct 2017 17:27:04 UTC
Severity: serious
Tags: buster, patch, sid
Found in version websockify/0.8.0+dfsg1-7
Fixed in version websockify/0.8.0+dfsg1-8
Done: Thomas Goirand <zigo@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, PKG OpenStack <openstack-devel@lists.alioth.debian.org>:
Bug#879223; Package src:websockify.
(Fri, 20 Oct 2017 17:27:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Adrian Bunk <bunk@debian.org>:
New Bug report received and forwarded. Copy sent to PKG OpenStack <openstack-devel@lists.alioth.debian.org>.
(Fri, 20 Oct 2017 17:27:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: websockify
Version: 0.8.0+dfsg1-7
Severity: serious
Tags: buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/websockify.html
...
======================================================================
ERROR: test_list_dir_with_file_only_returns_error (test_websocket.WebSocketRequestHandlerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/websockify-0.8.0+dfsg1/tests/test_websocket.py", line 115, in test_list_dir_with_file_only_returns_error
FakeSocket('GET / HTTP/1.1'), '127.0.0.1', server)
File "/build/1st/websockify-0.8.0+dfsg1/websockify/websocket.py", line 114, in __init__
SimpleHTTPRequestHandler.__init__(self, req, addr, server)
File "/usr/lib/python3.6/socketserver.py", line 696, in __init__
self.handle()
File "/build/1st/websockify-0.8.0+dfsg1/websockify/websocket.py", line 581, in handle
SimpleHTTPRequestHandler.handle(self)
File "/usr/lib/python3.6/http/server.py", line 418, in handle
self.handle_one_request()
File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
method()
File "/build/1st/websockify-0.8.0+dfsg1/websockify/websocket.py", line 547, in do_GET
SimpleHTTPRequestHandler.do_GET(self)
File "/usr/lib/python3.6/http/server.py", line 636, in do_GET
f = self.send_head()
File "/usr/lib/python3.6/http/server.py", line 679, in send_head
return self.list_directory(path)
File "/build/1st/websockify-0.8.0+dfsg1/websockify/websocket.py", line 551, in list_directory
self.send_error(404, "No such file")
File "/usr/lib/python3.6/http/server.py", line 470, in send_error
self.end_headers()
File "/usr/lib/python3.6/http/server.py", line 520, in end_headers
self.flush_headers()
File "/usr/lib/python3.6/http/server.py", line 524, in flush_headers
self.wfile.write(b"".join(self._headers_buffer))
File "/usr/lib/python3.6/socketserver.py", line 775, in write
self._sock.sendall(b)
AttributeError: 'FakeSocket' object has no attribute 'sendall'
-------------------- >> begin captured logging << --------------------
websocket.type: INFO: WebSocket server settings:
websocket.type: INFO: - Listen on localhost:80
websocket.type: INFO: - Flash security policy server
websocket.type: INFO: - Web server (no directory listings). Web root: /tmp/tmplf5ug5_q-websockify-tests
websocket.type: INFO: - SSL/TLS support
websocket.type: INFO: - Recording to '/tmp/tmplf5ug5_q-websockify-tests.*'
websocket.type: INFO: 1 - - [22/Nov/2018 11:41:00] code 404, message No such file
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test_normal_get_with_only_upgrade_returns_error (test_websocket.WebSocketRequestHandlerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/1st/websockify-0.8.0+dfsg1/tests/test_websocket.py", line 101, in test_normal_get_with_only_upgrade_returns_error
FakeSocket('GET /tmp.txt HTTP/1.1'), '127.0.0.1', server)
File "/build/1st/websockify-0.8.0+dfsg1/websockify/websocket.py", line 114, in __init__
SimpleHTTPRequestHandler.__init__(self, req, addr, server)
File "/usr/lib/python3.6/socketserver.py", line 696, in __init__
self.handle()
File "/build/1st/websockify-0.8.0+dfsg1/websockify/websocket.py", line 581, in handle
SimpleHTTPRequestHandler.handle(self)
File "/usr/lib/python3.6/http/server.py", line 418, in handle
self.handle_one_request()
File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
method()
File "/build/1st/websockify-0.8.0+dfsg1/websockify/websocket.py", line 545, in do_GET
self.send_error(405, "Method Not Allowed")
File "/usr/lib/python3.6/http/server.py", line 470, in send_error
self.end_headers()
File "/usr/lib/python3.6/http/server.py", line 520, in end_headers
self.flush_headers()
File "/usr/lib/python3.6/http/server.py", line 524, in flush_headers
self.wfile.write(b"".join(self._headers_buffer))
File "/usr/lib/python3.6/socketserver.py", line 775, in write
self._sock.sendall(b)
AttributeError: 'FakeSocket' object has no attribute 'sendall'
-------------------- >> begin captured logging << --------------------
websocket.type: INFO: WebSocket server settings:
websocket.type: INFO: - Listen on localhost:80
websocket.type: INFO: - Flash security policy server
websocket.type: INFO: - SSL/TLS support
websocket.type: INFO: - Recording to '/tmp/tmpb5mdm2se-websockify-tests.*'
websocket.type: INFO: 1 - - [22/Nov/2018 11:41:00] code 405, message Method Not Allowed
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 34 tests in 3.397s
FAILED (errors=2)
debian/rules:33: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
Information forwarded
to debian-bugs-dist@lists.debian.org, PKG OpenStack <openstack-devel@lists.alioth.debian.org>:
Bug#879223; Package src:websockify.
(Sat, 21 Oct 2017 13:09:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Andreas Stührk <andy@hammerhartes.de>:
Extra info received and forwarded to list. Copy sent to PKG OpenStack <openstack-devel@lists.alioth.debian.org>.
(Sat, 21 Oct 2017 13:09:03 GMT) (full text, mbox, link).
Message #10 received at 879223@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 879223 + patch
thanks
Attached is a patch that fixes the FTBFS.
[Message part 2 (text/html, inline)]
[fix-tests-py3.6.patch (text/x-patch, attachment)]
Added tag(s) patch.
Request was from Andreas Stührk <andy@hammerhartes.de>
to control@bugs.debian.org.
(Sat, 21 Oct 2017 13:09:04 GMT) (full text, mbox, link).
Reply sent
to Thomas Goirand <zigo@debian.org>:
You have taken responsibility.
(Tue, 24 Oct 2017 21:09:12 GMT) (full text, mbox, link).
Notification sent
to Adrian Bunk <bunk@debian.org>:
Bug acknowledged by developer.
(Tue, 24 Oct 2017 21:09:12 GMT) (full text, mbox, link).
Message #17 received at 879223-close@bugs.debian.org (full text, mbox, reply):
Source: websockify
Source-Version: 0.8.0+dfsg1-8
We believe that the bug you reported is fixed in the latest version of
websockify, 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 879223@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <zigo@debian.org> (supplier of updated websockify 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 24 Oct 2017 20:34:51 +0000
Source: websockify
Binary: python-websockify python3-websockify websockify websockify-common
Architecture: source amd64 all
Version: 0.8.0+dfsg1-8
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <openstack-devel@lists.alioth.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Description:
python-websockify - WebSockets support for any application/server - Python 2
python3-websockify - WebSockets support for any application/server - Python 3
websockify - WebSockets support for any application/server
websockify-common - WebSockets support for any application/server - shared files
Closes: 879223
Changes:
websockify (0.8.0+dfsg1-8) unstable; urgency=medium
.
[ Ondřej Nový ]
* d/control: Using OpenStack's Gerrit as VCS URLs.
* Bumped debhelper compat version to 10
.
[ Thomas Goirand ]
* Ran wrap-and-sort -bast.
* Fixed VCS URLs.
* Updating copyright format url.
* Updating maintainer field.
* Updating standards version to 4.1.1.
* Add patch to fix Py 3.6 FTBFS (Closes: #879223).
Checksums-Sha1:
3fcd86d8cc66ca2c86100bdc4e7541467b34eabb 2398 websockify_0.8.0+dfsg1-8.dsc
1f9e60033a0717ec40ec8980a9610d08c721f1de 11868 websockify_0.8.0+dfsg1-8.debian.tar.xz
ce138629b47dac71bf0ff1c886fb3116f12a9ccf 31836 python-websockify_0.8.0+dfsg1-8_amd64.deb
33dd0c79c31da6b59dc62ac86c1a691e5d9dece5 31900 python3-websockify_0.8.0+dfsg1-8_amd64.deb
e01f78f64afa68cdcaa9df30fe9b3d4642392757 29062 websockify-common_0.8.0+dfsg1-8_all.deb
3e2c960a6ec7de2b2ee92dafaa1dbbb5f29d56f1 5114 websockify-dbgsym_0.8.0+dfsg1-8_amd64.deb
34b1863d2e92f0806b822ed405c15aefc852295a 10277 websockify_0.8.0+dfsg1-8_amd64.buildinfo
1568adc1140938b15745f35c771989cac14aa895 24142 websockify_0.8.0+dfsg1-8_amd64.deb
Checksums-Sha256:
5cd674ca8aa007daf1cd95f00e7bb1cfcd191837869e7537b0b7c46a6ec9a1f5 2398 websockify_0.8.0+dfsg1-8.dsc
c8e7d3f57f631f9178ca6c2a0dce57440d161ec61293e41fd4c920298bcdc4df 11868 websockify_0.8.0+dfsg1-8.debian.tar.xz
6aa17b8ba15a30b59d1948431e7a661e7450f3b337508267f859805f3f0eab1f 31836 python-websockify_0.8.0+dfsg1-8_amd64.deb
83d69d5525b7844219473510c12ddf302286df0df98ff5ed66aa321a289a01bc 31900 python3-websockify_0.8.0+dfsg1-8_amd64.deb
65c63a5e50e138f3521a6f36aaafdd8c163322a83b8019076103c71e41d8e64e 29062 websockify-common_0.8.0+dfsg1-8_all.deb
62e8dae9f22c0dbc04c60590ad24b2573661303dea8101f93d1b1e6f32fa6306 5114 websockify-dbgsym_0.8.0+dfsg1-8_amd64.deb
3902fce3491281a32be7394e497e28db8f315d615f647f93f53d5cc4e0c4e3e4 10277 websockify_0.8.0+dfsg1-8_amd64.buildinfo
c48d4ea6b236ac13ed613ccea2bde6e83d3555212148c3f0d8bbaeceb553c769 24142 websockify_0.8.0+dfsg1-8_amd64.deb
Files:
764c76e231d9618ceaf329e5d17973c5 2398 python optional websockify_0.8.0+dfsg1-8.dsc
5fbc51cc55ed3f242b1baa8fc6d46720 11868 python optional websockify_0.8.0+dfsg1-8.debian.tar.xz
1282b57e91eab34bdd4927774e47bc66 31836 python optional python-websockify_0.8.0+dfsg1-8_amd64.deb
aca1654ff1a4f0f417ae408f8116717d 31900 python optional python3-websockify_0.8.0+dfsg1-8_amd64.deb
74048af5f44e0f0bd1b676cbd73736ff 29062 python optional websockify-common_0.8.0+dfsg1-8_all.deb
fad396354f04a5fe7817a6e2d7e00ba1 5114 debug optional websockify-dbgsym_0.8.0+dfsg1-8_amd64.deb
ac8f234fda5841cab17b59fd30c872f0 10277 python optional websockify_0.8.0+dfsg1-8_amd64.buildinfo
e59cf14a39d2d8fbe2e5278801dd33b2 24142 python optional websockify_0.8.0+dfsg1-8_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAlnvpdAQHHppZ29AZGVi
aWFuLm9yZwAKCRDUFq0VrGtD/sG9D/9hXEWMZSMQenmSy6dkNpSunEYW69pwR1QJ
LK3qFVW1UbJ7S1Oo2VdSSwDBFhL3Z7McZdnLkk7+Vygx7xGKnYi1wPWf7CLmgxut
Eowo177eAnkb8vY9yOC7yxs7W7uWAt2dIFrvRdRUSCGl9wKe9IlFp/LdMOeTNU/d
OwpfDQ/VRik3Z4DZwI14DOFaHl8LK2KWNo/Q8VjESsmjdjOgGHvAqpQ/RAIQY3pF
ofL5KDJM0053eb9YgWILmhxM4/elBFf+5o4gHlb5WF+TjBLcyWF17AfVBJDQoVX3
TXYtRNYGzaE1T3n9WyaLM3KQlqbyIaXLWXJjJk1Ac6Q8EM7Bl6kAaERTjy4E9e/4
G0tFSfFuzCuoPNszjMjvR5NgUzFqOEtxQq6O9AgUjyUHIwLBAnL4ZBqgU/0ZZtGI
qfJ4DaT+iJrcuvNxDDFZ4sEcRbROSrT7ex18HQk0vBgC8jZWCypnjRsiCSNvNGZh
8YBRFt6EBw5VsGJpQRFQeneL7i1anB4q/uz357XlM7Y72zuZmmRsmwBz0thJfP92
DUncnfKnL5PXQq/npWmP8MxRYl6iLN1iHR4kjVoDxhi3Jrb8PBezPB+izZtGacDr
x2aqDQ431jLFmDLBktVBYlRdRpcWDqBnvfaqJWsRJO6G+ahrhhUjxvKaVsxbSkdk
Pczx+8VSHQ==
=4UbS
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 29 Nov 2017 07:26:39 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 13:46:48 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.