Bug#844931: python-dugong: FTBFS: dh_auto_test: pybuild --test -i python{version} -p 3.5 returned exit code 13

2016-11-19 Thread Scott Kitterman
Control: reassign 844931 python3.5

Python3 is essentially a metapackage and contains none of the relevant code.  
You want python3.5.

Scott K

On Sat, 19 Nov 2016 14:15:52 -0800 Nikolaus Rath  wrote:
> Control: reassign 844931 python3
> Control: affects 844931 +python-dugong
> thanks
> 
> I think this is actually a bug in Python 3 - and might be caused by the
> recent OpenSSL transition.
> 
> Unless I'm mistaken, reading from an SSLSocket should not raise OSErrors
> with errno 0. For example:
> 
> 
> >>   File "/usr/lib/python3.5/ssl.py", line 937, in recv_into
> >> return self.read(nbytes, buffer)
> >>   File "/usr/lib/python3.5/ssl.py", line 799, in read
> >> return self._sslobj.read(len, buffer)
> >>   File "/usr/lib/python3.5/ssl.py", line 583, in read
> >> v = self._sslobj.read(len, buffer)
> >> OSError: [Errno 0] Error
> >>   File "/usr/lib/python3.5/socket.py", line 576, in readinto
> >> return self._sock.recv_into(b)
> 
> and
> 
> >>   File "/<>/python-dugong-3.7+dfsg/test/test_dugong.py", line 
> >> 1096, in handle
> >> return super().handle()
> >>   File "/usr/lib/python3.5/http/server.py", line 424, in handle
> >> self.handle_one_request()
> >>   File "/usr/lib/python3.5/http/server.py", line 390, in handle_one_request
> >> self.raw_requestline = self.rfile.readline(65537)
> >>   File "/usr/lib/python3.5/socket.py", line 576, in readinto
> >> return self._sock.recv_into(b)
> >>   File "/usr/lib/python3.5/ssl.py", line 937, in recv_into
> >> return self.read(nbytes, buffer)
> >> Traceback (most recent call last):
> >>   File "/usr/lib/python3.5/ssl.py", line 799, in read
> >> return self._sslobj.read(len, buffer)
> >>   File "/usr/lib/python3.5/ssl.py", line 583, in read
> >> v = self._sslobj.read(len, buffer)
> 
> 
> Best,
> -Nikolaus
> -- 
> GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
> Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
> 
>  »Time flies like an arrow, fruit flies like a Banana.«
> 
> 



Bug#844931: python-dugong: FTBFS: dh_auto_test: pybuild --test -i python{version} -p 3.5 returned exit code 13

2016-11-19 Thread Nikolaus Rath
Control: reassign 844931 python3
Control: affects 844931 +python-dugong
thanks

I think this is actually a bug in Python 3 - and might be caused by the
recent OpenSSL transition.

Unless I'm mistaken, reading from an SSLSocket should not raise OSErrors
with errno 0. For example:


>>   File "/usr/lib/python3.5/ssl.py", line 937, in recv_into
>> return self.read(nbytes, buffer)
>>   File "/usr/lib/python3.5/ssl.py", line 799, in read
>> return self._sslobj.read(len, buffer)
>>   File "/usr/lib/python3.5/ssl.py", line 583, in read
>> v = self._sslobj.read(len, buffer)
>> OSError: [Errno 0] Error
>>   File "/usr/lib/python3.5/socket.py", line 576, in readinto
>> return self._sock.recv_into(b)

and

>>   File "/<>/python-dugong-3.7+dfsg/test/test_dugong.py", line 
>> 1096, in handle
>> return super().handle()
>>   File "/usr/lib/python3.5/http/server.py", line 424, in handle
>> self.handle_one_request()
>>   File "/usr/lib/python3.5/http/server.py", line 390, in handle_one_request
>> self.raw_requestline = self.rfile.readline(65537)
>>   File "/usr/lib/python3.5/socket.py", line 576, in readinto
>> return self._sock.recv_into(b)
>>   File "/usr/lib/python3.5/ssl.py", line 937, in recv_into
>> return self.read(nbytes, buffer)
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.5/ssl.py", line 799, in read
>> return self._sslobj.read(len, buffer)
>>   File "/usr/lib/python3.5/ssl.py", line 583, in read
>> v = self._sslobj.read(len, buffer)


Best,
-Nikolaus
-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

 »Time flies like an arrow, fruit flies like a Banana.«



Bug#844931: python-dugong: FTBFS: dh_auto_test: pybuild --test -i python{version} -p 3.5 returned exit code 13

2016-11-19 Thread Lucas Nussbaum
On 19/11/16 at 10:35 -0800, Nikolaus Rath wrote:
> On Nov 19 2016, Lucas Nussbaum  wrote:
> > During a rebuild of all packages in sid, your package failed to build on
> > amd64.
> [...]
> >> Traceback (most recent call last):
> >>   File "/usr/lib/python3.5/ssl.py", line 799, in read
> >> return self._sslobj.read(len, buffer)
> >>   File "/usr/lib/python3.5/ssl.py", line 583, in read
> >> v = self._sslobj.read(len, buffer)
> >> --- Captured stderr teardown 
> >> ---
> >> OSError: [Errno 0] Error
> 
> It's a little odd that all of the SSL related tests would fail all of a
> sudden. Is there something special about your build environment? May
> this be related to the openssl transition? Did you notice other
> ssl-using packages showing similar problems?

Hi,

There are lots of openssl-using packages failing to build, that AFAIK
this is the only one with test failures.

Lucas



Bug#844931: python-dugong: FTBFS: dh_auto_test: pybuild --test -i python{version} -p 3.5 returned exit code 13

2016-11-19 Thread Nikolaus Rath
On Nov 19 2016, Lucas Nussbaum  wrote:
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
[...]
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.5/ssl.py", line 799, in read
>> return self._sslobj.read(len, buffer)
>>   File "/usr/lib/python3.5/ssl.py", line 583, in read
>> v = self._sslobj.read(len, buffer)
>> --- Captured stderr teardown 
>> ---
>> OSError: [Errno 0] Error

It's a little odd that all of the SSL related tests would fail all of a
sudden. Is there something special about your build environment? May
this be related to the openssl transition? Did you notice other
ssl-using packages showing similar problems?


Thanks,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

 »Time flies like an arrow, fruit flies like a Banana.«



Bug#844931: python-dugong: FTBFS: dh_auto_test: pybuild --test -i python{version} -p 3.5 returned exit code 13

