Opened 2 years ago

Last modified 6 weeks ago

#6027 defect new

twisted.trial._dist.test.test_disttrial.DistTrialRunnerTestCase.test_runUntilFailure intermittent failure

Reported by: exarkun Owned by:
Priority: normal Milestone:
Component: trial Keywords:
Cc: jml, therve Branch:
Author: Launchpad Bug:

Description

From http://buildbot.twistedmatrix.com/builders/winxp32-py2.7/builds/1448/steps/select/logs/problems:

[FAIL]
Traceback (most recent call last):
  File "C:\buildslave\twisted\winxp32-py2.7\Twisted\twisted\trial\_dist\test\test_disttrial.py", line 368, in test_runUntilFailure
    self.assertEqual(5, len(called))
  File "C:\buildslave\twisted\winxp32-py2.7\Twisted\twisted\trial\_synctest.py", line 356, in assertEqual
    % (msg, pformat(first), pformat(second)))
twisted.trial.unittest.FailTest: not equal:
a = 5
b = 1

Change History (6)

comment:1 Changed 2 years ago by DefaultCC Plugin

  • Cc jml added

comment:2 Changed 2 years ago by exarkun

Fails on Linux too:

[FAIL]
Traceback (most recent call last):
  File "/home/exarkun/Projects/Twisted/trunk/twisted/internet/defer.py", line 138, in maybeDeferred
    result = f(*args, **kw)
  File "/home/exarkun/Projects/Twisted/trunk/twisted/internet/_utilspy3.py", line 41, in runWithWarningsSuppressed
    reraise(exc_info[1], exc_info[2])
  File "/home/exarkun/Projects/Twisted/trunk/twisted/internet/_utilspy3.py", line 37, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/home/exarkun/Projects/Twisted/trunk/twisted/trial/_dist/test/test_disttrial.py", line 368, in test_runUntilFailure
    self.assertEqual(5, len(called))
  File "/home/exarkun/Projects/Twisted/trunk/twisted/trial/_synctest.py", line 356, in assertEqual
    % (msg, pformat(first), pformat(second)))
twisted.trial.unittest.FailTest: not equal:
a = 5
b = 1


twisted.trial._dist.test.test_disttrial.DistTrialRunnerTestCase.test_runUntilFailure

comment:3 Changed 7 weeks ago by glyph

On #2673, this is now the remaining test which is still failing intermittently often enough to show up in my sample of 6 builds. Mostly on Windows, but occasionally on Linux. However, on my OS X development machine:

PASSED (successes=13)
Test Pass 18796
twisted.trial._dist.test.test_disttrial

I'm having a hard time getting it to fail on demand.

Also, reading through the test it appears to be a well-behaved test that does everything deterministically and doesn't do any wacky I/O. I am wondering if anyone has any ideas.

comment:4 Changed 7 weeks ago by glyph

  • Cc therve added

I am cc:ing therve in the hopes that he has some inkling we could investigate.

comment:5 Changed 7 weeks ago by glyph

Sorry, not #2673; I meant #3404.

comment:6 Changed 6 weeks ago by glyph

Just to keep track of how often this is causing problems... this failed when the tests were run for #6686.

Note: See TracTickets for help on using tickets.