[ckan-dev] errors in master

Sean Hammond sean.hammond at okfn.org
Mon Mar 26 13:48:02 UTC 2012


On 26/03/2012 14:31, Sean Hammond wrote:
>> I'm seeing 46 errors and 16 failures in master and also quite a bit of
>> noise (validation logging etc)
>>
>> Is anyone dealing with these at the moment or should I look into them?
> 
> Did you ever get to the bottom of this? I'm not getting that many
> failures, I've currently got two tests failing on master (from the
> sqlite tests):
> 
> ======================================================================
> FAIL: ckan.tests.lib.test_cli.TestSearch.test_clear_and_rebuild_index
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/seanh/pyenv/lib/python2.6/site-packages/nose/case.py",
> line 197, in runTest    self.test(*self.arg)
>   File "/home/seanh/pyenv/src/ckan/ckan/tests/lib/test_cli.py", line 89,
> in test_clear_and_rebuild_index    assert self.query.count == pkg_count
> AssertionError
> 
> ======================================================================
> FAIL: ckan.tests.lib.test_cli.TestSearch.test_clear_and_rebuild_only_one
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/seanh/pyenv/lib/python2.6/site-packages/nose/case.py",
> line 197, in runTest    self.test(*self.arg)
>   File "/home/seanh/pyenv/src/ckan/ckan/tests/lib/test_cli.py", line
> 111, in test_clear_and_rebuild_only_one    assert self.query.count ==
> pkg_count
> AssertionError
> 
> ----------------------------------------------------------------------
> Ran 894 tests in 326.831s
> 
> FAILED (SKIP=57, failures=2)

>From the postgresql tests I've got 4 failures on master:

======================================================================
FAIL: ckan.tests.lib.test_cli.TestSearch.test_clear_and_rebuild_only_one
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/seanh/pyenv/lib/python2.6/site-packages/nose/case.py",
line 197, in runTest
    self.test(*self.arg)
  File "/home/seanh/pyenv/src/ckan/ckan/tests/lib/test_cli.py", line
111, in test_clear_and_rebuild_only_one
    assert self.query.count == pkg_count
AssertionError

======================================================================
FAIL: ckan.tests.lib.test_solr_search_index.TestSolrSearch.test_0_indexing
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/seanh/pyenv/lib/python2.6/site-packages/nose/case.py",
line 197, in runTest
    self.test(*self.arg)
  File
"/home/seanh/pyenv/src/ckan/ckan/tests/lib/test_solr_search_index.py",
line 142, in test_0_indexing
    assert len(results) == 6, len(results)
AssertionError: 5

======================================================================
FAIL:
ckan.tests.lib.test_solr_search_index.TestSolrSearchIndex.test_index_clear
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/seanh/pyenv/lib/python2.6/site-packages/nose/case.py",
line 197, in runTest
    self.test(*self.arg)
  File
"/home/seanh/pyenv/src/ckan/ckan/tests/lib/test_solr_search_index.py",
line 95, in test_index_clear
    assert len(response) == 1, len(response)
AssertionError: 0

======================================================================
FAIL:
ckan.tests.lib.test_solr_search_index.TestSolrSearchIndex.test_index_illegal_xml_chars
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/seanh/pyenv/lib/python2.6/site-packages/nose/case.py",
line 197, in runTest
    self.test(*self.arg)
  File
"/home/seanh/pyenv/src/ckan/ckan/tests/lib/test_solr_search_index.py",
line 116, in test_index_illegal_xml_chars
    assert len(response) == 1, len(response)
AssertionError: 0

----------------------------------------------------------------------
Ran 1156 tests in 660.286s

FAILED (SKIP=21, failures=4)




More information about the ckan-dev mailing list