Bugzilla – Attachment 64913 Details for
Bug 18851
Use Test::DBIx::Class in tests breaks packaging
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build log: tests
18851-log.txt (text/plain), 15.40 KB, created by
Mirko Tietgen
on 2017-07-07 13:45:22 UTC
(
hide
)
Description:
build log: tests
Filename:
MIME Type:
Creator:
Mirko Tietgen
Created:
2017-07-07 13:45:22 UTC
Size:
15.40 KB
patch
obsolete
>t/00-checkdatabase-version.t ........ ok >t/00-deprecated.t ................... ok >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. ># Skipping testing of Koha::ExternalContent, because WebService::ILS is not installed. ># Skipping testing of Koha::ExternalContent::OverDrive, because WebService::ILS is not installed. ># Skipping testing of Koha::SearchEngine::Elasticsearch::Search, because Catmandu::Store::ElasticSearch is not installed. ># Skipping testing of Koha::SearchEngine::Elasticsearch::Indexer, because Catmandu::Importer::MARC is not installed. ># Skipping testing of Koha::SearchEngine::Elasticsearch::Indexer, because Catmandu::Store::ElasticSearch is not installed. >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/Auth_with_shibboleth.t ............ skipped: Need Test::DBIx::Class >t/AuthoritiesMarc_MARC21.t .......... ok >t/AuthoritiesMarc_UNIMARC.t ......... ok >t/AuthUtils.t ....................... ok >t/Barcodes_annual.t ................. ok >t/Barcodes_EAN13.t .................. ok >t/Barcodes_hbyymmincr.t ............. ok >t/Barcodes_incremental.t ............ ok >t/Biblio.t .......................... skipped: Need Test::DBIx::Class >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >t/Biblio2.t ......................... ok >t/Bookseller.t ...................... ok >t/Boolean.t ......................... ok >t/Budgets.t ......................... ok >t/Cache.t ........................... ok >t/Calendar.t ........................ skipped: Need Test::DBIx::Class >t/Charset.t ......................... ok >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >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/Context.t ......................... ok >t/Contract.t ........................ ok >t/Creators.t ........................ ok >t/DateUtils.t ....................... ok >t/Debug.t ........................... ok >t/dummy.t ........................... ok >t/Edifact.t ......................... ok >t/EdiInvoice.t ...................... ok >t/Ediorder.t ........................ ok >t/Ediordrsp.t ....................... ok >t/Form_MessagingPreferences.t ....... ok >t/Heading.t ......................... ok >t/HtmlTags.t ........................ ok >t/Images.t .......................... skipped: Need Test::DBIx::Class >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/MARC/File/XML.pm line 397, <__ANONIO__> chunk 1. >Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/MARC/File/XML.pm line 397, <__ANONIO__> chunk 1. >Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/MARC/File/XML.pm line 397, <__ANONIO__> chunk 4. >t/ImportBatch.t ..................... ok >t/Installer_PerlDependencies.t ...... ok >t/Installer_PerlModules.t ........... ok >t/Installer_pm.t .................... ok >t/ItemCirculationAlertPreference.t .. ok >t/Koha.t ............................ skipped: Need Test::DBIx::Class >t/Koha_Email.t ...................... ok >t/Koha_ExternalContent_OverDrive.t .. ok >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >t/Koha_MetadataRecord.t ............. ok >t/Koha_Template_Plugin_Cache.t ...... ok >t/Koha_Template_Plugin_Koha.t ....... ok >t/Koha_Util_FrameworkPlugin.t ....... ok >t/Koha_Util_MARC.t .................. ok >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >t/Labels.t .......................... ok >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >t/Labels_split_ccn.t ................ ok >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >t/Labels_split_ddcn.t ............... ok >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >t/Labels_split_lccn.t ............... ok >t/Languages.t ....................... ok >t/Letters.t ......................... skipped: Need Test::DBIx::Class >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >t/Log.t ............................. ok >t/Logger.t .......................... ok >t/Matcher.t ......................... skipped: Need Test::DBIx::Class >t/Members_Attributes.t .............. ok >t/Members_AttributeTypes.t .......... skipped: Need Test::DBIx::Class >t/Members_Messaging.t ............... ok >t/NorwegianPatronDB.t ............... skipped: Test::DBIx::Class is not available. >t/OpenLibrarySearch.t ............... ok >t/Output.t .......................... ok >t/Output_JSONStream.t ............... ok >Can't locate Test/DBIx/Class.pm in @INC (you may need to install the Test::DBIx::Class module) (@INC contains: /build/koha-16.12.01~git+20170707095823.4afe1e29/blib/PERL_MODULE_DIR /build/koha-16.12.01~git+20170707095823.4afe1e29/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at t/Patron.t line 25. >BEGIN failed--compilation aborted at t/Patron.t line 25. ># Looks like your test exited with 2 before it could output anything. >t/Patron.t .......................... >Dubious, test returned 2 (wstat 512, 0x200) >Failed 11/11 subtests >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/Prices.t .......................... skipped: Need Test::DBIx::Class >t/Print.t ........................... ok >t/QueryParser.t ..................... ok >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >t/RecordProcessor.t ................. ok >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >DBI connect('database=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1487. >t/Ris.t ............................. ok >t/Scheduler.t ....................... ok >t/Scrubber.t ........................ ok >Can't locate Test/DBIx/Class.pm in @INC (you may need to install the Test::DBIx::Class module) (@INC contains: /build/koha-16.12.01~git+20170707095823.4afe1e29/blib/PERL_MODULE_DIR /build/koha-16.12.01~git+20170707095823.4afe1e29/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at t/Search.t line 24. >BEGIN failed--compilation aborted at t/Search.t line 24. ># Looks like your test exited with 2 before it could output anything. >t/Search.t .......................... >Dubious, test returned 2 (wstat 512, 0x200) >Failed 3/3 subtests >t/Search_PazPar2.t .................. ok >t/SimpleMARC.t ...................... ok >t/SMS.t ............................. ok >t/SocialData.t ...................... skipped: Need Test::DBIx::Class >t/Stats.t ........................... ok >t/SuggestionEngine.t ................ ok >Can't locate Test/DBIx/Class.pm in @INC (you may need to install the Test::DBIx::Class module) (@INC contains: /build/koha-16.12.01~git+20170707095823.4afe1e29/blib/PERL_MODULE_DIR /build/koha-16.12.01~git+20170707095823.4afe1e29/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at t/SuggestionEngine_AuthorityFile.t line 32. >BEGIN failed--compilation aborted at t/SuggestionEngine_AuthorityFile.t line 32. >t/SuggestionEngine_AuthorityFile.t .. >Dubious, test returned 2 (wstat 512, 0x200) >No subtests run >t/TmplToken.t ....................... ok >t/Token.t ........................... ok >t/XSLT.t ............................ skipped: Need Test::DBIx::Class > >Test Summary Report >------------------- >t/Patron.t (Wstat: 512 Tests: 0 Failed: 0) > Non-zero exit status: 2 > Parse errors: Bad plan. You planned 11 tests but ran 0. >t/Search.t (Wstat: 512 Tests: 0 Failed: 0) > Non-zero exit status: 2 > Parse errors: Bad plan. You planned 3 tests but ran 0. >t/SuggestionEngine_AuthorityFile.t (Wstat: 512 Tests: 0 Failed: 0) > Non-zero exit status: 2 > Parse errors: No plan found in TAP output >Files=97, Tests=11322, 145 wallclock secs ( 3.46 usr 0.33 sys + 99.50 cusr 9.78 csys = 113.07 CPU) >Result: FAIL >Failed 3/97 test programs. 0/11322 subtests failed. >Makefile:22452: recipe for target 'test_dynamic' failed >make[1]: *** [test_dynamic] Error 255
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 18851
:
64830
|
64831
|
64832
| 64913 |
64979
|
64990
|
64991
|
64992
|
64993
|
65199
|
65368
|
65574
|
65575
|
65576
|
65577
|
65578
|
65579