EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #07526
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Failing unit test on RHEL 6
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Failing unit test on RHEL 6
- From: Karl Goetz <karl.goetz@utas.edu.au>
- Date: Thu, 11 Oct 2018 01:38:54 +0000
Hi all,
After quite a bit of trial and error I’ve managed to get EPrints tests running on RHEL 6.10 (approximately as described on https://wiki.eprints.org/w/Unit_tests) . All tests are now
passing, bar one which I can’t find a solution to.
Environment:
RHEL 6.10
Eprints 3.3.15
This issue has been mentioned before (See the history of Unit_tests page above, or http://threader.ecs.soton.ac.uk/lists/eprints_tech/20860.html and http://threader.ecs.soton.ac.uk/lists/eprints_tech/20996.html)
but no solutions are offered to this specific issue.
Error looks like this:
/usr/share/eprints/tests/25_mysql.pl ............. ok
/usr/share/eprints/tests/30_search.pl ............ 12/35
# Failed test 'compound type field query'
# at /usr/share/eprints/tests/30_search.pl line 358.
# Looks like you failed 1 test of 35.
/usr/share/eprints/tests/30_search.pl ............ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/35 subtests
(less 3 skipped subtests: 31 okay)
/usr/share/eprints/tests/31_simple_search.pl ..... ok
[…]
Test Summary Report
-------------------
/usr/share/eprints/tests/30_search.pl (Wstat: 256 Tests: 35 Failed: 1)
Failed test: 29
Non-zero exit status: 1
Files=41, Tests=2142, 37 wallclock secs ( 0.17 usr 0.17 sys + 30.32 cusr 3.65 csys = 34.31 CPU)
Result: FAIL
Failed 1/41 test programs. 1/2142 subtests failed.
It comes from 30_search.pl, starting at line 347 and going to 359 ($sample_doc is defined on line 85). https://github.com/eprints/eprints/blob/3.3/tests/30_search.pl#L347
I’m guessing the searchexp has broken by the eprints website changing, or its a test that only works internally at eprints services (which results in $list-> count being zero and the test failing).
Before I either comment it out or invest more time in determining the cause (as time permits), is anyone able to offer an insight as to what might be causing this failure?
Thanks,
--
Karl Goetz, Senior Library Officer (Library Systems)
University of Tasmania, Private Bag 25, Hobart 7001
Available Tuesday, Wednesday, Thursday
|
- Follow-Ups:
- [EP-tech] Failing unit test on RHEL 6
- From: Karl Goetz <karl.goetz@utas.edu.au>
- [EP-tech] Failing unit test on RHEL 6
- References:
- [EP-tech] Failing unit test on RHEL 6
- From: Karl Goetz <karl.goetz@utas.edu.au>
- [EP-tech] Failing unit test on RHEL 6
- Prev by Date: Re: [EP-tech] duplicate key value violates unique constraint "event_queue_pkey"
- Next by Date: Re: [EP-tech] Failing unit test on RHEL 6
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):