Difference between revisions of "Unit tests"
(adding to (new) testing category) |
m (start reworking page from peoples outputs to a guide.) |
||
Line 1: | Line 1: | ||
− | Centos 7.1, | + | Since Eprints 3.2 [[New_Features_in_EPrints_3.2#Unit_Tests |unit tests have been included in the codebase]] and can be run by developer and non developer alike. |
+ | |||
+ | Exact requirements for running the tests aren't documented but you will need 'Test::More' and ''Test::Memory::Cycle'; from a distribution package or CPAN. | ||
+ | |||
+ | Required packages: | ||
+ | |||
+ | RHEL6: | ||
+ | - perl-Test-Harness and perl-Test-Memory-Cycle | ||
+ | |||
+ | Centos 7.1, | ||
* Needed to install perl-Test-Simple (provides Test::More) and perl-Test-Memory-Cycle | * Needed to install perl-Test-Simple (provides Test::More) and perl-Test-Memory-Cycle | ||
+ | |||
+ | Other configuration: | ||
+ | |||
* Need to add line to /etc/hosts with IP and hostname to make Sword tests runnable | * Need to add line to /etc/hosts with IP and hostname to make Sword tests runnable | ||
* the Metafield/Id.pm errors may be resolved by: https://github.com/eprints/eprints/issues/359 | * the Metafield/Id.pm errors may be resolved by: https://github.com/eprints/eprints/issues/359 | ||
Line 300: | Line 312: | ||
FAILED--Further testing stopped: Error retrieving http://jlrs.example.com: 500 Can't connect to jlrs.example.com:80 (Bad hostname) at /usr/share/eprints/tests/84_sword.pl line 54, <DATA> line 8. | FAILED--Further testing stopped: Error retrieving http://jlrs.example.com: 500 Can't connect to jlrs.example.com:80 (Bad hostname) at /usr/share/eprints/tests/84_sword.pl line 54, <DATA> line 8. | ||
</pre> | </pre> | ||
+ | |||
Patrick: | Patrick: | ||
<pre> | <pre> |
Revision as of 04:01, 19 September 2018
Since Eprints 3.2 unit tests have been included in the codebase and can be run by developer and non developer alike.
Exact requirements for running the tests aren't documented but you will need 'Test::More' and Test::Memory::Cycle'; from a distribution package or CPAN.
Required packages:
RHEL6: - perl-Test-Harness and perl-Test-Memory-Cycle
Centos 7.1,
- Needed to install perl-Test-Simple (provides Test::More) and perl-Test-Memory-Cycle
Other configuration:
- Need to add line to /etc/hosts with IP and hostname to make Sword tests runnable
- the Metafield/Id.pm errors may be resolved by: https://github.com/eprints/eprints/issues/359
STDOUT
/usr/share/eprints/tests/01_use.pl ............... ok /usr/share/eprints/tests/02_session.pl ........... ok /usr/share/eprints/tests/03_set_value.pl ......... ok /usr/share/eprints/tests/05_bug_fixes.pl ......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 11/15 subtests /usr/share/eprints/tests/10_xml_dom.pl ........... Dubious, test returned 2 (wstat 512, 0x200) Failed 3/12 subtests /usr/share/eprints/tests/10_xml_gdome.pl ......... skipped: XML::GDOME missing /usr/share/eprints/tests/10_xml_libxml.pl ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 3/12 subtests /usr/share/eprints/tests/11_epscript.pl .......... ok /usr/share/eprints/tests/20_database_utf8.pl ..... ok /usr/share/eprints/tests/21_database_fields.pl ... ok /usr/share/eprints/tests/23_cache.pl ............. ok /usr/share/eprints/tests/25_mysql.pl ............. ok /usr/share/eprints/tests/30_search.pl ............ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 33/36 subtests /usr/share/eprints/tests/31_simple_search.pl ..... ok /usr/share/eprints/tests/32_triples.pl ........... ok /usr/share/eprints/tests/40_views.pl ............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/6 subtests /usr/share/eprints/tests/50_mem_usage.pl ......... ok /usr/share/eprints/tests/51_plugin_mem_usage.pl .. ok /usr/share/eprints/tests/52_mem_cycle.pl ......... ok /usr/share/eprints/tests/55_phrases.pl ........... ok /usr/share/eprints/tests/60_id_value.pl .......... ok /usr/share/eprints/tests/61_subjects.pl .......... ok /usr/share/eprints/tests/65_epm.pl ............... ok /usr/share/eprints/tests/67_crypt.pl ............. ok /usr/share/eprints/tests/70_xml_import.pl ........ ok /usr/share/eprints/tests/80_screenprocessor.pl ... ok /usr/share/eprints/tests/81_workflow.pl .......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/4 subtests /usr/share/eprints/tests/82_eprint_view.pl ....... ok /usr/share/eprints/tests/82_screen.pl ............ ok /usr/share/eprints/tests/83_static.pl ............ ok Bailout called. Further testing stopped: Error retrieving http://jlrs.example.com: 500 Can't connect to jlrs.example.com:80 (Bad hostname) at /usr/share/eprints/tests/84_sword.pl line 54, <DATA> line 8.
patrick:
/usr/share/eprints3/tests/01_use.pl ............... ok /usr/share/eprints3/tests/02_session.pl ........... ok /usr/share/eprints3/tests/03_set_value.pl ......... ok /usr/share/eprints3/tests/05_bug_fixes.pl ......... ok /usr/share/eprints3/tests/10_xml_dom.pl ........... ok /usr/share/eprints3/tests/10_xml_gdome.pl ......... skipped: XML::GDOME missing /usr/share/eprints3/tests/10_xml_libxml.pl ........ ok /usr/share/eprints3/tests/11_epscript.pl .......... ok /usr/share/eprints3/tests/20_database_utf8.pl ..... ok /usr/share/eprints3/tests/21_database_fields.pl ... ok /usr/share/eprints3/tests/23_cache.pl ............. ok /usr/share/eprints3/tests/25_mysql.pl ............. ok /usr/share/eprints3/tests/30_search.pl ............ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/35 subtests (less 2 skipped subtests: 32 okay) /usr/share/eprints3/tests/31_simple_search.pl ..... ok /usr/share/eprints3/tests/32_triples.pl ........... ok /usr/share/eprints3/tests/40_views.pl ............. ok /usr/share/eprints3/tests/50_mem_usage.pl ......... ok /usr/share/eprints3/tests/51_plugin_mem_usage.pl .. ok /usr/share/eprints3/tests/52_mem_cycle.pl ......... ok /usr/share/eprints3/tests/55_phrases.pl ........... ok /usr/share/eprints3/tests/60_id_value.pl .......... ok /usr/share/eprints3/tests/61_subjects.pl .......... ok /usr/share/eprints3/tests/65_epm.pl ............... ok /usr/share/eprints3/tests/67_crypt.pl ............. ok /usr/share/eprints3/tests/70_xml_import.pl ........ ok /usr/share/eprints3/tests/80_screenprocessor.pl ... ok /usr/share/eprints3/tests/81_workflow.pl .......... ok /usr/share/eprints3/tests/82_eprint_view.pl ....... ok /usr/share/eprints3/tests/82_screen.pl ............ ok /usr/share/eprints3/tests/83_static.pl ............ ok Bailout called. Further testing stopped: Failed to parse http://eprints-git.demo/sword-app/servicedocument :1: parser error : Space required after the Public Identifier
STDERR
# EPrints Version: 3.3.14 Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. # Failed test 'list is 3 long' # at /usr/share/eprints/tests/05_bug_fixes.pl line 24. # got: '0' # expected: '3' # Failed test 'list is 3 long after map' # at /usr/share/eprints/tests/05_bug_fixes.pl line 26. # got: '0' # expected: '3' # Failed test 'all slice is 3 long' # at /usr/share/eprints/tests/05_bug_fixes.pl line 27. # got: undef # expected: '3' # Failed test 'slice is 3 long' # at /usr/share/eprints/tests/05_bug_fixes.pl line 28. # got: undef # expected: '3' # Failed test 'slice is 3 long, asked for 5' # at /usr/share/eprints/tests/05_bug_fixes.pl line 29. # got: undef # expected: '3' # Failed test 'slice is 2 long, asked for 2' # at /usr/share/eprints/tests/05_bug_fixes.pl line 30. # got: undef # expected: '2' # Failed test 'list is 3 long after slice' # at /usr/share/eprints/tests/05_bug_fixes.pl line 31. # got: '0' # expected: '3' Can't call method "create_subdataobj" on unblessed reference at /usr/share/eprints/tests/05_bug_fixes.pl line 36. # Looks like you planned 15 tests but ran 11. # Looks like you failed 7 tests of 11 run. # Looks like your test exited with 255 just after 11. Can't call method "to_xml" on an undefined value at /usr/share/eprints/bin/../perl_lib/EPrints/Test/XML.pm line 50. # Looks like you planned 12 tests but ran 9. # Looks like your test exited with 2 just after 9. Can't call method "to_xml" on an undefined value at /usr/share/eprints/bin/../perl_lib/EPrints/Test/XML.pm line 50. # Looks like you planned 12 tests but ran 9. # Looks like your test exited with 255 just after 9. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. # Failed test 'blank found matches' # at /usr/share/eprints/tests/30_search.pl line 21. # Failed test 'search range eprintid' # at /usr/share/eprints/tests/30_search.pl line 33. # Failed test 'title IN + creators_name GREP # AND( # AND( # grep($eprint.creators_name,"%[maury]%-%[w%") ... eprint__index_grep, # index($eprint.creators_name,"maury") ... eprint__rindex # ), # AND( # grep($eprint.creators_name,"%[parkes]%-%[f%") ... eprint__index_grep, # index($eprint.creators_name,"parkes") ... eprint__rindex # ), # index($eprint.title,"eagle") ... eprint__rindex # )' # at /usr/share/eprints/tests/30_search.pl line 43. # Failed test 'SET match' # at /usr/share/eprints/tests/30_search.pl line 58. # Failed test 'subjects and divisions: AND( # in_subject($eprint.divisions,"sch_mat") ... eprint_divisions, # in_subject($eprint.subjects,"GR") ... eprint_subjects # )' # at /usr/share/eprints/tests/30_search.pl line 71. # Failed test 'match testdata article full text' # at /usr/share/eprints/tests/30_search.pl line 82. Can't call method "get_parent" on an undefined value at /usr/share/eprints/tests/30_search.pl line 86. # Looks like you planned 36 tests but ran 9. # Looks like you failed 6 tests of 9 run. # Looks like your test exited with 255 just after 9. # memory footprint Warning! No values were found for eprint.view._40_views_pl [date] - configuration may be wrong # /tmp/jrjiuqUzTc/en/view/_40_views_pl # Failed test 'browse_view_menu' # at /usr/share/eprints/tests/40_views.pl line 67. # update_view_by_path=-1B # update_browse_view_list=-1B # Looks like you failed 1 test of 6. # LOAD=-1B # Repository-Specific Data # _load_config=-1B # _load_workflows=-1B # _load_namedsets=-1B # _load_datasets=-1B # _load_languages=-1B # _load_templates=-1B # _load_citation_specs=-1B # _load_storage=-1B # _load_plugins=-1B # Session=-1B # # Plugin Memory Usage # EPrints::Plugin::Screen::EPrint::Messages=-1B # EPrints::Plugin::Convert::Thumbnails=-1B # EPrints::Plugin::Search=-1B # EPrints::Plugin::Storage::EPM=-1B # EPrints::Plugin::Screen::Workflow::Destroy=-1B # EPrints::Plugin::Screen::Workflow::Destroy=-1B # Undefined phrase: xxx_invalid (en) at line 24 in /usr/share/eprints/tests/55_phrases.pl Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Can't call method "get_dataset" on an undefined value at /usr/share/eprints/bin/../perl_lib/EPrints/Workflow.pm line 145. # Looks like you planned 4 tests but ran 3. # Looks like your test exited with 255 just after 3. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Argument "" isn't numeric in addition (+) at /usr/share/eprints/bin/../perl_lib/EPrints/Database.pm line 1500. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50. FAILED--Further testing stopped: Error retrieving http://jlrs.example.com: 500 Can't connect to jlrs.example.com:80 (Bad hostname) at /usr/share/eprints/tests/84_sword.pl line 54, <DATA> line 8.
Patrick:
# EPrints Version: 3.3.14 SELECT `document`.`docid` FROM `document`, `document_relation_type` AS `document_relation_type`, `document_relation_uri` AS `document_relation_uri` WHERE `document`.`docid`=`document_relation_type`.`docid` AND `document`.`docid`=`document_relation_uri`.`docid` AND (`document_relation_type`.`relation_type` = 'http://eprints.org/relation/islightboxThumbnailVersionOf') AND (`document_relation_type`.`pos` = `document_relation_uri`.`pos`) AND (`document_relation_uri`.`relation_uri` = '/id/document/1') GROUP BY `document`.`docid` # Failed test 'compound type field query' # at /usr/share/eprints3/tests/30_search.pl line 358. # Looks like you failed 1 test of 35. # memory footprint # /tmp/nOb_JblCIl/en/view/_40_views_pl # /tmp/nOb_JblCIl/en/view/_40_views_pl/2003 # /tmp/nOb_JblCIl/en/view/_40_views_pl/2001 # /tmp/nOb_JblCIl/en/view/_40_views_pl/2000 # /tmp/nOb_JblCIl/en/view/_40_views_pl/2005 # /tmp/nOb_JblCIl/en/view/_40_views_pl/2002 # /tmp/nOb_JblCIl/en/view/_40_views_pl/1998 # /tmp/nOb_JblCIl/en/view/_40_views_pl/1999 # /tmp/nOb_JblCIl/en/view/_40_views_pl/2004 # update_view_by_path=-1B # update_browse_view_list=-1B # LOAD=-1B # Repository-Specific Data # _load_config=-1B # _load_workflows=-1B # _load_namedsets=-1B # _load_datasets=-1B # _load_languages=-1B # _load_templates=-1B # _load_citation_specs=-1B # _load_storage=-1B # _load_plugins=-1B # Session=-1B # # Plugin Memory Usage # EPrints::Plugin::Screen::Admin::Config::Edit::Perl=-1B # EPrints::Plugin::Export::ContextObject=-1B # EPrints::Plugin::Screen::Admin::Config::Edit::XPage=-1B # EPrints::Plugin::Export::MultilineCSV=-1B # EPrints::Plugin::Screen::Admin::UpdateDatabase=-1B # Undefined phrase: xxx_invalid (en) at line 24 in /usr/share/eprints3/tests/55_phrases.pl EPScript error: Can't use string ("0") as an ARRAY ref while "strict refs" in use at /home/pm5/eprints-git/bin/../perl_lib/EPrints/Script/Compiled.pm line 633. EPScript error: Can't use string ("0") as an ARRAY ref while "strict refs" in use at /home/pm5/eprints-git/bin/../perl_lib/EPrints/Script/Compiled.pm line 633. EPScript error: Can't use string ("0") as an ARRAY ref while "strict refs" in use at /home/pm5/eprints-git/bin/../perl_lib/EPrints/Script/Compiled.pm line 633. EPScript error: Can't use string ("0") as an ARRAY ref while "strict refs" in use at /home/pm5/eprints-git/bin/../perl_lib/EPrints/Script/Compiled.pm line 633. EPScript error: Can't use string ("0") as an ARRAY ref while "strict refs" in use at /home/pm5/eprints-git/bin/../perl_lib/EPrints/Script/Compiled.pm line 633. EPScript error: Can't use string ("0") as an ARRAY ref while "strict refs" in use at /home/pm5/eprints-git/bin/../perl_lib/EPrints/Script/Compiled.pm line 633. EPScript error: Can't use string ("0") as an ARRAY ref while "strict refs" in use at /home/pm5/eprints-git/bin/../perl_lib/EPrints/Script/Compiled.pm line 633. EPScript error: Can't use string ("0") as an ARRAY ref while "strict refs" in use at /home/pm5/eprints-git/bin/../perl_lib/EPrints/Script/Compiled.pm line 633. EPScript error: Can't use string ("0") as an ARRAY ref while "strict refs" in use at /home/pm5/eprints-git/bin/../perl_lib/EPrints/Script/Compiled.pm line 633. FAILED--Further testing stopped: Failed to parse http://eprints-git.demo/sword-app/servicedocument :1: parser error : Space required after the Public Identifier