Skip to content

CI run failed on test_import #141545

@Locked-chess-official

Description

@Locked-chess-official

Bug report

Bug description:

All of the new PR run failed on "test_import" and only failed on "Sanitizers/UBSan" with similar message:

test test_import failed -- Traceback (most recent call last):
  File "/home/runner/work/cpython/cpython/Lib/test/support/__init__.py", line 1327, in wrapper
    func(self)
    ~~~~^^^^^^
  File "/home/runner/work/cpython/cpython/Lib/test/test_import/__init__.py", line 3319, in test_basic_multiple_interpreters_deleted_no_reset
    self.check_copied(loaded_interp1, base)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cpython/cpython/Lib/test/test_import/__init__.py", line 2981, in check_copied
    self.assertNotEqual(snap.id, base.snapshot.id)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 139798659901648 == 139798659901648

The changing of the message is only the number of "id". Unknown which PR broke it.
This failure is stable. Only the PRs which didn't touch the core code will skip it.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Other

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions