[issue43955] Test Failures on Windows 10

2021-04-27 Thread Guido van Rossum
Guido van Rossum added the comment: Doesn't the pdb prompt use the builtin input()? -- ___ Python tracker ___ ___ Python-bugs-list

[issue43955] Test Failures on Windows 10

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: Oh. I also got this surprising (Pdb) prompt when running "python -m test" on Windows. The prompt doesn't display any output, I only get the prompt display (...) 0:34:05 load avg: 1.06 [300/426/2] test_select 0:34:08 load avg: 1.03 [301/426/2] test_selectors

[issue43955] Test Failures on Windows 10

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: For test_logging test_namer_rotator_inheritance() error: I created bpo-43961 "[Windows] test_logging.test_namer_rotator_inheritance() logs a logging error". It doesn't like like an error and it only happens on Windows. --

[issue43955] Test Failures on Windows 10

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: > To make it more confusing, all 4 tests passed when I ran with `-j` (to force > parallel test execution) - but then test_compileall failed instead :-) bpo-37387 "test_compileall fails randomly on Windows when tests are run in parallel" about random

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Tim Peters
Tim Peters added the comment: Shreyan Avigyan: > And the "(Pdb) continue (...) actually is manually entered by me. Victor Stinner: Do you mean that you modified the Python source code? Me: Doubt it. For me, with more words: the "(Pdb) " prompt appears all by itself, by magic, and the test

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Steve Dower
Steve Dower added the comment: I think the test failures cascade, and some state is not being cleaned up. I'm trying to work through them now, but if someone else is as well, do say so and I'll find something else to do. -- ___ Python tracker

[issue43955] Test Failures on Windows 10

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: Shreyan Avigyan: > And the "(Pdb) continue (...) actually is manually entered by me. Do you mean that you modified the Python source code? Does the issue go away if you revert your change or if you test a newly installed Python? --

[issue43955] Test Failures on Windows 10

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: File "C:\github\cpython\lib\test\test_distutils.py", line 15, in import distutils.tests File "C:\github\cpython\lib\contextlib.py", line 140, in __exit__ next(self.gen) File "C:\github\cpython\lib\test\support\warnings_helper.py", line 179, in

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Guido van Rossum
Guido van Rossum added the comment: Yes, I also see that pdb prompt. I recommend looking at what different configurations are used by test.libregrtest.main() when no tests are passed on the command line. -- ___ Python tracker

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Yes you're right. Running the failed tests individually does not trigger the errors. And the (Pdb) continue (Pdb) continue (Pdb) continue (Pdb) continue actually is manually entered by me. My tests also stop at that prompt but somehow entering these

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Tim Peters
Tim Peters added the comment: I expect parallelism is a red herring: early in the test output attached to this report: 0:00:04 Run tests sequentially and there's no other evidence in the output that multiple tests are running simultaneously. Also on Win10, the 4 failing tests here pass

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Guido van Rossum
Guido van Rossum added the comment: Can you submit a PR that fixes it? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: The test expects the but gets sigint_handler method of a pdb.Pdb instance instead. -- ___ Python tracker ___

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Pdb error source - https://github.com/python/cpython/blob/9aea31deddf7458be3546f72185740f3cd06687f/Lib/test/test_pdb.py#L1270 This is where the error in Pdb is originating from. -- ___ Python tracker

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Guido van Rossum
Guido van Rossum added the comment: I wonder if these four tests do something that affects all threads? The test driver module runs tests in parallel (if you ask it to run all or most tests, like the default). -- ___ Python tracker

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: -pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Christian Heimes
Change by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- nosy: -erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Shreyan Avigyan
New submission from Shreyan Avigyan : Recent test failures have been noticed on Windows 10. The full test log has been attached. The tests test_distutils, test_pdb, test_signal and test_threading require a little bit of attention since there seems to be some kind of error. --