Your message dated Wed, 13 Mar 2024 02:49:13 +0000 with message-id <E1rkEg5-004fOH-P2@fasolo.debian.org> and subject line Bug#1057548: fixed in cloud-init 24.1.1-1 has caused the Debian Bug report #1057548, regarding cloud-init: FTBFS: failing tests to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1057548: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057548 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian BTS <submit@bugs.debian.org>
- Subject: cloud-init: FTBFS: failing tests
- From: Santiago Vila <sanvila@debian.org>
- Date: Tue, 5 Dec 2023 23:04:12 +0100
- Message-id: <a6931919-0e8f-4664-83c4-3fc9dabb7f5c@debian.org>
Package: src:cloud-init Version: 23.3.1-1 Severity: serious Tags: ftbfs Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules build py3versions: no X-Python3-Version in control file, using supported versions dh build --with python3 --buildsystem pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:310: python3.12 setup.py config /<<PKGBUILDDIR>>/setup.py:184: SyntaxWarning: invalid escape sequence '\o' if cpe_data[1] == "\o": # noqa: W605 /<<PKGBUILDDIR>>/tools/read-dependencies:46: SyntaxWarning: invalid escape sequence '\.' """ running config I: pybuild base:310: python3.11 setup.py config running config [... snipped ...] ) from e E RuntimeError: Unable to lock user account 'foo_user'. No tools available. Tried: ['passwd', 'usermod']. cloudinit/distros/__init__.py:756: RuntimeError ----------------------------- Captured stdout call ----------------------------- 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user DEBUG: Adding user foo_user DEBUG: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,058 - __init__.py[DEBUG]: Adding user foo_user ------------------------------ Captured log call ------------------------------- 2023-12-05 16:31:25 DEBUG cloudinit.distros:__init__.py:616 Adding user foo_user _____ TestCreateUser.test_create_user_with_ssh_redirect_user_no_cloud_keys _____ self = <abc.DummyConcreteDistro object at 0x7f73f042ca40>, name = 'foo_user' def lock_passwd(self, name): """ Lock the password of a user, i.e., disable password logins """ # passwd must use short '-l' due to SLES11 lacking long form '--lock' lock_tools = (["passwd", "-l", name], ["usermod", "--lock", name]) try:cmd = next(tool for tool in lock_tools if subp.which(tool[0]))E StopIteration cloudinit/distros/__init__.py:754: StopIteration The above exception was the direct cause of the following exception: self = <tests.unittests.distros.test_create_users.TestCreateUser object at 0x7f73f2f89ac0> m_setup_user_keys = <MagicMock name='setup_user_keys' id='140135928887296'> m_subp = <MagicMock name='subp' id='140135950145616'> dist = <abc.DummyConcreteDistro object at 0x7f73f042ca40> caplog = <_pytest.logging.LogCaptureFixture object at 0x7f73f042d070> @mock.patch("cloudinit.ssh_util.setup_user_keys") def test_create_user_with_ssh_redirect_user_no_cloud_keys( self, m_setup_user_keys, m_subp, dist, caplog ): """Log a warning when trying to redirect a user no cloud ssh keys."""dist.create_user(USER, ssh_redirect_user="someuser")tests/unittests/distros/test_create_users.py:231: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cloudinit/distros/__init__.py:689: in create_user self.lock_passwd(name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <abc.DummyConcreteDistro object at 0x7f73f042ca40>, name = 'foo_user' def lock_passwd(self, name): """ Lock the password of a user, i.e., disable password logins """ # passwd must use short '-l' due to SLES11 lacking long form '--lock' lock_tools = (["passwd", "-l", name], ["usermod", "--lock", name]) try: cmd = next(tool for tool in lock_tools if subp.which(tool[0])) except StopIteration as e:raise RuntimeError("Unable to lock user account '%s'. No tools available. " " Tried: %s." % (name, [c[0] for c in lock_tools]) ) from e E RuntimeError: Unable to lock user account 'foo_user'. No tools available. Tried: ['passwd', 'usermod']. cloudinit/distros/__init__.py:756: RuntimeError ----------------------------- Captured stdout call ----------------------------- 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user DEBUG: Adding user foo_user DEBUG: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,083 - __init__.py[DEBUG]: Adding user foo_user ------------------------------ Captured log call ------------------------------- 2023-12-05 16:31:25 DEBUG cloudinit.distros:__init__.py:616 Adding user foo_user ____ TestCreateUser.test_create_user_with_ssh_redirect_user_with_cloud_keys ____ self = <abc.DummyConcreteDistro object at 0x7f73df51aa50>, name = 'foo_user' def lock_passwd(self, name): """ Lock the password of a user, i.e., disable password logins """ # passwd must use short '-l' due to SLES11 lacking long form '--lock' lock_tools = (["passwd", "-l", name], ["usermod", "--lock", name]) try:cmd = next(tool for tool in lock_tools if subp.which(tool[0]))E StopIteration cloudinit/distros/__init__.py:754: StopIteration The above exception was the direct cause of the following exception: self = <tests.unittests.distros.test_create_users.TestCreateUser object at 0x7f73f2f89e80> m_setup_user_keys = <MagicMock name='setup_user_keys' id='140135644630288'> m_subp = <MagicMock name='subp' id='140135632030176'> dist = <abc.DummyConcreteDistro object at 0x7f73df51aa50> @mock.patch("cloudinit.ssh_util.setup_user_keys") def test_create_user_with_ssh_redirect_user_with_cloud_keys( self, m_setup_user_keys, m_subp, dist ): """Disable ssh when ssh_redirect_user and cloud ssh keys are set."""dist.create_user(USER, ssh_redirect_user="someuser", cloud_public_ssh_keys=["key1"] ) tests/unittests/distros/test_create_users.py:244: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cloudinit/distros/__init__.py:689: in create_user self.lock_passwd(name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <abc.DummyConcreteDistro object at 0x7f73df51aa50>, name = 'foo_user' def lock_passwd(self, name): """ Lock the password of a user, i.e., disable password logins """ # passwd must use short '-l' due to SLES11 lacking long form '--lock' lock_tools = (["passwd", "-l", name], ["usermod", "--lock", name]) try: cmd = next(tool for tool in lock_tools if subp.which(tool[0])) except StopIteration as e:raise RuntimeError("Unable to lock user account '%s'. No tools available. " " Tried: %s." % (name, [c[0] for c in lock_tools]) ) from e E RuntimeError: Unable to lock user account 'foo_user'. No tools available. Tried: ['passwd', 'usermod']. cloudinit/distros/__init__.py:756: RuntimeError ----------------------------- Captured stdout call ----------------------------- 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user DEBUG: Adding user foo_user DEBUG: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,108 - __init__.py[DEBUG]: Adding user foo_user ------------------------------ Captured log call ------------------------------- 2023-12-05 16:31:25 DEBUG cloudinit.distros:__init__.py:616 Adding user foo_user _ TestCreateUser.test_create_user_with_ssh_redirect_user_does_not_disable_auth_keys _ self = <abc.DummyConcreteDistro object at 0x7f73f2746ff0>, name = 'foo_user' def lock_passwd(self, name): """ Lock the password of a user, i.e., disable password logins """ # passwd must use short '-l' due to SLES11 lacking long form '--lock' lock_tools = (["passwd", "-l", name], ["usermod", "--lock", name]) try:cmd = next(tool for tool in lock_tools if subp.which(tool[0]))E StopIteration cloudinit/distros/__init__.py:754: StopIteration The above exception was the direct cause of the following exception: self = <tests.unittests.distros.test_create_users.TestCreateUser object at 0x7f73f2f8a300> m_setup_user_keys = <MagicMock name='setup_user_keys' id='140135965684704'> m_subp = <MagicMock name='subp' id='140135824727344'> dist = <abc.DummyConcreteDistro object at 0x7f73f2746ff0> @mock.patch("cloudinit.ssh_util.setup_user_keys") def test_create_user_with_ssh_redirect_user_does_not_disable_auth_keys( self, m_setup_user_keys, m_subp, dist ): """Do not disable ssh_authorized_keys when ssh_redirect_user is set."""dist.create_user(USER, ssh_authorized_keys="auth1", ssh_redirect_user="someuser", cloud_public_ssh_keys=["key1"], ) tests/unittests/distros/test_create_users.py:259: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cloudinit/distros/__init__.py:689: in create_user self.lock_passwd(name) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <abc.DummyConcreteDistro object at 0x7f73f2746ff0>, name = 'foo_user' def lock_passwd(self, name): """ Lock the password of a user, i.e., disable password logins """ # passwd must use short '-l' due to SLES11 lacking long form '--lock' lock_tools = (["passwd", "-l", name], ["usermod", "--lock", name]) try: cmd = next(tool for tool in lock_tools if subp.which(tool[0])) except StopIteration as e:raise RuntimeError("Unable to lock user account '%s'. No tools available. " " Tried: %s." % (name, [c[0] for c in lock_tools]) ) from e E RuntimeError: Unable to lock user account 'foo_user'. No tools available. Tried: ['passwd', 'usermod']. cloudinit/distros/__init__.py:756: RuntimeError ----------------------------- Captured stdout call ----------------------------- 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user FALLBACK: 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user DEBUG: Adding user foo_user DEBUG: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user 2023-12-05 16:31:25,134 - __init__.py[DEBUG]: Adding user foo_user ------------------------------ Captured log call ------------------------------- 2023-12-05 16:31:25 DEBUG cloudinit.distros:__init__.py:616 Adding user foo_user =============================== warnings summary =============================== ../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1316 /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1316: PytestRemovedIn8Warning: The --strict option is deprecated, use --strict-markers instead. self.issue_config_time_warning( tests/unittests/helpers.py:527 /<<PKGBUILDDIR>>/tests/unittests/helpers.py:527: DeprecationWarning: Accessing jsonschema.__version__ is deprecated and will be removed in a future release. Use importlib.metadata directly to query for jsonschema's version. int(part) for part in jsonschema.__version__.split(".") # type: ignore cloudinit/sources/DataSourceAzure.py:51 /<<PKGBUILDDIR>>/cloudinit/sources/DataSourceAzure.py:51: DeprecationWarning: 'crypt' is deprecated and slated for removal in Python 3.13 import crypt cloudinit/distros/parsers/sys_conf.py:7 /<<PKGBUILDDIR>>/cloudinit/distros/parsers/sys_conf.py:7: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13 import pipes tests/unittests/test_ds_identify.py::TestDsIdentify::test_ibmcloud_template_no_userdata_in_provisioning /usr/lib/python3.12/unittest/case.py:692: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method TestDsIdentify.test_ibmcloud_template_no_userdata_in_provisioning of <tests.unittests.test_ds_identify.TestDsIdentify testMethod=test_ibmcloud_template_no_userdata_in_provisioning>>) return self.run(*args, **kwds) tests/unittests/test_ds_identify.py::TestDsIdentify::test_ibmcloud_template_userdata_in_provisioning /usr/lib/python3.12/unittest/case.py:692: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method TestDsIdentify.test_ibmcloud_template_userdata_in_provisioning of <tests.unittests.test_ds_identify.TestDsIdentify testMethod=test_ibmcloud_template_userdata_in_provisioning>>) return self.run(*args, **kwds) tests/unittests/test_ds_identify.py::TestDsIdentify::test_vmware_on_vmware_open_vm_tools_64 /usr/lib/python3.12/unittest/case.py:692: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method TestDsIdentify.test_vmware_on_vmware_open_vm_tools_64 of <tests.unittests.test_ds_identify.TestDsIdentify testMethod=test_vmware_on_vmware_open_vm_tools_64>>) return self.run(*args, **kwds) tests/unittests/test_ds_identify.py::TestDsIdentify::test_vmware_on_vmware_open_vm_tools_aarch64_linux_gnu /usr/lib/python3.12/unittest/case.py:692: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method TestDsIdentify.test_vmware_on_vmware_open_vm_tools_aarch64_linux_gnu of <tests.unittests.test_ds_identify.TestDsIdentify testMethod=test_vmware_on_vmware_open_vm_tools_aarch64_linux_gnu>>) return self.run(*args, **kwds) tests/unittests/test_ds_identify.py::TestDsIdentify::test_vmware_on_vmware_open_vm_tools_i386_linux_gnu /usr/lib/python3.12/unittest/case.py:692: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method TestDsIdentify.test_vmware_on_vmware_open_vm_tools_i386_linux_gnu of <tests.unittests.test_ds_identify.TestDsIdentify testMethod=test_vmware_on_vmware_open_vm_tools_i386_linux_gnu>>) return self.run(*args, **kwds) tests/unittests/test_ds_identify.py::TestDsIdentify::test_vmware_on_vmware_open_vm_tools_x86_64_linux_gnu /usr/lib/python3.12/unittest/case.py:692: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method TestDsIdentify.test_vmware_on_vmware_open_vm_tools_x86_64_linux_gnu of <tests.unittests.test_ds_identify.TestDsIdentify testMethod=test_vmware_on_vmware_open_vm_tools_x86_64_linux_gnu>>) return self.run(*args, **kwds) tests/unittests/test_log.py::TestCloudInitLogger::test_logger_uses_gmtime /<<PKGBUILDDIR>>/tests/unittests/test_log.py:45: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). utc_before = datetime.datetime.utcnow() - datetime.timedelta(0, 0.5) tests/unittests/test_log.py::TestCloudInitLogger::test_logger_uses_gmtime /<<PKGBUILDDIR>>/tests/unittests/test_log.py:47: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). utc_after = datetime.datetime.utcnow() + datetime.timedelta(0, 0.5) tests/unittests/analyze/test_boot.py::TestAnalyzeBoot::test_boot_invalid_distro tests/unittests/analyze/test_boot.py::TestAnalyzeBoot::test_container_no_ci_log_line tests/unittests/analyze/test_boot.py::TestAnalyzeBoot::test_container_ci_log_line /<<PKGBUILDDIR>>/cloudinit/analyze/__main__.py:131: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). kernel_start_timestamp = datetime.utcfromtimestamp(kernel_start) tests/unittests/analyze/test_boot.py::TestAnalyzeBoot::test_boot_invalid_distro tests/unittests/analyze/test_boot.py::TestAnalyzeBoot::test_container_no_ci_log_line tests/unittests/analyze/test_boot.py::TestAnalyzeBoot::test_container_ci_log_line /<<PKGBUILDDIR>>/cloudinit/analyze/__main__.py:132: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). kernel_end_timestamp = datetime.utcfromtimestamp(kernel_end) tests/unittests/analyze/test_boot.py::TestAnalyzeBoot::test_boot_invalid_distro tests/unittests/analyze/test_boot.py::TestAnalyzeBoot::test_container_no_ci_log_line tests/unittests/analyze/test_boot.py::TestAnalyzeBoot::test_container_ci_log_line /<<PKGBUILDDIR>>/cloudinit/analyze/__main__.py:133: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). ci_sysd_start_timestamp = datetime.utcfromtimestamp(ci_sysd_start) tests/unittests/analyze/test_boot.py::TestAnalyzeBoot::test_container_ci_log_line /<<PKGBUILDDIR>>/cloudinit/analyze/__main__.py:141: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). ci_start = datetime.utcfromtimestamp(last_init_local["timestamp"]) tests/unittests/cmd/test_main.py: 8 warnings tests/unittests/config/test_cc_apt_pipelining.py: 4 warnings tests/unittests/config/test_cc_bootcmd.py: 1 warning tests/unittests/config/test_cc_growpart.py: 1 warning tests/unittests/config/test_cc_grub_dpkg.py: 1 warning tests/unittests/config/test_cc_mcollective.py: 2 warnings tests/unittests/config/test_cc_mounts.py: 12 warnings tests/unittests/config/test_cc_power_state_change.py: 5 warnings tests/unittests/config/test_cc_runcmd.py: 9 warnings tests/unittests/config/test_cc_scripts_vendor.py: 2 warnings tests/unittests/config/test_cc_set_passwords.py: 3 warnings tests/unittests/config/test_cc_snap.py: 3 warnings tests/unittests/config/test_cc_update_etc_hosts.py: 3 warnings tests/unittests/config/test_cc_users_groups.py: 28 warnings tests/unittests/config/test_schema.py: 166 warnings tests/unittests/reporting/test_reporting.py: 19 warnings /<<PKGBUILDDIR>>/cloudinit/config/schema.py:453: DeprecationWarning: Passing a schema to Validator.iter_errors is deprecated and will be removed in a future release. Call validator.evolve(schema=new_schema).iter_errors(...) instead. return next(errors, None) is None tests/unittests/cmd/devel/test_logs.py::TestCollectLogs::test_collect_logs_creates_tarfile /<<PKGBUILDDIR>>/tests/unittests/cmd/devel/test_logs.py:55: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). date = datetime.utcnow().date().strftime("%Y-%m-%d") tests/unittests/cmd/devel/test_logs.py::TestCollectLogs::test_collect_logs_creates_tarfile tests/unittests/cmd/devel/test_logs.py::TestCollectLogs::test_collect_logs_includes_optional_userdata /<<PKGBUILDDIR>>/cloudinit/cmd/devel/logs.py:213: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). log_dir = datetime.utcnow().date().strftime("cloud-init-logs-%Y-%m-%d") tests/unittests/cmd/devel/test_logs.py::TestCollectLogs::test_collect_logs_includes_optional_userdata /<<PKGBUILDDIR>>/tests/unittests/cmd/devel/test_logs.py:159: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). date = datetime.utcnow().date().strftime("%Y-%m-%d") tests/unittests/reporting/test_reporting_hyperv.py: 31 warnings /<<PKGBUILDDIR>>/cloudinit/reporting/handlers.py:376: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). datetime.utcfromtimestamp(event.timestamp).isoformat() + "Z" tests/unittests/reporting/test_reporting_hyperv.py::TextKvpReporter::test_get_boot_telemetry /<<PKGBUILDDIR>>/cloudinit/sources/helpers/azure.py:136: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). datetime.utcfromtimestamp(kernel_start).isoformat() + "Z", tests/unittests/reporting/test_reporting_hyperv.py::TextKvpReporter::test_get_boot_telemetry /<<PKGBUILDDIR>>/cloudinit/sources/helpers/azure.py:137: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). datetime.utcfromtimestamp(user_start).isoformat() + "Z", tests/unittests/reporting/test_reporting_hyperv.py::TextKvpReporter::test_get_boot_telemetry /<<PKGBUILDDIR>>/cloudinit/sources/helpers/azure.py:138: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). datetime.utcfromtimestamp(cloudinit_activation).isoformat() + "Z", tests/unittests/sources/test_azure.py: 65 warnings tests/unittests/sources/test_azure_helper.py: 17 warnings /<<PKGBUILDDIR>>/cloudinit/sources/helpers/azure.py:1094: DeprecationWarning: Testing an element's truth value will raise an exception in future versions. Use specific 'len(elem)' or 'elem is not None' test instead. if not root.find("./wa:ProvisioningSection", cls.NAMESPACES): tests/unittests/sources/test_azure.py: 49 warnings tests/unittests/sources/azure/test_kvp.py: 1 warning /<<PKGBUILDDIR>>/cloudinit/sources/azure/kvp.py:52: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). f"timestamp={datetime.utcnow().isoformat()}", tests/unittests/sources/test_azure.py: 50 warnings tests/unittests/sources/test_azure_helper.py: 4 warnings tests/unittests/sources/azure/test_errors.py: 9 warnings tests/unittests/sources/azure/test_kvp.py: 2 warnings /<<PKGBUILDDIR>>/cloudinit/sources/azure/errors.py:54: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). self.timestamp = datetime.utcnow() tests/unittests/sources/test_gce.py::TestDataSourceGCE::test_has_expired tests/unittests/sources/test_gce.py::TestDataSourceGCE::test_has_expired /<<PKGBUILDDIR>>/cloudinit/sources/DataSourceGCE.py:238: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). return datetime.datetime.utcnow() > expire_time tests/unittests/sources/azure/test_errors.py: 48 warnings /<<PKGBUILDDIR>>/tests/unittests/sources/azure/test_errors.py:22: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). timestamp = datetime.datetime.utcnow() tests/unittests/sources/azure/test_kvp.py::TestReportSuccessToHost::test_report_success_to_host /<<PKGBUILDDIR>>/tests/unittests/sources/azure/test_kvp.py:14: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). timestamp = datetime.utcnow() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_options[basic] FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_options[no_home] FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_options[system_user] FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_options[explicit_no_home_false] FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_options[set_password] FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_group_added FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_only_new_group_added FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_groups_with_whitespace_string FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_groups_with_dict_deprecated FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_groups_with_list FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_explicit_sudo_false FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_explicit_sudo_none FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_setup_ssh_authorized_keys_with_string FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_setup_ssh_authorized_keys_with_list FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_setup_ssh_authorized_keys_with_integer FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_user_with_ssh_redirect_user_no_cloud_keys FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_user_with_ssh_redirect_user_with_cloud_keys FAILED tests/unittests/distros/test_create_users.py::TestCreateUser::test_create_user_with_ssh_redirect_user_does_not_disable_auth_keys ===== 18 failed, 4847 passed, 5 skipped, 1 xfailed, 575 warnings in 50.15s ===== make[1]: *** [debian/rules:11: override_dh_auto_test] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:7: build] Error 2 dpkg-buildpackage: error: debian/rules build 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/202312/ About the archive rebuild: The build was made using virtual machines from AWS, with enough memory, enough disk, and either one or two CPUs, using 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.
--- End Message ---
--- Begin Message ---
- To: 1057548-close@bugs.debian.org
- Subject: Bug#1057548: fixed in cloud-init 24.1.1-1
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Wed, 13 Mar 2024 02:49:13 +0000
- Message-id: <E1rkEg5-004fOH-P2@fasolo.debian.org>
- Reply-to: Noah Meyerhans <noahm@debian.org>
Source: cloud-init Source-Version: 24.1.1-1 Done: Noah Meyerhans <noahm@debian.org> We believe that the bug you reported is fixed in the latest version of cloud-init, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1057548@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Noah Meyerhans <noahm@debian.org> (supplier of updated cloud-init package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 11 Mar 2024 20:00:23 -0700 Source: cloud-init Architecture: source Version: 24.1.1-1 Distribution: unstable Urgency: medium Maintainer: Debian Cloud Team <debian-cloud@lists.debian.org> Changed-By: Noah Meyerhans <noahm@debian.org> Closes: 926424 955620 1025618 1057548 Changes: cloud-init (24.1.1-1) unstable; urgency=medium . [ Nick Brown ] * Add logrotate config (Closes: #926424) . [ Debian Janitor ] * Update lintian override info format in d/cloud-init.lintian-overrides on line 3-7. * Trim trailing whitespace. * Use secure copyright file specification URI. * Bump debhelper from old 10 to 13. + Drop check for DEB_BUILD_OPTIONS containing "nocheck", since debhelper now does this. + Replace --no-restart-on-upgrade with --no-stop-on-upgrade. + Use dh_installsystemd rather than deprecated dh_systemd_start. * Set debhelper-compat version in Build-Depends. * Set upstream metadata fields: Repository-Browse. * Update standards version to 4.6.1, no changes needed. . [ Ross Vandegrift ] * d/control: Conflict with firewalld (Closes: #1025618) cloud-init and firewalld's systemd units jointly have startup cycles. Currently, they cannot be eliminated without breaking features of one or the other. * d/control: drop obsolete Depends on lsb-base . [ Noah Meyerhans ] * Fix debian/rules clean fails from git repo This may not be strictly correct from a pybuild perspective, but it avoids the need to call `setup.py` from the clean recipe. (Closes: #955620) . [ Ross Vandegrift ] * New upstream version 24.1 (Closes: #1057548) * d/p/0001-config-Support-APT-automated-mirror-selection.patch: refresh * d/p/0006-Disable-two-failing-WSL-unittests.patch: disable failing WSL tests . [ Noah Meyerhans ] * New upstream version 24.1.1 * Drop patch 0006-Disable-two-failing-WSL-unittests.patch Checksums-Sha1: 8ffde165b91d09b26dd1a2539c4901cd22341c16 2440 cloud-init_24.1.1-1.dsc 7e45254e6a7efd64a99a1abd2d6dee585f4069d4 1730335 cloud-init_24.1.1.orig.tar.gz 0f42f704eeac76b3ed0485e683a3abd4691e2c84 26624 cloud-init_24.1.1-1.debian.tar.xz 3461c15b85793e894a9fb5c770e1390100b3d9bd 7290 cloud-init_24.1.1-1_source.buildinfo Checksums-Sha256: f54ecbc291bf6ecd05059628b11e78c5bc1990efb31e2fc2983d3aa9ad2bcf53 2440 cloud-init_24.1.1-1.dsc bda71fd0e4a2ad2c20941d941293a08bda490f075b24949b089f5425dcde1c73 1730335 cloud-init_24.1.1.orig.tar.gz 3076753fd60c86b291e61a2878446315ced2b1f69247617c54cae24460075bb6 26624 cloud-init_24.1.1-1.debian.tar.xz 82c8b70e0fba16bb01ebc776c071a2db65861c1c77ff7a66456d647cfe707428 7290 cloud-init_24.1.1-1_source.buildinfo Files: f349eb943e4e51c060a42954eb547f84 2440 admin optional cloud-init_24.1.1-1.dsc 46d30a80410623af3246d479e303949f 1730335 admin optional cloud-init_24.1.1.orig.tar.gz bd75e08032ea5aee3664e0dd54818ea3 26624 admin optional cloud-init_24.1.1-1.debian.tar.xz bfe3a344b2fd0cbb740d0cea01842414 7290 admin optional cloud-init_24.1.1-1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEE5G+E0xEKhJuZ7RJ34+c1IpshdTUFAmXxCA8RHG5vYWhtQGRl Ymlhbi5vcmcACgkQ4+c1IpshdTVZHg/+JGRxaY/D8d+vPam5DyiChPwwkaNuyRky exZxMot5yEhwNuq9Ek7pHBif5lqBHhtQrgBIJXudGLYx2EU/6X+y4orrT/yuZdyn U98rZfE5SU+qdwWi0vpqv7IB/qHu5ZBdeK4ZGKzOcqkfr8IeOTXusx4TbDON1fPD +z67h/+lnyMQHr4g01StujlxV5ySqv8aGKHTsQkSBFPPTfY69T/EvgelgzhjMx1M ShkT6SqiIu6yx5G9Nt98J6FLTNixKUOYKfMCSBZ0utE8oWxvsn64J+kMT67vEjK5 PIjKdC0tBaGHuj9QC2AWfyI/E7rFgRK7ofMr23eli1/xt3N3FbIPzoBDe6FyEENC OuSHopic70k/QJ8oUJxsTB4O7Lr96eJudYu77kI9bom1WAxguKEB82wmz/Polmtq uwOaYjFbtNm5lq5N1lZAKyRQltWIwgePfC1WCQlW03qNowNrb6yZofyBwVAMcSKK rXXRIaGaLlX9m59/PizdJD2z7pq95Hl/TnnPhbBqPIoeFA1buEEKKPDONtQPHUz7 Fwj5ZWuwv4B13VTCLLMA8Hmvg8E9nKADgdhL5oI/H+UCTgc9F8Q/LfKsgVXowyaG KvbIM1jVCQvPtJIroHycUE5uktsLRVSxbf+lPR8IunltvkMeLnTCAuBCkDqfV3oS ibc3IBbwi3U= =pwDU -----END PGP SIGNATURE-----Attachment: pgp7HDKd4sPZn.pgp
Description: PGP signature
--- End Message ---