Package: src:kxd
Version: 0.16-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
        make -j2 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
go build -o ./out/kxd ./kxd
go build --tags netgo -a -o ./out/kxc ./kxc
go build -o ./out/kxgencert ./kxgencert
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
        make -j2 test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
go build -o ./out/kxd ./kxd
go build --tags netgo -a -o ./out/kxc ./kxc
go build -o ./out/kxgencert ./kxgencert
tests/run_tests -b
FFEEEEE...
======================================================================
ERROR: test_simple (__main__.Hook.test_simple)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 474, in test_simple
    key = self.client.call(self.server.cert_path(), "kxd://localhost/k1")
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 147, in call
    return subprocess.check_output(args, stderr=subprocess.STDOUT)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/<<PKGBUILDDIR>>/out/kxc', 
'--client_cert=/tmp/kxdtest-z47iukqz/config-client-akj_kldr/cert.pem', 
'--client_key=/tmp/kxdtest-z47iukqz/config-client-akj_kldr/key.pem', 
'--server_cert=/tmp/kxdtest-z47iukqz/config-server-r534ciix/cert.pem', 
'kxd://localhost/k1']' returned non-zero exit status 1.

Stdout:
Launching server:  /<<PKGBUILDDIR>>/out/kxd 
--data_dir=/tmp/kxdtest-z47iukqz/config-server-r534ciix/data 
--key=/tmp/kxdtest-z47iukqz/config-server-r534ciix/key.pem 
--cert=/tmp/kxdtest-z47iukqz/config-server-r534ciix/cert.pem 
--logfile=/tmp/kxdtest-z47iukqz/config-server-r534ciix/log 
--hook=/tmp/kxdtest-z47iukqz/config-server-r534ciix/hook
Running client: /<<PKGBUILDDIR>>/out/kxc 
--client_cert=/tmp/kxdtest-z47iukqz/config-client-akj_kldr/cert.pem 
--client_key=/tmp/kxdtest-z47iukqz/config-client-akj_kldr/key.pem 
--server_cert=/tmp/kxdtest-z47iukqz/config-server-r534ciix/cert.pem kxd://localhost/k1
Client call failed, output: b'2024/09/24 13:16:41 Failed to get key: Get 
"https://localhost:19840/v1/k1": tls: failed to verify certificate: x509: 
certificate is valid for *, not localhost\n'

======================================================================
ERROR: test_many_keys (__main__.Multiples.test_many_keys)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 312, in test_many_keys
    data = self.client.call(
           ^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 147, in call
    return subprocess.check_output(args, stderr=subprocess.STDOUT)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/<<PKGBUILDDIR>>/out/kxc', 
'--client_cert=/tmp/kxdtest-z47iukqz/config-client-0g7capym/cert.pem', 
'--client_key=/tmp/kxdtest-z47iukqz/config-client-0g7capym/key.pem', 
'--server_cert=/tmp/kxdtest-z47iukqz/config-server-8th1a3xm/cert.pem', 
'kxd://localhost/a']' returned non-zero exit status 1.

Stdout:
Launching server:  /<<PKGBUILDDIR>>/out/kxd 
--data_dir=/tmp/kxdtest-z47iukqz/config-server-8th1a3xm/data 
--key=/tmp/kxdtest-z47iukqz/config-server-8th1a3xm/key.pem 
--cert=/tmp/kxdtest-z47iukqz/config-server-8th1a3xm/cert.pem 
--logfile=/tmp/kxdtest-z47iukqz/config-server-8th1a3xm/log 
--hook=/tmp/kxdtest-z47iukqz/config-server-8th1a3xm/hook
Running client: /<<PKGBUILDDIR>>/out/kxc 
--client_cert=/tmp/kxdtest-z47iukqz/config-client-0g7capym/cert.pem 
--client_key=/tmp/kxdtest-z47iukqz/config-client-0g7capym/key.pem 
--server_cert=/tmp/kxdtest-z47iukqz/config-server-8th1a3xm/cert.pem kxd://localhost/a
Client call failed, output: b'2024/09/24 13:16:41 Failed to get key: Get 
"https://localhost:19840/v1/a": tls: failed to verify certificate: x509: 
certificate is valid for *, not localhost\n'

