Package: src:cloud-init Version: 0.7.7~bzr1215-3 Severity: serious Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A" (which is what the "Arch: all" autobuilder would do to build it) but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --with python3,systemd --buildsystem pybuild dh_testdir -i -O--buildsystem=pybuild dh_update_autotools_config -i -O--buildsystem=pybuild dh_auto_configure -i -O--buildsystem=pybuild I: pybuild base:184: python3.5 setup.py config running config dh_auto_build -i -O--buildsystem=pybuild I: pybuild base:184: /usr/bin/python3 setup.py build running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/cloudinit copying cloudinit/patcher.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/cloudinit [... snipped ...] -------------------- >> begin captured logging << -------------------- cloudinit.url_helper: DEBUG: [0/1] open 'http://metadata.google.internal./computeMetadata/v1/instance/id' with {'headers': {'User-Agent': 'Cloud-Init/0.7.7', 'X-Google-Metadata-Request': True}, 'method': 'GET', 'url': 'http://metadata.google.internal./computeMetadata/v1/instance/id', 'allow_redirects': True} configuration cloudinit.sources.DataSourceGCE: DEBUG: url instance/id raised exception Header value True must be of type str or bytes, not <class 'bool'> cloudinit.sources.DataSourceGCE: DEBUG: required key instance-id returned nothing. not GCE --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_project_level_ssh_keys_are_used (tests.unittests.test_datasource.test_gce.TestDataSourceGCE) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/httpretty/core.py", line 1146, in wrapper return test(*args, **kw) File "/<<PKGBUILDDIR>>/tests/unittests/test_datasource/test_gce.py", line 141, in test_project_level_ssh_keys_are_used self.ds.get_public_ssh_keys()) File "/<<PKGBUILDDIR>>/cloudinit/sources/DataSourceGCE.py", line 142, in get_public_ssh_keys return self.metadata['public-keys'] KeyError: 'public-keys' -------------------- >> begin captured logging << -------------------- cloudinit.url_helper: DEBUG: [0/1] open 'http://metadata.google.internal./computeMetadata/v1/instance/id' with {'headers': {'User-Agent': 'Cloud-Init/0.7.7', 'X-Google-Metadata-Request': True}, 'method': 'GET', 'url': 'http://metadata.google.internal./computeMetadata/v1/instance/id', 'allow_redirects': True} configuration cloudinit.sources.DataSourceGCE: DEBUG: url instance/id raised exception Header value True must be of type str or bytes, not <class 'bool'> cloudinit.sources.DataSourceGCE: DEBUG: required key instance-id returned nothing. not GCE --------------------- >> end captured logging << --------------------- ====================================================================== FAIL: test_connection (tests.unittests.test_datasource.test_gce.TestDataSourceGCE) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/httpretty/core.py", line 1146, in wrapper return test(*args, **kw) File "/<<PKGBUILDDIR>>/tests/unittests/test_datasource/test_gce.py", line 88, in test_connection self.assertTrue(success) AssertionError: False is not true -------------------- >> begin captured logging << -------------------- cloudinit.util: DEBUG: detected dns redirection: {'does-not-exist.example.com.': [': does-not-exist.example.com.'], 'example.invalid.': [': example.invalid.'], 'FLdvbcRvW4hvHnSkS80knogwd0zAsU6m': [': FLdvbcRvW4hvHnSkS80knogwd0zAsU6m']} cloudinit.url_helper: DEBUG: [0/1] open 'http://metadata.google.internal./computeMetadata/v1/instance/id' with {'headers': {'User-Agent': 'Cloud-Init/0.7.7', 'X-Google-Metadata-Request': True}, 'method': 'GET', 'url': 'http://metadata.google.internal./computeMetadata/v1/instance/id', 'allow_redirects': True} configuration cloudinit.sources.DataSourceGCE: DEBUG: url instance/id raised exception Header value True must be of type str or bytes, not <class 'bool'> cloudinit.sources.DataSourceGCE: DEBUG: required key instance-id returned nothing. not GCE --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- Ran 591 tests in 58.048s FAILED (SKIP=6, errors=7, failures=1) Makefile:48: recipe for target 'unittest3' failed make[2]: *** [unittest3] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:9: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:6: recipe for target 'build-indep' failed make: *** [build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- The relevant part of the build log is included above. 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 page for this package. Thanks.