Skip to content

test_ctypes: test_array_in_struct() failed on ARMv7 Debian buster 3.7 and PPC64LE Fedora 3.7 #82453

Closed

Description

@vstinner
BPO 38272
Nosy @vsajip, @vstinner

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2019-09-26.06:54:42.569>
created_at = <Date 2019-09-25.11:20:34.035>
labels = ['3.7', 'tests']
title = 'test_ctypes: test_array_in_struct() failed on ARMv7 Debian buster 3.7 and PPC64LE Fedora 3.7'
updated_at = <Date 2019-09-26.06:54:42.567>
user = 'https://github.com/vstinner'

bugs.python.org fields:

activity = <Date 2019-09-26.06:54:42.567>
actor = 'vinay.sajip'
assignee = 'none'
closed = True
closed_date = <Date 2019-09-26.06:54:42.569>
closer = 'vinay.sajip'
components = ['Tests']
creation = <Date 2019-09-25.11:20:34.035>
creator = 'vstinner'
dependencies = []
files = []
hgrepos = []
issue_num = 38272
keywords = []
message_count = 4.0
messages = ['353175', '353177', '353226', '353269']
nosy_count = 2.0
nosy_names = ['vinay.sajip', 'vstinner']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue38272'
versions = ['Python 3.7']

Activity

  1. vstinner commented on Sep 25, 2019

    @vstinner
    MemberAuthor

    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
  2. vstinner commented on Sep 25, 2019

    @vstinner
    MemberAuthor

    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
  3. changed the title [-]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[/+] on Sep 25, 2019
  4. vsajip commented on Sep 25, 2019

    @vsajip
    Member

    Yes, sorry for the noise - I'm fixing it, and will close this issue once all done.

  5. vsajip commented on Sep 26, 2019

    @vsajip
    Member

    Closed, as these buildbots are now green. This was addressed via changes to the original PR for bpo-22273.

  6. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.7 (EOL)end of lifetestsTests in the Lib/test dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions