propertycache adaption failures in test suite

Bug #628762 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Gavin Panella

Bug Description

There is an adapter, get_default_cache, in lp.services.propertycache
from Interface to IPropertyCache. It is registered directly with the
global site manager at import time and via ZCML (see
lib/lp/services/configure.zcml).

However, when trying to land
lp:~allenap/launchpad/cache-experiment-roll-out via EC2 there are
about 10 adaption failures:

  TypeError: ('Could not adapt',
  <lp.archivepublisher.diskpool.DiskPoolEntry instance at 0xb71af80>,
  <InterfaceClass lp.services.propertycache.IPropertyCache>)

The failing tests pass when run directly. I doubt there is any issue
attributable to the EC2 environment; rather I think that there is some
Zope-ish weirdness when running the full test suite.

The attached file, cache-experiment-roll-out-r11430.subunit.gz, has a
full log of the test run.

Related branches

Revision history for this message
Gavin Panella (allenap) wrote :
Gavin Panella (allenap)
tags: added: tech-debt
Gavin Panella (allenap)
Changed in launchpad-foundations:
assignee: nobody → Gavin Panella (allenap)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
Changed in launchpad-foundations:
milestone: none → 10.11
tags: added: qa-needstesting
Changed in launchpad-foundations:
status: In Progress → Fix Committed
Gary Poster (gary)
Changed in launchpad-foundations:
importance: Undecided → High
Gavin Panella (allenap)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in launchpad-foundations:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.