[Reproducible-builds] Bug#792062: FTBFS: test_secure_server fails: urlopen error: CERTIFICATE_VERIFY_FAILED

Chris West (Faux) solo-debianbugs at goeswhere.com
Fri Jul 10 20:34:19 UTC 2015


Source: circuits
Version: 2.1.0-2
Severity: serious
Tags: sid stretch
Justification: fails to build from source
User: reproducible-builds at 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)



More information about the Reproducible-builds mailing list