======================================================================
ERROR: test_two_clients (__main__.Multiples.test_two_clients)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 281, in test_two_clients
    key = self.client.call(self.server.cert_path(), "kxd://localhost/k1")
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 147, in call
    return subprocess.check_output(args, stderr=subprocess.STDOUT)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/<<PKGBUILDDIR>>/out/kxc', 
'--client_cert=/tmp/kxdtest-z47iukqz/config-client-ccdu_3t9/cert.pem', 
'--client_key=/tmp/kxdtest-z47iukqz/config-client-ccdu_3t9/key.pem', 
'--server_cert=/tmp/kxdtest-z47iukqz/config-server-b2gkahh7/cert.pem', 
'kxd://localhost/k1']' returned non-zero exit status 1.

Stdout:
Launching server:  /<<PKGBUILDDIR>>/out/kxd 
--data_dir=/tmp/kxdtest-z47iukqz/config-server-b2gkahh7/data 
--key=/tmp/kxdtest-z47iukqz/config-server-b2gkahh7/key.pem 
--cert=/tmp/kxdtest-z47iukqz/config-server-b2gkahh7/cert.pem 
--logfile=/tmp/kxdtest-z47iukqz/config-server-b2gkahh7/log 
--hook=/tmp/kxdtest-z47iukqz/config-server-b2gkahh7/hook
Running client: /<<PKGBUILDDIR>>/out/kxc 
--client_cert=/tmp/kxdtest-z47iukqz/config-client-ccdu_3t9/cert.pem 
--client_key=/tmp/kxdtest-z47iukqz/config-client-ccdu_3t9/key.pem 
--server_cert=/tmp/kxdtest-z47iukqz/config-server-b2gkahh7/cert.pem kxd://localhost/k1
Client call failed, output: b'2024/09/24 13:16:41 Failed to get key: Get 
"https://localhost:19840/v1/k1": tls: failed to verify certificate: x509: 
certificate is valid for *, not localhost\n'

======================================================================
ERROR: test_two_servers (__main__.Multiples.test_two_servers)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 337, in test_two_servers
    key = self.client.call(server_certs_path, "kxd://localhost/k1")
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 147, in call
    return subprocess.check_output(args, stderr=subprocess.STDOUT)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/<<PKGBUILDDIR>>/out/kxc', 
'--client_cert=/tmp/kxdtest-z47iukqz/config-client-jgxblcq1/cert.pem', 
'--client_key=/tmp/kxdtest-z47iukqz/config-client-jgxblcq1/key.pem', 
'--server_cert=/tmp/kxdtest-z47iukqz/config-client-jgxblcq1/server_certs.pem', 
'kxd://localhost/k1']' returned non-zero exit status 1.

Stdout:
Launching server:  /<<PKGBUILDDIR>>/out/kxd 
--data_dir=/tmp/kxdtest-z47iukqz/config-server-obkfp4rw/data 
--key=/tmp/kxdtest-z47iukqz/config-server-obkfp4rw/key.pem 
--cert=/tmp/kxdtest-z47iukqz/config-server-obkfp4rw/cert.pem 
--logfile=/tmp/kxdtest-z47iukqz/config-server-obkfp4rw/log 
--hook=/tmp/kxdtest-z47iukqz/config-server-obkfp4rw/hook
Running client: /<<PKGBUILDDIR>>/out/kxc 
--client_cert=/tmp/kxdtest-z47iukqz/config-client-jgxblcq1/cert.pem 
--client_key=/tmp/kxdtest-z47iukqz/config-client-jgxblcq1/key.pem 
--server_cert=/tmp/kxdtest-z47iukqz/config-client-jgxblcq1/server_certs.pem 
kxd://localhost/k1
Client call failed, output: b'2024/09/24 13:16:42 Failed to get key: Get 
"https://localhost:19840/v1/k1": tls: failed to verify certificate: x509: 
certificate is valid for *, not localhost\n'

