Skip to content

test_msvcrt: test_getwche() failed with timeout (10 min) on GHA Windows x64 #110147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vstinner opened this issue Sep 30, 2023 · 3 comments
Closed
Labels
tests Tests in the Lib/test dir

Comments

@vstinner
Copy link
Member

vstinner commented Sep 30, 2023

GHA Windows x64:

0:16:19 load avg: 5.19 [377/467/1] test_msvcrt process crashed (Exit code 1) -- running (1): test_winconsoleio (10 min)
Timeout (0:10:00)!
Thread 0x000001d4 (most recent call first):
  File "D:\a\cpython\cpython\Lib\test\test_msvcrt.py", line 91 in test_getwche
  (...)

== Tests result: FAILURE ==

build: https://github.com/python/cpython/actions/runs/6363931614/job/17279864816?pr=110146

Linked PRs

@vstinner vstinner added the tests Tests in the Lib/test dir label Sep 30, 2023
@vstinner
Copy link
Member Author

cc @aisk @terryjreedy @zooba

@vstinner
Copy link
Member Author

Another failure, on GHA Windows x86:

FAIL: test_kbhit (test.test_msvcrt.TestConsoleIO.test_kbhit)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\a\cpython\cpython\Lib\test\test_msvcrt.py", line 67, in test_kbhit
    self.assertEqual(msvcrt.kbhit(), 0)
AssertionError: 1 != 0

build: https://github.com/python/cpython/actions/runs/6365753186/job/17283009093?pr=109907

@aisk
Copy link
Contributor

aisk commented Oct 3, 2023

Changed the three tests which depends on _write_input to be run in a separate process: #110268 , maybe this can totally resolve the stability issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
Projects
None yet
Development

No branches or pull requests

2 participants