[TIP] Fwd: Bizarre results running Hudson job + CI

C. Titus Brown ctb at msu.edu
Mon Mar 22 09:03:51 PDT 2010


On Mon, Mar 22, 2010 at 11:41:08AM -0400, Jesse Noller wrote:
> > Well, it finally worked , but the fact is that it is reporting
> > inconsistent results AFAICS . For instance build 22 [2]_ displays 4
> > failures + 19 errors . I ran the tests locally on a my PC and got
> >
> > {{{
> > test_general_provider_error (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
> > test_invalid_content_type (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
> > test_valid_provider (tracrpc.tests.api.ProtocolProviderTestCase) ... ok
> > test_content_encoding (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
> > test_method_not_found (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
> > test_resource_not_found (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
> > test_to_and_from_datetime (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
> > test_wrong_argspec (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
> > test_xmlrpc_permission (tracrpc.tests.xml_rpc.RpcXmlTestCase) ... ok
> > test_binary (tracrpc.tests.json_rpc.JsonTestCase) ... ok
> > test_call (tracrpc.tests.json_rpc.JsonTestCase) ... ok
> > test_call_permission (tracrpc.tests.json_rpc.JsonTestCase) ... FAIL
> > test_datetime (tracrpc.tests.json_rpc.JsonTestCase) ... ok
> > test_method_not_found (tracrpc.tests.json_rpc.JsonTestCase) ... FAIL
> > test_multicall (tracrpc.tests.json_rpc.JsonTestCase) ... ERROR
> > test_resource_not_found (tracrpc.tests.json_rpc.JsonTestCase) ... FAIL
> > test_wrong_argspec (tracrpc.tests.json_rpc.JsonTestCase) ... FAIL
> > test_xmlrpc_permission (tracrpc.tests.json_rpc.JsonTestCase) ... FAIL
> > test_FineGrainedSecurity (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
> > test_getActions (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
> > test_getAvailableActions_DeleteTicket
> > (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
> > test_getRecentChanges (tracrpc.tests.ticket.RpcTicketTestCase) ... ok
> > test_attachments (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
> > test_getRecentChanges (tracrpc.tests.wiki.RpcWikiTestCase) ... ok
> >
> > [...]
> >
> > ----------------------------------------------------------------------
> > Ran 24 tests in 45.674s
> >
> > FAILED (failures=5, errors=1)
> > }}}
> >
> > My concern is because (AFAIK) the job relies on Py 2.6, nonetheless I
> > get messages like this [3]_
> >
> > {{{
> > 'Internal Server Error\n\nTracError: ImportError: No module named
> > _multiprocessing'
> > }}}
> >
> > :-$
> >
> > Could anybody please tell me ( what's happening | how to fix this ) ?
> > I believed that multiprocessing was available in Py2.6 [4]_ and
> > previous builds didn't say anything about this and the plugin doesn't
> > use it (explicitly) at all ...
> 
> 
> The version of python they have installed does not have
> multiprocessing compiled into it. Without knowing the underlying
> platform, and seeing the output from make when running the compile,
> it's impossible to tell why.

Jesse's leaping to conclusions but they're justified -- Olemis, you need
to check to see what the tests respond with when you run them on that
machine by hand.  Right now you can't tell if it's a Hudson problem (probably
path-related) or a Python installation problem.

cheers,
--titus
-- 
C. Titus Brown, ctb at msu.edu



More information about the testing-in-python mailing list