← Back to team overview

launchpad-dev team mailing list archive

Fwd: Test results: debversion-denormalise => db-devel: FAILURE

 

Stu

Any ideas why this test is failing in ec2?  It passes locally no problem.

----------  Forwarded Message  ----------

Subject: Test results: debversion-denormalise => db-devel: FAILURE
Date: Thursday 03 February 2011, 18:40:26
From: Julian Edwards <julian.edwards@xxxxxxxxxxxxx>
To: julian.edwards@xxxxxxxxxxxxx

Tests started at approximately 2011-02-03 14:35:37.837470
Source: bzr+ssh://bazaar.launchpad.net/~julian-edwards/launchpad/debversion-
denormalise r10167
Target: bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad/db-devel/ 
r10171

12984 tests run in 4:04:28.375771, 1 failures, 0 errors

Failing tests
-------------
  canonical.launchpad.tests.test_sampledata.SampleDataTestCase.test_devSampledata

======================================================================
FAILURE: 
canonical.launchpad.tests.test_sampledata.SampleDataTestCase.test_devSampledata 
(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.8-
py2.6.egg/testtools/runtest.py", line 169, in _run_user
    return fn(*args, **kwargs)
  File "/var/launchpad/tmp/eggs/testtools-0.9.8-
py2.6.egg/testtools/testcase.py", line 499, in _run_test_method
    return self._get_test_method()()
  File "/var/launchpad/test/lib/canonical/launchpad/tests/test_sampledata.py", 
line 39, in test_devSampledata
    self.dump_and_restore('launchpad_dev_template')
  File "/var/launchpad/test/lib/canonical/launchpad/tests/test_sampledata.py", 
line 52, in dump_and_restore
    self.failUnlessEqual(rv, 0, "Dump/Restore failed: %s" % stdout)
  File "/var/launchpad/tmp/eggs/testtools-0.9.8-
py2.6.egg/testtools/testcase.py", line 268, in assertEqual
    self.assertThat(observed, matcher)
  File "/var/launchpad/tmp/eggs/testtools-0.9.8-
py2.6.egg/testtools/testcase.py", line 345, in assertThat
    % (matchee, matcher, mismatch.describe()))
AssertionError: Match failed. Matchee: "0"
Matcher: Annotate('Dump/Restore failed: pg_dump: [archiver (db)] connection to 
database "launchpad_dev_template" failed: FATAL:  database 
"launchpad_dev_template" does not exist\npg_restore: [archiver] input file is 
too short (read 0, expected 5)\n', Equals(1))
Difference: 1 != 0: Dump/Restore failed: pg_dump: [archiver (db)] connection 
to database "launchpad_dev_template" failed: FATAL:  database 
"launchpad_dev_template" does not exist
pg_restore: [archiver] input file is too short (read 0, expected 5)





Follow ups