======================================================================
ERROR: test_simple (__main__.Simple.test_simple)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 232, in test_simple
    key = self.client.call(self.server.cert_path(), "kxd://localhost/k1")
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 147, in call
    return subprocess.check_output(args, stderr=subprocess.STDOUT)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/<<PKGBUILDDIR>>/out/kxc', 
'--client_cert=/tmp/kxdtest-z47iukqz/config-client-93p7nzte/cert.pem', 
'--client_key=/tmp/kxdtest-z47iukqz/config-client-93p7nzte/key.pem', 
'--server_cert=/tmp/kxdtest-z47iukqz/config-server-grmidmww/cert.pem', 
'kxd://localhost/k1']' returned non-zero exit status 1.

Stdout:
Launching server:  /<<PKGBUILDDIR>>/out/kxd 
--data_dir=/tmp/kxdtest-z47iukqz/config-server-grmidmww/data 
--key=/tmp/kxdtest-z47iukqz/config-server-grmidmww/key.pem 
--cert=/tmp/kxdtest-z47iukqz/config-server-grmidmww/cert.pem 
--logfile=/tmp/kxdtest-z47iukqz/config-server-grmidmww/log 
--hook=/tmp/kxdtest-z47iukqz/config-server-grmidmww/hook
Running client: /<<PKGBUILDDIR>>/out/kxc 
--client_cert=/tmp/kxdtest-z47iukqz/config-client-93p7nzte/cert.pem 
--client_key=/tmp/kxdtest-z47iukqz/config-client-93p7nzte/key.pem 
--server_cert=/tmp/kxdtest-z47iukqz/config-server-grmidmww/cert.pem kxd://localhost/k1
Client call failed, output: b'2024/09/24 13:16:43 Failed to get key: Get 
"https://localhost:19840/v1/k1": tls: failed to verify certificate: x509: 
certificate is valid for *, not localhost\n'

