Source: kxd Version: 0.15-4 Severity: serious Tags: ftbfs X-Debbugs-Cc: albert...@blitiri.com.ar, z...@debian.org
I'm not sure if it's related to golang-defaults -> golang-1.21 recently. tests/run_tests -b .......F Stderr: /usr/lib/python3.11/unittest/case.py:622: ResourceWarning: unclosed <ssl.SSLSocket fd=3, family=2, type=1, proto=6, laddr=('127.0.0.1', 33452), raddr=('127.0.0.1', 19840)> with outcome.testPartExecutor(self): .. ====================================================================== FAIL: test_no_local_cert (__main__.TrickyRequests.test_no_local_cert) No local certificate. ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/tests/run_tests", line 357, in test_no_local_cert conn.getresponse() File "/usr/lib/python3.11/http/client.py", line 1378, in getresponse response.begin() File "/usr/lib/python3.11/http/client.py", line 318, in begin version, status, reason = self._read_status() ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/http/client.py", line 279, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/socket.py", line 706, in readinto return self._sock.recv_into(b) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/ssl.py", line 1278, in recv_into return self.read(nbytes, buffer) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/ssl.py", line 1134, in read return self._sslobj.read(len, buffer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ssl.SSLError: [SSL: TLSV13_ALERT_CERTIFICATE_REQUIRED] tlsv13 alert certificate required (_ssl.c:2576) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<<PKGBUILDDIR>>/tests/run_tests", line 360, in test_no_local_cert self.assertEqual(err.reason, "SSLV3_ALERT_BAD_CERTIFICATE") AssertionError: 'TLSV13_ALERT_CERTIFICATE_REQUIRED' != 'SSLV3_ALERT_BAD_CERTIFICATE' - TLSV13_ALERT_CERTIFICATE_REQUIRED + SSLV3_ALERT_BAD_CERTIFICATE Stdout: Launching server: /<<PKGBUILDDIR>>/out/kxd --data_dir=/tmp/kxdtest-y_lm39pn/config-server-u2ol6sph/data --key=/tmp/kxdtest-y_lm39pn/config-server-u2ol6sph/key.pem --cert=/tmp/kxdtest-y_lm39pn/config-server-u2ol6sph/cert.pem --logfile=/tmp/kxdtest-y_lm39pn/config-server-u2ol6sph/log --hook=/tmp/kxdtest-y_lm39pn/config-server-u2ol6sph/hook ---------------------------------------------------------------------- Ran 10 tests in 3.009s FAILED (failures=1)