--- Begin Message ---
Package: src:python-pysaml2
Version: 7.5.4-2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202608/
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 cannot 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 add an affects on src:python-pysaml2, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --buildsystem=pybuild --with python3,sphinxdoc
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
rm -rf build src/*.egg-info .pytest_cache tests/subject.db.db
tests/subject_data.db.db eptid
find . -iname '*.pyc' -delete
for i in $(find . -type d -iname __pycache__) ; do rm -rf $i ; done
dh_auto_clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
[... snipped ...]
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <module 'OpenSSL.crypto' from
'/usr/lib/python3/dist-packages/OpenSSL/crypto.py'>
name = 'X509Req'
def __getattr__(self, name: str) -> typing.Any:
> obj = getattr(self._module, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
E AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
/usr/lib/python3/dist-packages/cryptography/utils.py:76: AttributeError
____________________ TestClientNonAsciiAva.test_response_2 _____________________
self = <test_51_client.TestClientNonAsciiAva object at 0x7f714eb49a90>
def test_response_2(self):
conf = config.SPConfig()
conf.load_file("server_conf")
_client = Saml2Client(conf)
idp, ava, ava_verify, nameid_policy = self.setup_verify_authn_response()
> cert_str, cert_key_str = generate_cert()
^^^^^^^^^^^^^^^
tests/test_51_client.py:2140:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_51_client.py:85: in generate_cert
req_cert_str, req_key_str = osw.create_certificate(cert_info, request=True,
sn=sn, key_length=2048)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
saml2/cert.py:141: in create_certificate
cert = crypto.X509Req()
^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <module 'OpenSSL.crypto' from
'/usr/lib/python3/dist-packages/OpenSSL/crypto.py'>
name = 'X509Req'
def __getattr__(self, name: str) -> typing.Any:
> obj = getattr(self._module, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
E AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
/usr/lib/python3/dist-packages/cryptography/utils.py:76: AttributeError
____________________ TestClientNonAsciiAva.test_response_5 _____________________
self = <test_51_client.TestClientNonAsciiAva object at 0x7f714e21a090>
def test_response_5(self):
conf = config.SPConfig()
conf.load_file("server_conf")
_client = Saml2Client(conf)
idp, ava, ava_verify, nameid_policy = self.setup_verify_authn_response()
self.name_id =
self.server.ident.transient_nameid("urn:mace:example.com:saml:roland:sp", "id1")
> cert_str, cert_key_str = generate_cert()
^^^^^^^^^^^^^^^
tests/test_51_client.py:2249:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_51_client.py:85: in generate_cert
req_cert_str, req_key_str = osw.create_certificate(cert_info, request=True,
sn=sn, key_length=2048)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
saml2/cert.py:141: in create_certificate
cert = crypto.X509Req()
^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <module 'OpenSSL.crypto' from
'/usr/lib/python3/dist-packages/OpenSSL/crypto.py'>
name = 'X509Req'
def __getattr__(self, name: str) -> typing.Any:
> obj = getattr(self._module, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
E AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
/usr/lib/python3/dist-packages/cryptography/utils.py:76: AttributeError
____________________ TestClientNonAsciiAva.test_response_6 _____________________
self = <test_51_client.TestClientNonAsciiAva object at 0x7f714e21b410>
def test_response_6(self):
conf = config.SPConfig()
conf.load_file("server_conf")
_client = Saml2Client(conf)
idp, ava, ava_verify, nameid_policy = self.setup_verify_authn_response()
self.name_id =
self.server.ident.transient_nameid("urn:mace:example.com:saml:roland:sp", "id1")
> cert_assertion_str, cert_key_assertion_str = generate_cert()
^^^^^^^^^^^^^^^
tests/test_51_client.py:2288:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_51_client.py:85: in generate_cert
req_cert_str, req_key_str = osw.create_certificate(cert_info, request=True,
sn=sn, key_length=2048)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
saml2/cert.py:141: in create_certificate
cert = crypto.X509Req()
^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <module 'OpenSSL.crypto' from
'/usr/lib/python3/dist-packages/OpenSSL/crypto.py'>
name = 'X509Req'
def __getattr__(self, name: str) -> typing.Any:
> obj = getattr(self._module, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
E AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
/usr/lib/python3/dist-packages/cryptography/utils.py:76: AttributeError
____________________ TestClientNonAsciiAva.test_response_8 _____________________
self = <test_51_client.TestClientNonAsciiAva object at 0x7f714eb99700>
def test_response_8(self):
conf = config.SPConfig()
conf.load_file("server_conf")
_client = Saml2Client(conf)
idp, ava, ava_verify, nameid_policy = self.setup_verify_authn_response()
self.name_id =
self.server.ident.transient_nameid("urn:mace:example.com:saml:roland:sp", "id1")
> cert_str, cert_key_str = generate_cert()
^^^^^^^^^^^^^^^
tests/test_51_client.py:2369:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_51_client.py:85: in generate_cert
req_cert_str, req_key_str = osw.create_certificate(cert_info, request=True,
sn=sn, key_length=2048)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
saml2/cert.py:141: in create_certificate
cert = crypto.X509Req()
^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <module 'OpenSSL.crypto' from
'/usr/lib/python3/dist-packages/OpenSSL/crypto.py'>
name = 'X509Req'
def __getattr__(self, name: str) -> typing.Any:
> obj = getattr(self._module, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
E AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
/usr/lib/python3/dist-packages/cryptography/utils.py:76: AttributeError
________________ TestGenerateCertificates.test_validate_expire _________________
self = <test_81_certificates.TestGenerateCertificates
testMethod=test_validate_expire>
def test_validate_expire(self):
cert_info_ca = {
"cn": "qwerty",
"country_code": "qw",
"state": "qwerty",
"city": "qwerty",
"organization": "qwerty",
"organization_unit": "qwerty",
}
cert_info = {
"cn": "intermediate_1",
"country_code": "as",
"state": "asdfgh",
"city": "asdfgh",
"organization": "asdfgh",
"organization_unit": "asdfg",
}
osw = OpenSSLWrapper()
ca_cert_str, ca_key_str = osw.create_certificate(cert_info_ca,
request=False)
> req_cert_str, req_key_str = osw.create_certificate(cert_info,
> request=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_81_certificates.py:196:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
saml2/cert.py:141: in create_certificate
cert = crypto.X509Req()
^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <module 'OpenSSL.crypto' from
'/usr/lib/python3/dist-packages/OpenSSL/crypto.py'>
name = 'X509Req'
def __getattr__(self, name: str) -> typing.Any:
> obj = getattr(self._module, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
E AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
/usr/lib/python3/dist-packages/cryptography/utils.py:76: AttributeError
______________ TestGenerateCertificates.test_validate_passphrase _______________
self = <test_81_certificates.TestGenerateCertificates
testMethod=test_validate_passphrase>
def test_validate_passphrase(self):
cert_info_ca = {
"cn": "qwerty",
"country_code": "qw",
"state": "qwerty",
"city": "qwerty",
"organization": "qwerty",
"organization_unit": "qwerty",
}
cert_info = {
"cn": "intermediate_1",
"country_code": "as",
"state": "asdfgh",
"city": "asdfgh",
"organization": "asdfgh",
"organization_unit": "asdfg",
}
osw = OpenSSLWrapper()
ca_cert_str, ca_key_str = osw.create_certificate(
cert_info_ca, request=False, cipher_passphrase={"cipher":
"blowfish", "passphrase": "qwerty"}
)
> req_cert_str, req_key_str = osw.create_certificate(cert_info,
> request=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_81_certificates.py:159:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
saml2/cert.py:141: in create_certificate
cert = crypto.X509Req()
^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <module 'OpenSSL.crypto' from
'/usr/lib/python3/dist-packages/OpenSSL/crypto.py'>
name = 'X509Req'
def __getattr__(self, name: str) -> typing.Any:
> obj = getattr(self._module, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
E AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
/usr/lib/python3/dist-packages/cryptography/utils.py:76: AttributeError
=========================== short test summary info ============================
SKIPPED [1] tests/test_37_entity_categories.py:296: Temporarily disabled
SKIPPED [1] tests/test_37_entity_categories.py:325: Temporarily disabled
SKIPPED [1] tests/test_37_entity_categories.py:358: Temporarily disabled
FAILED tests/test_50_server.py::TestServer1::test_encrypted_signed_response_1 -
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED tests/test_50_server.py::TestServer1::test_encrypted_signed_response_2 -
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED tests/test_50_server.py::TestServer1::test_encrypted_signed_response_3 -
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED tests/test_50_server.py::TestServer1::test_encrypted_signed_response_4 -
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED tests/test_50_server.py::TestServer1::test_encrypted_response_1 -
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED tests/test_50_server.py::TestServer1::test_encrypted_response_2 -
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED tests/test_50_server.py::TestServer1::test_encrypted_response_3 -
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED
tests/test_50_server.py::TestServer1NonAsciiAva::test_encrypted_signed_response_1
- AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED
tests/test_50_server.py::TestServer1NonAsciiAva::test_encrypted_signed_response_2
- AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED
tests/test_50_server.py::TestServer1NonAsciiAva::test_encrypted_signed_response_3
- AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED
tests/test_50_server.py::TestServer1NonAsciiAva::test_encrypted_signed_response_4
- AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED
tests/test_50_server.py::TestServer1NonAsciiAva::test_encrypted_response_1 -
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED
tests/test_50_server.py::TestServer1NonAsciiAva::test_encrypted_response_2 -
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED
tests/test_50_server.py::TestServer1NonAsciiAva::test_encrypted_response_3 -
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED tests/test_51_client.py::TestClient::test_response_2 - AttributeError:
module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED tests/test_51_client.py::TestClient::test_response_5 - AttributeError:
module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED tests/test_51_client.py::TestClient::test_response_6 - AttributeError:
module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED tests/test_51_client.py::TestClient::test_response_8 - AttributeError:
module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED tests/test_51_client.py::TestClientNonAsciiAva::test_response_2 -
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED tests/test_51_client.py::TestClientNonAsciiAva::test_response_5 -
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED tests/test_51_client.py::TestClientNonAsciiAva::test_response_6 -
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED tests/test_51_client.py::TestClientNonAsciiAva::test_response_8 -
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED
tests/test_81_certificates.py::TestGenerateCertificates::test_validate_expire -
AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
FAILED
tests/test_81_certificates.py::TestGenerateCertificates::test_validate_passphrase
- AttributeError: module 'OpenSSL.crypto' has no attribute 'X509Req'
===== 24 failed, 748 passed, 3 skipped, 7 deselected in 144.58s (0:02:24) ======
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pysaml2/build; python3.14 -m pytest
tests -v -Wignore -k "not test_signed_metadata_proper_str_bytes_handling and
not test_enc1 and not test_encrypted_response_6 and not
test_validate_cert_chains and not test_validate_with_root_cert and not
test_namespace_processing"
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13
3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---