======================================================================
FAIL: test_broken_client_certs 
(__main__.BrokenServerConfig.test_broken_client_certs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 206, in assertClientFails
    client.call(cert_path, url)
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 147, in call
    return subprocess.check_output(args, stderr=subprocess.STDOUT)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/<<PKGBUILDDIR>>/out/kxc', 
'--client_cert=/tmp/kxdtest-z47iukqz/config-client-6i_676vh/cert.pem', 
'--client_key=/tmp/kxdtest-z47iukqz/config-client-6i_676vh/key.pem', 
'--server_cert=/tmp/kxdtest-z47iukqz/config-server-f1kcn1yw/cert.pem', 
'kxd://localhost/k1']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 429, in test_broken_client_certs
    self.assertClientFails(
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 208, in assertClientFails
    self.assertRegex(err.output.decode(), regexp)
AssertionError: Regex didn't match: 'Error loading certs|No allowed certificate found' 
not found in '2024/09/24 13:16:40 Failed to get key: Get 
"https://localhost:19840/v1/k1": tls: failed to verify certificate: x509: 
certificate is valid for *, not localhost\n'

Stdout:
Launching server:  /<<PKGBUILDDIR>>/out/kxd 
--data_dir=/tmp/kxdtest-z47iukqz/config-server-f1kcn1yw/data 
--key=/tmp/kxdtest-z47iukqz/config-server-f1kcn1yw/key.pem 
--cert=/tmp/kxdtest-z47iukqz/config-server-f1kcn1yw/cert.pem 
--logfile=/tmp/kxdtest-z47iukqz/config-server-f1kcn1yw/log 
--hook=/tmp/kxdtest-z47iukqz/config-server-f1kcn1yw/hook
Running client: /<<PKGBUILDDIR>>/out/kxc 
--client_cert=/tmp/kxdtest-z47iukqz/config-client-6i_676vh/cert.pem 
--client_key=/tmp/kxdtest-z47iukqz/config-client-6i_676vh/key.pem 
--server_cert=/tmp/kxdtest-z47iukqz/config-server-f1kcn1yw/cert.pem kxd://localhost/k1
Client call failed, output: b'2024/09/24 13:16:40 Failed to get key: Get 
"https://localhost:19840/v1/k1": tls: failed to verify certificate: x509: 
certificate is valid for *, not localhost\n'

======================================================================
FAIL: test_missing_key (__main__.BrokenServerConfig.test_missing_key)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 206, in assertClientFails
    client.call(cert_path, url)
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 147, in call
    return subprocess.check_output(args, stderr=subprocess.STDOUT)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/<<PKGBUILDDIR>>/out/kxc', 
'--client_cert=/tmp/kxdtest-z47iukqz/config-client-gldo1ikc/cert.pem', 
'--client_key=/tmp/kxdtest-z47iukqz/config-client-gldo1ikc/key.pem', 
'--server_cert=/tmp/kxdtest-z47iukqz/config-server-zpb2dbg6/cert.pem', 
'kxd://localhost/k1']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 442, in test_missing_key
    self.assertClientFails("kxd://localhost/k1", "404 Not Found")
  File "/<<PKGBUILDDIR>>/tests/run_tests", line 208, in assertClientFails
    self.assertRegex(err.output.decode(), regexp)
AssertionError: Regex didn't match: '404 Not Found' not found in '2024/09/24 13:16:41 
Failed to get key: Get "https://localhost:19840/v1/k1": tls: failed to verify 
certificate: x509: certificate is valid for *, not localhost\n'

Stdout:
Launching server:  /<<PKGBUILDDIR>>/out/kxd 
--data_dir=/tmp/kxdtest-z47iukqz/config-server-zpb2dbg6/data 
--key=/tmp/kxdtest-z47iukqz/config-server-zpb2dbg6/key.pem 
--cert=/tmp/kxdtest-z47iukqz/config-server-zpb2dbg6/cert.pem 
--logfile=/tmp/kxdtest-z47iukqz/config-server-zpb2dbg6/log 
--hook=/tmp/kxdtest-z47iukqz/config-server-zpb2dbg6/hook
Running client: /<<PKGBUILDDIR>>/out/kxc 
--client_cert=/tmp/kxdtest-z47iukqz/config-client-gldo1ikc/cert.pem 
--client_key=/tmp/kxdtest-z47iukqz/config-client-gldo1ikc/key.pem 
--server_cert=/tmp/kxdtest-z47iukqz/config-server-zpb2dbg6/cert.pem kxd://localhost/k1
Client call failed, output: b'2024/09/24 13:16:41 Failed to get key: Get 
"https://localhost:19840/v1/k1": tls: failed to verify certificate: x509: 
certificate is valid for *, not localhost\n'

----------------------------------------------------------------------
Ran 10 tests in 2.974s

FAILED (failures=2, errors=5)

Stdout:
Launching server:  /<<PKGBUILDDIR>>/out/kxd 
--data_dir=/tmp/kxdtest-z47iukqz/config-server-f1kcn1yw/data 
--key=/tmp/kxdtest-z47iukqz/config-server-f1kcn1yw/key.pem 
--cert=/tmp/kxdtest-z47iukqz/config-server-f1kcn1yw/cert.pem 
--logfile=/tmp/kxdtest-z47iukqz/config-server-f1kcn1yw/log 
--hook=/tmp/kxdtest-z47iukqz/config-server-f1kcn1yw/hook
Running client: /<<PKGBUILDDIR>>/out/kxc 
--client_cert=/tmp/kxdtest-z47iukqz/config-client-6i_676vh/cert.pem 
--client_key=/tmp/kxdtest-z47iukqz/config-client-6i_676vh/key.pem 
--server_cert=/tmp/kxdtest-z47iukqz/config-server-f1kcn1yw/cert.pem kxd://localhost/k1
Client call failed, output: b'2024/09/24 13:16:40 Failed to get key: Get 
"https://localhost:19840/v1/k1": tls: failed to verify certificate: x509: 
certificate is valid for *, not localhost\n'

