Spurious/intermittent test failure in googleserviceharness.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
New
|
Undecided
|
Unassigned |
Bug Description
Launchpad's buildbot in build 40 showed the following failure. The failure cannot be reproduced there or elsewhere for the same revision, and so appears to be a spurious and intermittent failure. The test is being disabled for now, per policy.
{{{
File "/home/
line 51, in canonical.
Failed example:
GoogleServi
Exception raised:
Traceback (most recent call last):
File "/home/
line 1360, in __run
File "<doctest
canonical.
line 1, in ?
File "/home/
line 65, in setUp
File "/home/
line 77, in startService
File "/home/
line 128, in wait_for_service
raise RuntimeError(
RuntimeError: Socket poll time exceeded.
-------
File "/home/
line 52, in canonical.
Failed example:
GoogleServi
Exception raised:
Traceback (most recent call last):
File "/home/
line 1360, in __run
File "<doctest
canonical.
line 1, in ?
AttributeError: 'NoneType' object has no attribute 'pid'
...
}}}
tags: | added: tech-debt |
A subsequent buildbot run (43) had the following failure. I am now disabling the entire doctest.
{{{ estSetup (canonical. launchpad. testing. tests.googleser viceharness)
GoogleServiceT
Failure in test GoogleServiceTe stSetup (canonical. launchpad. testing. tests.googleser viceharness) launchpad. testing. tests.googleser viceharness. GoogleServiceTe stSetup buildbot/ slaves/ launchpad/ full/build/ lib/canonical/ launchpad/ testing/ tests/googleser viceharness. py", line 18, in GoogleServiceTe stSetup
Failed doctest test for canonical.
File "/home/
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- buildbot/ slaves/ launchpad/ full/build/ lib/canonical/ launchpad/ testing/ tests/googleser viceharness. py", line 25, in canonical. launchpad. testing. tests.googleser viceharness. GoogleServiceTe stSetup is_available( ) # Sanity check. buildbot/ slaves/ launchpad/ full/build/ utilities/ ../lib/ zope/testing/ doctest. py", line 1360, in __run
compileflags, 1) in test.globs launchpad. testing. tests.googleser viceharness. GoogleServiceTe stSetup[ 2]>", line 1, in ? is_available( ) # Sanity check.
File "/home/
Failed example:
assert not service_
Exception raised:
Traceback (most recent call last):
File "/home/
File "<doctest canonical.
assert not service_
AssertionError
}}}