Opened 4 years ago

Last modified 8 months ago

#8879 defect new

build reliability placeholder

Reported by: Glyph Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch: 8879-flaky
branch-diff, diff-cov, branch-cov, buildbot
Author:

Description

Builds on our infra are unreliable; many of them fail for spurious reasons. I'm going to open an "empty" PR, and if it provokes a build failure, this ticket will be for that failure.

Change History (36)

comment:1 Changed 4 years ago by Glyph

Branch: 8879-flaky

comment:3 Changed 4 years ago by Glyph

This build seems to have lucked out repeatedly, but https://ci.appveyor.com/project/adiroiban/twisted/build/trunk-1652/job/md0qduwnem97misg is an example of such a failure:

[FAIL]
Traceback (most recent call last):
  File "c:\projects\twisted\build\py34-alldeps-withcov-windows\lib\site-packages\twisted\test\test_threadpool.py", line 605, in test_singleThread
    self.assertEqual(self.threadpool.workers, 1)
  File "c:\projects\twisted\build\py34-alldeps-withcov-windows\lib\site-packages\twisted\trial\_synctest.py", line 425, in assertEqual
    super(_Assertions, self).assertEqual(first, second, msg)
  File "C:\PYTHON34-x64\Lib\unittest\case.py", line 800, in assertEqual
    assertion_func(first, second, msg=msg)
  File "C:\PYTHON34-x64\Lib\unittest\case.py", line 793, in _baseAssertEqual
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: 2 != 1
twisted.test.test_threadpool.RaceConditionTests.test_singleThread

comment:4 Changed 4 years ago by Glyph

Oh wait no here's one from the build history of this branch: https://buildbot.twistedmatrix.com/builders/windows7-64-py2.7-coverage/builds/262/steps/default/logs/problems

[FAIL]
Traceback (most recent call last):
  File "c:\buildslave\windows7-64-py2_7-coverage\twisted\build\py27-alldeps-withcov-windows\lib\site-packages\twisted\internet\task.py", line 865, in <lambda>
    d.addCallback(lambda ignored: callable(*args, **kw))
  File "c:\buildslave\windows7-64-py2_7-coverage\twisted\build\py27-alldeps-withcov-windows\lib\site-packages\twisted\trial\_dist\test\test_disttrial.py", line 323, in check
    self.assertTrue(localLock.lock())
  File "c:\buildslave\windows7-64-py2_7-coverage\twisted\build\py27-alldeps-withcov-windows\lib\site-packages\twisted\trial\_synctest.py", line 388, in assertTrue
    super(_Assertions, self).assertTrue(condition, msg)
  File "c:\python27\Lib\unittest\case.py", line 422, in assertTrue
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: False is not true

twisted.trial._dist.test.test_disttrial.DistTrialRunnerTests.test_runStopAfterTests

comment:5 Changed 4 years ago by Glyph

This build failure, from RHEL 7, appears to have nothing to do with the branch that it's on: https://buildbot.twistedmatrix.com/builders/rhel7-py2.7/builds/2303/steps/select/logs/problems

[ERROR]
Traceback (most recent call last):
  File "/buildslave/rhel7-py2.7/Twisted/build/py27-alldeps-nocov-posix/lib/python2.7/site-packages/twisted/mail/test/test_mail.py", line 1794, in finished
    delivery.addCallback(delivered)
exceptions.AttributeError: 'NoneType' object has no attribute 'addCallback'

twisted.mail.test.test_mail.LiveFireExerciseTests.testRelayDelivery
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug)
<DelayedCall 0xb6cef38 [29.9970378876s] called=0 cancelled=0 setWaiting(<twisted.mail.relaymanager.Queue instance at 0xbb2ae60>, ['11811_1483570746.08_0_196259424'])>

