[koha] make test failed 3.06.03
Hi, I trying instaling koha version 3.06.03 but when I do test I get Fails. What may be the problem? Thx 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/00-checkdatabase-version.t ........ ok t/00-deprecated.t ................... ok t/00-load.t ......................... 1/? Too late to run INIT block at /home/koha/koha-3.06.03/blib/PERL_MODULE_DIR/C4/Barcodes/hbyymmincr.pm line 41. Subroutine main::GetContract redefined at /usr/share/perl/5.10/Test/More.pm line 805 t/00-load.t ......................... 71/? Too late to run INIT block at /home/koha/koha-3.06.03/blib/PERL_MODULE_DIR/C4/External/BakerTaylor.pm line 42. t/00-load.t ......................... ok t/00-merge-conflict-markers.t ....... ok t/00-testcritic.t ................... skipped: Author test. Set $ENV{TEST_QA} to a true value to run t/00-valid-xml.t .................... ok t/AuthoritiesMarc.t ................. ok t/AuthoritiesMarc_MARC21.t .......... ok t/AuthoritiesMarc_UNIMARC.t ......... ok t/Barcodes_annual.t ................. ok t/Barcodes_hbyymmincr.t ............. ok t/Barcodes_incremental.t ............ ok t/Barcodes_PrinterConfig.t .......... ok t/Bookseller.t ...................... ok t/Boolean.t ......................... 1/13 The given value does not seem to be interpretable as a Boolean value at t/Boolean.t line 20 The given value does not seem to be interpretable as a Boolean value at t/Boolean.t line 21 The given value does not seem to be interpretable as a Boolean value at t/Boolean.t line 22 t/Boolean.t ......................... ok t/Branch.t .......................... ok t/Breeding.t ........................ ok t/Budgets.t ......................... ok t/Cache.t ........................... ok t/Cache_Memcached.t ................. ok t/Cache_Memoize_Memcached.t ......... ok t/Calendar.t ........................ ok t/Category.t ........................ ok t/Charset.t ......................... ok t/Circulation_barcodedecode.t ....... ok t/ClassSortRoutine.t ................ ok t/ClassSortRoutine_Dewey.t .......... ok t/ClassSortRoutine_Generic.t ........ ok t/ClassSortRoutine_LCC.t ............ ok t/ClassSource.t ..................... ok t/Contract.t ........................ ok t/Creators.t ........................ ok t/Csv.t ............................. ok t/Dates.t ........................... 1/327 # # 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 like: # Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t ... # # Testing Legacy Functions: format_date and format_date_in_iso # Illegal date specified (year = 1952, month = 1, day = 0) at t/Dates.t line 61 Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 61 Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 64 # # Testing 5 formats. # Testing no input (defaults): # # Testing with valid inputs: Illegal date specified (year = 1952, month = 1, day = 0) at t/Dates.t line 83 Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 83 Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 83 Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 83 Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 83 Illegal date specified (year = 1952, month = 1, day = 00) at t/Dates.t line 83 # # Testing object independence from class # done. t/Dates.t ........................... ok t/Debug.t ........................... # BEFORE use: $debug is not defined # BEFORE use: $cgi_debug is not defined t/Debug.t ........................... 1/5 # AFTER use: $debug is 5 # AFTER use: $cgi_debug is 2 # Done. t/Debug.t ........................... ok t/dummy.t ........................... ok t/External_Syndetics.t .............. ok t/Form_MessagingPreferences.t ....... ok t/Heading.t ......................... ok t/Heading_MARC21.t .................. ok t/ILSDI_Services.t .................. ok t/ILSDI_Utility.t ................... ok t/ImportBatch.t ..................... ok t/Input.t ........................... ok t/Installer_PerlDependencies.t ...... ok t/Installer_PerlModules.t ........... ok t/Installer_pm.t .................... ok t/ItemCirculationAlertPreference.t .. ok t/Items.t ........................... ok t/ItemType.t ........................ ok t/Koha.t ............................ ok t/Koha_template_plugin_KohaDates.t .. 1/5 DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /home/koha/koha-3.06.03/blib/PERL_MODULE_DIR/C4/Context.pm line 516. Use of uninitialized value $dformat in hash element at /home/koha/koha-3.06.03/blib/PERL_MODULE_DIR/C4/Dates.pm line 174. Use of uninitialized value $dformat in concatenation (.) or string at /home/koha/koha-3.06.03/blib/PERL_MODULE_DIR/C4/Dates.pm line 174. Invalid date format '' from system preferences at t/Koha_template_plugin_KohaDates.t line 16 # Looks like you planned 5 tests but ran 1. # Looks like your test exited with 255 just after 1. t/Koha_template_plugin_KohaDates.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 4/5 subtests t/Labels.t .......................... ok t/Labels_split_ccn.t ................ ok t/Labels_split_ddcn.t ............... ok t/Labels_split_lccn.t ............... ok t/Languages.t ....................... ok t/Letters.t ......................... ok t/Log.t ............................. ok t/Maintainance.t .................... ok t/Matcher.t ......................... ok t/Members_Attributes.t .............. ok t/Members_AttributeTypes.t .......... ok t/Members_Messaging.t ............... ok t/Message.t ......................... ok t/NewsChannels.t .................... ok t/Output.t .......................... ok t/Output_JSONStream.t ............... ok t/Overdues.t ........................ ok t/Patroncards.t ..................... ok t/Patroncards_Batch.t ............... ok t/Patroncards_Layout.t .............. ok t/Patroncards_Lib.t ................. ok t/Patroncards_Patroncard.t .......... ok t/Patroncards_Profile.t ............. ok t/Patroncards_Template.t ............ ok t/Print.t ........................... ok t/Reports.t ......................... 1/2 DBD::mysql::st execute failed: Table 'koha.systempreferences' doesn't exist at /home/koha/koha-3.06.03/blib/PERL_MODULE_DIR/C4/Reports.pm line 65. DBD::mysql::st fetchrow failed: fetch() without execute() at /home/koha/koha-3.06.03/blib/PERL_MODULE_DIR/C4/Reports.pm line 67. Use of uninitialized value $choices in split at /home/koha/koha-3.06.03/blib/PERL_MODULE_DIR/C4/Reports.pm line 68. t/Reports.t ......................... ok t/Review.t .......................... ok t/Ris.t ............................. ok t/RotatingCollections.t ............. ok t/Scheduler.t ....................... ok t/Scrubber.t ........................ 1/19 # Note: scrubber test output will have whitespace collapsed for readability # done. t/Scrubber.t ........................ ok t/Search_PazPar2.t .................. ok t/SIP_Sip.t ......................... 1/8 verify_cksum: no sum detected at /home/koha/koha-3.06.03/t/../C4/SIP/Sip/Checksum.pm line 24. t/SIP_Sip.t ......................... ok t/SMS.t ............................. ok t/Stats.t ........................... ok t/TmplToken.t ....................... ok t/Utils.t ........................... ok t/VirtualShelves_Merge.t ............ ok t/XSLT.t ............................ ok t/Z3950.t ........................... ok Test Summary Report ------------------- t/Koha_template_plugin_KohaDates.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 5 tests but ran 1. Files=92, Tests=7310, 71 wallclock secs ( 2.40 usr 0.23 sys + 47.29 cusr 3.35 csys = 53.27 CPU) Result: FAIL Failed 1/92 test programs. 0/7310 subtests failed. make: *** [test_dynamic] Error 255 -- View this message in context: http://koha.1045719.n5.nabble.com/koha-make-test-failed-3-06-03-tp5519883p55... Sent from the Koha-general mailing list archive at Nabble.com.
It can be a lot of things but I had a similar problem and it was the Date/hour from my server. -- View this message in context: http://koha.1045719.n5.nabble.com/koha-make-test-failed-3-06-03-tp5519883p55... Sent from the Koha-general mailing list archive at Nabble.com.
participants (2)
-
anjoze -
kamild