Rather consistent failure of twisted.internet.test.test_tcp.AbortConnectionTestCase_Win32Reactor.test_resumeProducingThrows
Open
Nobody has claimed this yet.
bug
core
new
priority-normal
windows
- Dominant language
- Python
- Stars
- 6k
- Forks
- 1.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 10
Description
| @exarkun reported | |
|---|---|
| Trac ID | trac#5611 |
| Type | defect |
| Created | 2012-04-04 12:03:55Z |
This unit test pretty much always fails on the Python 2.6 Windows builder:
===============================================================================
[ERROR]
Traceback (most recent call last):
File "C:\buildslave\twisted\winxp32-py2.6-select\Twisted\twisted\internet\test\test_tcp.py", line 1948, in test_resumeProducingThrows
clientConnectionLostReason=ZeroDivisionError)
File "C:\buildslave\twisted\winxp32-py2.6-select\Twisted\twisted\internet\test\test_tcp.py", line 1810, in runAbortTest
self.runReactor(reactor, timeout=10)
File "C:\buildslave\twisted\winxp32-py2.6-select\Twisted\twisted\internet\test\reactormixins.py", line 212, in runReactor
"reactor still running after %s seconds" % (timeout,))
twisted.internet.defer.TimeoutError: reactor still running after 10 seconds
twisted.internet.test.test_tcp.AbortConnectionTestCase_Win32Reactor.test_resumeProducingThrows
===============================================================================
[ERROR]
Traceback (most recent call last):
File "C:\buildslave\twisted\winxp32-py2.6-select\Twisted\twisted\internet\test\test_tcp.py", line 1800, in verifyReactorIsClean
self.assertEqual(len(delayedCalls), 1, map(str, delayedCalls))
File "C:\buildslave\twisted\winxp32-py2.6-select\Twisted\twisted\trial\unittest.py", line 270, in assertEqual
% (msg, pformat(first), pformat(second)))
twisted.trial.unittest.FailTest: []not equal:
a = 0
b = 1
twisted.internet.test.test_tcp.AbortConnectionTestCase_Win32Reactor.test_resumeProducingThrows
-------------------------------------------------------------------------------
Searchable metadata
trac-id__5611 5611
type__defect defect
reporter__exarkun exarkun
priority__normal normal
milestone__
branch__
branch_author__
status__new new
resolution__None None
component__core core
keywords__windows windows
time__1333541035000000 1333541035000000
changetime__1333541035000000 1333541035000000
version__None None
owner__
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with twisted/internet/test/test_tcp.py, especially AbortConnectionTestCase_Win32Reactor.test_resumeProducingThrows and runAbortTest. Read twisted/internet/test/reactormixins.py around runReactor, then run the failing test on the Python 2.6 Windows builder. Done means the test finishes without the reactor timeout and verifyReactorIsClean sees the expected delayed call.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking, operating-systems, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100