Bug#792062: FTBFS: test_secure_server fails: urlopen error: CERTIFICATE_VERIFY_FAILED

2015-07-11 Thread Daniele Tricoli
Hello Chris,

On Friday 10 July 2015 20:34:19 Chris West wrote:
 The package fails to build:

Yes, thanks it was under my radar, but I was not able to start to fix this 
before. I'm updating circuits now, so I will also fix this.

Cheers,

-- 
 Daniele Tricoli 'Eriol'
 https://mornie.org

signature.asc
Description: This is a digitally signed message part.


Bug#792062: FTBFS: test_secure_server fails: urlopen error: CERTIFICATE_VERIFY_FAILED

2015-07-10 Thread Chris West (Faux)
Source: circuits
Version: 2.1.0-2
Severity: serious
Tags: sid stretch
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs


Dear Maintainer,

The package fails to build:


tests/web/test_servers.py ..ERROR filter[*._read] (TCPServer._on_read) 
(class 'ssl.SSLError'): [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca 
(_ssl.c:590)
  File /tmp/buildd/circuits-2.1.0/circuits/core/manager.py, line 521, in 
_dispatcher
value = handler(*eargs, **ekwargs)
  File /tmp/buildd/circuits-2.1.0/circuits/net/sockets.py, line 747, in 
_on_read
self._accept()
  File /tmp/buildd/circuits-2.1.0/circuits/net/sockets.py, line 704, in 
_accept
_do_handshake_for_non_blocking(newsock)
  File /tmp/buildd/circuits-2.1.0/circuits/net/sockets.py, line 396, in 
_do_handshake_for_non_blocking
ssock.do_handshake()
  File /usr/lib/python2.7/ssl.py, line 808, in do_handshake
self._sslobj.do_handshake()

F.



   raise URLError(err)
E   URLError: urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed (_ssl.c:590)

/usr/lib/python2.7/urllib2.py:1197: URLError
=== short test summary info 
FAIL tests/web/test_servers.py::test_secure_server
== 1 failed, 240 passed, 28 warnings in 39.31 seconds ==


(This happens even when the test is run with networking enabled.)

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/circuits.html

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-22-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org