[Koha-bugs] [Bug 31380] Build Mojolicious controller for running Koha plugins

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 7 01:39:26 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31380

--- Comment #47 from David Cook <dcook at prosentient.com.au> ---
Oddly without any changes I'm getting the following:

testing 2 commit(s) (applied to 00fb85d 'fc Bug 34275: Add toggle switch for
b')

Processing files before patches
|========================>| 10 / 10 (100.00%)
Processing files after patches
|========================>| 10 / 10 (100.00%)

 OK     Koha/Auth.pm

 OK     Koha/Mojo/Plugins/Core.pm

 OK     Koha/Mojo/Staff.pm

 OK     Koha/Mojo/Staff/Controller/Plugins.pm

 OK     Koha/Template.pm

 OK     koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt

 OK     koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt

 OK     t/db_dependent/Koha/Auth.t

 FAIL   t/db_dependent/Koha/Mojo/Plugins/Core.t
   FAIL   file permissions
                File must have the exec flag

 OK     t/db_dependent/Koha/Template.t


Processing additional checks OK!

Running tests (3)
        * Proving /kohadevbox/koha/t/db_dependent/Koha/Template.t KO!
Cannot detect source of '/kohadevbox/koha/t/db_dependent/Koha/Template.t'! at
/usr/share/perl/5.34/TAP/Parser/IteratorFactory.pm line 256.
       
TAP::Parser::IteratorFactory::detect_source(TAP::Parser::IteratorFactory=HASH(0x5578694732d0),
TAP::Parser::Source=HASH(0x55786933c148)) called at
/usr/share/perl/5.34/TAP/Parser/IteratorFactory.pm line 211
       
TAP::Parser::IteratorFactory::make_iterator(TAP::Parser::IteratorFactory=HASH(0x5578694732d0),
TAP::Parser::Source=HASH(0x55786933c148)) called at
/usr/share/perl/5.34/TAP/Parser.pm line 472
        TAP::Parser::_initialize(TAP::Parser=HASH(0x55786930d9c0),
HASH(0x5578691627f0)) called at /usr/share/perl/5.34/TAP/Object.pm line 55
        TAP::Object::new("TAP::Parser", HASH(0x5578691627f0)) called at
/usr/share/perl/5.34/TAP/Object.pm line 130
        TAP::Object::_construct(TAP::Harness=HASH(0x557868bfdc48),
"TAP::Parser", HASH(0x5578691627f0)) called at
/usr/share/perl/5.34/TAP/Harness.pm line 856
        TAP::Harness::make_parser(TAP::Harness=HASH(0x557868bfdc48),
TAP::Parser::Scheduler::Job=HASH(0x55786930d738)) called at
/usr/share/perl/5.34/TAP/Harness.pm line 655
        TAP::Harness::_aggregate_single(TAP::Harness=HASH(0x557868bfdc48),
TAP::Parser::Aggregator=HASH(0x557868bfd858),
TAP::Parser::Scheduler=HASH(0x55786930d708)) called at
/usr/share/perl/5.34/TAP/Harness.pm line 747
        TAP::Harness::aggregate_tests(TAP::Harness=HASH(0x557868bfdc48),
TAP::Parser::Aggregator=HASH(0x557868bfd858),
"/kohadevbox/koha/t/db_dependent/Koha/Template.t") called at
/usr/share/perl/5.34/TAP/Harness.pm line 558
        TAP::Harness::__ANON__() called at /usr/share/perl/5.34/TAP/Harness.pm
line 571
        TAP::Harness::runtests(TAP::Harness=HASH(0x557868bfdc48),
"/kohadevbox/koha/t/db_dependent/Koha/Template.t") called at
/usr/share/perl/5.34/App/Prove.pm line 548
        App::Prove::_runtests(App::Prove=HASH(0x557868bca518),
HASH(0x55786903ce78), "/kohadevbox/koha/t/db_dependent/Koha/Template.t") called
at /usr/share/perl/5.34/App/Prove.pm line 506
        App::Prove::run(App::Prove=HASH(0x557868bca518)) called at
/usr/bin/prove line 13

        * Proving /kohadevbox/koha/t/db_dependent/Koha/Mojo/Plugins/Core.t KO!
Can't locate Koha/Auth.pm in @INC (you may need to install the Koha::Auth
module) (@INC contains: /kohadevbox/koha /kohadevbox/koha/lib
/kohadevbox/qa-test-tools /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0
/usr/local/share/perl
/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34
/usr/share/perl/5.34 /usr/local/lib/site_perl /var/lib/koha/kohadev/plugins) at
/kohadevbox/koha/Koha/M
ojo/Plugins/Core.pm line 22.
BEGIN failed--compilation aborted at /kohadevbox/koha/Koha/Mojo/Plugins/Core.pm
line 22.
Compilation failed in require at (eval 1958) line 1.
 # Looks like your test exited with 255 before it could output anything.
 /kohadevbox/koha/t/db_dependent/Koha/Mojo/Plugins/Core.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/2 subtests

Test Summary Report
-------------------
/kohadevbox/koha/t/db_dependent/Koha/Mojo/Plugins/Core.t (Wstat: 65280 Tests: 0
Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 2 tests but ran 0.
Files=1, Tests=0,  2 wallclock secs ( 0.02 usr  0.00 sys +  1.45 cusr  0.09
csys =  1.56 CPU)
 Result: FAIL

        * Proving /kohadevbox/koha/t/db_dependent/Koha/Auth.t KO!
Cannot detect source of '/kohadevbox/koha/t/db_dependent/Koha/Auth.t'! at
/usr/share/perl/5.34/TAP/Parser/IteratorFactory.pm line 256.
       
TAP::Parser::IteratorFactory::detect_source(TAP::Parser::IteratorFactory=HASH(0x55631048f6e0),
TAP::Parser::Source=HASH(0x5563103585e8)) called at
/usr/share/perl/5.34/TAP/Parser/IteratorFactory.pm line 211
       
TAP::Parser::IteratorFactory::make_iterator(TAP::Parser::IteratorFactory=HASH(0x55631048f6e0),
TAP::Parser::Source=HASH(0x5563103585e8)) called at
/usr/share/perl/5.34/TAP/Parser.pm line 472
        TAP::Parser::_initialize(TAP::Parser=HASH(0x556310329f50),
HASH(0x55631017ddf0)) called at /usr/share/perl/5.34/TAP/Object.pm line 55
        TAP::Object::new("TAP::Parser", HASH(0x55631017ddf0)) called at
/usr/share/perl/5.34/TAP/Object.pm line 130
        TAP::Object::_construct(TAP::Harness=HASH(0x55630fc16a58),
"TAP::Parser", HASH(0x55631017ddf0)) called at
/usr/share/perl/5.34/TAP/Harness.pm line 856
        TAP::Harness::make_parser(TAP::Harness=HASH(0x55630fc16a58),
TAP::Parser::Scheduler::Job=HASH(0x556310329cc8)) called at
/usr/share/perl/5.34/TAP/Harness.pm line 655
        TAP::Harness::_aggregate_single(TAP::Harness=HASH(0x55630fc16a58),
TAP::Parser::Aggregator=HASH(0x556310075248),
TAP::Parser::Scheduler=HASH(0x556310329c98)) called at
/usr/share/perl/5.34/TAP/Harness.pm line 747
        TAP::Harness::aggregate_tests(TAP::Harness=HASH(0x55630fc16a58),
TAP::Parser::Aggregator=HASH(0x556310075248),
"/kohadevbox/koha/t/db_dependent/Koha/Auth.t") called at
/usr/share/perl/5.34/TAP/Harness.pm line 558
        TAP::Harness::__ANON__() called at /usr/share/perl/5.34/TAP/Harness.pm
line 571
        TAP::Harness::runtests(TAP::Harness=HASH(0x55630fc16a58),
"/kohadevbox/koha/t/db_dependent/Koha/Auth.t") called at
/usr/share/perl/5.34/App/Prove.pm line 548
        App::Prove::_runtests(App::Prove=HASH(0x55630fbe6518),
HASH(0x556310059348), "/kohadevbox/koha/t/db_dependent/Koha/Auth.t") called at
/usr/share/perl/5.34/App/Prove.pm line 506
        App::Prove::run(App::Prove=HASH(0x55630fbe6518)) called at
/usr/bin/prove line 13

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list