Skip to content

Instantly share code, notes, and snippets.

@lbjay
Created January 19, 2012 22:00
Show Gist options
  • Save lbjay/1643145 to your computer and use it in GitHub Desktop.
Save lbjay/1643145 to your computer and use it in GitHub Desktop.
junit-sequential:
[junit] WARNING: multiple versions of ant detected in path for junit
[junit] jar:file:/usr/share/java/ant.jar!/org/apache/tools/ant/Project.class
[junit] and jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
[junit] Testsuite: invenio.montysolr.TestMontySolrBasicOperations
[junit] Warning: we add the default folder to sys.path:
[junit] /home/jluker/workspace/montysolr/build/dist
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.6 sec
[junit]
[junit] ERROR:root:Unknown target; message_id=*:unknown_call
[junit] Known targets: ['InvenioQuery:perform_request_search_bitset', '*:diagnostic_test', 'InvenioFormatter:sort_and_format', '*:receive_field_value', 'InvenioKeepRecidUpdated:get_recids_changes', '*:receive_text_array', 'InvenioFormatter:format_search_results', 'InvenioQuery:perform_request_search_ints', '*:receive_text', 'Invenio:diagnostic_test', '*:handleRequestBody', 'CitationQuery:get_citation_dict']
[junit] ERROR:root:Unknown target; message_id=*:unknown_call
[junit] Known targets: ['InvenioQuery:perform_request_search_bitset', '*:diagnostic_test', 'InvenioFormatter:sort_and_format', '*:receive_field_value', 'InvenioKeepRecidUpdated:get_recids_changes', '*:receive_text_array', 'InvenioFormatter:format_search_results', 'InvenioQuery:perform_request_search_ints', '*:receive_text', 'Invenio:diagnostic_test', '*:handleRequestBody', 'CitationQuery:get_citation_dict']
@lbjay
Copy link
Author

lbjay commented Jan 19, 2012

junit-sequential:
[junit] WARNING: multiple versions of ant detected in path for junit
[junit] jar:file:/usr/share/java/ant.jar!/org/apache/tools/ant/Project.class
[junit] and jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
[junit] Testsuite: invenio.montysolr.TestMontySolrBasicOperations
[junit] Warning: we add the default folder to sys.path:
[junit] /home/jluker/workspace/montysolr/build/dist
[junit] Error when loading: monty_invenio.targets
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 1.444 sec
[junit]
[junit] Testcase: invenio.montysolr.TestMontySolrBasicOperations: Caused an ERROR
junit
[junit] Traceback (most recent call last):
[junit] File "/home/jluker/workspace/montysolr/src/python/montysolr/tests/basic/bridge.py", line 22, in eval_command
[junit] exec(message, globals(), locals())
[junit] File "", line 1, in
[junit] File "/home/jluker/workspace/montysolr/src/python/montysolr/handler.py", line 90, in discover_targets
[junit] raise e
[junit] _mysql_exceptions.OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")
[junit]
[junit] org.apache.jcc.PythonException: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")
[junit] Traceback (most recent call last):
[junit] File "/home/jluker/workspace/montysolr/src/python/montysolr/tests/basic/bridge.py", line 22, in eval_command
[junit] exec(message, globals(), locals())
[junit] File "", line 1, in
[junit] File "/home/jluker/workspace/montysolr/src/python/montysolr/handler.py", line 90, in discover_targets
[junit] raise e
[junit] _mysql_exceptions.OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")
[junit]
[junit] at invenio.montysolr.jni.MontySolrBridge.eval_command(Native Method)
[junit] at invenio.montysolr.jni.MontySolrBridge.evalCommand(MontySolrBridge.java:73)
[junit] at invenio.montysolr.jni.MontySolrVM.evalCommand(MontySolrVM.java:211)
[junit] at invenio.montysolr.util.MontySolrSetup.addTargetsToHandler(MontySolrSetup.java:158)
[junit] at invenio.montysolr.TestMontySolrBasicOperations.beforeClassMontySolrTestCase(TestMontySolrBasicOperations.java:24)
[junit]
[junit]
[junit] Test invenio.montysolr.TestMontySolrBasicOperations FAILED

BUILD FAILED
/home/jluker/workspace/montysolr/common-build.xml:532: The following error occurred while executing this line:
/home/jluker/workspace/montysolr/common-build.xml:521: Tests failed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment