Skip to content

test_import sometimes fails in "Hypothesis tests on Ubuntu" job #131229

Description

@sobolevn

This is not the first time I see this, but the first time I decided to report it :)

======================================================================
FAIL: test_basic_multiple_interpreters_deleted_no_reset (test.test_import.SinglephaseInitTests.test_basic_multiple_interpreters_deleted_no_reset)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/cpython/cpython-ro-srcdir/Lib/test/support/__init__.py", line 1270, in wrapper
    func(self)
    ~~~~^^^^^^
  File "/home/runner/work/cpython/cpython-ro-srcdir/Lib/test/test_import/__init__.py", line 3285, in test_basic_multiple_interpreters_deleted_no_reset
    self.check_copied(loaded_interp1, base)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cpython/cpython-ro-srcdir/Lib/test/test_import/__init__.py", line 2948, in check_copied
    self.assertNotEqual(snap.id, base.snapshot.id)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 140557519167152 == 140557519167152

----------------------------------------------------------------------

Link: https://github.com/python/cpython/actions/runs/13854070641/job/38766894924?pr=131220

Linked PRs

Activity

  1. brettcannon commented on Mar 21, 2025

    @brettcannon
    Member

    Link to the failing line:

    self.check_copied(loaded_interp1, base)

    Looks to be a subinterpreters test, @ericsnowcurrently .

  2. efimov-mikhail commented on Nov 14, 2025

    @efimov-mikhail
    Member

    It seems that this issue started to occur often in the last few days.

  3. added a commit that references this issue on Nov 14, 2025
  4. added a commit that references this issue on Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions