I'm using the invenio test installation also. On 09/30/2011 07:18 AM, Roman Chyla wrote: > So the reason why I observed different failures is different: > http://invenio-software.org/ticket/827 > > With PyStemmer actiavted, I get two errors in websearch_regression_tests:
Oh, that's really interesting. I'll try adjusting that soon and see what it does to my results. Joe > > ====================================================================== > FAIL: test_special_terms_u1_and_sl_or_parens > (__main__.WebSearchSpecialTermsQueryTest) > websearch - query for special terms, (U(1) OR SL(2,Z)) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "websearch_regression_tests.py", line 1457, in > test_special_terms_u1_and_sl_or_parens > expected_text="[57, 79, 80, 88]")) > AssertionError: Lists differ: [] != ['ERROR: Page http://pcgssi090... > > Second list contains 1 additional elements. > First extra element 0: > ERROR: Page > http://pcgssi0906.cern.ch/search?of=id&p=%28U%281%29+OR+SL%282%2CZ%29%29 > (login guest) led to an error: ERROR: Page > http://pcgssi0906.cern.ch/search?of=id&p=%28U%281%29+OR+SL%282%2CZ%29%29 > (login guest) does not contain [57, 79, 80, 88], but contains []. > > - [] > + ['ERROR: Page > http://pcgssi0906.cern.ch/search?of=id&p=%28U%281%29+OR+SL%282%2CZ%29%29 > (login guest) led to an error: ERROR: Page > http://pcgssi0906.cern.ch/search?of=id&p=%28U%281%29+OR+SL%282%2CZ%29%29 > (login guest) does not contain [57, 79, 80, 88], but contains [].'] > > ====================================================================== > FAIL: test_journal_beta_decay_title (__main__.WebSearchSynonymQueryTest) > websearch - index-time synonym search, beta decay in title > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "websearch_regression_tests.py", line 1845, in > test_journal_beta_decay_title > expected_text="[59]")) > AssertionError: Lists differ: [] != ['ERROR: Page http://pcgssi090... > > Second list contains 1 additional elements. > First extra element 0: > ERROR: Page http://pcgssi0906.cern.ch/search?p=beta+decay&f=title&of=id > (login guest) led to an error: ERROR: Page > http://pcgssi0906.cern.ch/search?p=beta+decay&f=title&of=id (login > guest) does not contain [59], but contains []. > > - [] > + ['ERROR: Page > http://pcgssi0906.cern.ch/search?p=beta+decay&f=title&of=id (login > guest) led to an error: ERROR: Page > http://pcgssi0906.cern.ch/search?p=beta+decay&f=title&of=id (login > guest) does not contain [59], but contains [].'] > > ---------------------------------------------------------------------- > Ran 161 tests in 22.341s > > FAILED (failures=2) > > > On Fri, Sep 30, 2011 at 9:22 AM, Roman Chyla <[email protected]> wrote: >> I'll check the mechanize, i see that you got 13 failures, I got 14. >> btw - mine is invenio installation, is yours inspire? >> >> roman >> >> On Thu, Sep 29, 2011 at 10:44 PM, Joe Blaylock <[email protected]> >> wrote: >>> On 09/29/2011 09:48 AM, Roman Chyla wrote: >>>> Hi all, >>>> >>>> I am currently seeing some failures on websearch_regression_tests.py >>>> (please see the attachment). Just wanted to sync with Joe before >>>> starting to do anything. >>> >>> Thanks, >>> >>> The failures (checked out from master) that I have in the >>> websearch_regression_tests.py are inlined below. The only ones that >>> worry me are the search-time synonym ones, which I haven't examined or >>> debugged yet; it could just be a misconfiguration on my part. I notice >>> this list is quite different from yours Roman. Are you certain that >>> your mechanize installation is working correctly? >>> >>> Joe >>> >>> ====================================================================== >>> FAIL: websearch - isbn query via OpenURL 0.1 >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "websearch_regression_tests.py", line 466, in test_isbn_01 >>> self.failUnlessEqual(current_q, { >>> AssertionError: {'sc': ['0'], 'p': ['isbn:"0387940758"'], 'of': ['hd']} >>> != {'sc': ['1'], 'p': ['isbn:"0387940758"'], 'of': ['hd']} >>> >>> ====================================================================== >>> FAIL: websearch - isbn query via OpenURL 1.0 >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "websearch_regression_tests.py", line 498, in test_isbn_10 >>> self.failUnlessEqual(current_q, { >>> AssertionError: {'sc': ['0'], 'p': ['isbn:"0387940758"'], 'of': ['hd']} >>> != {'sc': ['1'], 'p': ['isbn:"0387940758"'], 'of': ['hd']} >>> >>> ====================================================================== >>> FAIL: websearch - isbn query via OpenURL 1.0 - rft_id >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "websearch_regression_tests.py", line 482, in test_isbn_10_rft_id >>> self.failUnlessEqual(current_q, { >>> AssertionError: {'sc': ['0'], 'p': ['isbn:"0387940758"'], 'of': ['hd']} >>> != {'sc': ['1'], 'p': ['isbn:"0387940758"'], 'of': ['hd']} >>> >>> ====================================================================== >>> FAIL: websearch - check the links toward records in leaf collections >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "websearch_regression_tests.py", line 404, in test_records_links >>> self.failUnlessEqual(len(found), 10) >>> AssertionError: 0 != 10 >>> >>> ====================================================================== >>> FAIL: websearch - traverse all the publications of a collection >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "websearch_regression_tests.py", line 327, in test_traversal_links >>> self.fail('no link %r in %r' % (url, browser.geturl())) >>> AssertionError: no link >>> 'http://liblin10.slac.stanford.edu/search?cc=Preprints&ln=en&jrec=11' in >>> 'http://liblin10.slac.stanford.edu/collection/Preprints?as=0' >>> >>> ====================================================================== >>> FAIL: websearch - query for special terms, (U(1) OR SL(2,Z)) >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "websearch_regression_tests.py", line 1465, in >>> test_special_terms_u1_and_sl_or_parens >>> expected_text="[57, 79, 80, 88]")) >>> AssertionError: [] != ['ERROR: Page >>> http://liblin10.slac.stanford.edu/search?of=id&p=%28U%281%29+OR+SL%282%2CZ%29%29 >>> (login guest) led to an error: ERROR: Page >>> http://liblin10.slac.stanford.edu/search?of=id&p=%28U%281%29+OR+SL%282%2CZ%29%29 >>> (login guest) does not contain [57, 79, 80, 88], but contains [].'] >>> >>> ====================================================================== >>> FAIL: websearch - journal publication info query, full reference >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "websearch_regression_tests.py", line 1480, in >>> test_query_journal_full_pubinfo >>> expected_text="[78]")) >>> AssertionError: [] != ['ERROR: Page >>> http://liblin10.slac.stanford.edu/search?of=id&f=journal&p=Phys.+Lett.+B+531+%282002%29+301 >>> (login guest) led to an error: ERROR: Page >>> http://liblin10.slac.stanford.edu/search?of=id&f=journal&p=Phys.+Lett.+B+531+%282002%29+301 >>> (login guest) does not contain [78], but contains [].'] >>> >>> ====================================================================== >>> FAIL: websearch - journal publication info query, title only >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "websearch_regression_tests.py", line 1474, in >>> test_query_journal_title_only >>> expected_text="[77, 78, 85, 87]")) >>> AssertionError: [] != ['ERROR: Page >>> http://liblin10.slac.stanford.edu/search?of=id&f=journal&p=Phys.+Lett.+B >>> (login guest) led to an error: ERROR: Page >>> http://liblin10.slac.stanford.edu/search?of=id&f=journal&p=Phys.+Lett.+B >>> (login guest) does not contain [77, 78, 85, 87], but contains [].'] >>> >>> ====================================================================== >>> FAIL: websearch - query ellis, citation summary output format >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "websearch_regression_tests.py", line 1543, in >>> test_ellis_citation_summary >>> expected_link_label='1')) >>> AssertionError: [] != ['ERROR: Page >>> http://liblin10.slac.stanford.edu/search?p=ellis&of=hcs (login guest) >>> led to an error: ERROR: Page >>> http://liblin10.slac.stanford.edu/search?p=ellis&of=hcs (login guest) >>> does not contain link to >>> http://liblin10.slac.stanford.edu/search?p=ellis%20AND%20cited%3A1-%3E9&rm=citation >>> entitled 1..'] >>> >>> ====================================================================== >>> FAIL: websearch - ellis and not quark, citation summary format advanced >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "websearch_regression_tests.py", line 1551, in >>> test_ellis_not_quark_citation_summary_advanced >>> expected_link_label='1')) >>> AssertionError: [] != ['ERROR: Page >>> http://liblin10.slac.stanford.edu/search?ln=en&as=1&m1=a&p1=ellis&f1=author&op1=n&m2=a&p2=quark&f2=&op2=a&m3=a&p3=&f3=&action_search=Search&sf=&so=a&rm=&rg=10&sc=1&of=hcs >>> (login guest) led to an error: ERROR: Page >>> http://liblin10.slac.stanford.edu/search?ln=en&as=1&m1=a&p1=ellis&f1=author&op1=n&m2=a&p2=quark&f2=&op2=a&m3=a&p3=&f3=&action_search=Search&sf=&so=a&rm=&rg=10&sc=1&of=hcs >>> (login guest) does not contain link to >>> http://liblin10.slac.stanford.edu/search?p=author%3Aellis%20and%20not%20quark%20AND%20cited%3A1-%3E9&rm=citation >>> entitled 1..'] >>> >>> ====================================================================== >>> FAIL: websearch - ellis and not quark, citation summary format advanced >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "websearch_regression_tests.py", line 1559, in >>> test_ellis_not_quark_citation_summary_regular >>> expected_link_label='1')) >>> AssertionError: [] != ['ERROR: Page >>> http://liblin10.slac.stanford.edu/search?ln=en&p=author%3Aellis+and+not+quark&f=&action_search=Search&sf=&so=d&rm=&rg=10&sc=0&of=hcs >>> (login guest) led to an error: ERROR: Page >>> http://liblin10.slac.stanford.edu/search?ln=en&p=author%3Aellis+and+not+quark&f=&action_search=Search&sf=&so=d&rm=&rg=10&sc=0&of=hcs >>> (login guest) does not contain link to >>> http://liblin10.slac.stanford.edu/search?p=author%3Aellis%20and%20not%20quark%20AND%20cited%3A1-%3E9&rm=citation >>> entitled 1..'] >>> >>> ====================================================================== >>> FAIL: websearch - search-time synonym search, journal title >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "websearch_regression_tests.py", line 1841, in test_journal_phrvd >>> expected_text="[66, 72]")) >>> AssertionError: [] != ['ERROR: Page >>> http://liblin10.slac.stanford.edu/search?p=PHRVD&f=journal&of=id (login >>> guest) led to an error: ERROR: Page >>> http://liblin10.slac.stanford.edu/search?p=PHRVD&f=journal&of=id (login >>> guest) does not contain [66, 72], but contains [].'] >>> >>> ====================================================================== >>> FAIL: websearch - search-time synonym search, journal article >>> ---------------------------------------------------------------------- >>> Traceback (most recent call last): >>> File "websearch_regression_tests.py", line 1847, in >>> test_journal_phrvd_54_1996_4234 >>> expected_text="[66]")) >>> AssertionError: [] != ['ERROR: Page >>> http://liblin10.slac.stanford.edu/search?p=PHRVD%2054%20%281996%29%204234&f=journal&of=id >>> (login guest) led to an error: ERROR: Page >>> http://liblin10.slac.stanford.edu/search?p=PHRVD%2054%20%281996%29%204234&f=journal&of=id >>> (login guest) does not contain [66], but contains [].'] >>> >>> ---------------------------------------------------------------------- >>> Ran 162 tests in 66.567s >>> >>> FAILED (failures=13) >>> $ >>> >>> >>> >>
signature.asc
Description: OpenPGP digital signature

