[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#780587: tried several things today, no luck



On Sat, 28 Mar 2015 00:34:48 +0100, Holger Levsen wrote:

> I've tried several things today, but still couldnt get the s3ql tests to 
> succeed in wheezys pbuilder.
> 
> I've tried:
> 
> - disabling the firewall
> - unsetting http_proxy in a pbuilder A hook
> - build on a system using the wheezy kernel instead of the wheezy backports 
> one
> - making sure 127.0.0.1 is set in /etc/hosts in the pbuilder chroot
> 

I've tried now:

- build s3ql/unstable in a cowbuilder sid chroot on my laptop (with
  sid cowbuilder) --> FAIL:

tests/t1_backends.py::test_read_write[mock-s3c/aes] FAILED

=================================== FAILURES ===================================
________________________ test_read_write[mock-s3c/aes] _________________________
Traceback (most recent call last):
  File "/home/gregoa/tmp/s3ql/s3ql-2.13+dfsg/tests/t1_backends.py", line 347, in test_read_write
    assert key not in backend
  File "/home/gregoa/tmp/s3ql/s3ql-2.13+dfsg/src/s3ql/backends/common.py", line 205, in __contains__
    return self.contains(key)
  File "/home/gregoa/tmp/s3ql/s3ql-2.13+dfsg/src/s3ql/backends/comprenc.py", line 266, in contains
    return self.backend.contains(key)
  File "/home/gregoa/tmp/s3ql/s3ql-2.13+dfsg/src/s3ql/backends/common.py", line 372, in contains
    self.lookup(key)
  File "/home/gregoa/tmp/s3ql/s3ql-2.13+dfsg/src/s3ql/backends/common.py", line 52, in wrapped
    return method(*a, **kw)
  File "/home/gregoa/tmp/s3ql/s3ql-2.13+dfsg/src/s3ql/backends/s3c.py", line 266, in lookup
    resp = self._do_request('HEAD', '/%s%s' % (self.prefix, key))
  File "/home/gregoa/tmp/s3ql/s3ql-2.13+dfsg/src/s3ql/backends/s3c.py", line 505, in _do_request
    self._parse_error_response(resp)
  File "/home/gregoa/tmp/s3ql/s3ql-2.13+dfsg/src/s3ql/backends/s3c.py", line 522, in _parse_error_response
    raise HTTPError(resp.status, resp.reason, resp.headers)
s3ql.backends.s3c.HTTPError: 403 Sorry, not allowed to fetch that type of file: random\'name' 3
!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!

This looks very much like my http_proxy.
After trying to unset http_proxy for the tests in debian/rules ... I
realized that python is different ... and then the tests passed.


- and I remembered that I have a wheezy server mit
  pbuilder/cowbuilder installed, and I tried s3ql/unstable there in a
  cowbuilder (wheezy) sid chroot --> this just works.

> I'm a bit at loss what to try next atm...

I would have tried to add netbase as a build dependency but in my
experiments it was not necessary. So yeah, sorry, I'm also clueless :)


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Tom Waits: Romeo Is Bleeding

Attachment: signature.asc
Description: Digital Signature


Reply to: