Update Storm

Bug #352965 reported by Stuart Bishop
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Stuart Bishop

Bug Description

We want to sync our version of Storm to upstream. Of particular interest is jtv's generational cache work which should help some of our memory exhaustion issues.

Related branches

Stuart Bishop (stub)
Changed in launchpad-foundations:
milestone: none → 2.2.4
status: New → Triaged
Revision history for this message
Stuart Bishop (stub) wrote :

All our local changes relate to Bug #241267, which is now fix committed.

I'm attempting to run our test suite against trunk now on ec2.

Changed in launchpad-foundations:
milestone: 2.2.4 → 2.2.6
Revision history for this message
Stuart Bishop (stub) wrote :

Salgado and bac have also been looking into this:

https://pastebin.canonical.com/17460/

Newer Storm doesn't register Stores with the transaction manager until they are actually used, so transaction.abort() doesn't call Store.rollback() on these Stores. This is good, since it stops noop ROLLBACK statements being issued to the database. However, it breaks some tests apparently - probably sniffing to confirm that commits or rollbacks occur when they are expected to. We need to fix these tests, or apply the join transaction patch above to SQLBase._reset_store if we can confirm that method is only called by the test suite.

Changed in launchpad-foundations:
importance: Undecided → Medium
Revision history for this message
Stuart Bishop (stub) wrote :

Other fixes are already on lp:~stub/launchpad/update-storm

Stuart Bishop (stub)
Changed in launchpad-foundations:
assignee: nobody → Stuart Bishop (stub)
status: Triaged → In Progress
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

JamesH notes that the lazy registering of stores can also improve test times. The Landscape folks have seen hefty speedups, apparently, whereas LP's test suite slowed down when we added more stores.

Stuart Bishop (stub)
Changed in launchpad-foundations:
status: In Progress → Fix Committed
Revision history for this message
Stuart Bishop (stub) wrote :

I had to revert this branch. Tests pass locally and under ec2test.py, but buildbot has failures. http://buildbot.devpad.info/builders/lp/builds/432/steps/shell_7/logs/stdio.

lp:~stub/launchpad/update-storm is prepped and ready to land again.

I'm reassigning to Francis as I don't have the ability to investigate further.

Changed in launchpad-foundations:
assignee: Stuart Bishop (stub) → Francis J. Lacoste (flacoste)
status: Fix Committed → In Progress
Revision history for this message
Stuart Bishop (stub) wrote :

The failing script was reset_sequences.py. This was one of the scripts fixed in Bug #389065. This script was not running with the correct path, so had no hope of finding Storm. I'll resubmit now.

Changed in launchpad-foundations:
assignee: Francis J. Lacoste (flacoste) → Stuart Bishop (stub)
Stuart Bishop (stub)
Changed in launchpad-foundations:
status: In Progress → Fix Committed
Revision history for this message
Stuart Bishop (stub) wrote :

This was reverted again due to insufficient QA time and suspect memory usage.

We will land it again as soon as we are out of release mode for testing on staging and edge.

Changed in launchpad-foundations:
status: Fix Committed → In Progress
Revision history for this message
Stuart Bishop (stub) wrote :

Landed on lp:~launchpad-pqm/launchpad/db-devel r8210 for testing on staging. We should also merge lp:~stub/launchpad/update-storm into lp:~launchpad-pqm/launchpad/devel for testing on edge.

Changed in launchpad-foundations:
importance: Medium → High
milestone: 2.2.6 → 2.2.7
Revision history for this message
Stuart Bishop (stub) wrote :

Landed. Fallout being dealt with in Bug #390861

Changed in launchpad-foundations:
status: In Progress → Fix Committed
Stuart Bishop (stub)
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.