twisted.mail.test.test_mail.LiveFireExerciseTests.testRelayDelivery
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/buildslave/rhel7-py2.7/Twisted/build/py27-alldeps-nocov-posix/lib/python2.7/site-packages/twisted/internet/selectreactor.py", line 149, in _doReadOrWrite
    why = getattr(selectable, method)()
  File "/buildslave/rhel7-py2.7/Twisted/build/py27-alldeps-nocov-posix/lib/python2.7/site-packages/twisted/internet/tcp.py", line 586, in doConnect
    self._connectDone()
  File "/buildslave/rhel7-py2.7/Twisted/build/py27-alldeps-nocov-posix/lib/python2.7/site-packages/twisted/internet/tcp.py", line 600, in _connectDone
    self.protocol = self.connector.buildProtocol(self.getPeer())
  File "/buildslave/rhel7-py2.7/Twisted/build/py27-alldeps-nocov-posix/lib/python2.7/site-packages/twisted/internet/base.py", line 1122, in buildProtocol
    return self.factory.buildProtocol(addr)
  File "/buildslave/rhel7-py2.7/Twisted/build/py27-alldeps-nocov-posix/lib/python2.7/site-packages/twisted/mail/relaymanager.py", line 189, in buildProtocol
    **self.pKwArgs)
  File "/buildslave/rhel7-py2.7/Twisted/build/py27-alldeps-nocov-posix/lib/python2.7/site-packages/twisted/mail/relaymanager.py", line 98, in __init__
    relay.SMTPRelayer.__init__(self, messages, *args, **kw)
  File "/buildslave/rhel7-py2.7/Twisted/build/py27-alldeps-nocov-posix/lib/python2.7/site-packages/twisted/mail/relay.py", line 154, in __init__
    self.loadMessages(messagePaths)
  File "/buildslave/rhel7-py2.7/Twisted/build/py27-alldeps-nocov-posix/lib/python2.7/site-packages/twisted/mail/relay.py", line 97, in loadMessages
    with open(message + '-H') as fp:
exceptions.IOError: [Errno 2] No such file or directory: 'insertionQueue/11811_1483570746.08_0_196259424-H'

twisted.mail.test.test_mail.LiveFireExerciseTests.testRelayDelivery
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/buildslave/rhel7-py2.7/Twisted/build/py27-alldeps-nocov-posix/lib/python2.7/site-packages/twisted/internet/defer.py", line 150, in maybeDeferred
    result = f(*args, **kw)
  File "/buildslave/rhel7-py2.7/Twisted/build/py27-alldeps-nocov-posix/lib/python2.7/site-packages/twisted/mail/relaymanager.py", line 877, in _checkState
    manager.checkState()
  File "/buildslave/rhel7-py2.7/Twisted/build/py27-alldeps-nocov-posix/lib/python2.7/site-packages/twisted/mail/relaymanager.py", line 758, in checkState
    self.queue.readDirectory()
  File "/buildslave/rhel7-py2.7/Twisted/build/py27-alldeps-nocov-posix/lib/python2.7/site-packages/twisted/mail/relaymanager.py", line 342, in readDirectory
    for message in os.listdir(self.directory):
exceptions.OSError: [Errno 2] No such file or directory: 'insertionQueue'

twisted.mail.test.test_mail.LiveFireExerciseTests.testRelayDelivery
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.tcp.Port'> of twisted.mail.protocols.SMTPFactory on 39285>
<<class 'twisted.internet.tcp.Port'> of twisted.mail.protocols.SMTPFactory on 36195>

twisted.mail.test.test_mail.LiveFireExerciseTests.testRelayDelivery

comment:6 Changed 3 years ago by Glyph

Seen in https://buildbot.twistedmatrix.com/builders/fedora25-py3.5/builds/414/steps/select/logs/problems:

[FAIL]
Traceback (most recent call last):
  File "/buildslave/fedora25-python-3.5/Twisted/build/py35-alldeps-nocov-posix/lib/python3.5/site-packages/twisted/internet/task.py", line 865, in <lambda>
    d.addCallback(lambda ignored: callable(*args, **kw))
  File "/buildslave/fedora25-python-3.5/Twisted/build/py35-alldeps-nocov-posix/lib/python3.5/site-packages/twisted/trial/_dist/test/test_disttrial.py", line 323, in check
    self.assertTrue(localLock.lock())
  File "/buildslave/fedora25-python-3.5/Twisted/build/py35-alldeps-nocov-posix/lib/python3.5/site-packages/twisted/trial/_synctest.py", line 395, in assertTrue
    super(_Assertions, self).assertTrue(condition, msg)
  File "/usr/lib64/python3.5/unittest/case.py", line 694, in assertTrue
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: False is not true

twisted.trial._dist.test.test_disttrial.DistTrialRunnerTests.test_runStopAfterTests

comment:7 Changed 3 years ago by Glyph

seen on my local machine (homebrew, python 2.7.13):

[ERROR]
Traceback (most recent call last):
  File "/Users/glyph/Projects/Twisted/build/py27-nodeps-withcov-posix/lib/python2.7/site-packages/twisted/internet/test/connectionmixins.py", line 604, in test_disconnectWhileProducing
    self.runReactor(reactor)
  File "/Users/glyph/Projects/Twisted/build/py27-nodeps-withcov-posix/lib/python2.7/site-packages/twisted/internet/test/reactormixins.py", line 323, in runReactor
    "reactor still running after %s seconds" % (timeout,))
twisted.internet.test.reactormixins.TestTimeoutError: reactor still running after 120.0 seconds

twisted.internet.test.test_tcp.TCP6ClientTestsBuilder_SelectReactorTests.test_disconnectWhileProducing
-------------------------------------------------------------------------------

comment:8 Changed 3 years ago by Glyph

Seen on https://ci.appveyor.com/project/adiroiban/twisted/build/trunk-3276/job/icwpg3pj7fkfny53

[FAIL]
Traceback (most recent call last):
  File "c:\projects\twisted\build\py34-alldeps-withcov-windows\lib\site-packages\twisted\internet\task.py", line 865, in <lambda>
    d.addCallback(lambda ignored: callable(*args, **kw))
  File "c:\projects\twisted\build\py34-alldeps-withcov-windows\lib\site-packages\twisted\trial\_dist\test\test_disttrial.py", line 323, in check
    self.assertTrue(localLock.lock())
  File "c:\projects\twisted\build\py34-alldeps-withcov-windows\lib\site-packages\twisted\trial\_synctest.py", line 395, in assertTrue
    super(_Assertions, self).assertTrue(condition, msg)
  File "C:\PYTHON34-x64\Lib\unittest\case.py", line 657, in assertTrue
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: False is not true
twisted.trial._dist.test.test_disttrial.DistTrialRunnerTests.test_runStopAfterTests
-------------------------------------------------------------------------------
Ran 10817 tests in 229.246s

comment:9 Changed 2 years ago by Glyph

twisted.web.test.test_cgi.CGITests.test_ReadEmptyInput

https://buildbot.twistedmatrix.com/builders/windows7-64-py2.7/builds/1293/steps/iocp/logs/problems

===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.defer.TimeoutError: <twisted.web.test.test_cgi.CGITests testMethod=test_ReadEmptyInput> (test_ReadEmptyInput) still running at 5.0 secs

twisted.web.test.test_cgi.CGITests.test_ReadEmptyInput
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug)
<DelayedCall 0xe0af988 [0.0999999046326s] called=0 cancelled=0 Process._pollEvent()>
<DelayedCall 0x6534748 [0.983999967575s] called=0 cancelled=0 Site._updateLogDateTime()>

twisted.web.test.test_cgi.CGITests.test_ReadEmptyInput
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<<class 'twisted.internet.iocpreactor.tcp.Client'> to ('127.0.0.1', 58426) at e241b38>
<_GenericHTTPChannelProtocol #0 on 58426>
<<class 'twisted.internet.iocpreactor.tcp.Port'> of twisted.web.server.Site on 58426>

twisted.web.test.test_cgi.CGITests.test_ReadEmptyInput
-------------------------------------------------------------------------------

comment:10 Changed 2 years ago by mark williams

[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.defer.TimeoutError: <twisted.web.test.test_cgi.CGITests testMethod=test_ReadAllInput> (test_ReadAllInput) still running at 5.0 secs

twisted.web.test.test_cgi.CGITests.test_ReadAllInput
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug)
<DelayedCall 0x7f16e26aea20 [0.9998316764831543s] called=0 cancelled=0 HTTPFactory._updateLogDateTime()>

twisted.web.test.test_cgi.CGITests.test_ReadAllInput
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<twisted.internet.process.ProcessReader object at 0x7f16e2639208>
<<class 'twisted.internet.tcp.Client'> to ('127.0.0.1', 45217) at 7f16e26ae908>
<<class 'twisted.internet.tcp.Port'> of <class 'twisted.web.server.Site'> on 45217>
<twisted.internet.process.ProcessReader object at 0x7f16e2639240>
<_GenericHTTPChannelProtocol #0 on 45217>

twisted.web.test.test_cgi.CGITests.test_ReadAllInput

comment:11 Changed 2 years ago by mark williams

[FAIL]
Traceback (most recent call last):
  File "/buildslave/ubuntu16.04-py2.7/Twisted/build/py27-alldeps-nocov-posix/local/lib/python2.7/site-packages/twisted/test/test_threadpool.py", line 236, in test_threadCreationArgumentsCallInThreadWithCallback
    self.assertIsNone(onResultRef())
  File "/usr/lib/python2.7/unittest/case.py", line 954, in assertIsNone
    self.fail(self._formatMessage(msg, standardMsg))
