This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2017年06月20日 17:14 by terry.reedy, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Messages (5) | |||
|---|---|---|---|
| msg296474 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2017年06月20日 17:14 | |
On my Win10-64 machine, test_winreg hangs, impervious to ^C. I have to close Command Prompt. (With IDLE I can run just test_winreg and then Restart Shell.) This happened with repository builds last Friday and today, and with installed 3.6.2rc1. But I believe I ran the entire test suite (to successful completion) not too many days before. The culprit is def test_dynamic_key(self): # Issue2810, when the value is dynamically generated, these # raise "WindowsError: More data is available" in 2.6 and 3.1 try: EnumValue(HKEY_PERFORMANCE_DATA, 0) except OSError as e: if e.errno in (errno.EPERM, errno.EACCES): self.skipTest("access denied to registry key " "(are you running in a non-interactive session?)") raise QueryValueEx(HKEY_PERFORMANCE_DATA, "") Commenting out the whole function or both the EnumValue and QueryValueEx calls (replacing the former with pass) is required to allow the test to run (and pass). I have no idea why behavior on my machine is different from buildbots. If the problem is with my registry, could the test be more robust? Having to kill my console session, and lose history, after running the test suite, is unpleasant. |
|||
| msg296782 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2017年06月24日 19:20 | |
Ping. I still cannot run the test suite to completion, so I cannot tell whether I add a warning failure regression. Does anyone else have the same problem? Should I patch the file to skip this test? |
|||
| msg297479 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2017年07月01日 07:31 | |
I just found -x test_winreg so I can run the test suite while waiting for this to be fixed. |
|||
| msg311011 - (view) | Author: Ned Deily (ned.deily) * (Python committer) | Date: 2018年01月28日 22:02 | |
What's the status of this issue? It was previous marked as a "release blocker" and I subsequently downgraded it to a "deferred blocker" so as not to hold up releases. Since a few maintenance releases have gone by without any action, I am removing the "deferred Blocker" status now. Any one have any ideas? |
|||
| msg311054 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2018年01月29日 04:43 | |
test_winreg now works, taking about 5 seconds. It has been working recently but I dont' know when or why the problem disappeared. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:47 | admin | set | github: 74900 |
| 2018年01月29日 04:43:00 | terry.reedy | set | status: open -> closed resolution: out of date messages: + msg311054 stage: resolved |
| 2018年01月28日 22:02:28 | ned.deily | set | priority: deferred blocker -> nosy: + eryksun messages: + msg311011 |
| 2017年07月01日 18:07:28 | ned.deily | set | priority: release blocker -> deferred blocker |
| 2017年07月01日 07:31:04 | terry.reedy | set | messages: + msg297479 |
| 2017年06月24日 19:20:58 | terry.reedy | set | messages: + msg296782 |
| 2017年06月20日 17:17:59 | terry.reedy | set | type: behavior -> crash |
| 2017年06月20日 17:14:27 | terry.reedy | create | |