launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #08401
Re: ec2 test failures
This looks like the same problem that currently has us in testfix.
https://lpbuildbot.canonical.com/builders/lucid_lp/builds/1559/steps/shell_6/logs/summary
Gary
On Nov 16, 2011, at 9:22 AM, Abel Deuring wrote:
> Hi all,
>
> Running "ec2 land" for lp:~adeuring/launchpad/bug-sorting-2 , I'm
> getting the test failures below. I can't reproduce them locally and I
> don't see any relation to the changes in this branch... Any ideas?
>
> ERROR:
> lp.code.model.tests.test_codeimportjob.TestCodeImportJobWorkflowNewJob.test_dateDueOldPreviousResult
> (subunit.RemotedTestCase)
> ----------------------------------------------------------------------
> _StringException: Text attachment: traceback
> ------------
> Traceback (most recent call last):
> _StringException: Traceback (most recent call last):
> File
> "/var/launchpad/test/lib/lp/code/model/tests/test_codeimportjob.py",
> line 468, in test_dateDueOldPreviousResult
> code_import = self.getCodeImportForDateDueTest()
> File
> "/var/launchpad/test/lib/lp/code/model/tests/test_codeimportjob.py",
> line 416, in getCodeImportForDateDueTest
> review_status=CodeImportReviewStatus.REVIEWED)
> File "/var/launchpad/test/lib/lp/testing/factory.py", line 371, in
> with_default_master_store
> return func(*args, **kw)
> File "/var/launchpad/test/lib/lp/testing/factory.py", line 2202, in
> makeCodeImport
> target = IBranchTarget(self.makeProduct())
> File "/var/launchpad/test/lib/lp/testing/factory.py", line 371, in
> with_default_master_store
> return func(*args, **kw)
> File "/var/launchpad/test/lib/lp/testing/factory.py", line 973, in
> makeProduct
> owner = self.makePerson()
> File "/var/launchpad/test/lib/lp/testing/factory.py", line 371, in
> with_default_master_store
> return func(*args, **kw)
> File "/var/launchpad/test/lib/lp/testing/factory.py", line 646, in
> makePerson
> hide_email_addresses=hide_email_addresses)
> File "/var/launchpad/test/lib/lp/registry/model/person.py", line 3256,
> in createPersonAndEmail
> comment=comment, registrant=registrant, account=account)
> File "/var/launchpad/test/lib/lp/registry/model/person.py", line 3287,
> in _newPerson
> "The name '%s' is already taken." % name)
> NameAlreadyTaken: The name 'person-name-923594' is already taken.
>
> ------------
>
>
> ======================================================================
> FAILURE:
> lp.registry.browser.tests.test_distroseries.DistroSeriesMissingPackagesPageTestCase.test_diff_row_last_changed_also_shows_uploader_if_different
> (subunit.RemotedTestCase)
> ----------------------------------------------------------------------
> _StringException: Text attachment: traceback
> ------------
> Traceback (most recent call last):
> _StringException: librarian-log: {{{
> 2011-11-16 18:17:32+0530 [-] Log opened.
> 2011-11-16 18:17:32+0530 [-] twistd 11.1.0pre1 (/usr/bin/python2.6
> 2.6.5) starting up.
> 2011-11-16 18:17:32+0530 [-] reactor class:
> twisted.internet.pollreactor.PollReactor.
> 2011-11-16 18:17:32+0530 [-] FileUploadFactory starting on 38880
> 2011-11-16 18:17:32+0530 [-] Starting factory
> <canonical.librarian.libraryprotocol.FileUploadFactory instance at
> 0xaaa3560>
> 2011-11-16 18:17:32+0530 [-] Site starting on 40285
> 2011-11-16 18:17:32+0530 [-] Starting factory <twisted.web.server.Site
> instance at 0x501d1b8>
> 2011-11-16 18:17:32+0530 [-] FileUploadFactory starting on 34614
> 2011-11-16 18:17:32+0530 [-] Starting factory
> <canonical.librarian.libraryprotocol.FileUploadFactory instance at
> 0x501d098>
> 2011-11-16 18:17:32+0530 [-] Site starting on 55862
> 2011-11-16 18:17:32+0530 [-] Starting factory <twisted.web.server.Site
> instance at 0x501de60>
> 2011-11-16 18:17:32+0530 [-] Not using upstream librarian
> 2011-11-16 18:17:32+0530 [-] daemon ready!
> }}}
>
> Traceback (most recent call last):
> File
> "/var/launchpad/test/lib/lp/registry/browser/tests/test_distroseries.py", line
> 2601, in test_diff_row_last_changed_also_shows_uploader_if_different
> normalize_whitespace(creator_cell.text_content()))
> AssertionError: !=:
> reference = u'a moment ago by Person-name-862285 (uploaded by
> Person-name-862290)'
> actual = '18 seconds ago by Person-name-862285 (uploaded by
> Person-name-862290)'
>
> _______________________________________________
> Mailing list: https://launchpad.net/~launchpad-dev
> Post to : launchpad-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~launchpad-dev
> More help : https://help.launchpad.net/ListHelp
Follow ups
References