tag 912103 +upstream
forwarded 912103 https://github.com/certbot/certbot/pull/6456
thanks

This should be fixed in next week's certbot release.
On Sun, Oct 28, 2018 at 5:15 AM Adrian Bunk <b...@debian.org> wrote:
>
> Source: python-certbot-dns-route53
> Version: 0.23.0-2
> Severity: serious
> Tags: ftbfs
>
> Some recent change in unstable makes python-certbot-dns-route53 FTBFS:
>
> https://tests.reproducible-builds.org/debian/history/python-certbot-dns-route53.html
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-certbot-dns-route53.html
>
> ...
> ======================================================================
> ERROR: test_cleanup (certbot_dns_route53.dns_route53_test.AuthenticatorTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 141, in 
> _new_conn
>     (self.host, self.port), self.timeout, **extra_kw)
>   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 83, 
> in create_connection
>     raise err
>   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, 
> in create_connection
>     sock.connect(sa)
> ConnectionRefusedError: [Errno 111] Connection refused
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, 
> in urlopen
>     chunked=chunked)
>   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, 
> in _make_request
>     conn.request(method, url, **httplib_request_kw)
>   File "/usr/lib/python3.6/http/client.py", line 1239, in request
>     self._send_request(method, url, body, headers, encode_chunked)
>   File "/usr/lib/python3/dist-packages/botocore/awsrequest.py", line 125, in 
> _send_request
>     method, url, body, headers, *args, **kwargs)
>   File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
>     self.endheaders(body, encode_chunked=encode_chunked)
>   File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
>     self._send_output(message_body, encode_chunked=encode_chunked)
>   File "/usr/lib/python3/dist-packages/botocore/awsrequest.py", line 152, in 
> _send_output
>     self.send(msg)
>   File "/usr/lib/python3/dist-packages/botocore/awsrequest.py", line 236, in 
> send
>     return super(AWSConnection, self).send(str)
>   File "/usr/lib/python3.6/http/client.py", line 964, in send
>     self.connect()
>   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 166, in 
> connect
>     conn = self._new_conn()
>   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 150, in 
> _new_conn
>     self, "Failed to establish a new connection: %s" % e)
> urllib3.exceptions.NewConnectionError: <botocore.awsrequest.AWSHTTPConnection 
> object at 0x7fe256361358>: Failed to establish a new connection: [Errno 111] 
> Connection refused
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/botocore/httpsession.py", line 242, in 
> send
>     decode_content=False,
>   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, 
> in urlopen
>     _stacktrace=sys.exc_info()[2])
>   File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 333, in 
> increment
>     raise six.reraise(type(error), error, _stacktrace)
>   File "/usr/lib/python3/dist-packages/six.py", line 692, in reraise
>     raise value.with_traceback(tb)
>   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, 
> in urlopen
>     chunked=chunked)
>   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 357, 
> in _make_request
>     conn.request(method, url, **httplib_request_kw)
>   File "/usr/lib/python3.6/http/client.py", line 1239, in request
>     self._send_request(method, url, body, headers, encode_chunked)
>   File "/usr/lib/python3/dist-packages/botocore/awsrequest.py", line 125, in 
> _send_request
>     method, url, body, headers, *args, **kwargs)
>   File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
>     self.endheaders(body, encode_chunked=encode_chunked)
>   File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
>     self._send_output(message_body, encode_chunked=encode_chunked)
>   File "/usr/lib/python3/dist-packages/botocore/awsrequest.py", line 152, in 
> _send_output
>     self.send(msg)
>   File "/usr/lib/python3/dist-packages/botocore/awsrequest.py", line 236, in 
> send
>     return super(AWSConnection, self).send(str)
>   File "/usr/lib/python3.6/http/client.py", line 964, in send
>     self.connect()
>   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 166, in 
> connect
>     conn = self._new_conn()
>   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 150, in 
> _new_conn
>     self, "Failed to establish a new connection: %s" % e)
> urllib3.exceptions.ProxyError: ('Cannot connect to proxy.', 
> NewConnectionError('<botocore.awsrequest.AWSHTTPConnection object at 
> 0x7fe256361358>: Failed to establish a new connection: [Errno 111] Connection 
> refused',))
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File 
> "/build/1st/python-certbot-dns-route53-0.23.0/certbot_dns_route53/dns_route53_test.py",
>  line 23, in setUp
>     self.auth = Authenticator(self.config, "route53")
>   File 
> "/build/1st/python-certbot-dns-route53-0.23.0/certbot_dns_route53/dns_route53.py",
>  line 36, in __init__
>     self.r53 = boto3.client("route53")
>   File "/usr/lib/python3/dist-packages/boto3/__init__.py", line 91, in client
>     return _get_default_session().client(*args, **kwargs)
>   File "/usr/lib/python3/dist-packages/boto3/session.py", line 263, in client
>     aws_session_token=aws_session_token, config=config)
>   File "/usr/lib/python3/dist-packages/botocore/session.py", line 878, in 
> create_client
>     credentials = self.get_credentials()
>   File "/usr/lib/python3/dist-packages/botocore/session.py", line 479, in 
> get_credentials
>     'credential_provider').load_credentials()
>   File "/usr/lib/python3/dist-packages/botocore/credentials.py", line 1663, 
> in load_credentials
>     creds = provider.load()
>   File "/usr/lib/python3/dist-packages/botocore/credentials.py", line 842, in 
> load
>     metadata = fetcher.retrieve_iam_role_credentials()
>   File "/usr/lib/python3/dist-packages/botocore/utils.py", line 291, in 
> retrieve_iam_role_credentials
>     r = self._get_request(url, timeout, num_attempts)
>   File "/usr/lib/python3/dist-packages/botocore/utils.py", line 276, in 
> _get_request
>     response = self._session.send(request.prepare())
>   File "/usr/lib/python3/dist-packages/botocore/httpsession.py", line 264, in 
> send
>     raise ProxyConnectionError(proxy_url=proxy_url, error=e)
> botocore.exceptions.ProxyConnectionError: Failed to connect to proxy URL: 
> "http://127.0.0.1:9/";
> ...
> Ran 17 tests in 0.061s
>
> FAILED (errors=17)
> Test failed: <unittest.runner.TextTestResult run=17 errors=17 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=17 errors=17 
> failures=0>
> E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: 
> python3.6 setup.py test
> dh_auto_test: pybuild --test -i python{version} -p 3.6 returned exit code 13
> make: *** [debian/rules:6: build] Error 25
>


-- 
Harlan Lieberman-Berg
~hlieberman

Reply via email to