Bug#835437: pycurl: FTBFS too much often (failing tests)

2016-11-04 Thread Barry Warsaw
On Nov 03, 2016, at 08:32 PM, Santiago Vila wrote:

>My recommendation: Please find the way to disable any tests which
>perform network access, I have the strong feeling that the build would
>never hang if those tests are disabled.

+1 - unfortunately I just don't have any spare cycles right now.  If someone
wants to work on this, I will gladly review, sponsor, or otherwise help get
your contribution landed.


pgpMYX3s0cmxX.pgp
Description: OpenPGP digital signature


Bug#835437: pycurl: FTBFS too much often (failing tests)

2016-11-03 Thread Sandro Tosi
> I believe this bug to be essentially the same as the one regarding
> network access.

yeah i believe that's the case too, as looking at the logs you
attached to the bug there are several instances of trying to access
remote resources and the error out.

-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi



Bug#835437: pycurl: FTBFS too much often (failing tests)

2016-11-03 Thread Santiago Vila
Hi.

I believe this bug to be essentially the same as the one regarding
network access.

Chris downgraded the other bug to "important" because he was filing
serious bugs on the only basis that there was "network activity".

In this case, however, network access (and to be precise, expecting a
reply from the other side) is what makes the package to fail (it seems).

My recommendation: Please find the way to disable any tests which
perform network access, I have the strong feeling that the build would
never hang if those tests are disabled.

Thanks.



Bug#835437: pycurl: FTBFS too much often (failing tests)

2016-11-03 Thread Barry Warsaw
On Nov 03, 2016, at 02:03 PM, Sandro Tosi wrote:

>Hey Barry, did you have a chance to look at this? might be also just
>forward it upstream and see how that goes. Thanks!

I'm sorry, I haven't. :(


pgp4tL3nYiOn2.pgp
Description: OpenPGP digital signature


Bug#835437: pycurl: FTBFS too much often (failing tests)

2016-11-03 Thread Sandro Tosi
On Thu, 25 Aug 2016 19:21:18 +0200 (CEST) Santiago Vila  wrote:
> Package: src:pycurl
> Version: 7.43.0-1
> Severity: serious
>
> Dear maintainer:
>
> I tried to build this package in stretch with "dpkg-buildpackage -A"
> (which is what the "Arch: all" autobuilder would do to build it)
> but it failed:
>
> 
> [...]

Hey Barry, did you have a chance to look at this? might be also just
forward it upstream and see how that goes. Thanks!



Bug#835437: pycurl: FTBFS too much often (failing tests)

2016-08-25 Thread Santiago Vila
Package: src:pycurl
Version: 7.43.0-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:


[...]
 debian/rules build-indep
dh build-indep --with python2,python3,sphinxdoc
   dh_testdir -i
   dh_update_autotools_config -i
   dh_auto_configure -i
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<>'
make gen
make[2]: Entering directory '/<>'
python setup.py docstrings
make[2]: Leaving directory '/<>'
set -e ;\
for py in 2.7 3.5 ; do \

[... snipped ...]

test_multi_cycle passed 1 out of the required 1 times. Success!
test_opensocketfunction_collection passed 1 out of the required 1 times. 
Success!
test_postfields_unicode_memory_leak_gh252 passed 1 out of the required 1 times. 
Success!
test_progressfunction_collection passed 1 out of the required 1 times. Success!
test_readfunction_collection passed 1 out of the required 1 times. Success!
test_refcounting_bug_in_reset passed 1 out of the required 1 times. Success!
test_reference_counting passed 1 out of the required 1 times. Success!
test_seekfunction_collection passed 1 out of the required 1 times. Success!
test_share_collection passed 1 out of the required 1 times. Success!
test_share_cycle passed 1 out of the required 1 times. Success!
test_writefunction_collection passed 1 out of the required 1 times. Success!
test_xferinfofunction_collection passed 1 out of the required 1 times. Success!
test_opensocketfunction_collection passed 1 out of the required 1 times. 
Success!
test_seekfunction_collection passed 1 out of the required 1 times. Success!
test_pause_via_call passed 1 out of the required 1 times. Success!
test_pause_via_return passed 1 out of the required 1 times. Success!
test_post_byte_buffer passed 1 out of the required 1 times. Success!
test_post_fields_with_ampersand passed 1 out of the required 1 times. Success!
test_post_file passed 1 out of the required 1 times. Success!
test_post_list_of_list_of_lists passed 1 out of the required 1 times. Success!
test_post_list_of_tuple_of_tuples passed 1 out of the required 1 times. Success!
test_post_multiple_fields passed 1 out of the required 1 times. Success!
test_post_single_field passed 1 out of the required 1 times. Success!
test_post_tuple_of_lists_of_tuples passed 1 out of the required 1 times. 
Success!
test_post_tuple_of_tuple_of_lists passed 1 out of the required 1 times. Success!
test_post_tuple_of_tuples_of_tuples passed 1 out of the required 1 times. 
Success!
test_post_unicode_buffer passed 1 out of the required 1 times. Success!
test_post_with_null_byte passed 1 out of the required 1 times. Success!

===End Flaky Test Report===
--
Ran 327 tests in 29.329s

FAILED (SKIP=8, errors=4, failures=3)
part1part2Exception in thread Thread-1 (most likely raised during interpreter 
shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  File "/<>/tests/runwsgi.py", line 74, in run
  File "/usr/lib/python2.7/dist-packages/bottle.py", line 3117, in run
  File "/<>/tests/runwsgi.py", line 51, in run
  File "/<>/tests/runwsgi.py", line 35, in serve
  File "/usr/lib/python2.7/SocketServer.py", line 236, in serve_forever
  File "/usr/lib/python2.7/threading.py", line 585, in set
  File "/usr/lib/python2.7/threading.py", line 407, in notifyAll
: 'NoneType' object is not callable
make[2]: *** wait: No child processes.  Stop.
make[2]: *** Waiting for unfinished jobs
make[2]: *** wait: No child processes.  Stop.
make[1]: *** wait: No child processes.  Stop.
make[1]: *** Waiting for unfinished jobs
make[1]: *** wait: No child processes.  Stop.
make: *** wait: No child processes.  Stop.
make: *** Waiting for unfinished jobs
make: *** wait: No child processes.  Stop.
E: Build killed with signal TERM after 60 minutes of inactivity


I'm attaching two different build logs.

In addition to this package making sbuild to hang, there is also an
error which seems to be common these days among python packages:

UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-11: 
ordinal not in range(128)
[...]

This seems to happen when LANG=C. Please see Bug#834916 for a similar bug.

Thanks.

pycurl_7.43.0-1_amd64-20160728T0931Z.gz
Description: application/gzip


pycurl_7.43.0-1_amd64-20160825T155444Z.gz
Description: application/gzip