ubuntu-tn-webteam team mailing list archive
-
ubuntu-tn-webteam team
-
Mailing list archive
-
Message #00032
[Bug 383615] [NEW] Spurious test failure in emailaddress.txt.
Public bug reported:
I had this failure (or is it an error?) during ec2test that I could not
reproduce locally, so I disabled the test. Here is the mail.
Tests started at approximately Wed, 03 Jun 2009 15:18:13 UTC
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/launchpad/devel/, revision 8513
Merged with
bzr+ssh://bazaar.launchpad.net/~henninge/launchpad/msh-series-copying-devel, revision 8517 (commit message: Created new factory method.)
DEPENDENCY BRANCHES USED
- zc.zservertracelog
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/zc.zservertracelog/trunk/
12
- bzr-loom
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/bzr-loom/trunk/
47
- lpreview
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/bzr-lpreview/devel/
22
- subvertpy
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/subvertpy/trunk/
2039
- functest
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/functest/trunk/
47
- launchpadlib
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/launchpadlib/devel/
41
- testtools
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/testtools/trunk/
14
- zope
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/zope3/3.4/
6
- old_xmlplus
sftp://devpad.canonical.com/code/rocketfuel/old_xmlplus/devel/
3
- mailman
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/mailman/2.1/
975
- wadllib
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/wadllib/devel/
7
- feedvalidator
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/feedvalidator/devel/
2
- twisted
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/twisted/trunk/
16
- testresources
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/testresources/dev/
16
- windmill
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/windmill/trunk/
878
- lazr.lifecycle
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr.lifecycle/trunk/
33
- wsgi-fileserver
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/wsgi-fileserver/trunk/
7
- bzr-svn
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/bzr-svn/devel/
2704
- wsgi-xmlrpc
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/wsgi-xmlrpc/trunk/
7
- loggerhead
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/loggerhead/devel/
172
- openid
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/python-openid/devel/
5
- lazr-js
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr-js/toolchain/
101
- lsprof
sftp://devpad.canonical.com/code/rocketfuel/lsprof/devel/
2
- oauth
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/oauth/trunk/
41
- bzr
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/bzr/dev/
4006
- simplesettings
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/simplesettings/trunk/
7
- wsgi-jsonrpc
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/wsgi-jsonrpc/trunk/
10
- lazr.restful
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr.restful/trunk/
26
- lazr.uri
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr.uri/trunk/
26
- storm
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/storm/devel/
123
- pygettextpo
sftp://devpad.canonical.com/code/rocketfuel/pygettextpo/devel/
20
- cscvs
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/launchpad-cscvs/devel/
427
- lazr.delegates
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr.delegates/devel/
2
- lazr.config
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr.config/devel/
3
- lazr.batchnavigator
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr.batchnavigator/trunk/
26
- bzr-git
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/bzr-git/devel/
242
- lazr.restfulclient
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr.restfulclient/trunk/
48
- launchpad-loggerhead
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/launchpad-loggerhead/devel/
50
- pygpgme
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/pygpgme/devel/
48
- mozrunner
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/mozrunner/trunk/
51
- lazr.enum
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr.enum/trunk/
27
- dulwich
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/dulwich/devel/
296
- subunit
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/subunit/trunk/
60
TEST RESULTS FOLLOW
2009-06-03 15:19:21 WARNING No permissions specified for [u'"public"."hwdmihandle"', u'"public"."hwdriverpackagenames"', u'"public"."hwdrivernames"', u'"public"."hwdmivalue"']
/var/launchpad/test/bin/test -vv
[RETRY]
Error in test testRetryTestRetriesTest (canonical.testing.tests.test_mockdb.MockDbTestCase)
Traceback (most recent call last):
File "/usr/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/var/launchpad/test/lib/canonical/testing/tests/test_mockdb.py", line 101, in testRetryTestRetriesTest
raise RetryTest(
RetryTest: Testing RetryTest behavior. This exception will be raised but the test runner doesn't consider it a failure
[RETRY]
Error in test testRetryTestInDoctest2 (canonical.testing.tests.test_mockdb)
Traceback (most recent call last):
File "/usr/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 2330, in runTest
failures, tries = runner.run(
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1504, in run
return self.__run(test, compileflags, out)
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1430, in __run
raise retry_exception
RetryTest
[RETRY]
Error in test testRetryTestInDoctest_will_raise_but_testrunner_ignores_it (canonical.testing.tests.test_mockdb)
Traceback (most recent call last):
File "/usr/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 2330, in runTest
failures, tries = runner.run(
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1504, in run
return self.__run(test, compileflags, out)
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1430, in __run
raise retry_exception
RetryTest
test_codehosting_log_doesnt_go_to_stderr (lp.codehosting.sshserver.tests.test_logging.TestLoggingBazaarInteraction)INFO Hello hello
The following test left new threads behind:
lp.codehosting.tests.test_bzrutils.TestGetBranchStackedOnURL.testGetBranchStackedOnUrl(RemoteBranchFormat-default)
New thread(s): [<Thread(smart-server-child, started daemon)>, <Thread(smart-server-child, started daemon)>]
The following test left new threads behind:
lp.codehosting.tests.test_bzrutils.TestGetBranchStackedOnURL.testGetBranchStackedOnUrl(RemoteBranchFormat-v2)
New thread(s): [<Thread(smart-server-child, started daemon)>, <Thread(smart-server-child, started daemon)>]
The following test left new threads behind:
lp.codehosting.tests.test_bzrutils.TestGetBranchStackedOnURL.testGetBranchStackedOnUrlNotStacked(RemoteBranchFormat-default)
New thread(s): [<Thread(smart-server-child, started daemon)>]
The following test left new threads behind:
lp.codehosting.tests.test_bzrutils.TestGetBranchStackedOnURL.testGetBranchStackedOnUrlNotStacked(RemoteBranchFormat-v2)
New thread(s): [<Thread(smart-server-child, started daemon)>]
Failure in test lib/canonical/launchpad/ftests/../doc/emailaddress.txt
Failed doctest test for emailaddress.txt
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 0
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 10, in emailaddress.txt
Failed example:
person = factory.makePerson()
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[3]>", line 1, in ?
person = factory.makePerson()
File "/var/launchpad/test/lib/lp/testing/factory.py", line 126, in with_default_master_store
return func(*args, **kw)
File "/var/launchpad/test/lib/lp/testing/factory.py", line 238, in makePerson
person = self.makePersonNoCommit(*args, **kwargs)
File "/var/launchpad/test/lib/lp/testing/factory.py", line 126, in with_default_master_store
return func(*args, **kw)
File "/var/launchpad/test/lib/lp/testing/factory.py", line 292, in makePersonNoCommit
hide_email_addresses=hide_email_addresses)
File "/var/launchpad/test/lib/lp/registry/model/person.py", line 2400, in createPersonAndEmail
comment=comment, registrant=registrant, account=account)
File "/var/launchpad/test/lib/lp/registry/model/person.py", line 2439, in _newPerson
account_id = account.id
File "/var/launchpad/test/lib/storm/properties.py", line 60, in __get__
return obj_info.variables[column].get()
File "/var/launchpad/test/lib/storm/store.py", line 866, in _resolve_lazy_value
self.flush()
File "/var/launchpad/test/lib/storm/store.py", line 484, in flush
self._flush_one(obj_info)
File "/var/launchpad/test/lib/storm/store.py", line 521, in _flush_one
result = self._connection.execute(expr)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 251, in execute
result = Connection.execute(self, Returning(statement), params)
File "/var/launchpad/test/lib/storm/database.py", line 200, in execute
raw_cursor = self.raw_execute(statement, params)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 267, in raw_execute
return Connection.raw_execute(self, statement, params)
File "/var/launchpad/test/lib/storm/database.py", line 282, in raw_execute
self._check_disconnect(raw_cursor.execute, *args)
File "/var/launchpad/test/lib/storm/database.py", line 325, in _check_disconnect
return function(*args, **kwargs)
File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 106, in execute
return self.real_cursor.execute(*args, **kwargs)
IntegrityError: duplicate key value violates unique constraint "account_pkey"
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 14, in emailaddress.txt
Failed example:
email = emailset.getByEmail(person.preferredemail.email)
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[4]>", line 1, in ?
email = emailset.getByEmail(person.preferredemail.email)
NameError: name 'person' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 15, in emailaddress.txt
Failed example:
email == person.preferredemail
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[5]>", line 1, in ?
email == person.preferredemail
NameError: name 'email' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 20, in emailaddress.txt
Failed example:
email == emailset.getByEmail(email.email.upper())
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[6]>", line 1, in ?
email == emailset.getByEmail(email.email.upper())
NameError: name 'email' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 26, in emailaddress.txt
Failed example:
verifyObject(IEmailAddress, email)
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[8]>", line 1, in ?
verifyObject(IEmailAddress, email)
NameError: name 'email' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 28, in emailaddress.txt
Failed example:
verifyObject(IHasOwner, email)
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[9]>", line 1, in ?
verifyObject(IHasOwner, email)
NameError: name 'email' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 36, in emailaddress.txt
Failed example:
emailset.new(email.email, foobar, account=foobar.account)
Differences (ndiff with -expected +actual):
Traceback (most recent call last):
- ...
- EmailAddressAlreadyTaken: The email address '...' is already registered.
+ File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
+ compileflags, 1) in test.globs
+ File "<doctest emailaddress.txt[12]>", line 1, in ?
+ emailset.new(email.email, foobar, account=foobar.account)
+ NameError: name 'email' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 43, in emailaddress.txt
Failed example:
emailset.new(email.email.upper(), foobar, account=foobar.account)
Differences (ndiff with -expected +actual):
Traceback (most recent call last):
- ...
- EmailAddressAlreadyTaken: The email address '...' is already registered.
+ File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
+ compileflags, 1) in test.globs
+ File "<doctest emailaddress.txt[13]>", line 1, in ?
+ emailset.new(email.email.upper(), foobar, account=foobar.account)
+ NameError: name 'email' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 50, in emailaddress.txt
Failed example:
emailaddress = emailset.new(
'oink@xxxxxxxxxxxxx', foobar, account=foobar.account)
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[14]>", line 1, in ?
emailaddress = emailset.new(
File "/var/launchpad/test/lib/canonical/launchpad/database/emailaddress.py", line 113, in new
if self.getByEmail(email) is not None:
File "/var/launchpad/test/lib/canonical/launchpad/database/emailaddress.py", line 101, in getByEmail
return EmailAddress.selectOne(
File "/var/launchpad/test/lib/storm/sqlobject.py", line 352, in selectOne
return SQLObjectResultSet(cls, *args, **kwargs)._one()
File "/var/launchpad/test/lib/storm/sqlobject.py", line 516, in _one
return detuplelize(self._result_set.one())
File "/var/launchpad/test/lib/storm/sqlobject.py", line 505, in _result_set
self._finished_result_set = self._finish_result_set()
File "/var/launchpad/test/lib/storm/sqlobject.py", line 489, in _finish_result_set
result = self._prepare_result_set()
File "/var/launchpad/test/lib/storm/sqlobject.py", line 483, in _prepare_result_set
return store.find(find_spec, *args)
File "/var/launchpad/test/lib/storm/store.py", line 199, in find
self.flush()
File "/var/launchpad/test/lib/storm/store.py", line 484, in flush
self._flush_one(obj_info)
File "/var/launchpad/test/lib/storm/store.py", line 521, in _flush_one
result = self._connection.execute(expr)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 251, in execute
result = Connection.execute(self, Returning(statement), params)
File "/var/launchpad/test/lib/storm/database.py", line 200, in execute
raw_cursor = self.raw_execute(statement, params)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 267, in raw_execute
return Connection.raw_execute(self, statement, params)
File "/var/launchpad/test/lib/storm/database.py", line 282, in raw_execute
self._check_disconnect(raw_cursor.execute, *args)
File "/var/launchpad/test/lib/storm/database.py", line 325, in _check_disconnect
return function(*args, **kwargs)
File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 106, in execute
return self.real_cursor.execute(*args, **kwargs)
InternalError: current transaction is aborted, commands ignored until end of transaction block
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 52, in emailaddress.txt
Failed example:
emailaddress.email
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[15]>", line 1, in ?
emailaddress.email
NameError: name 'emailaddress' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 57, in emailaddress.txt
Failed example:
emailaddress.rdf_sha1
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[16]>", line 1, in ?
emailaddress.rdf_sha1
NameError: name 'emailaddress' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 64, in emailaddress.txt
Failed example:
[emailaddress.email for emailaddress in
emailset.getPreferredEmailForPeople(guadamen.allmembers)]
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[18]>", line 1, in ?
[emailaddress.email for emailaddress in
File "/var/launchpad/test/lib/storm/sqlobject.py", line 523, in __iter__
for item in self._result_set:
File "/var/launchpad/test/lib/storm/store.py", line 956, in __iter__
result = self._store._connection.execute(self._get_select())
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 257, in execute
return Connection.execute(self, statement, params, noresult)
File "/var/launchpad/test/lib/storm/database.py", line 200, in execute
raw_cursor = self.raw_execute(statement, params)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 267, in raw_execute
return Connection.raw_execute(self, statement, params)
File "/var/launchpad/test/lib/storm/database.py", line 282, in raw_execute
self._check_disconnect(raw_cursor.execute, *args)
File "/var/launchpad/test/lib/storm/database.py", line 325, in _check_disconnect
return function(*args, **kwargs)
File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 106, in execute
return self.real_cursor.execute(*args, **kwargs)
InternalError: current transaction is aborted, commands ignored until end of transaction block
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 78, in emailaddress.txt
Failed example:
login_person(foobar)
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[19]>", line 1, in ?
login_person(foobar)
File "/var/launchpad/test/lib/lp/testing/_login.py", line 76, in login_person
return login(naked_email.email, participation)
File "/var/launchpad/test/lib/lp/testing/_login.py", line 50, in login
principal = authutil.getPrincipalByLogin(email, want_password=False)
File "/var/launchpad/test/lib/canonical/launchpad/webapp/authentication.py", line 151, in getPrincipalByLogin
return utility.getPrincipalByLogin(login, want_password=want_password)
File "/var/launchpad/test/lib/canonical/launchpad/webapp/authentication.py", line 258, in getPrincipalByLogin
account = getUtility(IAccountSet).getByEmail(login)
File "/var/launchpad/test/lib/canonical/launchpad/database/account.py", line 299, in getByEmail
account = store.find(Account, *conditions).one()
File "/var/launchpad/test/lib/storm/store.py", line 1093, in one
result = self._store._connection.execute(select)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 257, in execute
return Connection.execute(self, statement, params, noresult)
File "/var/launchpad/test/lib/storm/database.py", line 200, in execute
raw_cursor = self.raw_execute(statement, params)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 267, in raw_execute
return Connection.raw_execute(self, statement, params)
File "/var/launchpad/test/lib/storm/database.py", line 282, in raw_execute
self._check_disconnect(raw_cursor.execute, *args)
File "/var/launchpad/test/lib/storm/database.py", line 325, in _check_disconnect
return function(*args, **kwargs)
File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 106, in execute
return self.real_cursor.execute(*args, **kwargs)
InternalError: current transaction is aborted, commands ignored until end of transaction block
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 79, in emailaddress.txt
Failed example:
emailaddress = emailset.getByEmail('oink@xxxxxxxxxxxxx')
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[20]>", line 1, in ?
emailaddress = emailset.getByEmail('oink@xxxxxxxxxxxxx')
File "/var/launchpad/test/lib/canonical/launchpad/database/emailaddress.py", line 101, in getByEmail
return EmailAddress.selectOne(
File "/var/launchpad/test/lib/storm/sqlobject.py", line 352, in selectOne
return SQLObjectResultSet(cls, *args, **kwargs)._one()
File "/var/launchpad/test/lib/storm/sqlobject.py", line 516, in _one
return detuplelize(self._result_set.one())
File "/var/launchpad/test/lib/storm/store.py", line 1093, in one
result = self._store._connection.execute(select)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 257, in execute
return Connection.execute(self, statement, params, noresult)
File "/var/launchpad/test/lib/storm/database.py", line 200, in execute
raw_cursor = self.raw_execute(statement, params)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 267, in raw_execute
return Connection.raw_execute(self, statement, params)
File "/var/launchpad/test/lib/storm/database.py", line 282, in raw_execute
self._check_disconnect(raw_cursor.execute, *args)
File "/var/launchpad/test/lib/storm/database.py", line 325, in _check_disconnect
return function(*args, **kwargs)
File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 106, in execute
return self.real_cursor.execute(*args, **kwargs)
InternalError: current transaction is aborted, commands ignored until end of transaction block
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 80, in emailaddress.txt
Failed example:
emailaddress.destroySelf()
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[21]>", line 1, in ?
emailaddress.destroySelf()
NameError: name 'emailaddress' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 81, in emailaddress.txt
Failed example:
print emailset.getByEmail('oink@xxxxxxxxxxxxx')
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[22]>", line 1, in ?
print emailset.getByEmail('oink@xxxxxxxxxxxxx')
File "/var/launchpad/test/lib/canonical/launchpad/database/emailaddress.py", line 101, in getByEmail
return EmailAddress.selectOne(
File "/var/launchpad/test/lib/storm/sqlobject.py", line 352, in selectOne
return SQLObjectResultSet(cls, *args, **kwargs)._one()
File "/var/launchpad/test/lib/storm/sqlobject.py", line 516, in _one
return detuplelize(self._result_set.one())
File "/var/launchpad/test/lib/storm/store.py", line 1093, in one
result = self._store._connection.execute(select)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 257, in execute
return Connection.execute(self, statement, params, noresult)
File "/var/launchpad/test/lib/storm/database.py", line 200, in execute
raw_cursor = self.raw_execute(statement, params)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 267, in raw_execute
return Connection.raw_execute(self, statement, params)
File "/var/launchpad/test/lib/storm/database.py", line 282, in raw_execute
self._check_disconnect(raw_cursor.execute, *args)
File "/var/launchpad/test/lib/storm/database.py", line 325, in _check_disconnect
return function(*args, **kwargs)
File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 106, in execute
return self.real_cursor.execute(*args, **kwargs)
InternalError: current transaction is aborted, commands ignored until end of transaction block
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 86, in emailaddress.txt
Failed example:
foobar.preferredemail.destroySelf()
Differences (ndiff with -expected +actual):
Traceback (most recent call last):
- ...
- UndeletableEmailAddress: This is a person's preferred email...
+ File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
+ compileflags, 1) in test.globs
+ File "<doctest emailaddress.txt[23]>", line 1, in ?
+ foobar.preferredemail.destroySelf()
+ Unauthorized: (<EmailAddress at 0x12a89810 <foo.bar@xxxxxxxxxxxxx> [Preferred Email Address]>, 'destroySelf', 'launchpad.Edit')
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 93, in emailaddress.txt
Failed example:
mailing_list = new_list_for_team(guadamen)
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[25]>", line 1, in ?
mailing_list = new_list_for_team(guadamen)
File "/var/launchpad/test/lib/lp/registry/tests/mailinglists_helper.py", line 214, in new_list_for_team
team_list.transitionToStatus(MailingListStatus.ACTIVE)
File "/var/launchpad/test/lib/lp/registry/model/mailinglist.py", line 265, in transitionToStatus
email = email_set.getByEmail(self.address)
File "/var/launchpad/test/lib/canonical/launchpad/database/emailaddress.py", line 101, in getByEmail
return EmailAddress.selectOne(
File "/var/launchpad/test/lib/storm/sqlobject.py", line 352, in selectOne
return SQLObjectResultSet(cls, *args, **kwargs)._one()
File "/var/launchpad/test/lib/storm/sqlobject.py", line 516, in _one
return detuplelize(self._result_set.one())
File "/var/launchpad/test/lib/storm/store.py", line 1093, in one
result = self._store._connection.execute(select)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 257, in execute
return Connection.execute(self, statement, params, noresult)
File "/var/launchpad/test/lib/storm/database.py", line 200, in execute
raw_cursor = self.raw_execute(statement, params)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 267, in raw_execute
return Connection.raw_execute(self, statement, params)
File "/var/launchpad/test/lib/storm/database.py", line 282, in raw_execute
self._check_disconnect(raw_cursor.execute, *args)
File "/var/launchpad/test/lib/storm/database.py", line 325, in _check_disconnect
return function(*args, **kwargs)
File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 106, in execute
return self.real_cursor.execute(*args, **kwargs)
InternalError: current transaction is aborted, commands ignored until end of transaction block
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 94, in emailaddress.txt
Failed example:
email = emailset.getByEmail(guadamen.mailing_list.address)
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[26]>", line 1, in ?
email = emailset.getByEmail(guadamen.mailing_list.address)
File "/var/launchpad/test/lib/canonical/launchpad/database/emailaddress.py", line 101, in getByEmail
return EmailAddress.selectOne(
File "/var/launchpad/test/lib/storm/sqlobject.py", line 352, in selectOne
return SQLObjectResultSet(cls, *args, **kwargs)._one()
File "/var/launchpad/test/lib/storm/sqlobject.py", line 516, in _one
return detuplelize(self._result_set.one())
File "/var/launchpad/test/lib/storm/store.py", line 1093, in one
result = self._store._connection.execute(select)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 257, in execute
return Connection.execute(self, statement, params, noresult)
File "/var/launchpad/test/lib/storm/database.py", line 200, in execute
raw_cursor = self.raw_execute(statement, params)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 267, in raw_execute
return Connection.raw_execute(self, statement, params)
File "/var/launchpad/test/lib/storm/database.py", line 282, in raw_execute
self._check_disconnect(raw_cursor.execute, *args)
File "/var/launchpad/test/lib/storm/database.py", line 325, in _check_disconnect
return function(*args, **kwargs)
File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 106, in execute
return self.real_cursor.execute(*args, **kwargs)
InternalError: current transaction is aborted, commands ignored until end of transaction block
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 95, in emailaddress.txt
Failed example:
email.destroySelf()
Differences (ndiff with -expected +actual):
Traceback (most recent call last):
- ...
- UndeletableEmailAddress: This is the email address of a team's mailing
- list...
+ File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
+ compileflags, 1) in test.globs
+ File "<doctest emailaddress.txt[27]>", line 1, in ?
+ email.destroySelf()
+ NameError: name 'email' is not defined
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_can_push_loom_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_can_push_to_existing_hosted_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_cant_access_private_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_cant_push_to_existing_mirrored_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_cant_push_to_existing_unowned_hosted_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_push_new_branch_creates_branch_in_database(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_push_team_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_push_to_existing_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_push_to_new_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_push_triggers_mirror_request(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_rename_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_rename_product(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_rename_user(bzr+ssh)
lp.codehosting.tests.test_acceptance.SmartserverTests.test_authserver_error_propagation(bzr+ssh)
lp.codehosting.tests.test_acceptance.SmartserverTests.test_can_read_mirrored_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.SmartserverTests.test_can_read_readonly_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.SmartserverTests.test_can_read_unowned_mirrored_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.SmartserverTests.test_cant_write_to_readonly_branch(bzr+ssh)
Tests with failures:
lib/canonical/launchpad/ftests/../doc/emailaddress.txt
Total: 22721 tests, 1 failures, 0 errors in 200 minutes 46.003 seconds.
Tests failed (exit code 1)
**NOT** submitted to PQM:
** Affects: launchpad
Importance: Undecided
Status: New
--
Spurious test failure in emailaddress.txt.
https://bugs.launchpad.net/bugs/383615
You received this bug notification because you are a member of ubuntu-tn
LoCo Team, which is subscribed to Launchpad itself.
Status in Launchpad itself: New
Bug description:
I had this failure (or is it an error?) during ec2test that I could not reproduce locally, so I disabled the test. Here is the mail.
Tests started at approximately Wed, 03 Jun 2009 15:18:13 UTC
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/launchpad/devel/, revision 8513
Merged with
bzr+ssh://bazaar.launchpad.net/~henninge/launchpad/msh-series-copying-devel, revision 8517 (commit message: Created new factory method.)
DEPENDENCY BRANCHES USED
- zc.zservertracelog
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/zc.zservertracelog/trunk/
12
- bzr-loom
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/bzr-loom/trunk/
47
- lpreview
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/bzr-lpreview/devel/
22
- subvertpy
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/subvertpy/trunk/
2039
- functest
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/functest/trunk/
47
- launchpadlib
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/launchpadlib/devel/
41
- testtools
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/testtools/trunk/
14
- zope
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/zope3/3.4/
6
- old_xmlplus
sftp://devpad.canonical.com/code/rocketfuel/old_xmlplus/devel/
3
- mailman
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/mailman/2.1/
975
- wadllib
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/wadllib/devel/
7
- feedvalidator
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/feedvalidator/devel/
2
- twisted
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/twisted/trunk/
16
- testresources
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/testresources/dev/
16
- windmill
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/windmill/trunk/
878
- lazr.lifecycle
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr.lifecycle/trunk/
33
- wsgi-fileserver
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/wsgi-fileserver/trunk/
7
- bzr-svn
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/bzr-svn/devel/
2704
- wsgi-xmlrpc
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/wsgi-xmlrpc/trunk/
7
- loggerhead
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/loggerhead/devel/
172
- openid
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/python-openid/devel/
5
- lazr-js
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr-js/toolchain/
101
- lsprof
sftp://devpad.canonical.com/code/rocketfuel/lsprof/devel/
2
- oauth
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/oauth/trunk/
41
- bzr
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/bzr/dev/
4006
- simplesettings
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/simplesettings/trunk/
7
- wsgi-jsonrpc
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/wsgi-jsonrpc/trunk/
10
- lazr.restful
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr.restful/trunk/
26
- lazr.uri
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr.uri/trunk/
26
- storm
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/storm/devel/
123
- pygettextpo
sftp://devpad.canonical.com/code/rocketfuel/pygettextpo/devel/
20
- cscvs
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/launchpad-cscvs/devel/
427
- lazr.delegates
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr.delegates/devel/
2
- lazr.config
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr.config/devel/
3
- lazr.batchnavigator
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr.batchnavigator/trunk/
26
- bzr-git
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/bzr-git/devel/
242
- lazr.restfulclient
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr.restfulclient/trunk/
48
- launchpad-loggerhead
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/launchpad-loggerhead/devel/
50
- pygpgme
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/pygpgme/devel/
48
- mozrunner
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/mozrunner/trunk/
51
- lazr.enum
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/lazr.enum/trunk/
27
- dulwich
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/dulwich/devel/
296
- subunit
bzr+ssh://bazaar.launchpad.net/%7Elaunchpad-pqm/subunit/trunk/
60
TEST RESULTS FOLLOW
2009-06-03 15:19:21 WARNING No permissions specified for [u'"public"."hwdmihandle"', u'"public"."hwdriverpackagenames"', u'"public"."hwdrivernames"', u'"public"."hwdmivalue"']
/var/launchpad/test/bin/test -vv
[RETRY]
Error in test testRetryTestRetriesTest (canonical.testing.tests.test_mockdb.MockDbTestCase)
Traceback (most recent call last):
File "/usr/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/var/launchpad/test/lib/canonical/testing/tests/test_mockdb.py", line 101, in testRetryTestRetriesTest
raise RetryTest(
RetryTest: Testing RetryTest behavior. This exception will be raised but the test runner doesn't consider it a failure
[RETRY]
Error in test testRetryTestInDoctest2 (canonical.testing.tests.test_mockdb)
Traceback (most recent call last):
File "/usr/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 2330, in runTest
failures, tries = runner.run(
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1504, in run
return self.__run(test, compileflags, out)
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1430, in __run
raise retry_exception
RetryTest
[RETRY]
Error in test testRetryTestInDoctest_will_raise_but_testrunner_ignores_it (canonical.testing.tests.test_mockdb)
Traceback (most recent call last):
File "/usr/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 2330, in runTest
failures, tries = runner.run(
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1504, in run
return self.__run(test, compileflags, out)
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1430, in __run
raise retry_exception
RetryTest
test_codehosting_log_doesnt_go_to_stderr (lp.codehosting.sshserver.tests.test_logging.TestLoggingBazaarInteraction)INFO Hello hello
The following test left new threads behind:
lp.codehosting.tests.test_bzrutils.TestGetBranchStackedOnURL.testGetBranchStackedOnUrl(RemoteBranchFormat-default)
New thread(s): [<Thread(smart-server-child, started daemon)>, <Thread(smart-server-child, started daemon)>]
The following test left new threads behind:
lp.codehosting.tests.test_bzrutils.TestGetBranchStackedOnURL.testGetBranchStackedOnUrl(RemoteBranchFormat-v2)
New thread(s): [<Thread(smart-server-child, started daemon)>, <Thread(smart-server-child, started daemon)>]
The following test left new threads behind:
lp.codehosting.tests.test_bzrutils.TestGetBranchStackedOnURL.testGetBranchStackedOnUrlNotStacked(RemoteBranchFormat-default)
New thread(s): [<Thread(smart-server-child, started daemon)>]
The following test left new threads behind:
lp.codehosting.tests.test_bzrutils.TestGetBranchStackedOnURL.testGetBranchStackedOnUrlNotStacked(RemoteBranchFormat-v2)
New thread(s): [<Thread(smart-server-child, started daemon)>]
Failure in test lib/canonical/launchpad/ftests/../doc/emailaddress.txt
Failed doctest test for emailaddress.txt
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 0
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 10, in emailaddress.txt
Failed example:
person = factory.makePerson()
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[3]>", line 1, in ?
person = factory.makePerson()
File "/var/launchpad/test/lib/lp/testing/factory.py", line 126, in with_default_master_store
return func(*args, **kw)
File "/var/launchpad/test/lib/lp/testing/factory.py", line 238, in makePerson
person = self.makePersonNoCommit(*args, **kwargs)
File "/var/launchpad/test/lib/lp/testing/factory.py", line 126, in with_default_master_store
return func(*args, **kw)
File "/var/launchpad/test/lib/lp/testing/factory.py", line 292, in makePersonNoCommit
hide_email_addresses=hide_email_addresses)
File "/var/launchpad/test/lib/lp/registry/model/person.py", line 2400, in createPersonAndEmail
comment=comment, registrant=registrant, account=account)
File "/var/launchpad/test/lib/lp/registry/model/person.py", line 2439, in _newPerson
account_id = account.id
File "/var/launchpad/test/lib/storm/properties.py", line 60, in __get__
return obj_info.variables[column].get()
File "/var/launchpad/test/lib/storm/store.py", line 866, in _resolve_lazy_value
self.flush()
File "/var/launchpad/test/lib/storm/store.py", line 484, in flush
self._flush_one(obj_info)
File "/var/launchpad/test/lib/storm/store.py", line 521, in _flush_one
result = self._connection.execute(expr)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 251, in execute
result = Connection.execute(self, Returning(statement), params)
File "/var/launchpad/test/lib/storm/database.py", line 200, in execute
raw_cursor = self.raw_execute(statement, params)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 267, in raw_execute
return Connection.raw_execute(self, statement, params)
File "/var/launchpad/test/lib/storm/database.py", line 282, in raw_execute
self._check_disconnect(raw_cursor.execute, *args)
File "/var/launchpad/test/lib/storm/database.py", line 325, in _check_disconnect
return function(*args, **kwargs)
File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 106, in execute
return self.real_cursor.execute(*args, **kwargs)
IntegrityError: duplicate key value violates unique constraint "account_pkey"
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 14, in emailaddress.txt
Failed example:
email = emailset.getByEmail(person.preferredemail.email)
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[4]>", line 1, in ?
email = emailset.getByEmail(person.preferredemail.email)
NameError: name 'person' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 15, in emailaddress.txt
Failed example:
email == person.preferredemail
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[5]>", line 1, in ?
email == person.preferredemail
NameError: name 'email' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 20, in emailaddress.txt
Failed example:
email == emailset.getByEmail(email.email.upper())
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[6]>", line 1, in ?
email == emailset.getByEmail(email.email.upper())
NameError: name 'email' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 26, in emailaddress.txt
Failed example:
verifyObject(IEmailAddress, email)
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[8]>", line 1, in ?
verifyObject(IEmailAddress, email)
NameError: name 'email' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 28, in emailaddress.txt
Failed example:
verifyObject(IHasOwner, email)
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[9]>", line 1, in ?
verifyObject(IHasOwner, email)
NameError: name 'email' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 36, in emailaddress.txt
Failed example:
emailset.new(email.email, foobar, account=foobar.account)
Differences (ndiff with -expected +actual):
Traceback (most recent call last):
- ...
- EmailAddressAlreadyTaken: The email address '...' is already registered.
+ File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
+ compileflags, 1) in test.globs
+ File "<doctest emailaddress.txt[12]>", line 1, in ?
+ emailset.new(email.email, foobar, account=foobar.account)
+ NameError: name 'email' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 43, in emailaddress.txt
Failed example:
emailset.new(email.email.upper(), foobar, account=foobar.account)
Differences (ndiff with -expected +actual):
Traceback (most recent call last):
- ...
- EmailAddressAlreadyTaken: The email address '...' is already registered.
+ File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
+ compileflags, 1) in test.globs
+ File "<doctest emailaddress.txt[13]>", line 1, in ?
+ emailset.new(email.email.upper(), foobar, account=foobar.account)
+ NameError: name 'email' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 50, in emailaddress.txt
Failed example:
emailaddress = emailset.new(
'oink@xxxxxxxxxxxxx', foobar, account=foobar.account)
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[14]>", line 1, in ?
emailaddress = emailset.new(
File "/var/launchpad/test/lib/canonical/launchpad/database/emailaddress.py", line 113, in new
if self.getByEmail(email) is not None:
File "/var/launchpad/test/lib/canonical/launchpad/database/emailaddress.py", line 101, in getByEmail
return EmailAddress.selectOne(
File "/var/launchpad/test/lib/storm/sqlobject.py", line 352, in selectOne
return SQLObjectResultSet(cls, *args, **kwargs)._one()
File "/var/launchpad/test/lib/storm/sqlobject.py", line 516, in _one
return detuplelize(self._result_set.one())
File "/var/launchpad/test/lib/storm/sqlobject.py", line 505, in _result_set
self._finished_result_set = self._finish_result_set()
File "/var/launchpad/test/lib/storm/sqlobject.py", line 489, in _finish_result_set
result = self._prepare_result_set()
File "/var/launchpad/test/lib/storm/sqlobject.py", line 483, in _prepare_result_set
return store.find(find_spec, *args)
File "/var/launchpad/test/lib/storm/store.py", line 199, in find
self.flush()
File "/var/launchpad/test/lib/storm/store.py", line 484, in flush
self._flush_one(obj_info)
File "/var/launchpad/test/lib/storm/store.py", line 521, in _flush_one
result = self._connection.execute(expr)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 251, in execute
result = Connection.execute(self, Returning(statement), params)
File "/var/launchpad/test/lib/storm/database.py", line 200, in execute
raw_cursor = self.raw_execute(statement, params)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 267, in raw_execute
return Connection.raw_execute(self, statement, params)
File "/var/launchpad/test/lib/storm/database.py", line 282, in raw_execute
self._check_disconnect(raw_cursor.execute, *args)
File "/var/launchpad/test/lib/storm/database.py", line 325, in _check_disconnect
return function(*args, **kwargs)
File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 106, in execute
return self.real_cursor.execute(*args, **kwargs)
InternalError: current transaction is aborted, commands ignored until end of transaction block
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 52, in emailaddress.txt
Failed example:
emailaddress.email
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[15]>", line 1, in ?
emailaddress.email
NameError: name 'emailaddress' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 57, in emailaddress.txt
Failed example:
emailaddress.rdf_sha1
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[16]>", line 1, in ?
emailaddress.rdf_sha1
NameError: name 'emailaddress' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 64, in emailaddress.txt
Failed example:
[emailaddress.email for emailaddress in
emailset.getPreferredEmailForPeople(guadamen.allmembers)]
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[18]>", line 1, in ?
[emailaddress.email for emailaddress in
File "/var/launchpad/test/lib/storm/sqlobject.py", line 523, in __iter__
for item in self._result_set:
File "/var/launchpad/test/lib/storm/store.py", line 956, in __iter__
result = self._store._connection.execute(self._get_select())
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 257, in execute
return Connection.execute(self, statement, params, noresult)
File "/var/launchpad/test/lib/storm/database.py", line 200, in execute
raw_cursor = self.raw_execute(statement, params)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 267, in raw_execute
return Connection.raw_execute(self, statement, params)
File "/var/launchpad/test/lib/storm/database.py", line 282, in raw_execute
self._check_disconnect(raw_cursor.execute, *args)
File "/var/launchpad/test/lib/storm/database.py", line 325, in _check_disconnect
return function(*args, **kwargs)
File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 106, in execute
return self.real_cursor.execute(*args, **kwargs)
InternalError: current transaction is aborted, commands ignored until end of transaction block
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 78, in emailaddress.txt
Failed example:
login_person(foobar)
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[19]>", line 1, in ?
login_person(foobar)
File "/var/launchpad/test/lib/lp/testing/_login.py", line 76, in login_person
return login(naked_email.email, participation)
File "/var/launchpad/test/lib/lp/testing/_login.py", line 50, in login
principal = authutil.getPrincipalByLogin(email, want_password=False)
File "/var/launchpad/test/lib/canonical/launchpad/webapp/authentication.py", line 151, in getPrincipalByLogin
return utility.getPrincipalByLogin(login, want_password=want_password)
File "/var/launchpad/test/lib/canonical/launchpad/webapp/authentication.py", line 258, in getPrincipalByLogin
account = getUtility(IAccountSet).getByEmail(login)
File "/var/launchpad/test/lib/canonical/launchpad/database/account.py", line 299, in getByEmail
account = store.find(Account, *conditions).one()
File "/var/launchpad/test/lib/storm/store.py", line 1093, in one
result = self._store._connection.execute(select)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 257, in execute
return Connection.execute(self, statement, params, noresult)
File "/var/launchpad/test/lib/storm/database.py", line 200, in execute
raw_cursor = self.raw_execute(statement, params)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 267, in raw_execute
return Connection.raw_execute(self, statement, params)
File "/var/launchpad/test/lib/storm/database.py", line 282, in raw_execute
self._check_disconnect(raw_cursor.execute, *args)
File "/var/launchpad/test/lib/storm/database.py", line 325, in _check_disconnect
return function(*args, **kwargs)
File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 106, in execute
return self.real_cursor.execute(*args, **kwargs)
InternalError: current transaction is aborted, commands ignored until end of transaction block
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 79, in emailaddress.txt
Failed example:
emailaddress = emailset.getByEmail('oink@xxxxxxxxxxxxx')
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[20]>", line 1, in ?
emailaddress = emailset.getByEmail('oink@xxxxxxxxxxxxx')
File "/var/launchpad/test/lib/canonical/launchpad/database/emailaddress.py", line 101, in getByEmail
return EmailAddress.selectOne(
File "/var/launchpad/test/lib/storm/sqlobject.py", line 352, in selectOne
return SQLObjectResultSet(cls, *args, **kwargs)._one()
File "/var/launchpad/test/lib/storm/sqlobject.py", line 516, in _one
return detuplelize(self._result_set.one())
File "/var/launchpad/test/lib/storm/store.py", line 1093, in one
result = self._store._connection.execute(select)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 257, in execute
return Connection.execute(self, statement, params, noresult)
File "/var/launchpad/test/lib/storm/database.py", line 200, in execute
raw_cursor = self.raw_execute(statement, params)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 267, in raw_execute
return Connection.raw_execute(self, statement, params)
File "/var/launchpad/test/lib/storm/database.py", line 282, in raw_execute
self._check_disconnect(raw_cursor.execute, *args)
File "/var/launchpad/test/lib/storm/database.py", line 325, in _check_disconnect
return function(*args, **kwargs)
File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 106, in execute
return self.real_cursor.execute(*args, **kwargs)
InternalError: current transaction is aborted, commands ignored until end of transaction block
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 80, in emailaddress.txt
Failed example:
emailaddress.destroySelf()
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[21]>", line 1, in ?
emailaddress.destroySelf()
NameError: name 'emailaddress' is not defined
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 81, in emailaddress.txt
Failed example:
print emailset.getByEmail('oink@xxxxxxxxxxxxx')
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[22]>", line 1, in ?
print emailset.getByEmail('oink@xxxxxxxxxxxxx')
File "/var/launchpad/test/lib/canonical/launchpad/database/emailaddress.py", line 101, in getByEmail
return EmailAddress.selectOne(
File "/var/launchpad/test/lib/storm/sqlobject.py", line 352, in selectOne
return SQLObjectResultSet(cls, *args, **kwargs)._one()
File "/var/launchpad/test/lib/storm/sqlobject.py", line 516, in _one
return detuplelize(self._result_set.one())
File "/var/launchpad/test/lib/storm/store.py", line 1093, in one
result = self._store._connection.execute(select)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 257, in execute
return Connection.execute(self, statement, params, noresult)
File "/var/launchpad/test/lib/storm/database.py", line 200, in execute
raw_cursor = self.raw_execute(statement, params)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 267, in raw_execute
return Connection.raw_execute(self, statement, params)
File "/var/launchpad/test/lib/storm/database.py", line 282, in raw_execute
self._check_disconnect(raw_cursor.execute, *args)
File "/var/launchpad/test/lib/storm/database.py", line 325, in _check_disconnect
return function(*args, **kwargs)
File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 106, in execute
return self.real_cursor.execute(*args, **kwargs)
InternalError: current transaction is aborted, commands ignored until end of transaction block
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 86, in emailaddress.txt
Failed example:
foobar.preferredemail.destroySelf()
Differences (ndiff with -expected +actual):
Traceback (most recent call last):
- ...
- UndeletableEmailAddress: This is a person's preferred email...
+ File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
+ compileflags, 1) in test.globs
+ File "<doctest emailaddress.txt[23]>", line 1, in ?
+ foobar.preferredemail.destroySelf()
+ Unauthorized: (<EmailAddress at 0x12a89810 <foo.bar@xxxxxxxxxxxxx> [Preferred Email Address]>, 'destroySelf', 'launchpad.Edit')
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 93, in emailaddress.txt
Failed example:
mailing_list = new_list_for_team(guadamen)
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[25]>", line 1, in ?
mailing_list = new_list_for_team(guadamen)
File "/var/launchpad/test/lib/lp/registry/tests/mailinglists_helper.py", line 214, in new_list_for_team
team_list.transitionToStatus(MailingListStatus.ACTIVE)
File "/var/launchpad/test/lib/lp/registry/model/mailinglist.py", line 265, in transitionToStatus
email = email_set.getByEmail(self.address)
File "/var/launchpad/test/lib/canonical/launchpad/database/emailaddress.py", line 101, in getByEmail
return EmailAddress.selectOne(
File "/var/launchpad/test/lib/storm/sqlobject.py", line 352, in selectOne
return SQLObjectResultSet(cls, *args, **kwargs)._one()
File "/var/launchpad/test/lib/storm/sqlobject.py", line 516, in _one
return detuplelize(self._result_set.one())
File "/var/launchpad/test/lib/storm/store.py", line 1093, in one
result = self._store._connection.execute(select)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 257, in execute
return Connection.execute(self, statement, params, noresult)
File "/var/launchpad/test/lib/storm/database.py", line 200, in execute
raw_cursor = self.raw_execute(statement, params)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 267, in raw_execute
return Connection.raw_execute(self, statement, params)
File "/var/launchpad/test/lib/storm/database.py", line 282, in raw_execute
self._check_disconnect(raw_cursor.execute, *args)
File "/var/launchpad/test/lib/storm/database.py", line 325, in _check_disconnect
return function(*args, **kwargs)
File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 106, in execute
return self.real_cursor.execute(*args, **kwargs)
InternalError: current transaction is aborted, commands ignored until end of transaction block
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 94, in emailaddress.txt
Failed example:
email = emailset.getByEmail(guadamen.mailing_list.address)
Exception raised:
Traceback (most recent call last):
File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
compileflags, 1) in test.globs
File "<doctest emailaddress.txt[26]>", line 1, in ?
email = emailset.getByEmail(guadamen.mailing_list.address)
File "/var/launchpad/test/lib/canonical/launchpad/database/emailaddress.py", line 101, in getByEmail
return EmailAddress.selectOne(
File "/var/launchpad/test/lib/storm/sqlobject.py", line 352, in selectOne
return SQLObjectResultSet(cls, *args, **kwargs)._one()
File "/var/launchpad/test/lib/storm/sqlobject.py", line 516, in _one
return detuplelize(self._result_set.one())
File "/var/launchpad/test/lib/storm/store.py", line 1093, in one
result = self._store._connection.execute(select)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 257, in execute
return Connection.execute(self, statement, params, noresult)
File "/var/launchpad/test/lib/storm/database.py", line 200, in execute
raw_cursor = self.raw_execute(statement, params)
File "/var/launchpad/test/lib/storm/databases/postgres.py", line 267, in raw_execute
return Connection.raw_execute(self, statement, params)
File "/var/launchpad/test/lib/storm/database.py", line 282, in raw_execute
self._check_disconnect(raw_cursor.execute, *args)
File "/var/launchpad/test/lib/storm/database.py", line 325, in _check_disconnect
return function(*args, **kwargs)
File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 106, in execute
return self.real_cursor.execute(*args, **kwargs)
InternalError: current transaction is aborted, commands ignored until end of transaction block
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/emailaddress.txt", line 95, in emailaddress.txt
Failed example:
email.destroySelf()
Differences (ndiff with -expected +actual):
Traceback (most recent call last):
- ...
- UndeletableEmailAddress: This is the email address of a team's mailing
- list...
+ File "/var/launchpad/test/lib/zope/testing/doctest.py", line 1360, in __run
+ compileflags, 1) in test.globs
+ File "<doctest emailaddress.txt[27]>", line 1, in ?
+ email.destroySelf()
+ NameError: name 'email' is not defined
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_can_push_loom_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_can_push_to_existing_hosted_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_cant_access_private_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_cant_push_to_existing_mirrored_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_cant_push_to_existing_unowned_hosted_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_push_new_branch_creates_branch_in_database(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_push_team_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_push_to_existing_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_push_to_new_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_push_triggers_mirror_request(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_rename_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_rename_product(bzr+ssh)
lp.codehosting.tests.test_acceptance.AcceptanceTests.test_rename_user(bzr+ssh)
lp.codehosting.tests.test_acceptance.SmartserverTests.test_authserver_error_propagation(bzr+ssh)
lp.codehosting.tests.test_acceptance.SmartserverTests.test_can_read_mirrored_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.SmartserverTests.test_can_read_readonly_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.SmartserverTests.test_can_read_unowned_mirrored_branch(bzr+ssh)
lp.codehosting.tests.test_acceptance.SmartserverTests.test_cant_write_to_readonly_branch(bzr+ssh)
Tests with failures:
lib/canonical/launchpad/ftests/../doc/emailaddress.txt
Total: 22721 tests, 1 failures, 0 errors in 200 minutes 46.003 seconds.
Tests failed (exit code 1)
**NOT** submitted to PQM:
Follow ups
References