twisted.trial.unittest.FailTest: <function onResult at 0x7f7493446320> is not None

twisted.test.test_threadpool.ThreadPoolTests.test_threadCreationArgumentsCallInThreadWithCallback

comment:12 Changed 2 years ago by mark williams

===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/home/travis/build/twisted/twisted/build/py35-alldeps-withcov-posix/lib/python3.5/site-packages/twisted/python/test/test_sendmsg.py", line 734, in test_flags
    "Failed to fill up the send buffer, "
twisted.trial.unittest.FailTest: Failed to fill up the send buffer, or maybe send1msg blocked for a while
twisted.python.test.test_sendmsg.SendmsgTests.test_flags
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/home/travis/build/twisted/twisted/build/py35-alldeps-withcov-posix/lib/python3.5/site-packages/twisted/python/test/test_sendmsg.py", line 701, in test_shortsend
    self.assertTrue(sent < len(message))
  File "/home/travis/build/twisted/twisted/build/py35-alldeps-withcov-posix/lib/python3.5/site-packages/twisted/trial/_synctest.py", line 395, in assertTrue
    super(_Assertions, self).assertTrue(condition, msg)
  File "/opt/python/3.5.5/lib/python3.5/unittest/case.py", line 682, in assertTrue
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: False is not true
twisted.python.test.test_sendmsg.SendmsgTests.test_shortsend

comment:13 Changed 2 years ago by Glyph

comment:14 Changed 2 years ago by Glyph

twisted.python.test.test_sendmsg.CModuleSendmsgTests.test_shortsend keeps failing (like, 4 times in a row) over on https://github.com/twisted/twisted/pull/960, and also on several recent builds of master.

[FAIL]
Traceback (most recent call last):
  File "/home/travis/build/twisted/twisted/build/py27-nodeps-withcov-posix/lib/python2.7/site-packages/twisted/python/test/test_sendmsg.py", line 407, in test_shortsend
    self.assertTrue(sent < len(message))
  File "/home/travis/build/twisted/twisted/build/py27-nodeps-withcov-posix/lib/python2.7/site-packages/twisted/trial/_synctest.py", line 395, in assertTrue
    super(_Assertions, self).assertTrue(condition, msg)
  File "/opt/python/2.7.14/lib/python2.7/unittest/case.py", line 422, in assertTrue
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: False is not true
twisted.python.test.test_sendmsg.CModuleSendmsgTests.test_shortsend

comment:15 Changed 2 years ago by Kyle Altendorf

https://github.com/twisted/twisted/pull/1070

https://buildbot.twistedmatrix.com/builders/ubuntu18.04-py2.7-nodeps-coverage/builds/79

[FAIL]
Traceback (most recent call last):
  File "/buildslave/ubuntu18_04-py2_7-nodeps-coverage/Twisted/build/py27-nodeps-withcov-posix/local/lib/python2.7/site-packages/twisted/test/test_threadpool.py", line 236, in test_threadCreationArgumentsCallInThreadWithCallback
    self.assertIsNone(onResultRef())
  File "/usr/lib/python2.7/unittest/case.py", line 955, in assertIsNone
    self.fail(self._formatMessage(msg, standardMsg))
twisted.trial.unittest.FailTest: <function onResult at 0x7f3300184e60> is not None

twisted.test.test_threadpool.ThreadPoolTests.test_threadCreationArgumentsCallInThreadWithCallback

comment:16 Changed 2 years ago by Tom Most

[ERROR]
Traceback (most recent call last):
  File "c:\projects\twisted\build\py36-alldeps-withcov-windows\lib\site-packages\twisted\internet\test\test_iocp.py", line 97, in test_ipv6AcceptAddress
    self._acceptAddressTest(AF_INET6, '::1')
  File "c:\projects\twisted\build\py36-alldeps-withcov-windows\lib\site-packages\twisted\internet\test\test_iocp.py", line 66, in _acceptAddressTest
    SOL_SOCKET, SO_UPDATE_ACCEPT_CONTEXT, pack('P', port.fileno()))
builtins.OSError: [WinError 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied

https://ci.appveyor.com/project/adiroiban/twisted/builds/19462568/job/frnj1onj9rvlj1s8#L18004

https://github.com/twisted/twisted/pull/1075

comment:17 in reply to:  16 Changed 2 years ago by Tom Most

Replying to Tom Most:

This appeared again in combination with another:

[FAIL]
Traceback (most recent call last):
  File "c:\projects\twisted\build\py27-alldeps-withcov-windows\lib\site-packages\twisted\test\test_tcp_internals.py", line 277, in test_acceptScaling
    self.assertGreater(port.numberAccepts, 1)
  File "C:\Python27-x64\Lib\unittest\case.py", line 943, in assertGreater
    self.fail(self._formatMessage(msg, standardMsg))
twisted.trial.unittest.FailTest: 1 not greater than 1
twisted.test.test_tcp_internals.SelectReactorTests.test_acceptScaling
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "c:\projects\twisted\build\py27-alldeps-withcov-windows\lib\site-packages\twisted\internet\test\test_iocp.py", line 84, in test_ipv4AcceptAddress
    self._acceptAddressTest(AF_INET, '127.0.0.1')
  File "c:\projects\twisted\build\py27-alldeps-withcov-windows\lib\site-packages\twisted\internet\test\test_iocp.py", line 66, in _acceptAddressTest
    SOL_SOCKET, SO_UPDATE_ACCEPT_CONTEXT, pack('P', port.fileno()))
  File "C:\Python27-x64\Lib\socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied
twisted.internet.test.test_iocp.SupportTests.test_ipv4AcceptAddress

https://ci.appveyor.com/project/adiroiban/twisted/builds/19327185/job/q8senfwlg2bio9sw

https://github.com/twisted/twisted/pull/1076

comment:18 Changed 19 months ago by Tom Most

This one is new to me:

[FAIL]
Traceback (most recent call last):
  File "/buildslave/fedora26-python-3.6/Twisted/build/py36-alldeps-nocov-posix/lib/python3.6/site-packages/twisted/trial/_asynctest.py", line 75, in _eb
    raise self.failureException(output)
twisted.trial.unittest.FailTest: 
Expected: (<class 'twisted.internet.error.DNSLookupError'>,)
Got:
[Failure instance: Traceback: <class 'twisted.internet.error.AlreadyCalled'>: Tried to cancel an already-called event.
/buildslave/fedora26-python-3.6/Twisted/build/py36-alldeps-nocov-posix/lib/python3.6/site-packages/twisted/internet/base.py:1152:connectionFailed
/buildslave/fedora26-python-3.6/Twisted/build/py36-alldeps-nocov-posix/lib/python3.6/site-packages/twisted/names/client.py:551:clientConnectionFailed
/buildslave/fedora26-python-3.6/Twisted/build/py36-alldeps-nocov-posix/lib/python3.6/site-packages/twisted/internet/defer.py:501:errback
/buildslave/fedora26-python-3.6/Twisted/build/py36-alldeps-nocov-posix/lib/python3.6/site-packages/twisted/internet/defer.py:568:_startRunCallbacks
--- <exception caught here> ---
/buildslave/fedora26-python-3.6/Twisted/build/py36-alldeps-nocov-posix/lib/python3.6/site-packages/twisted/internet/defer.py:654:_runCallbacks
/buildslave/fedora26-python-3.6/Twisted/build/py36-alldeps-nocov-posix/lib/python3.6/site-packages/twisted/names/client.py:433:eliminateTimeout
/buildslave/fedora26-python-3.6/Twisted/build/py36-alldeps-nocov-posix/lib/python3.6/site-packages/twisted/internet/base.py:99:cancel
]

twisted.names.test.test_names.ServerDNSTests.test_zoneTransferConnectionFails

https://buildbot.twistedmatrix.com/builders/fedora26-py3.6/builds/579/steps/asyncio/logs/stdio

This on a PR that only changes docstrings.

comment:19 Changed 19 months ago by Wim Lewis

I've started seeing intermittent / non-repeatable test failures (hangs/timeouts) on the redhat buildservers in Conch code. For example these, from my PR 1110 (https://github.com/twisted/twisted/pull/1110):

But I can't replicate the hangs locally, and I don't see how this change would cause them. I set up a couple of VMs of my own (Fedora27 and Fedora29) and ran the conch tests in a loop with different reactors for a few hours, with no failures.

comment:20 Changed 19 months ago by Glyph

It's probably more a function of the vintage and/or specific hardware configuration of the machines, rather than anything specific to Fedora. There are lots of race conditions that have to be tipped juuuuust right in order to go the wrong way :-\