2016-11-18 Thread Lucas Nussbaum
Source: python-dugong
Version: 3.7+dfsg-3
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20161118 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):
> make[1]: Entering directory '/<>/python-dugong-3.7+dfsg'
> dh_auto_build
> I: pybuild base:184: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating 
> /<>/python-dugong-3.7+dfsg/.pybuild/pythonX.Y_3.5/build/dugong
> copying ./dugong/__init__.py -> 
> /<>/python-dugong-3.7+dfsg/.pybuild/pythonX.Y_3.5/build/dugong
> # Build docs
> python3 setup.py build_sphinx
> running build_sphinx
> creating /<>/python-dugong-3.7+dfsg/doc/doctrees
> creating /<>/python-dugong-3.7+dfsg/doc/html
> Running Sphinx v1.4.8
> loading pickled environment... not yet created
> loading intersphinx inventory from ../debian/python.inv...
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 7 source files that are out of date
> updating environment: 7 added, 0 changed, 0 removed
> reading sources... [ 14%] api
> reading sources... [ 28%] coroutines
> reading sources... [ 42%] index
> reading sources... [ 57%] intro
> reading sources... [ 71%] issues
> reading sources... [ 85%] tutorial
> reading sources... [100%] whatsnew
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [ 14%] api
> writing output... [ 28%] coroutines
> writing output... [ 42%] index
> writing output... [ 57%] intro
> writing output... [ 71%] issues
> writing output... [ 85%] tutorial
> writing output... [100%] whatsnew
> 
> /<>/python-dugong-3.7+dfsg/rst/api.rst:35: WARNING: py:obj 
> reference target not found: ssl.SSLSocket
> generating indices... genindex
> writing additional pages... search
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en) ... done
> dumping object inventory... done
> build succeeded, 1 warning.
> make[1]: Leaving directory '/<>/python-dugong-3.7+dfsg'
>dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:184: cd 
> /<>/python-dugong-3.7+dfsg/.pybuild/pythonX.Y_3.5/build; python3.5 
> -m pytest --installed "/<>/python-dugong-3.7+dfsg/test/"
> = test session starts 
> ==
> platform linux -- Python 3.5.2+, pytest-3.0.3, py-1.4.31, pluggy-0.4.0 -- 
> /usr/bin/python3.5
> cachedir: ../../../test/.cache
> rootdir: /<>/python-dugong-3.7+dfsg/test, inifile: pytest.ini
> plugins: catchlog-1.2.2
> collecting ... collected 118 items
> 
> ../../../test/test_aio.py::test_aio_future PASSED
> ../../../test/test_dugong.py::test_connect_ssl SKIPPED
> ../../../test/test_dugong.py::test_invalid_ssl SKIPPED
> ../../../test/test_dugong.py::test_dns_one PASSED
> ../../../test/test_dugong.py::test_dns_two PASSED
> ../../../test/test_dugong.py::test_http_proxy[plain-None] PASSED
> ../../../test/test_dugong.py::test_http_proxy[plain-8080] PASSED
> ../../../test/test_dugong.py::test_connect_proxy[plain-None] PASSED
> ../../../test/test_dugong.py::test_connect_proxy[plain-8080] PASSED
> ../../../test/test_dugong.py::test_get_pipeline[plain] PASSED
> ../../../test/test_dugong.py::test_ssl_info[plain] PASSED
> ../../../test/test_dugong.py::test_blocking_send[plain] PASSED
> ../../../test/test_dugong.py::test_blocking_read[plain] PASSED
> ../../../test/test_dugong.py::test_discard[plain] PASSED
> ../../../test/test_dugong.py::test_discard_chunked[plain] PASSED
> ../../../test/test_dugong.py::test_read_text[plain] PASSED
> ../../../test/test_dugong.py::test_read_text2[plain] PASSED
> ../../../test/test_dugong.py::test_read_text3[plain] PASSED
> ../../../test/test_dugong.py::test_read_identity[plain] PASSED
> ../../../test/test_dugong.py::test_conn_close_1[plain] PASSED
> ../../../test/test_dugong.py::test_conn_close_2[plain] PASSED
> ../../../test/test_dugong.py::test_conn_close_3[plain] PASSED
> ../../../test/test_dugong.py::test_conn_close_4[plain] PASSED
> ../../../test/test_dugong.py::test_conn_close_5[plain] PASSED
> ../../../test/test_dugong.py::test_exhaust_buffer[plain] PASSED
> ../../../test/test_dugong.py::test_full_buffer[plain] PASSED
> ../../../test/test_dugong.py::test_readinto_identity[plain] PASSED
> ../../../test/test_dugong.py::test_read_chunked[plain] PASSED
> ../../../test/test_dugong.py::test_read_chunked2[plain] PASSED
> ../../../test/test_dugong.py::test_readinto_chunked[plain] PASSED
> ../../../test/test_dugong.py::test_double_read[plain] PASSED
> ../../../test/test_dugong.py::test_read_raw[plain] PASSED
> ../../../test/test_dugong.py::test_abort_read[plain] PASSED
> ../../../test/test_dugong.py::test_abort_co_read[plain] PASSED
> ../../../test/test_dugong.py::test_abort_write[plain] PASSED
> ../../../test/test_dugong.py::test_write_toomuch[plain] PASSED
>