[Reproducible-builds] Bug#780587: wheezy pbuilder fails to build some packages as tests involving network fail
Holger Levsen
holger at layer-acht.org
Mon Mar 16 11:36:29 UTC 2015
package: pbuilder,qa.debian.org
x-debbugs-cc: Nikolaus at rath.org, reproducible-builds at lists.alioth.debian.org
User: debian-qa at lists.debian.org
Usertags: jenkins
Hi,
on jenkins.debian.net we're using pbuilder from wheezy in a wheezy environment
and noticed it fails to build some packages, eg s3ql in sid fails as can be seen in
https://reproducible.debian.net/rbuild/unstable/amd64/s3ql_2.13+dfsg-1.rbuild.log
tests/t1_backends.py::test_read_write[mock-s3c/aes] FAILED
=================================== FAILURES ===================================
________________________ test_read_write[mock-s3c/aes] _________________________
Traceback (most recent call last):
File "/tmp/buildd/s3ql-2.13+dfsg/tests/t1_backends.py", line 348, in test_read_write
assert_raises(NoSuchObject, backend.lookup, key)
File "/usr/lib/python3/dist-packages/_pytest/python.py", line 1037, in raises
func(*args[1:], **kwargs)
File "/tmp/buildd/s3ql-2.13+dfsg/src/s3ql/backends/comprenc.py", line 73, in lookup
meta_raw = self.backend.lookup(key)
File "/tmp/buildd/s3ql-2.13+dfsg/src/s3ql/backends/common.py", line 52, in wrapped
return method(*a, **kw)
File "/tmp/buildd/s3ql-2.13+dfsg/src/s3ql/backends/s3c.py", line 266, in lookup
resp = self._do_request('HEAD', '/%s%s' % (self.prefix, key))
File "/tmp/buildd/s3ql-2.13+dfsg/src/s3ql/backends/s3c.py", line 435, in _do_request
query_string=query_string, body=body)
File "/tmp/buildd/s3ql-2.13+dfsg/src/s3ql/backends/s3c.py", line 695, in _send_request
return read_response()
File "/tmp/buildd/s3ql-2.13+dfsg/src/s3ql/backends/s3c.py", line 657, in read_response
resp = self.conn.read_response()
File "/usr/lib/python3/dist-packages/dugong/__init__.py", line 708, in read_response
return eval_coroutine(self.co_read_response(), self.timeout)
File "/usr/lib/python3/dist-packages/dugong/__init__.py", line 1396, in eval_coroutine
if not next(crt).poll(timeout=timeout):
File "/usr/lib/python3/dist-packages/dugong/__init__.py", line 733, in co_read_response
(status, reason) = yield from self._co_read_status()
File "/usr/lib/python3/dist-packages/dugong/__init__.py", line 834, in _co_read_status
line = yield from self._co_readstr_until(b'\r\n', MAX_LINE_SIZE)
File "/usr/lib/python3/dist-packages/dugong/__init__.py", line 1206, in _co_readstr_until
while not self._try_fill_buffer():
File "/usr/lib/python3/dist-packages/dugong/__init__.py", line 1254, in _try_fill_buffer
raise ConnectionClosed('connection closed unexpectedly')
dugong.ConnectionClosed: connection closed unexpectedly
!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
=============== 1 failed, 1 passed, 1 warnings in 72.03 seconds ================
debian/rules:55: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/tmp/buildd/s3ql-2.13+dfsg'
debian/rules:13: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
More packages failing similarily can be found at
https://reproducible.debian.net/issues/ftbfs_in_jenkins_setup_issue.html
but please keep in mind that the issue description is a bit misleading:
it's usually not that some ports being used which are failing the tests
- in fact I don't know of such a case, and for s3ql it's definitly not
the case. (s3ql maintainer cc:ed...)
The BINDMOUNTS used are /run/shm, /dev/shm and /sys.
I'd be thankful for any hints resolving the issue. I tried strace -f but was
overwhelmed from the output, but I might look again :)
Also, I see the exact same issue on my laptop, so it's not just happening on
jenkins.debian.net - though granted, they both run stable and have been
set up by me :-)
cheers,
Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150316/42473e31/attachment.sig>
More information about the Reproducible-builds
mailing list