comment:21 Changed 18 months ago by Wim Lewis

It seems then that the hangs/timeouts might be indicative of real bugs in Twisted, just ones that are hard to hit normally? Is there a way to get more information about the state of the process when the timeout occurs?

(Came here to report another one like my last two: https://buildbot.twistedmatrix.com/builders/rhel7-py2.7/builds/1643/steps/select )

comment:22 in reply to:  21 Changed 18 months ago by Glyph

Replying to Wim Lewis:

It seems then that the hangs/timeouts might be indicative of real bugs in Twisted, just ones that are hard to hit normally?

I definitely agree with that.

Is there a way to get more information about the state of the process when the timeout occurs?

I'm open to suggestions. If you need credentials, just let me know. The Fedora builders are probably going to disappear, but RHEL 7 is probably a platform some people care about, and it looks like that's your most recent one...

(Came here to report another one like my last two: https://buildbot.twistedmatrix.com/builders/rhel7-py2.7/builds/1643/steps/select )

Bumm :-/

comment:23 Changed 18 months ago by Jean-Paul Calderone

twisted.internet.test.test_iocp.SupportTests.test_ipv6AcceptAddress again. https://ci.appveyor.com/project/adiroiban/twisted/builds/23341867/job/ob40kj7ye0gqkjf1 :

[ERROR]
Traceback (most recent call last):
  File "c:\projects\twisted\build\py36-alldeps-withcov-windows\lib\site-packages\twisted\internet\test\test_iocp.py", line 97, in test_ipv6AcceptAddress
    self._acceptAddressTest(AF_INET6, '::1')
  File "c:\projects\twisted\build\py36-alldeps-withcov-windows\lib\site-packages\twisted\internet\test\test_iocp.py", line 66, in _acceptAddressTest
    SOL_SOCKET, SO_UPDATE_ACCEPT_CONTEXT, pack('P', port.fileno()))
builtins.OSError: [WinError 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied
twisted.internet.test.test_iocp.SupportTests.test_ipv6AcceptAddress

comment:24 Changed 18 months ago by Tom Most

https://circleci.com/gh/twisted/twisted/3148

[FAIL]
Traceback (most recent call last):
  File "/Users/distiller/repo/build/py37-alldeps-withcov-posix/lib/python3.7/site-packages/twisted/test/test_main.py", line 61, in processEnded
    self.assertEqual(output, message)
  File "/Users/distiller/repo/build/py37-alldeps-withcov-posix/lib/python3.7/site-packages/twisted/trial/_synctest.py", line 432, in assertEqual
    super(_Assertions, self).assertEqual(first, second, msg)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: b'' != b"python3.7 -m twisted.trial [options] [[f[3525 chars]\n\n"

twisted.test.test_main.MainTests.test_trial
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/Users/distiller/repo/build/py37-alldeps-withcov-posix/lib/python3.7/site-packages/twisted/test/test_main.py", line 40, in processEnded
    self.assertEqual(output, message)
  File "/Users/distiller/repo/build/py37-alldeps-withcov-posix/lib/python3.7/site-packages/twisted/trial/_synctest.py", line 432, in assertEqual
    super(_Assertions, self).assertEqual(first, second, msg)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: b'' != b'Usage: python3.7 -m twisted [options] plu[1475 chars]\n\n'

twisted.test.test_main.MainTests.test_twisted

comment:25 Changed 18 months ago by Tom Most

https://ci.appveyor.com/project/adiroiban/twisted/builds/23483371/job/xw8s5q8jdexleafp#L18042

[ERROR]
Traceback (most recent call last):
  File "c:\projects\twisted\build\py37-alldeps-withcov-windows\lib\site-packages\twisted\internet\test\test_iocp.py", line 97, in test_ipv6AcceptAddress
    self._acceptAddressTest(AF_INET6, '::1')
  File "c:\projects\twisted\build\py37-alldeps-withcov-windows\lib\site-packages\twisted\internet\test\test_iocp.py", line 66, in _acceptAddressTest
    SOL_SOCKET, SO_UPDATE_ACCEPT_CONTEXT, pack('P', port.fileno()))
builtins.OSError: [WinError 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied
twisted.internet.test.test_iocp.SupportTests.test_ipv6AcceptAddress

comment:26 Changed 18 months ago by Tom Most

https://buildbot.twistedmatrix.com/builders/fedora26-py3.6/builds/612/steps/select/logs/stdio

[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.defer.TimeoutError: <twisted.conch.test.test_cftp.OurServerCmdLineClientTests testMethod=testWildcardPut> (setUp) still running at 120.0 secs

twisted.conch.test.test_cftp.OurServerCmdLineClientTests.testWildcardPut
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<twisted.internet.process.ProcessReader object at 0x7f8e801c3128>
<twisted.internet.process.ProcessWriter object at 0x7f8e801c30b8>
<twisted.internet.process.ProcessReader object at 0x7f8e801c30f0>
<<class 'twisted.internet.tcp.Port'> of <class 'twisted.conch.test.test_ssh.ConchTestServerFactory'> on 45509>

twisted.conch.test.test_cftp.OurServerCmdLineClientTests.testWildcardPut
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.defer.TimeoutError: <twisted.conch.test.test_recvline.HistoricRecvlineLoopbackStdioTests testMethod=testDownArrow> (setUp) still running at 120.0 secs

twisted.conch.test.test_recvline.HistoricRecvlineLoopbackStdioTests.testDownArrow
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<PTYProcess pid=17079 status=-1>

twisted.conch.test.test_recvline.HistoricRecvlineLoopbackStdioTests.testDownArrow
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/buildslave/fedora26-python-3.6/Twisted/build/py36-alldeps-nocov-posix/lib/python3.6/site-packages/twisted/internet/test/reactormixins.py", line 208, in tearDown
    process.reapProcessHandlers,))
builtins.Exception: Timeout waiting for child processes to exit: {16710: <Process pid=16710 status=-1>}

twisted.internet.test.test_asyncioreactor.AsyncioSelectorReactorTests.test_defaultEventLoopFromGlobalPolicy

comment:27 Changed 18 months ago by Glyph

===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/Users/distiller/repo/build/py37-alldeps-withcov-posix/lib/python3.7/site-packages/twisted/test/test_main.py", line 61, in processEnded
    self.assertEqual(output, message)
  File "/Users/distiller/repo/build/py37-alldeps-withcov-posix/lib/python3.7/site-packages/twisted/trial/_synctest.py", line 432, in assertEqual
    super(_Assertions, self).assertEqual(first, second, msg)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: b'' != b"python3.7 -m twisted.trial [options] [[f[3525 chars]\n\n"

twisted.test.test_main.MainTests.test_trial
===============================================================================
[FAIL]
Traceback (most recent call last):
  File "/Users/distiller/repo/build/py37-alldeps-withcov-posix/lib/python3.7/site-packages/twisted/test/test_main.py", line 40, in processEnded
    self.assertEqual(output, message)
  File "/Users/distiller/repo/build/py37-alldeps-withcov-posix/lib/python3.7/site-packages/twisted/trial/_synctest.py", line 432, in assertEqual
    super(_Assertions, self).assertEqual(first, second, msg)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 832, in _baseAssertEqual
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: b'' != b'Usage: python3.7 -m twisted [options] plu[1475 chars]\n\n'

twisted.test.test_main.MainTests.test_twisted
-------------------------------------------------------------------------------

https://circleci.com/gh/twisted/twisted/3387?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

comment:28 Changed 18 months ago by Glyph

===============================================================================
18027[ERROR]
18028Traceback (most recent call last):
18029  File "c:\projects\twisted\build\py37-alldeps-withcov-windows\lib\site-packages\twisted\internet\test\test_iocp.py", line 97, in test_ipv6AcceptAddress
18030    self._acceptAddressTest(AF_INET6, '::1')
18031  File "c:\projects\twisted\build\py37-alldeps-withcov-windows\lib\site-packages\twisted\internet\test\test_iocp.py", line 66, in _acceptAddressTest
18032    SOL_SOCKET, SO_UPDATE_ACCEPT_CONTEXT, pack('P', port.fileno()))
18033builtins.OSError: [WinError 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied
18034
18035twisted.internet.test.test_iocp.SupportTests.test_ipv6AcceptAddress
18036

https://ci.appveyor.com/project/adiroiban/twisted/builds/23663791/job/8umhsjanbui6d2w2

comment:29 Changed 18 months ago by Glyph

twisted.internet.test.test_iocp.SupportTests.test_ipv6AcceptAddress again on https://ci.appveyor.com/project/adiroiban/twisted/builds/23716389/job/uk6am3t0suqdoihk

comment:31 Changed 17 months ago by Glyph

This is a known issue in coveralls which they claim to be fixing in the very near future.

Fingers crossed that that's true.

comment:32 Changed 16 months ago by Tom Most

[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.defer.FirstError: FirstError[#0, [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectError'>: An error occurred while connecting: 54: Connection reset by peer.
]]

twisted.web.test.test_xmlrpc.XMLRPCProxyWithoutSlashTests.test_results
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion.

twisted.web.test.test_xmlrpc.XMLRPCProxyWithoutSlashTests.test_results
twisted.web.test.test_xmlrpc.XMLRPCProxyWithoutSlashTests.test_results
twisted.web.test.test_xmlrpc.XMLRPCProxyWithoutSlashTests.test_results
twisted.web.test.test_xmlrpc.XMLRPCProxyWithoutSlashTests.test_results
twisted.web.test.test_xmlrpc.XMLRPCProxyWithoutSlashTests.test_results
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.error.ConnectError: An error occurred while connecting: 54: Connection reset by peer.

twisted.web.test.test_xmlrpc.XMLRPCProxyWithoutSlashTests.test_results

https://twistedmatrix.visualstudio.com/twisted/_build/results?buildId=863&view=logs&jobId=58c8954b-84eb-54ec-b296-befcba420d72&taskId=13b38833-5cbd-5461-9ee0-819752c96242&lineStart=17662&lineEnd=17683&colStart=1&colEnd=71

comment:33 Changed 15 months ago by Glyph

Owner: Glyph deleted

comment:34 in reply to:  4 Changed 14 months ago by Tom Most

Replying to Glyph:

Oh wait no here's one from the build history of this branch: https://buildbot.twistedmatrix.com/builders/windows7-64-py2.7-coverage/builds/262/steps/default/logs/problems

[FAIL]
Traceback (most recent call last):
  File "c:\buildslave\windows7-64-py2_7-coverage\twisted\build\py27-alldeps-withcov-windows\lib\site-packages\twisted\internet\task.py", line 865, in <lambda>
    d.addCallback(lambda ignored: callable(*args, **kw))
  File "c:\buildslave\windows7-64-py2_7-coverage\twisted\build\py27-alldeps-withcov-windows\lib\site-packages\twisted\trial\_dist\test\test_disttrial.py", line 323, in check
    self.assertTrue(localLock.lock())
  File "c:\buildslave\windows7-64-py2_7-coverage\twisted\build\py27-alldeps-withcov-windows\lib\site-packages\twisted\trial\_synctest.py", line 388, in assertTrue
    super(_Assertions, self).assertTrue(condition, msg)
  File "c:\python27\Lib\unittest\case.py", line 422, in assertTrue
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: False is not true

twisted.trial._dist.test.test_disttrial.DistTrialRunnerTests.test_runStopAfterTests

Again, but Python 3.6 this time: https://twistedmatrix.visualstudio.com/twisted/_build/results?buildId=1040&view=logs&jobId=71179031-6417-5a2f-3d87-af6fce2011e4&taskId=455e6fc7-6e8e-5c5e-e680-3f96e9bdbb2e&lineStart=18166&lineEnd=18178&colStart=1&colEnd=84

comment:35 Changed 9 months ago by Tom Most

Here's a PyPy one from Travis:

[FAIL]

Traceback (most recent call last):

  File "/home/travis/build/twisted/twisted/build/pypy-nodeps-withcov-posix/site-packages/twisted/test/test_threadpool.py", line 237, in test_threadCreationArgumentsCallInThreadWithCallback

    self.assertIsNone(resultRef[0]())

  File "/opt/python/pypy2.7-7.1.1/lib-python/2.7/unittest/case.py", line 954, in assertIsNone

    self.fail(self._formatMessage(msg, standardMsg))

twisted.trial.unittest.FailTest: <twisted.test.test_threadpool.Dumb object at 0x000000000ced6fa8> is not None

twisted.test.test_threadpool.ThreadPoolTests.test_threadCreationArgumentsCallInThreadWithCallback

https://travis-ci.org/twisted/twisted/jobs/625437766#L4281

comment:36 Changed 8 months ago by Tom Most

https://twistedmatrix.visualstudio.com/twisted/_build/results?buildId=1378&view=logs&j=9d906afe-3eb5-5d79-316d-86f3f3fa360c&t=7bb44211-b249-5116-94e0-59f54489b61c&l=18266

Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<ThrottlingProtocol #1 on 50412>

twisted.test.test_policies.ThrottlingTests.test_limit
Note: See TracTickets for help on using tickets.