Your message dated Tue, 29 Oct 2024 17:27:45 +0000
with message-id <[email protected]>
and subject line Bug#1079560: fixed in ansible 10.5.0+dfsg-1
has caused the Debian Bug report #1079560,
regarding ansible: autopkgtest regression: AttributeError: 'called_once_with' 
is not a valid assertion.
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 [email protected]
immediately.)


-- 
1079560: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1079560
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ansible
Version: 10.1.0+dfsg-1
Severity: serious
User: [email protected]
Usertags: regression

Dear maintainer(s),

Your package has an autopkgtest, great. However, it fails. Can you please investigate the situation and fix it? I copied some of the output at the bottom of this report. Apart from the failure, the test dependencies are also not available in testing: python3-pyvmomi has an RC bug.

The release team has announced [1] that failing autopkgtest on amd64 and arm64 are considered RC in testing.

More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html

https://ci.debian.net/packages/a/ansible/unstable/amd64/50066821/

220s ______ TestNiosHostRecordModule.test_nios_host_record_update_record_name _______
220s [gw21] linux -- Python 3.12.4 /usr/bin/python3
220s
220s self = <ansible_collections.infoblox.nios_modules.tests.unit.plugins.modules.test_nios_host_record.TestNiosHostRecordModule testMethod=test_nios_host_record_update_record_name>
220s
220s     def test_nios_host_record_update_record_name(self):
220s self.module.params = {'provider': None, 'state': 'present', 'name': {'new_name': 'default', 'old_name': 'old_default'},
220s                               'comment': 'comment', 'extattrs': None}
220s
220s         test_object = [
220s             {
220s                 "comment": "test comment",
220s "_ref": "record:host/ZG5zLm5ldHdvcmtfdmlldyQw:default/true",
220s                 "name": "default",
220s                 "old_name": "old_default",
220s                 "extattrs": {}
220s             }
220s         ]
220s
220s         test_spec = {
220s             "name": {"ib_req": True},
220s             "comment": {},
220s             "extattrs": {}
220s         }
220s
220s         wapi = self._get_wapi(test_object)
220s         res = wapi.run('testobject', test_spec)
220s
220s         self.assertTrue(res['changed'])
220s >       wapi.update_object.called_once_with(test_object)
220s
220s tests/unit/plugins/modules/test_nios_host_record.py:155:
220s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
220s
220s self = <Mock name='update_object' id='140531195205616'>
220s name = 'called_once_with'
220s
220s     def __getattr__(self, name):
220s         if name in {'_mock_methods', '_mock_unsafe'}:
220s             raise AttributeError(name)
220s         elif self._mock_methods is not None:
220s             if name not in self._mock_methods or name in _all_magics:
220s raise AttributeError("Mock object has no attribute %r" % name)
220s         elif _is_magic(name):
220s             raise AttributeError(name)
220s if not self._mock_unsafe and (not self._mock_methods or name not in self._mock_methods): 220s if name.startswith(('assert', 'assret', 'asert', 'aseert', 'assrt')) or name in _ATTRIB_DENY_LIST:
220s >               raise AttributeError(
220s                     f"{name!r} is not a valid assertion. Use a spec "
220s f"for the mock if {name!r} is meant to be an attribute.") 220s E AttributeError: 'called_once_with' is not a valid assertion. Use a spec for the mock if 'called_once_with' is meant to be an attribute.. Did you mean: 'assert_called_once_with'?
220s
220s /usr/lib/python3.12/unittest/mock.py:663: AttributeError

...

654s #### failed tests are:
654s #### ansible_collections/infoblox/nios_modules/tests/unit
654s #### ansible_collections/google/cloud/tests/unit
654s #### ansible_collections/cyberark/conjur/tests/unit
654s #### ansible_collections/community/vmware/tests/unit
654s #### ansible_collections/community/network/tests/unit
654s #### ansible_collections/community/grafana/tests/unit


Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: ansible
Source-Version: 10.5.0+dfsg-1
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ansible, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated ansible 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 29 Oct 2024 12:46:37 +0000
Source: ansible
Architecture: source
Version: 10.5.0+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1079560 1084548
Changes:
 ansible (10.5.0+dfsg-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release.
   * Fix cyberark/conjur, community/grafana, and community/network unit tests
     for Python 3.12 (closes: #1079560).
   * Fix community/mongodb to avoid an import error on Python 3.13 (closes:
     #1084548).
Checksums-Sha1:
 1bfdc150044c4be63fec4bc8100b5d3c0bdfdd5d 2639 ansible_10.5.0+dfsg-1.dsc
 5603c6dd72639e64ad5c56f31bdc39b697a99b91 25460824 
ansible_10.5.0+dfsg.orig.tar.xz
 d52163289f01f4c6e1f57201f2472ef8812976fe 33360 
ansible_10.5.0+dfsg-1.debian.tar.xz
 ef42c4e81c3f0d8f601b55f0d5e067b3adee6fdd 7885 
ansible_10.5.0+dfsg-1_source.buildinfo
Checksums-Sha256:
 1791b5d4bdec2bce7aed6c38d6bc4bb7512c80664f4d177e78e5e6ef5a19a741 2639 
ansible_10.5.0+dfsg-1.dsc
 8d6e601029b308e3ef4e64a27c31d91860f19aef1e75c7a386d59cdf28bd816e 25460824 
ansible_10.5.0+dfsg.orig.tar.xz
 446defc2caa5a13fa0808c72217e1f571b2e5dc9ef38a94bd3cfac61ceb92b29 33360 
ansible_10.5.0+dfsg-1.debian.tar.xz
 97394d10a68072ffee634e3616bc3c43ccfa4424a6c4bc0fc4f68e1511d92717 7885 
ansible_10.5.0+dfsg-1_source.buildinfo
Files:
 de1ac7e119494dc23929fc98d66db181 2639 admin optional ansible_10.5.0+dfsg-1.dsc
 8843d9428e13844f768e193432eda30b 25460824 admin optional 
ansible_10.5.0+dfsg.orig.tar.xz
 b985b6df4da99dda56ffa4589c4b5dc9 33360 admin optional 
ansible_10.5.0+dfsg-1.debian.tar.xz
 3aa670807402e46c98ae87a8e550baf9 7885 admin optional 
ansible_10.5.0+dfsg-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmcg2YEACgkQOTWH2X2G
UAvaQw/9FjYclv3LyiM10XnF3vCnt8LYRK4QZNz10JSrDujZDwemC5o5+K9j2A67
+4clR8b68hmSKwjxtCpkNHt5nPUhKpDy1+pyZDZBMGurs/Ip9JeEk5Z5sjM1nOI+
oSL0qIXmXmhgkzJJkdjcqW8spsdZadOr0xz43bT2JFHRws7eTph3Ko8TCIm5ZuMk
bvpX9iobsXTC9mNKzn073movUpTggLXy5ZoTpj3paGmDCib7G+zFrgLunBoSKKon
uxZ1ZK/lKXCIEujOaUqffWPe2jg5iQukfRTCsgNCa0VOQbFfEDJpwyWcQ2Sy1ouq
4Sub5EXWUEGEFRVgN09kdKgI5jegPaYD+KjL7Medwv0kx0dq7QT2SfV8p601/C/U
+azBWdGj1RnpdZ0XzQqzHzk4QvfZ0/dWI/VrFKaGpLk37JPGL4pFuOvYP15CXmE0
HExkPi14aJz7/Rhk9k0Zb5F0yTdpr4Ta41QAuROMXdQc4a1x6HsF54aWVbe/Xyd7
NEDinepqDZZTEk5snDbEZXG6ziWzR3Gq8dale9674EP6UHGohM/dm/eYjYQRkfLA
E3ZSaLEDTjxYbiTqR8f/3J4QqMpfXJVLDRMetfS+t9LxtE8UkvxcL/c/aSFgMXYH
W610oT847lJH1MEamQieqoMTIWNuSBnGLUDbEhn60Gi/VFbo16Q=
=o4n+
-----END PGP SIGNATURE-----

Attachment: pgpD7n8sMATFA.pgp
Description: PGP signature


--- End Message ---

Reply via email to