Bug 18032 - make test fail 'DBIx::Class::Storage::DBI'
Summary: make test fail 'DBIx::Class::Storage::DBI'
Status: RESOLVED DUPLICATE of bug 18018
Alias: None
Product: Koha
Classification: Unclassified
Component: bugs.koha-community.org (show other bugs)
Version: 16.05
Hardware: PC Linux
: P5 - low major (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-01 18:34 UTC by jane.chang
Modified: 2017-02-02 08:49 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 jane.chang 2017-02-01 18:34:35 UTC
root@debian-w01:/home/kohasysusr/Downloads/koha-16.05.09# make test
PERL_DL_NONLAZY=1 KOHA_CONF=blib/KOHA_CONF_DIR/koha-conf.xml "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; 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/? DBIx::Class::ResultSet::find(): 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/kohasysusr/Downloads/koha-16.05.09/blib/PERL_MODULE_DIR/Koha/Objects.pm line 83
t/00-load.t ......................... 196/? 
#   Failed test 'use Koha::Token;'
#   at t/00-load.t line 64.
#     Tried to use 'Koha::Token'.
#     Error:  Can't locate WWW/CSRF.pm in @INC (@INC contains: /home/kohasysusr/Downloads/koha-16.05.09/blib/PERL_MODULE_DIR /home/kohasysusr/Downloads/koha-16.05.09/blib/arch /usr/share/koha/lib /usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . /var/lib/koha/plugins /var/lib/koha/plugins) at /home/kohasysusr/Downloads/koha-16.05.09/blib/PERL_MODULE_DIR/Koha/Token.pm line 53.
# BEGIN failed--compilation aborted at /home/kohasysusr/Downloads/koha-16.05.09/blib/PERL_MODULE_DIR/Koha/Token.pm line 53.
# Compilation failed in require at t/00-load.t line 64.
# BEGIN failed--compilation aborted at t/00-load.t line 64.
Bailout called.  Further testing stopped:  ***** PROBLEMS LOADING FILE 'Koha::Token'
FAILED--Further testing stopped: ***** PROBLEMS LOADING FILE 'Koha::Token'
make: *** [test_dynamic] Error 255
Comment 1 Mason James 2017-02-02 04:41:15 UTC
hi Jane

if you are try to 'make test' a Koha, you will need all it's required packages too to pass some tests


you can get all packages with the following command...

$ sudo apt-get install koha-deps koha-perldeps
Comment 2 Jonathan Druart 2017-02-02 08:49:43 UTC

*** This bug has been marked as a duplicate of bug 18018 ***