I've got these failures from ec2 but can't reproduce them locally nor on ec2. Has anyone seen them before?
-------- Forwarded Message -------- From: Guilherme Salgado <[email protected]> To: Guilherme Salgado <[email protected]> Subject: Test results: FAILURE Date: Thu, 12 Aug 2010 23:03:52 +0100 (BST) Tests started at approximately Thu, 12 Aug 2010 18:24:44 UTC bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel/, revision 11325 Merged with bzr+ssh://bazaar.launchpad.net/~salgado/launchpad/request-to-base-template-adapter, revision 11165 (commit message: merge devel) DEPENDENCY BRANCHES USED - testresources bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/testresources/dev/ 16 - bzr-svn bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/bzr-svn/devel/ 2709 - pygettextpo bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/pygettextpo/trunk/ 24 - bzr-loom bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/bzr-loom/trunk/ 47 - loggerhead bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/loggerhead/devel/ 176 - mailman bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/mailman/2.1/ 976 - old_xmlplus bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/dtdparser/trunk/ 4 - cscvs bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad-cscvs/devel/ 432 - subvertpy bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/subvertpy/trunk/ 2042 - bzr-git bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/bzr-git/devel/ 257 - bzr-hg bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/bzr-hg/devel/ 281 - lpreview bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/bzr-lpreview/devel/ 23 - pygpgme bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/pygpgme/devel/ 49 - dulwich bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/dulwich/devel/ 423 - shipit bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/shipit/trunk/ 8909 - python-debian bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/python-debian/devel/ 185 - bzr-builder bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/bzr-builder/trunk/ 65 TEST RESULTS FOLLOW xvfb-run --error-file=/var/tmp/xvfb-errors.log --server-args='-screen 0 1024x768x24' /var/launchpad/test/bin/test -vv --subunit -vvv ====================================================================== ERROR: lp.code.model.tests.test_sourcepackagerecipebuild.TestHandleStatusForSPRBuild.test_date_finished_set (subunit.RemotedTestCase) ---------------------------------------------------------------------- _StringException: Text attachment: traceback ------------ Traceback (most recent call last): _StringException: Text attachment: traceback ------------ Traceback (most recent call last): File "/var/launchpad/tmp/eggs/testtools-0.9.6dev91-py2.6.egg/testtools/runtest.py", line 144, in _run_user return fn(*args) File "/var/launchpad/tmp/eggs/testtools-0.9.6dev91-py2.6.egg/testtools/testcase.py", line 442, in _run_test_method testMethod() File "/var/launchpad/test/lib/lp/buildmaster/tests/test_buildbase.py", line 222, in test_date_finished_set 'filemap': {'myfile.py': 'test_file_hash'}, File "/var/launchpad/test/lib/lp/buildmaster/model/packagebuild.py", line 193, in handleStatus return handle_status_for_build(self, status, librarian, slave_status) File "/var/launchpad/test/lib/lp/buildmaster/model/buildbase.py", line 63, in handle_status_for_build method(build, librarian, slave_status, logger) File "/var/launchpad/test/lib/lp/buildmaster/model/buildbase.py", line 298, in _handleStatus_OK if (build.status != BuildStatus.FULLYBUILT or File "/var/launchpad/tmp/eggs/lazr.delegates-1.1.0-py2.6.egg/lazr/delegates/_delegates.py", line 120, in __get__ return getattr(getattr(inst, self.contextvar), self.name) File "/var/launchpad/tmp/eggs/lazr.delegates-1.1.0-py2.6.egg/lazr/delegates/_delegates.py", line 120, in __get__ return getattr(getattr(inst, self.contextvar), self.name) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/properties.py", line 60, in __get__ return obj_info.variables[column].get() File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/store.py", line 887, in _resolve_lazy_value self.flush() File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/store.py", line 489, in flush self._flush_one(obj_info) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/store.py", line 549, in _flush_one self._connection.execute(expr, noresult=True) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/databases/postgres.py", line 249, in execute return Connection.execute(self, statement, params, noresult) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/database.py", line 237, in execute raw_cursor = self.raw_execute(statement, params) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/databases/postgres.py", line 259, in raw_execute return Connection.raw_execute(self, statement, params) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/database.py", line 321, in raw_execute self._check_disconnect(raw_cursor.execute, *args) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/database.py", line 366, in _check_disconnect return function(*args, **kwargs) File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 108, in execute return self.real_cursor.execute(*args, **kwargs) IntegrityError: new row for relation "buildfarmjob" violates check constraint "started_if_finished" ------------ ------------ ====================================================================== ERROR: lp.code.model.tests.test_sourcepackagerecipebuild.TestHandleStatusForSPRBuild.test_handleStatus_OK_absolute_filepath (subunit.RemotedTestCase) ---------------------------------------------------------------------- _StringException: Text attachment: traceback ------------ Traceback (most recent call last): _StringException: Text attachment: traceback ------------ Traceback (most recent call last): File "/var/launchpad/tmp/eggs/testtools-0.9.6dev91-py2.6.egg/testtools/runtest.py", line 144, in _run_user return fn(*args) File "/var/launchpad/tmp/eggs/testtools-0.9.6dev91-py2.6.egg/testtools/testcase.py", line 442, in _run_test_method testMethod() File "/var/launchpad/test/lib/lp/buildmaster/tests/test_buildbase.py", line 194, in test_handleStatus_OK_absolute_filepath 'filemap': {'/tmp/myfile.py': 'test_file_hash'}, File "/var/launchpad/test/lib/lp/buildmaster/model/packagebuild.py", line 193, in handleStatus return handle_status_for_build(self, status, librarian, slave_status) File "/var/launchpad/test/lib/lp/buildmaster/model/buildbase.py", line 63, in handle_status_for_build method(build, librarian, slave_status, logger) File "/var/launchpad/test/lib/lp/buildmaster/model/buildbase.py", line 298, in _handleStatus_OK if (build.status != BuildStatus.FULLYBUILT or File "/var/launchpad/tmp/eggs/lazr.delegates-1.1.0-py2.6.egg/lazr/delegates/_delegates.py", line 120, in __get__ return getattr(getattr(inst, self.contextvar), self.name) File "/var/launchpad/tmp/eggs/lazr.delegates-1.1.0-py2.6.egg/lazr/delegates/_delegates.py", line 120, in __get__ return getattr(getattr(inst, self.contextvar), self.name) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/properties.py", line 60, in __get__ return obj_info.variables[column].get() File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/store.py", line 887, in _resolve_lazy_value self.flush() File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/store.py", line 489, in flush self._flush_one(obj_info) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/store.py", line 549, in _flush_one self._connection.execute(expr, noresult=True) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/databases/postgres.py", line 249, in execute return Connection.execute(self, statement, params, noresult) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/database.py", line 237, in execute raw_cursor = self.raw_execute(statement, params) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/databases/postgres.py", line 259, in raw_execute return Connection.raw_execute(self, statement, params) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/database.py", line 321, in raw_execute self._check_disconnect(raw_cursor.execute, *args) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/database.py", line 366, in _check_disconnect return function(*args, **kwargs) File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 108, in execute return self.real_cursor.execute(*args, **kwargs) IntegrityError: new row for relation "buildfarmjob" violates check constraint "started_if_finished" ------------ ------------ ====================================================================== ERROR: lp.code.model.tests.test_sourcepackagerecipebuild.TestHandleStatusForSPRBuild.test_handleStatus_OK_normal_file (subunit.RemotedTestCase) ---------------------------------------------------------------------- _StringException: Text attachment: traceback ------------ Traceback (most recent call last): _StringException: Text attachment: traceback ------------ Traceback (most recent call last): File "/var/launchpad/tmp/eggs/testtools-0.9.6dev91-py2.6.egg/testtools/runtest.py", line 144, in _run_user return fn(*args) File "/var/launchpad/tmp/eggs/testtools-0.9.6dev91-py2.6.egg/testtools/testcase.py", line 442, in _run_test_method testMethod() File "/var/launchpad/test/lib/lp/buildmaster/tests/test_buildbase.py", line 184, in test_handleStatus_OK_normal_file 'filemap': {'myfile.py': 'test_file_hash'}, File "/var/launchpad/test/lib/lp/buildmaster/model/packagebuild.py", line 193, in handleStatus return handle_status_for_build(self, status, librarian, slave_status) File "/var/launchpad/test/lib/lp/buildmaster/model/buildbase.py", line 63, in handle_status_for_build method(build, librarian, slave_status, logger) File "/var/launchpad/test/lib/lp/buildmaster/model/buildbase.py", line 298, in _handleStatus_OK if (build.status != BuildStatus.FULLYBUILT or File "/var/launchpad/tmp/eggs/lazr.delegates-1.1.0-py2.6.egg/lazr/delegates/_delegates.py", line 120, in __get__ return getattr(getattr(inst, self.contextvar), self.name) File "/var/launchpad/tmp/eggs/lazr.delegates-1.1.0-py2.6.egg/lazr/delegates/_delegates.py", line 120, in __get__ return getattr(getattr(inst, self.contextvar), self.name) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/properties.py", line 60, in __get__ return obj_info.variables[column].get() File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/store.py", line 887, in _resolve_lazy_value self.flush() File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/store.py", line 489, in flush self._flush_one(obj_info) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/store.py", line 549, in _flush_one self._connection.execute(expr, noresult=True) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/databases/postgres.py", line 249, in execute return Connection.execute(self, statement, params, noresult) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/database.py", line 237, in execute raw_cursor = self.raw_execute(statement, params) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/databases/postgres.py", line 259, in raw_execute return Connection.raw_execute(self, statement, params) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/database.py", line 321, in raw_execute self._check_disconnect(raw_cursor.execute, *args) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/database.py", line 366, in _check_disconnect return function(*args, **kwargs) File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 108, in execute return self.real_cursor.execute(*args, **kwargs) IntegrityError: new row for relation "buildfarmjob" violates check constraint "started_if_finished" ------------ ------------ ====================================================================== ERROR: lp.code.model.tests.test_sourcepackagerecipebuild.TestHandleStatusForSPRBuild.test_handleStatus_OK_relative_filepath (subunit.RemotedTestCase) ---------------------------------------------------------------------- _StringException: Text attachment: traceback ------------ Traceback (most recent call last): _StringException: Text attachment: traceback ------------ Traceback (most recent call last): File "/var/launchpad/tmp/eggs/testtools-0.9.6dev91-py2.6.egg/testtools/runtest.py", line 144, in _run_user return fn(*args) File "/var/launchpad/tmp/eggs/testtools-0.9.6dev91-py2.6.egg/testtools/testcase.py", line 442, in _run_test_method testMethod() File "/var/launchpad/test/lib/lp/buildmaster/tests/test_buildbase.py", line 203, in test_handleStatus_OK_relative_filepath 'filemap': {'../myfile.py': 'test_file_hash'}, File "/var/launchpad/test/lib/lp/buildmaster/model/packagebuild.py", line 193, in handleStatus return handle_status_for_build(self, status, librarian, slave_status) File "/var/launchpad/test/lib/lp/buildmaster/model/buildbase.py", line 63, in handle_status_for_build method(build, librarian, slave_status, logger) File "/var/launchpad/test/lib/lp/buildmaster/model/buildbase.py", line 298, in _handleStatus_OK if (build.status != BuildStatus.FULLYBUILT or File "/var/launchpad/tmp/eggs/lazr.delegates-1.1.0-py2.6.egg/lazr/delegates/_delegates.py", line 120, in __get__ return getattr(getattr(inst, self.contextvar), self.name) File "/var/launchpad/tmp/eggs/lazr.delegates-1.1.0-py2.6.egg/lazr/delegates/_delegates.py", line 120, in __get__ return getattr(getattr(inst, self.contextvar), self.name) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/properties.py", line 60, in __get__ return obj_info.variables[column].get() File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/store.py", line 887, in _resolve_lazy_value self.flush() File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/store.py", line 489, in flush self._flush_one(obj_info) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/store.py", line 549, in _flush_one self._connection.execute(expr, noresult=True) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/databases/postgres.py", line 249, in execute return Connection.execute(self, statement, params, noresult) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/database.py", line 237, in execute raw_cursor = self.raw_execute(statement, params) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/databases/postgres.py", line 259, in raw_execute return Connection.raw_execute(self, statement, params) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/database.py", line 321, in raw_execute self._check_disconnect(raw_cursor.execute, *args) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/database.py", line 366, in _check_disconnect return function(*args, **kwargs) File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 108, in execute return self.real_cursor.execute(*args, **kwargs) IntegrityError: new row for relation "buildfarmjob" violates check constraint "started_if_finished" ------------ ------------ ====================================================================== ERROR: lp.code.model.tests.test_sourcepackagerecipebuild.TestHandleStatusForSPRBuild.test_handleStatus_OK_sets_build_log (subunit.RemotedTestCase) ---------------------------------------------------------------------- _StringException: Text attachment: traceback ------------ Traceback (most recent call last): _StringException: Text attachment: traceback ------------ Traceback (most recent call last): File "/var/launchpad/tmp/eggs/testtools-0.9.6dev91-py2.6.egg/testtools/runtest.py", line 144, in _run_user return fn(*args) File "/var/launchpad/tmp/eggs/testtools-0.9.6dev91-py2.6.egg/testtools/testcase.py", line 442, in _run_test_method testMethod() File "/var/launchpad/test/lib/lp/buildmaster/tests/test_buildbase.py", line 213, in test_handleStatus_OK_sets_build_log 'filemap': {'myfile.py': 'test_file_hash'}, File "/var/launchpad/test/lib/lp/buildmaster/model/packagebuild.py", line 193, in handleStatus return handle_status_for_build(self, status, librarian, slave_status) File "/var/launchpad/test/lib/lp/buildmaster/model/buildbase.py", line 63, in handle_status_for_build method(build, librarian, slave_status, logger) File "/var/launchpad/test/lib/lp/buildmaster/model/buildbase.py", line 298, in _handleStatus_OK if (build.status != BuildStatus.FULLYBUILT or File "/var/launchpad/tmp/eggs/lazr.delegates-1.1.0-py2.6.egg/lazr/delegates/_delegates.py", line 120, in __get__ return getattr(getattr(inst, self.contextvar), self.name) File "/var/launchpad/tmp/eggs/lazr.delegates-1.1.0-py2.6.egg/lazr/delegates/_delegates.py", line 120, in __get__ return getattr(getattr(inst, self.contextvar), self.name) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/properties.py", line 60, in __get__ return obj_info.variables[column].get() File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/store.py", line 887, in _resolve_lazy_value self.flush() File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/store.py", line 489, in flush self._flush_one(obj_info) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/store.py", line 549, in _flush_one self._connection.execute(expr, noresult=True) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/databases/postgres.py", line 249, in execute return Connection.execute(self, statement, params, noresult) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/database.py", line 237, in execute raw_cursor = self.raw_execute(statement, params) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/databases/postgres.py", line 259, in raw_execute return Connection.raw_execute(self, statement, params) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/database.py", line 321, in raw_execute self._check_disconnect(raw_cursor.execute, *args) File "/var/launchpad/tmp/eggs/storm-0.17-py2.6-linux-x86_64.egg/storm/database.py", line 366, in _check_disconnect return function(*args, **kwargs) File "/var/launchpad/test/lib/canonical/ftests/pgsql.py", line 108, in execute return self.real_cursor.execute(*args, **kwargs) IntegrityError: new row for relation "buildfarmjob" violates check constraint "started_if_finished" ------------ ------------ ====================================================================== FAILURE: lp.code.mail.tests.test_sourcepackagerecipebuild.TestSourcePackageRecipeBuildMailer.test_generateEmail (subunit.RemotedTestCase) ---------------------------------------------------------------------- _StringException: Text attachment: traceback ------------ Traceback (most recent call last): _StringException: Text attachment: traceback ------------ Traceback (most recent call last): File "/var/launchpad/tmp/eggs/testtools-0.9.6dev91-py2.6.egg/testtools/runtest.py", line 144, in _run_user return fn(*args) File "/var/launchpad/tmp/eggs/testtools-0.9.6dev91-py2.6.egg/testtools/testcase.py", line 442, in _run_test_method testMethod() File "/var/launchpad/test/lib/lp/code/mail/tests/test_sourcepackagerecipebuild.py", line 65, in test_generateEmail 'Successfully built' % (build.id), ctrl.subject) File "/var/launchpad/test/lib/lp/testing/__init__.py", line 375, in assertEqual % (message, pformat(a), pformat(b))) AssertionError: not equal: a = u'[recipe build #1] of ~person recipe in distroseries: Successfully built' b = u'[recipe build #1] of ~person recipe in distroseries: Needs building' ------------ ------------ ====================================================================== FAILURE: lp.code.mail.tests.test_sourcepackagerecipebuild.TestSourcePackageRecipeBuildMailer.test_generateEmail_with_null_fields (subunit.RemotedTestCase) ---------------------------------------------------------------------- _StringException: Text attachment: traceback ------------ Traceback (most recent call last): _StringException: Text attachment: traceback ------------ Traceback (most recent call last): File "/var/launchpad/tmp/eggs/testtools-0.9.6dev91-py2.6.egg/testtools/runtest.py", line 144, in _run_user return fn(*args) File "/var/launchpad/tmp/eggs/testtools-0.9.6dev91-py2.6.egg/testtools/testcase.py", line 442, in _run_test_method testMethod() File "/var/launchpad/test/lib/lp/code/mail/tests/test_sourcepackagerecipebuild.py", line 99, in test_generateEmail_with_null_fields 'Build for superseded Source' % (build.id), ctrl.subject) File "/var/launchpad/test/lib/lp/testing/__init__.py", line 375, in assertEqual % (message, pformat(a), pformat(b))) AssertionError: not equal: a = u'[recipe build #1] of ~person recipe in distroseries: Build for superseded Source' b = u'[recipe build #1] of ~person recipe in distroseries: Needs building' ------------ -- 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

