GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Python 3.11.7 Test Suite Failure in Windows - Interpreter has more than one thread · Issue #113026 · python/cpython

Python 3.11.7 Test Suite Failure in Windows - Interpreter has more than one thread #113026

New issue
Copy link
New issue
Copy link
Closed
Closed
Python 3.11.7 Test Suite Failure in Windows - Interpreter has more than one thread#113026
Copy link
Labels
3.11only security fixesonly security fixestestsTests in the Lib/test dirTests in the Lib/test dirtopic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@plooploops
plooploops
opened on Dec 12, 2023
Issue body actions

Bug report

Bug description:

I was running the python 3.11.7 test suite in a windows container (e.g. with python -m test --ignorefile C:\path\to\my\ignorefile) and noticed the following Runtime errors when running the test suite:

test test__xxsubinterpreters failed -- Traceback (most recent call last):
  File "C:\path\to\cpython\Lib\test\test__xxsubinterpreters.py", line 489, in test_main
    self.assertTrue(interpreters.is_running(main))
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: interpreter has more than one thread
test test_interpreters failed -- Traceback (most recent call last):
  File "C:\path\to\cpython\Lib\test\test_interpreters.py", line 247, in test_main
    self.assertTrue(main.is_running())
                    ^^^^^^^^^^^^^^^^^
  File "C:\path\to\cpython\Lib\test\support\interpreters.py", line 82, in is_running
    return _interpreters.is_running(self._id)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: interpreter has more than one thread

As a workaround I can add the test cases to the ignore file, but it would be worth understanding if this is a regression.

  • I was able to run python -m test --ignorefile C:\path\to\my\ignorefile for python 3.11.6 and I did not need to ignore these tests to complete the test suite in a windows container

CPython versions tested on:

3.11.7

Operating systems tested on:

Windows (windows servercore ltsc2019)

Activity

  1. plooploops
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Dec 12, 2023
  2. Eclips4
    added
    testsTests in the Lib/test dirTests in the Lib/test dir
    3.11only security fixesonly security fixes
    on Dec 12, 2023
  3. AlexWaygood
    added
    topic-subinterpreters
    on Dec 13, 2023
  4. github-project-automation
    added this to Subinterpreterson Dec 13, 2023
  5. github-project-automation
    moved this to Todo in Subinterpreterson Dec 13, 2023
  6. aisk commented on Jun 5, 2024

    @aisk
    aisk
    on Jun 5, 2024
    Member
    More actions

    This has been fixed by #109921, and that PR was backported to the 3.12 branch.

    But as https://devguide.python.org/versions/ shows, 3.11 will only accept security fixes starting from two months ago, so I think we won't backport that PR to 3.11.

  7. ericsnowcurrently
    closed this as completedon Jul 8, 2024
  8. github-project-automation
    moved this from Todo to Done in Subinterpreterson Jul 8, 2024
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.11only security fixesonly security fixestestsTests in the Lib/test dirTests in the Lib/test dirtopic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    • Subinterpreters
      Status
      Done
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402520 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.