lib/lp/services/profile/profiling.txt fails rarely/intermittently in parallel tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Benji York |
Bug Description
I tried to duplicate this locally both in isolation and with the tests before it in worker 1 (http://
=======
FAILURE: lib/lp/
worker ID: worker-1
-------
Traceback (most recent call last):
File "/usr/lib/
testMethod()
File "/usr/lib/
raise self.failureExc
AssertionError: Failed doctest test for profiling.txt
File "lib/lp/
-------
File "lib/lp/
Failed example:
PageTestLay
Exception raised:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest profiling.txt[7]>", line 1, in <module>
File "/var/lib/
return func(cls, *args, **kw)
File "/var/lib/
File "/usr/lib/
File "/usr/lib/
stream = open(self.
IOError: [Errno 2] No such file or directory: '/var/lib/
-------
File "lib/lp/
Failed example:
profile_count > 0
Differences (ndiff with -expected +actual):
- True
+ False
-------
File "lib/lp/
Failed example:
len(
Differences (ndiff with -expected +actual):
- True
+ False
-------
File "lib/lp/
Failed example:
PageTestLay
Exception raised:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest profiling.
File "/var/lib/
return func(cls, *args, **kw)
File "/var/lib/
AttributeError: type object 'PageTestLayer' has no attribute 'orig__call__'
-------
File "lib/lp/
Failed example:
stats = pstats.
Exception raised:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest profiling.
stats = pstats.
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
f = open(arg, 'rb')
IOError: [Errno 2] No such file or directory: '/tmp/pagetests
-------
File "lib/lp/
Failed example:
os.
Exception raised:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest profiling.
OSError: [Errno 2] No such file or directory: '/tmp/pagetests
Related branches
- Graham Binns (community): Approve (code)
-
Diff: 7 lines (+2/-0)1 file modifiedlogs/README.txt (+2/-0)
- Benji York (community): Approve
-
Diff: 23 lines (+3/-1)2 files modified.bzrignore (+1/-1)
logs/README.txt (+2/-0)
- Benji York (community): Approve
- Diff: 0 lines
Changed in launchpad: | |
assignee: | nobody → Benji York (benji) |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Changed in launchpad: | |
status: | Fix Released → In Progress |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Fixed in stable r15401 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 15401>.