Stdout:
Launching server:  /<<PKGBUILDDIR>>/out/kxd 
--data_dir=/tmp/kxdtest-z47iukqz/config-server-zpb2dbg6/data 
--key=/tmp/kxdtest-z47iukqz/config-server-zpb2dbg6/key.pem 
--cert=/tmp/kxdtest-z47iukqz/config-server-zpb2dbg6/cert.pem 
--logfile=/tmp/kxdtest-z47iukqz/config-server-zpb2dbg6/log 
--hook=/tmp/kxdtest-z47iukqz/config-server-zpb2dbg6/hook
Running client: /<<PKGBUILDDIR>>/out/kxc 
--client_cert=/tmp/kxdtest-z47iukqz/config-client-gldo1ikc/cert.pem 
--client_key=/tmp/kxdtest-z47iukqz/config-client-gldo1ikc/key.pem 
--server_cert=/tmp/kxdtest-z47iukqz/config-server-zpb2dbg6/cert.pem kxd://localhost/k1
Client call failed, output: b'2024/09/24 13:16:41 Failed to get key: Get 
"https://localhost:19840/v1/k1": tls: failed to verify certificate: x509: 
certificate is valid for *, not localhost\n'

Stdout:
Launching server:  /<<PKGBUILDDIR>>/out/kxd 
--data_dir=/tmp/kxdtest-z47iukqz/config-server-r534ciix/data 
--key=/tmp/kxdtest-z47iukqz/config-server-r534ciix/key.pem 
--cert=/tmp/kxdtest-z47iukqz/config-server-r534ciix/cert.pem 
--logfile=/tmp/kxdtest-z47iukqz/config-server-r534ciix/log 
--hook=/tmp/kxdtest-z47iukqz/config-server-r534ciix/hook
Running client: /<<PKGBUILDDIR>>/out/kxc 
--client_cert=/tmp/kxdtest-z47iukqz/config-client-akj_kldr/cert.pem 
--client_key=/tmp/kxdtest-z47iukqz/config-client-akj_kldr/key.pem 
--server_cert=/tmp/kxdtest-z47iukqz/config-server-r534ciix/cert.pem kxd://localhost/k1
Client call failed, output: b'2024/09/24 13:16:41 Failed to get key: Get 
"https://localhost:19840/v1/k1": tls: failed to verify certificate: x509: 
certificate is valid for *, not localhost\n'

Stdout:
Launching server:  /<<PKGBUILDDIR>>/out/kxd 
--data_dir=/tmp/kxdtest-z47iukqz/config-server-8th1a3xm/data 
--key=/tmp/kxdtest-z47iukqz/config-server-8th1a3xm/key.pem 
--cert=/tmp/kxdtest-z47iukqz/config-server-8th1a3xm/cert.pem 
--logfile=/tmp/kxdtest-z47iukqz/config-server-8th1a3xm/log 
--hook=/tmp/kxdtest-z47iukqz/config-server-8th1a3xm/hook
Running client: /<<PKGBUILDDIR>>/out/kxc 
--client_cert=/tmp/kxdtest-z47iukqz/config-client-0g7capym/cert.pem 
--client_key=/tmp/kxdtest-z47iukqz/config-client-0g7capym/key.pem 
--server_cert=/tmp/kxdtest-z47iukqz/config-server-8th1a3xm/cert.pem kxd://localhost/a
Client call failed, output: b'2024/09/24 13:16:41 Failed to get key: Get 
"https://localhost:19840/v1/a": tls: failed to verify certificate: x509: 
certificate is valid for *, not localhost\n'

