lp.services.job.tests.test_runner.TestTwistedJobRunner.test_timeout_short fails rarely/intermittently in parallel tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Critical
|
Unassigned |
Bug Description
I was unable to duplicate this locally with a --load-list of this and the previous tests in the layer, but here's the worker list if you want to give it a try yourself: http://
=======
FAILURE: lp.services.
worker ID: worker-7
-------
Traceback (most recent call last):
_StringException: librarian-log: {{{
2012-05-05 00:05:54+0530 [-] Log opened.
2012-05-05 00:05:54+0530 [-] twistd 11.1.0 (/usr/bin/python2.6 2.6.5) starting up.
2012-05-05 00:05:54+0530 [-] reactor class: twisted.
2012-05-05 00:05:55+0530 [-] FileUploadFactory starting on 43924
2012-05-05 00:05:55+0530 [-] Starting factory <lp.services.
2012-05-05 00:05:55+0530 [-] Site starting on 56593
2012-05-05 00:05:55+0530 [-] Starting factory <twisted.
2012-05-05 00:05:55+0530 [-] FileUploadFactory starting on 56049
2012-05-05 00:05:55+0530 [-] Starting factory <lp.services.
2012-05-05 00:05:55+0530 [-] Site starting on 46226
2012-05-05 00:05:55+0530 [-] Starting factory <twisted.
2012-05-05 00:05:55+0530 [-] Not using upstream librarian
2012-05-05 00:05:55+0530 [-] daemon ready!
}}}
oops-0: {{{
Oops-Id: OOPS-20e22c8641b789c42c94239681446a7d
Exception-Type: ProcessTerminated
Exception-Value: A process has ended with a probable error condition: process ended with exit code 255.
Date: 2012-05-
Branch: devel
Revision: 15208
Duration: -1
Oops-Reporter: T
00000-00003@
00083-00084@
00185-00187@
06118-06131@
06131-06131@
06146-06152@
06153-06153@
06161-06167@
06167-06167@
22007-22016@
22017-22017@
53935-53961@
53962-53963@
53963-53963@
61663-61673@
61674-61674@
62153-62158@
62159-62159@
62879-62884@
62884-62884@
63685-63691@
63691-63691@
177113-
177114-
177870-
177881-
177883-
177890-
178248-
178254-
178257-
178263-
184606-
184617-
184618-
185847-
185859-
187117-
187133-
187295-
187302-
187413-
187423-
187528-
187534-
Traceback (most recent call last):
ProcessTerminated: A process has ended with a probable error condition: process ended with exit code 255.
}}}
Traceback (most recent call last):
File "/var/lib/
(oops['type'], oops['value']))
MismatchError: !=:
reference = ('TimeoutError', 'Job ran too long.')
actual = ('ProcessTermin
u'A process has ended with a probable error condition: process ended with exit code 255.')
Changed in launchpad: | |
assignee: | nobody → Brad Crittenden (bac) |
status: | Triaged → In Progress |
tags: | removed: paralleltest |
tags: | added: spurious-test-failure |
Changed in launchpad: | |
status: | In Progress → Triaged |
assignee: | Brad Crittenden (bac) → nobody |
importance: | High → Critical |
assignee: | nobody → Jonathan Lange (jml) |
Changed in launchpad: | |
assignee: | Jonathan Lange (jml) → nobody |
When running the set of tests that originally caused this failure, I can reproduce it about 1 in every 20 runs.
When I just run tests of test_timeout_short I can also reproduce it about 1/20.
This is a spurious test failure that has nothing to do with paralleltest.