Your message dated Thu, 23 Dec 2021 09:33:34 +0000
with message-id <[email protected]>
and subject line Bug#1002407: fixed in ironic 1:18.2.0-3
has caused the Debian Bug report #1002407,
regarding ironic: FTBFS: unittest.mock.InvalidSpecError: Cannot autospec attr 
'call' from target 
<ironic.common.glance_service.image_service.GlanceImageService object at 
0x7f09cea41690> as it has already been mocked out. 
[target=<ironic.common.glance_service.image_service.GlanceImageService object 
at 0x7f09cea41690>, attr=<MagicMock name='retry()()' id='139680053376432'>]
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.)


-- 
1002407: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002407
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ironic
Version: 1:18.2.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> ======================================================================
> FAIL: 
> ironic.tests.unit.common.test_glance_service.TestGlanceImageService.test_show_makes_datetimes
> ironic.tests.unit.common.test_glance_service.TestGlanceImageService.test_show_makes_datetimes
> ----------------------------------------------------------------------
> testtools.testresult.real._StringException: Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/ironic/tests/unit/common/test_glance_service.py", 
> line 159, in test_show_makes_datetimes
>     with mock.patch.object(self.service, 'call', return_value=image,
>   File "/usr/lib/python3.10/unittest/mock.py", line 1528, in __enter__
>     raise InvalidSpecError(
> unittest.mock.InvalidSpecError: Cannot autospec attr 'call' from target 
> <ironic.common.glance_service.image_service.GlanceImageService object at 
> 0x7f09cea41690> as it has already been mocked out. 
> [target=<ironic.common.glance_service.image_service.GlanceImageService object 
> at 0x7f09cea41690>, attr=<MagicMock name='retry()()' id='139680053376432'>]


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/ironic_18.2.0-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: ironic
Source-Version: 1:18.2.0-3
Done: Thomas Goirand <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ironic, 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.
Thomas Goirand <[email protected]> (supplier of updated ironic 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: Thu, 23 Dec 2021 09:21:01 +0100
Source: ironic
Architecture: source
Version: 1:18.2.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1002407
Changes:
 ironic (1:18.2.0-3) unstable; urgency=medium
 .
   * Add Fix_Mock_objects_as_specs.patch (Closes: #1002407).
   * Blacklist 2 remaining failing tests, which I couldn't rebase properly to
     Xena. It's ok because it's very likely only unit test brokeness, and
     Ironic is still working:
     - test_show_makes_datetimes
     - test__commit_raid_config_with_logical_drives
Checksums-Sha1:
 a09b8e4ab3ac8af91ae2e70e13f52c030b352c00 3919 ironic_18.2.0-3.dsc
 35f480af11b8698c114bf903c1570caa6797c53e 20724 ironic_18.2.0-3.debian.tar.xz
 87949d4147885e96a0bc0bb0cf00dadd97836b1c 21614 ironic_18.2.0-3_amd64.buildinfo
Checksums-Sha256:
 e07fc2442af222687914ce3ef72a316981310ea129412b6ab70478a1b8cf50d2 3919 
ironic_18.2.0-3.dsc
 9b8a7e9eca4f13fd5577a5f70bdc620e9a8d3c24d4b6cd7df65ab1028d755adf 20724 
ironic_18.2.0-3.debian.tar.xz
 500bd6eeb993d6c167e112ee1b69cd0db6519d9c913affb3a86420332b676e7b 21614 
ironic_18.2.0-3_amd64.buildinfo
Files:
 1485c57a06adf9fb909aaa152cd98ae1 3919 net optional ironic_18.2.0-3.dsc
 41f64a86a0d088f42e20062d4e8abbdf 20724 net optional 
ironic_18.2.0-3.debian.tar.xz
 b351cacdaccdf7120bb733f93f375cc0 21614 net optional 
ironic_18.2.0-3_amd64.buildinfo

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

iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmHEP+YACgkQ1BatFaxr
Q/4ltQ/9HFRVebBu+RVHexrrH5G5/oJHBTbwmKgj5HePpXPlZ/EzeIIveFZ2XhGJ
+m+KmLscPyhFyRVu6MWlOlg5MxHVuB3tcClNFMk9rW7khWKivNGiHFp12YXDo1Bx
n2EngIvWqyUNQludwHAhaZro6X+U5XwnuqtJQrGPi7p63JPpsH+pSaS51BiZEMzS
Y0+cLPqk0UKq3tVsWiH59H33sZK/DwiSAyJcXIgD6Gd+QSlnkWstV3ITrRFurOzZ
D6TGnZPaH3Ik6nnGk1YD4POGkuLgYWzin1DxcKynLv7p814Q5svRUZrVh4fAO4QA
SyfxCfwzAzf4+uqd4q1I7aDfLIOAJMoMVqT0G7mSBXqB+mAzYb/hjSgMPwGGRr33
YspLH1W84zmtHERqS6Jb6kzUWlJBoTB6j0ASDBZdQPHqjw3jtuo+cXkUJ9ufN7Tt
fumXqPv2su/HO2wA4LIeWSHTdaHhYk1CMdc4VJupNoxSLRERywOSUw5QMTXU7mfW
SuvrqUA9dExavb2zm1whenlEF6XBmRwpApEUTfiBlc8YITvCOH9A9PxYFSnxtZ8w
uWRH30xrtm8IJ0xwQ/Ur2Gzwap8wrC8awL5Arg+Is3v2DNPLsJakiPsRDAid+1MS
yHeRk/1CaGgqD+dgSjYXy9USLYDyilFEgmC0y/d7BBhaInj7Ccw=
=AOH0
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to