Stdout:
Launching server:  /<<PKGBUILDDIR>>/out/kxd 
--data_dir=/tmp/kxdtest-z47iukqz/config-server-b2gkahh7/data 
--key=/tmp/kxdtest-z47iukqz/config-server-b2gkahh7/key.pem 
--cert=/tmp/kxdtest-z47iukqz/config-server-b2gkahh7/cert.pem 
--logfile=/tmp/kxdtest-z47iukqz/config-server-b2gkahh7/log 
--hook=/tmp/kxdtest-z47iukqz/config-server-b2gkahh7/hook
Running client: /<<PKGBUILDDIR>>/out/kxc 
--client_cert=/tmp/kxdtest-z47iukqz/config-client-ccdu_3t9/cert.pem 
--client_key=/tmp/kxdtest-z47iukqz/config-client-ccdu_3t9/key.pem 
--server_cert=/tmp/kxdtest-z47iukqz/config-server-b2gkahh7/cert.pem kxd://localhost/k1
Client call failed, output: b'2024/09/24 13:16:41 Failed to get key: Get 
"https://localhost:19840/v1/k1": tls: failed to verify certificate: x509: 
certificate is valid for *, not localhost\n'

Stdout:
Launching server:  /<<PKGBUILDDIR>>/out/kxd 
--data_dir=/tmp/kxdtest-z47iukqz/config-server-obkfp4rw/data 
--key=/tmp/kxdtest-z47iukqz/config-server-obkfp4rw/key.pem 
--cert=/tmp/kxdtest-z47iukqz/config-server-obkfp4rw/cert.pem 
--logfile=/tmp/kxdtest-z47iukqz/config-server-obkfp4rw/log 
--hook=/tmp/kxdtest-z47iukqz/config-server-obkfp4rw/hook
Running client: /<<PKGBUILDDIR>>/out/kxc 
--client_cert=/tmp/kxdtest-z47iukqz/config-client-jgxblcq1/cert.pem 
--client_key=/tmp/kxdtest-z47iukqz/config-client-jgxblcq1/key.pem 
--server_cert=/tmp/kxdtest-z47iukqz/config-client-jgxblcq1/server_certs.pem 
kxd://localhost/k1
Client call failed, output: b'2024/09/24 13:16:42 Failed to get key: Get 
"https://localhost:19840/v1/k1": tls: failed to verify certificate: x509: 
certificate is valid for *, not localhost\n'

Stdout:
Launching server:  /<<PKGBUILDDIR>>/out/kxd 
--data_dir=/tmp/kxdtest-z47iukqz/config-server-grmidmww/data 
--key=/tmp/kxdtest-z47iukqz/config-server-grmidmww/key.pem 
--cert=/tmp/kxdtest-z47iukqz/config-server-grmidmww/cert.pem 
--logfile=/tmp/kxdtest-z47iukqz/config-server-grmidmww/log 
--hook=/tmp/kxdtest-z47iukqz/config-server-grmidmww/hook
Running client: /<<PKGBUILDDIR>>/out/kxc 
--client_cert=/tmp/kxdtest-z47iukqz/config-client-93p7nzte/cert.pem 
--client_key=/tmp/kxdtest-z47iukqz/config-client-93p7nzte/key.pem 
--server_cert=/tmp/kxdtest-z47iukqz/config-server-grmidmww/cert.pem kxd://localhost/k1
Client call failed, output: b'2024/09/24 13:16:43 Failed to get key: Get 
"https://localhost:19840/v1/k1": tls: failed to verify certificate: x509: 
certificate is valid for *, not localhost\n'
make[1]: *** [Makefile:27: test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j2 test returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202409/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to