← Back to team overview

launchpad-dev team mailing list archive

Re: help with yuixhr_fixture tests in my useoops branch

 

I'm not here--I'm typing this on my phone--but my guess is that your branch messes with the publication machinery in such a way as to break the yuixhr stuff. The "unknown error" suggests something lowlevel like that. My first guess would be that something is not set up that needs to be set up in the associated runlaunchpad variant for yuixhr. 

I'd be happy to help look at this when I return.  That could conceivably be tomorrow but is more likely to be Monday.  I'd look at the logs when I ran the tests interactively as my first step. Maybe that would let you tackle it?

Gary

On Oct 27, 2011, at 1:01 AM, Robert Collins <robertc@xxxxxxxxxxxxxxxxx> wrote:

> I need a hand with
> https://code.launchpad.net/~lifeless/launchpad/useoops - I have a
> failing test that has -no- apparent relation to what I'm doing.
> 
> The branch changes a raft of tests to use a better API (death to
> getLastOops) and as part of that uses amqp to send oopses (when
> configured).
> 
> I have some tweaks to do from review but no actual bugs identified.
> 
> The test output is:
> 
> ======================================================================
> FAILURE: lp/testing/tests/test_yuixhr_fixture (subunit.RemotedTestCase)
> ----------------------------------------------------------------------
> _StringException: Text attachment: traceback
> ------------
> Traceback (most recent call last):
> _StringException: Traceback (most recent call last):
> File "/var/launchpad/test/lib/lp/testing/__init__.py", line 905, in
> checkResults
>   self.assertEqual([], failures, '\n'.join(failures))
> AssertionError: !=:
> reference = []
> actual = ['Failure in lp/testing/tests/test_yuixhr_fixture.Fixture
> setup and teardown tests.test_simple_setup: Unexpected error: Unknown
> error',
> 'Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
> teardown tests.test_teardown_receives_data_from_setup: Unexpected
> error: Unknown error',
> 'Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
> teardown tests.test_login_works: Unexpected error: Unknown error',
> 'Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
> teardown tests.test_multiple_setup_calls: Unexpected error: Unknown
> error',
> 'Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
> teardown tests.test_setup_called_twice_with_same_fixture: Unexpected
> error: Unknown error',
> 'Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
> teardown tests.test_setup_with_multiple_fixtures: Unexpected error:
> Unknown error']
> : Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
> teardown tests.test_simple_setup: Unexpected error: Unknown error
> Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
> teardown tests.test_teardown_receives_data_from_setup: Unexpected
> error: Unknown error
> Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
> teardown tests.test_login_works: Unexpected error: Unknown error
> Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
> teardown tests.test_multiple_setup_calls: Unexpected error: Unknown
> error
> Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
> teardown tests.test_setup_called_twice_with_same_fixture: Unexpected
> error: Unknown error
> Failure in lp/testing/tests/test_yuixhr_fixture.Fixture setup and
> teardown tests.test_setup_with_multiple_fixtures: Unexpected error:
> Unknown error
> 
> ------------
> 
> -Rob
> 
> _______________________________________________
> 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