test_import sometimes fails in "Hypothesis tests on Ubuntu" job #131229
Copy link
Copy link
Open
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtopic-importlibtopic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtopic-importlibtopic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
- StatusShow more project fieldsTodo
Activity
brettcannon commentedon Mar 21, 2025
Link to the failing line:
cpython/Lib/test/test_import/__init__.py
Line 3285 in b92ee14
Looks to be a subinterpreters test, @ericsnowcurrently .
efimov-mikhail commentedon Nov 13, 2025
Another failuire: https://github.com/python/cpython/actions/runs/19341136619/job/55329588387?pr=139717
efimov-mikhail commentedon Nov 14, 2025
It seems that this issue started to occur often in the last few days.
gh-131229: Temporarily skip `test_basic_multiple_interpreters_deleted…
pythongh-131229: Temporarily skip `test_basic_multiple_interpreters_d…