Bug 17943 - "make test" failed when upgrading from koha-3.22.10 to 3-22.14 , also fresh installation of koha-3.22.14 made the same "make test" failing
Summary: "make test" failed when upgrading from koha-3.22.10 to 3-22.14 , also fresh i...
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Installation and upgrade (command-line installer) (show other bugs)
Version: 3.22
Hardware: All Linux
: P2 critical (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on: 17494
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-19 16:33 UTC by Michael
Modified: 2019-06-27 09:24 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2017-01-19 16:33:03 UTC
/Downloads/koha-3.22.14$ 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/00-checkdatabase-version.t ........ ok
t/00-deprecated.t ................... ok
t/00-load.t ......................... Name "Cache::RemovalStrategy::LRU::FIELDS" used only once: possible typo at /usr/share/perl/5.18/fields.pm line 135.
Name "Cache::RemovalStrategy::FIELDS" used only once: possible typo at /usr/share/perl/5.18/fields.pm line 135.
Name "Tie::Hash::FIELDS" used only once: possible typo at /usr/share/perl/5.18/fields.pm line 135.
DBIx::Class::Storage::DBI::_warn_undetermined_driver(): This version of DBIC does not yet seem to supply a driver for your particular RDBMS and/or connection method ('Mock'). While we will attempt to continue anyway, the results are likely to be underwhelming. Please upgrade DBIC, and if this message does not go away, file a bugreport including the following info:
{
  DBIC_DRIVER => "DBIx::Class::Storage::DBI",
  DBIC_DSN => "DBI:Mock:",
  DBIC_VER => "0.08250",
  DBI_VER => "1.63"
}
DBIx::Class::Storage::DBI::sql_maker(): Your storage class (DBIx::Class::Storage::DBI) does not set sql_limit_dialect and you have not supplied an explicit limit_dialect in your connection_info. DBIC will attempt to use the GenericSubQ dialect, which works on most databases but can be (and often is) painfully slow. Please file an RT ticket against 'DBIx::Class::Storage::DBI' at /home/koha-admin/Downloads/koha-3.22.14/blib/PERL_MODULE_DIR/Koha/Objects.pm line 83
t/00-load.t ......................... 9/? Subroutine main::checkauth redefined at /usr/share/perl/5.18/Exporter.pm line 66.
 at t/00-load.t line 47.
Subroutine main::get_template_and_user redefined at /usr/share/perl/5.18/Exporter.pm line 66.
 at t/00-load.t line 47.
"my" variable $DEBUG masks earlier declaration in same scope at /home/koha-admin/Downloads/koha-3.22.14/blib/PERL_MODULE_DIR/C4/Barcodes/ValueBuilder.pm line 43.
"my" variable $DEBUG masks earlier declaration in same scope at /home/koha-admin/Downloads/koha-3.22.14/blib/PERL_MODULE_DIR/C4/Barcodes/ValueBuilder.pm line 85.

#   Failed test 'use Koha::AudioAlert;'
#   at t/00-load.t line 63.
#     Tried to use 'Koha::AudioAlert'.
#     Error:  Can't locate Koha/Patron/Modifications.pm in @INC (you may need to install the Koha::Patron::Modifications module) (@INC contains: /home/koha-admin/Downloads/koha-3.22.14/blib/PERL_MODULE_DIR /home/koha-admin/Downloads/koha-3.22.14/blib/arch /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl . /var/lib/koha/plugins) at /home/koha-admin/Downloads/koha-3.22.14/blib/PERL_MODULE_DIR/Koha/AudioAlert.pm line 26.
# BEGIN failed--compilation aborted at /home/koha-admin/Downloads/koha-3.22.14/blib/PERL_MODULE_DIR/Koha/AudioAlert.pm line 26.
# Compilation failed in require at t/00-load.t line 63.
# BEGIN failed--compilation aborted at t/00-load.t line 63.
Bailout called.  Further testing stopped:  ***** PROBLEMS LOADING FILE 'Koha::AudioAlert'
FAILED--Further testing stopped: ***** PROBLEMS LOADING FILE 'Koha::AudioAlert'
make: *** [test_dynamic] Error 255




system details 
4.4.0-59-generic #80~14.04.1-Ubuntu SMP Fri Jan 6 18:02:02 UTC 2017 x86_64

MySQL version:	mysql Ver 14.14 Distrib 5.5.53, for debian-linux-gnu (x86_64) using readline 6.3

Perl version:	5.018002

all perl's packages looks fine.
Comment 1 Jonathan Druart 2017-01-24 07:46:52 UTC
Caused by bug 17494. Julian could you take a look?
Comment 2 Jonathan Druart 2017-01-24 07:47:53 UTC
Bug 17494 should not have been backported to 3.22
Comment 3 Julian Maurice 2017-01-25 15:30:35 UTC
Reverted some patches from bug 17494 (see bug 17494, comment 18) in 3.22.x
Will be fixed in 3.22.16
Comment 4 Julian Maurice 2017-01-25 15:32:49 UTC
Thanks Michael and Jonathan