This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_ctypes: test_array_in_struct() failed on ARMv7 Debian buster 3.7 and PPC64LE Fedora 3.7
Type: Stage: resolved
Components: Tests Versions: Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: vinay.sajip, vstinner
Priority: normal Keywords:

Created on 2019-09-25 11:20 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (4)
msg353175 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-09-25 11:20
I bet on a regression caused by bpo-22273, commit/16c0f6df62a39f9f7712b1c0577de4eefcb4c1bf.

ARMv7 Debian buster 3.7:
https://buildbot.python.org/all/#/builders/177/builds/396

======================================================================
FAIL: test_array_in_struct (ctypes.test.test_structures.StructureTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/ssd/buildbot/buildarea/3.7.gps-ubuntu-exynos5-armv7l/build/Lib/ctypes/test/test_structures.py", line 478, in test_array_in_struct
    self.assertEqual(result, expected)
AssertionError: 3.923919392286974e+252 != 5.85987
msg353177 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-09-25 11:22
Similar error on PPC64LE Fedora 3.7:
https://buildbot.python.org/all/#/builders/120/builds/1315

======================================================================
FAIL: test_array_in_struct (ctypes.test.test_structures.StructureTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/3.7.edelsohn-fedora-ppc64le/build/Lib/ctypes/test/test_structures.py", line 478, in test_array_in_struct
    self.assertEqual(result, expected)
AssertionError: 2.71828 != 5.85987
msg353226 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2019-09-25 19:55
Yes, sorry for the noise - I'm fixing it, and will close this issue once all done.
msg353269 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2019-09-26 06:54
Closed, as these buildbots are now green. This was addressed via changes to the original PR for bpo-22273.
History
Date User Action Args
2022-04-11 14:59:20adminsetgithub: 82453
2019-09-26 06:54:42vinay.sajipsetstatus: open -> closed
resolution: fixed
messages: + msg353269

stage: resolved
2019-09-25 19:55:06vinay.sajipsetnosy: + vinay.sajip
messages: + msg353226
2019-09-25 11:22:41vstinnersettitle: test_ctypes: test_array_in_struct() failed on ARMv7 Debian buster 3.7 -> test_ctypes: test_array_in_struct() failed on ARMv7 Debian buster 3.7 and PPC64LE Fedora 3.7
2019-09-25 11:22:30vstinnersetmessages: + msg353177
2019-09-25 11:20:34vstinnercreate