On Tue, 2010-07-06 at 10:44 +0200, Jeroen Vermeulen wrote: > Hi all, > > As you may know you can speed up your local test runs immensely by setting > > LP_PERSISTENT_TEST_SERVICES=1 > > somewhere, e.g. in your .bashrc. This keeps Librarian and memcached > running across test runs so that you don't have to wait for those layers > to set up every time you want to run a test. > > It turns out there's one risk though. After an unexpected system > shutdown, my Librarian consistently failed to start up. Whenever test > runs tried to set up LaunchpadFunctionalLayer, I got a traceback ending > with: > > LayerIsolationError: Librarian has been killed or has hung.Tests should > use LibrarianLayer.hide() and LibrarianLayer.reveal() where possible, > and ensure the Librarian is restarted if it absolutely must be shutdown: > [Errno socket error] (111, 'Connection refused') > > ( Full traceback at http://paste.ubuntu.com/459509/ ) > > None of the usual tricks help: make clean, make, make schema, > rocketfuel-get, rocketfuel-setup, fresh branch, cleaning out /var/tmp, > reboots and so on.
Did you try ./bin/kill-test-services? I think it's supposed to do the trick in such cases. -- Guilherme Salgado <https://launchpad.net/~salgado>
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp

