← Back to team overview

launchpad-dev team mailing list archive

Re: Codehosting local test failures

 

On Monday 22 February 2010 19:37:36 Michael Hudson wrote:
> Julian Edwards wrote:
> > I'm seeing this on my local dev box at the end of a "make check" run:
> >
> > Tests with errors:
> >    test_import
> > (lp.codehosting.codeimport.tests.test_worker.TestGitImport) test_partial
> > (lp.codehosting.codeimport.tests.test_worker.TestGitImport) test_sync
> > (lp.codehosting.codeimport.tests.test_worker.TestGitImport)
> >
> > Tests with failures:
> >    test_import_git
> > (lp.codehosting.codeimport.tests.test_workermonitor.TestWorkerMonitorInte
> >gration) test_import_git
> > (lp.codehosting.codeimport.tests.test_workermonitor.TestWorkerMonitorInte
> >grationScript) test_import_script
> > (lp.codehosting.codeimport.tests.test_worker.TestGitImport)
> >    test_script_exit_codes
> > (lp.codehosting.codeimport.tests.test_worker.TestGitImport)
> >
> >
> > Anyone else getting this?  Is it happening on ec2?  (I don't use ec2)
> >
> > Full error output:
> >
> > Error in test test_import
> > (lp.codehosting.codeimport.tests.test_worker.TestGitImport)
> > Traceback (most recent call last):
> > _StringException: Text attachment: log
> > ------------
> > 45.340  creating repository in
> > file:///var/tmp/codeimport/data/worker-for-
> > branch-1/bzr_working_tree/.bzr/.
> > 45.344  creating branch <bzrlib.branch.BzrBranchFormat7 object at
> > 0x42447d0> in
> > file:///var/tmp/codeimport/data/worker-for-branch-1/bzr_working_tree/.bzr
> >/ 45.355  trying to create missing lock
> > '/var/tmp/codeimport/data/worker-for-
> > branch-1/bzr_working_tree/.bzr/checkout/dirstate'
> > 45.356  opening working tree '/var/tmp/codeimport/data/worker-for-
> > branch-1/bzr_working_tree'
> > 45.375  creating repository in file:///tmp/testbzr-
> > pPVoyN.tmp/lp.codehosting.codeimport.tests.test_worker.TestGitImport.test
> >_import/work/bazaar_store/00000001/.bzr/. 45.379  creating branch
> > <bzrlib.branch.BzrBranchFormat7 object at 0x42447d0> in
> > file:///tmp/testbzr-
> > pPVoyN.tmp/lp.codehosting.codeimport.tests.test_worker.TestGitImport.test
> >_import/work/bazaar_store/00000001/.bzr/ ------------
> > Text attachment: traceback
> > ------------
> > Traceback (most recent call last):
> >   File "/home/ed/canonical/lp-sourcedeps/eggs/testtools-0.9.2-
> > py2.5.egg/testtools/runtest.py", line 128, in _run_user
> >     return fn(*args)
> >   File "/home/ed/canonical/lp-sourcedeps/eggs/testtools-0.9.2-
> > py2.5.egg/testtools/testcase.py", line 368, in _run_test_method
> >     testMethod()
> >   File "/home/ed/canonical/lp-branches/wgrant-p-u-sprb-
> > handling/lib/lp/codehosting/codeimport/tests/test_worker.py", line 671,
> > in test_import
> >     worker.run()
> >   File "/home/ed/canonical/lp-branches/wgrant-p-u-sprb-
> > handling/lib/lp/codehosting/codeimport/worker.py", line 411, in run
> >     return self._doImport()
> >   File "/home/ed/canonical/lp-branches/wgrant-p-u-sprb-
> > handling/lib/lp/codehosting/codeimport/worker.py", line 543, in _doImport
> >     overwrite=True, **self.getExtraPullArgs())
> > TypeError: pull() got an unexpected keyword argument 'limit'
> 
> Have you updated your sourcecode?  Looks like you have an old version of
> bzr-git.
> 
> Cheers,
> mwh
> 

I did a rocketfuel-get and apt-get dist-upgrade right before running the 
tests.



Follow ups

References