[Koha] Koha 3.0.1: make test errors

Thommy M. thommy.m.malmstrom at gmail.com
Mon Mar 2 03:55:02 NZDT 2009


I went ahead and did make install but then the finish up part hangs on
starting the zebra server. How can I check that all prerequisites for
the zebraserver is in place?

I have followed the instructions on
http://wiki.koha.org/doku.php?id=koha_3_install_guide_ubuntu_hardy and
it reported no errors. The only difference is that I have 3.0.1


$ sudo zebrasrv -f /etc/koha/koha-conf.xml
15:46:11-01/03 [log] zebra_start /etc/koha/zebradb/zebra-biblios.cfg 1.3.50
15:46:11-01/03 [log] zebra_start /etc/koha/zebradb/zebra-authorities.cfg
1.3.50
15:46:11-01/03 [server] Adding dynamic listener on
unix:/var/run/koha/zebradb/bibliosocket id=1
15:46:11-01/03 [server] Adding dynamic listener on
unix:/var/run/koha/zebradb/authoritysocket id=2
15:46:11-01/03 [server] Starting server zebrasrv pid=8711


Here it just hangs until I bail out with ctrl-c




Thommy M. wrote:
> What am I missing this time???
> 
> 
> $ make test
> PERL_DL_NONLAZY=1 KOHA_CONF=blib/KOHA_CONF_DIR/koha-conf.xml
> /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
> 'blib/PERL_MODULE_DIR', 'blib/arch')" t/*.t
> t/Amazon.......................ok
> t/Barcodes_PrinterConfig.......ok
> t/Bookfund.....................ok
> t/Bookseller...................ok
> t/Boolean......................ok
> t/Branch.......................ok
> t/Calendar.....................ok
> t/Charset......................ok
> t/Circulation_barcodedecode....DBD::mysql::db selectrow_array failed:
> Table 'koha.systempreferences' doesn't exist at
> /home/thommym/build/koha-3.00.01-stable/blib/PERL_MODULE_DIR/C4/Context.pm
> line 485.
> t/Circulation_barcodedecode....ok
> t/Dates........................ok 1/126#
> # In order to run without DB access, this test will substitute 'us'
> # as your default date format.  Export environmental variable
> KOHA_TEST_DATE_FORMAT
> # to override this default, or pass the value as an argument to this
> test script.
> #
> # NOTE: we test for the system handling dd=00 and 00 for TIME values,
> # therefore you *should* see some warnings 'Illegal date specified'
> related to those.
> #
> # Testing Legacy Functions: format_date and format_date_in_iso
> #
> Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t
> line 58
> Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t
> line 61
> #
> # Testing 4 formats.
> # Testing no input (defaults):
> #
> # Testing with valid inputs:
> Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t
> line 80
> Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t
> line 80
> Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t
> line 80
> Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t
> line 80
> #
> # Testing object independence from class
> # done.
> # Looks like you planned 126 tests but ran 9 extra.
> t/Dates........................dubious
>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 127-135
>         Failed 9/126 tests, 92.86% okay
> t/Debug........................# BEFORE use:     $debug is not defined
> # BEFORE use: $cgi_debug is not defined
> t/Debug........................ok 1/3#  AFTER use:     $debug is 0
> #  AFTER use: $cgi_debug is 0
> # Done.
> t/Debug........................ok
> t/dummy........................ok
> t/Input........................ok
> t/Koha.........................ok
> t/Languages....................ok
> t/Maintainance.................ok
> t/Output.......................ok
> t/Record.......................ok
> t/Review.......................ok
> t/Scrubber.....................ok 1/10# Note: scrubber test output will
> have whitespace collapsed for readability
> # done.
> t/Scrubber.....................ok
> t/Stats........................ok
> Failed Test Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> t/Dates.t    255 65280   126    9   7.14%  127-135
> Failed 1/21 test scripts, 95.24% okay. -9/189 subtests failed, 104.76% okay.
> make: *** [test_dynamic] Error 255



More information about the Koha mailing list