Subject: | More test failure |
Even with latest Test::More installed testing failed.
Attached is the log of
prove -v t/generated_app.t
Subject: | generated_app.log |
# Generated app is in /tmp/BnSIU2Tnps
lib/TestApp.pm syntax OK
lib/TestApp/Controller/Root.pm syntax OK
[debug] Debug messages enabled
[debug] Statistics enabled
[debug] Loaded plugins:
.-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.
| Catalyst::Plugin::ConfigLoader 0.27 |
| Catalyst::Plugin::Static::Simple 0.25 |
'-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------'
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine::CGI"
[debug] Found home "/tmp/BnSIU2Tnps/TestApp"
[debug] Loaded Config "/tmp/BnSIU2Tnps/TestApp/testapp.conf"
[debug] Loaded components:
.------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------.
| Class | Type |
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+
| TestApp::Controller::Root | instance |
'------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------'
[debug] Loaded Private actions:
.--------------------------------------------------+---------------------------------------------------------------------------------------------------+----------------------------------------------------.
| Private | Class | Method |
+--------------------------------------------------+---------------------------------------------------------------------------------------------------+----------------------------------------------------+
| /default | TestApp::Controller::Root | default |
| /end | TestApp::Controller::Root | end |
| /index | TestApp::Controller::Root | index |
'--------------------------------------------------+---------------------------------------------------------------------------------------------------+----------------------------------------------------'
[debug] Loaded Path actions:
.-----------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------.
| Path | Private |
+-----------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
| / | /index |
| / | /default |
'-----------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------'
[info] TestApp powered by Catalyst 5.80015
script/testapp_cgi.pl syntax OK
[debug] Debug messages enabled
[debug] Statistics enabled
[debug] Loaded plugins:
.-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.
| Catalyst::Plugin::ConfigLoader 0.27 |
| Catalyst::Plugin::Static::Simple 0.25 |
'-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------'
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine::FastCGI"
[debug] Found home "/tmp/BnSIU2Tnps/TestApp"
[debug] Loaded Config "/tmp/BnSIU2Tnps/TestApp/testapp.conf"
[debug] Loaded components:
.------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------.
| Class | Type |
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+
| TestApp::Controller::Root | instance |
'------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------'
[debug] Loaded Private actions:
.--------------------------------------------------+---------------------------------------------------------------------------------------------------+----------------------------------------------------.
| Private | Class | Method |
+--------------------------------------------------+---------------------------------------------------------------------------------------------------+----------------------------------------------------+
| /default | TestApp::Controller::Root | default |
| /end | TestApp::Controller::Root | end |
| /index | TestApp::Controller::Root | index |
'--------------------------------------------------+---------------------------------------------------------------------------------------------------+----------------------------------------------------'
[debug] Loaded Path actions:
.-----------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------.
| Path | Private |
+-----------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
| / | /index |
| / | /default |
'-----------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------'
[info] TestApp powered by Catalyst 5.80015
script/testapp_fastcgi.pl syntax OK
script/testapp_server.pl syntax OK
[debug] Debug messages enabled
[debug] Statistics enabled
[debug] Loaded plugins:
.-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.
| Catalyst::Plugin::ConfigLoader 0.27 |
| Catalyst::Plugin::Static::Simple 0.25 |
'-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------'
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine::CGI"
[debug] Found home "/tmp/BnSIU2Tnps/TestApp"
[debug] Loaded Config "/tmp/BnSIU2Tnps/TestApp/testapp.conf"
[debug] Loaded components:
.------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------.
| Class | Type |
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+
| TestApp::Controller::Root | instance |
'------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------'
[debug] Loaded Private actions:
.--------------------------------------------------+---------------------------------------------------------------------------------------------------+----------------------------------------------------.
| Private | Class | Method |
+--------------------------------------------------+---------------------------------------------------------------------------------------------------+----------------------------------------------------+
| /default | TestApp::Controller::Root | default |
| /end | TestApp::Controller::Root | end |
| /index | TestApp::Controller::Root | index |
'--------------------------------------------------+---------------------------------------------------------------------------------------------------+----------------------------------------------------'
[debug] Loaded Path actions:
.-----------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------.
| Path | Private |
+-----------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------+
| / | /index |
| / | /default |
'-----------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------'
[info] TestApp powered by Catalyst 5.80015
script/testapp_test.pl syntax OK
script/testapp_create.pl syntax OK
Cannot find /opt/perl/5.10.1/lib/site_perl/x86_64-linux/auto/Catalyst/Devel/lib/Helper/compclass.pm.tt at /root/.cpan_5.10.1/build/Catalyst-Devel-1.22-abmdus/t/../lib/Catalyst/Helper.pm line 44
Catalyst::Helper::get_sharedir_file('Catalyst::Helper=HASH(0x190c268)', 'Path::Class::File=HASH(0x18f0240)') called at /root/.cpan_5.10.1/build/Catalyst-Devel-1.22-abmdus/t/../lib/Catalyst/Helper.pm line 287
Catalyst::Helper::render_sharedir_file('Catalyst::Helper=HASH(0x190c268)', 'Path::Class::File=HASH(0x18f0240)', 'Path::Class::File=HASH(0x18f8708)') called at /root/.cpan_5.10.1/build/Catalyst-Devel-1.22-abmdus/t/../lib/Catalyst/Helper.pm line 449
Catalyst::Helper::_mk_compclass('Catalyst::Helper=HASH(0x190c268)') called at /root/.cpan_5.10.1/build/Catalyst-Devel-1.22-abmdus/t/../lib/Catalyst/Helper.pm line 207
Catalyst::Helper::mk_component('Catalyst::Helper=HASH(0x190c268)', 'TestApp', 'Model', 'MyModel') called at script/testapp_create.pl line 23
# Failed test ''script/testapp_create.pl Model MyModel' ok'
# at t/generated_app.t line 85.
# got: '512'
# expected: '0'
# Failed test 'Have t/Model_MyModel.t in generated app'
# at t/generated_app.t line 92.
Cannot find /opt/perl/5.10.1/lib/site_perl/x86_64-linux/auto/Catalyst/Devel/lib/Helper/compclass.pm.tt at /root/.cpan_5.10.1/build/Catalyst-Devel-1.22-abmdus/t/../lib/Catalyst/Helper.pm line 44
Catalyst::Helper::get_sharedir_file('Catalyst::Helper=HASH(0x190c268)', 'Path::Class::File=HASH(0x18f0240)') called at /root/.cpan_5.10.1/build/Catalyst-Devel-1.22-abmdus/t/../lib/Catalyst/Helper.pm line 287
Catalyst::Helper::render_sharedir_file('Catalyst::Helper=HASH(0x190c268)', 'Path::Class::File=HASH(0x18f0240)', 'Path::Class::File=HASH(0x18f8708)') called at /root/.cpan_5.10.1/build/Catalyst-Devel-1.22-abmdus/t/../lib/Catalyst/Helper.pm line 449
Catalyst::Helper::_mk_compclass('Catalyst::Helper=HASH(0x190c268)') called at /root/.cpan_5.10.1/build/Catalyst-Devel-1.22-abmdus/t/../lib/Catalyst/Helper.pm line 207
Catalyst::Helper::mk_component('Catalyst::Helper=HASH(0x190c268)', 'TestApp', 'View', 'MyView') called at script/testapp_create.pl line 23
# Failed test ''script/testapp_create.pl View MyView' ok'
# at t/generated_app.t line 85.
# got: '512'
# expected: '0'
# Failed test 'Have t/View_MyView.t in generated app'
# at t/generated_app.t line 92.
Cannot find /opt/perl/5.10.1/lib/site_perl/x86_64-linux/auto/Catalyst/Devel/lib/Helper/compclass.pm.tt at /root/.cpan_5.10.1/build/Catalyst-Devel-1.22-abmdus/t/../lib/Catalyst/Helper.pm line 44
Catalyst::Helper::get_sharedir_file('Catalyst::Helper=HASH(0x190c268)', 'Path::Class::File=HASH(0x18f0240)') called at /root/.cpan_5.10.1/build/Catalyst-Devel-1.22-abmdus/t/../lib/Catalyst/Helper.pm line 287
Catalyst::Helper::render_sharedir_file('Catalyst::Helper=HASH(0x190c268)', 'Path::Class::File=HASH(0x18f0240)', 'Path::Class::File=HASH(0x18f8708)') called at /root/.cpan_5.10.1/build/Catalyst-Devel-1.22-abmdus/t/../lib/Catalyst/Helper.pm line 449
Catalyst::Helper::_mk_compclass('Catalyst::Helper=HASH(0x190c268)') called at /root/.cpan_5.10.1/build/Catalyst-Devel-1.22-abmdus/t/../lib/Catalyst/Helper.pm line 207
Catalyst::Helper::mk_component('Catalyst::Helper=HASH(0x190c268)', 'TestApp', 'Controller', 'MyController') called at script/testapp_create.pl line 23
# Failed test ''script/testapp_create.pl Controller MyController' ok'
# at t/generated_app.t line 85.
# got: '512'
# expected: '0'
# Failed test 'Have t/Controller_MyController.t in generated app'
# at t/generated_app.t line 92.
Cannot determine perl version info from lib/TestApp.pm
t/01app.t did not return a true value at t/generated_app.t line 109.
# Child (Generated app test: t/01app.t) exited without calling finalize()
# Failed test 'Generated app test: t/01app.t'
# at /opt/perl/5.10.1/lib/Test/Builder.pm line 227.
# Tests were run but no plan was declared and done_testing() was not seen.
cannot remove path when cwd is /tmp/BnSIU2Tnps/TestApp for /tmp/BnSIU2Tnps: at /opt/perl/5.10.1/lib/File/Temp.pm line 902
t/generated_app.t ..
ok 1 - Exit status ok
ok 2 - Have Makefile.PL in generated app
ok 3 - Have testapp.conf in generated app
ok 4 - Have lib/TestApp.pm in generated app
ok 5 - lib/TestApp.pm compiles
ok 6 - Have lib/TestApp/Controller/Root.pm in generated app
ok 7 - lib/TestApp/Controller/Root.pm compiles
ok 8 - Have README in generated app
ok 9 - Have Changes in generated app
ok 10 - Have t/01app.t in generated app
ok 11 - Have t/02pod.t in generated app
ok 12 - Have t/03podcoverage.t in generated app
ok 13 - Have root/static/images/catalyst_logo.png in generated app
ok 14 - Have root/static/images/btn_120x50_built.png in generated app
ok 15 - Have root/static/images/btn_120x50_built_shadow.png in generated app
ok 16 - Have root/static/images/btn_120x50_powered.png in generated app
ok 17 - Have root/static/images/btn_120x50_powered_shadow.png in generated app
ok 18 - Have root/static/images/btn_88x31_built.png in generated app
ok 19 - Have root/static/images/btn_88x31_built_shadow.png in generated app
ok 20 - Have root/static/images/btn_88x31_powered.png in generated app
ok 21 - Have root/static/images/btn_88x31_powered_shadow.png in generated app
ok 22 - Have root/favicon.ico in generated app
ok 23 - Have Makefile.PL in generated app
ok 24 - Have script/testapp_cgi.pl in generated app
ok 25 - script/testapp_cgi.pl is executable
ok 26 - script/testapp_cgi.pl compiles
ok 27 - Have script/testapp_fastcgi.pl in generated app
ok 28 - script/testapp_fastcgi.pl is executable
ok 29 - script/testapp_fastcgi.pl compiles
ok 30 - Have script/testapp_server.pl in generated app
ok 31 - script/testapp_server.pl is executable
ok 32 - script/testapp_server.pl compiles
ok 33 - Have script/testapp_test.pl in generated app
ok 34 - script/testapp_test.pl is executable
ok 35 - script/testapp_test.pl compiles
ok 36 - Have script/testapp_create.pl in generated app
ok 37 - script/testapp_create.pl is executable
ok 38 - script/testapp_create.pl compiles
exists "/tmp/BnSIU2Tnps/TestApp/script/../lib/TestApp/Model"
exists "/tmp/BnSIU2Tnps/TestApp/script/../t"
not ok 39 - 'script/testapp_create.pl Model MyModel' ok
not ok 40 - Have t/Model_MyModel.t in generated app
exists "/tmp/BnSIU2Tnps/TestApp/script/../lib/TestApp/View"
exists "/tmp/BnSIU2Tnps/TestApp/script/../t"
not ok 41 - 'script/testapp_create.pl View MyView' ok
not ok 42 - Have t/View_MyView.t in generated app
exists "/tmp/BnSIU2Tnps/TestApp/script/../lib/TestApp/Controller"
exists "/tmp/BnSIU2Tnps/TestApp/script/../t"
not ok 43 - 'script/testapp_create.pl Controller MyController' ok
not ok 44 - Have t/Controller_MyController.t in generated app
include /tmp/BnSIU2Tnps/TestApp/inc/Module/Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/Catalyst.pm
*** Module::Install::Catalyst
include inc/Module/Install/Makefile.pm
Please run "make catalyst_par" to create the PAR package!
*** Module::Install::Catalyst finished.
include inc/Module/Install/Scripts.pm
include inc/Module/Install/AutoInstall.pm
include inc/Module/Install/Include.pm
include inc/Module/AutoInstall.pm
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- Catalyst::Runtime ...loaded. (5.80015 >= 5.71001)
- Catalyst::Plugin::ConfigLoader ...loaded. (0.27)
- Catalyst::Plugin::Static::Simple ...loaded. (0.25)
- Catalyst::Action::RenderView ...loaded. (0.13)
- parent ...loaded. (0.221)
- Config::General ...loaded. (2.44)
*** Module::AutoInstall configuration finished.
include inc/Module/Install/WriteAll.pm
include inc/Module/Install/Win32.pm
include inc/Module/Install/Can.pm
include inc/Module/Install/Fetch.pm
Writing Makefile for TestApp
Writing META.yml
ok 45 - Ran Makefile.PL
ok 46 - Makefile generated
cp lib/TestApp/Controller/Root.pm blib/lib/TestApp/Controller/Root.pm
cp lib/TestApp.pm blib/lib/TestApp.pm
cp script/testapp_cgi.pl blib/script/testapp_cgi.pl
/opt/perl/5.10.1/bin/perl "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/testapp_cgi.pl
cp script/testapp_create.pl blib/script/testapp_create.pl
/opt/perl/5.10.1/bin/perl "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/testapp_create.pl
cp script/testapp_fastcgi.pl blib/script/testapp_fastcgi.pl
/opt/perl/5.10.1/bin/perl "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/testapp_fastcgi.pl
cp script/testapp_server.pl blib/script/testapp_server.pl
/opt/perl/5.10.1/bin/perl "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/testapp_server.pl
cp script/testapp_test.pl blib/script/testapp_test.pl
/opt/perl/5.10.1/bin/perl "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/testapp_test.pl
Manifying blib/man1/testapp_cgi.pl.1
Manifying blib/man1/testapp_create.pl.1
Manifying blib/man1/testapp_fastcgi.pl.1
Manifying blib/man1/testapp_server.pl.1
Manifying blib/man1/testapp_test.pl.1
Manifying blib/man3/TestApp::Controller::Root.3pm
Manifying blib/man3/TestApp.3pm
ok 47 - Run make
1..2
ok 1 - use Catalyst::Test;
ok 2 - Request should succeed
not ok 48 - Generated app test: t/01app.t
Dubious, test returned 9 (wstat 2304, 0x900)
Failed 7/48 subtests
Test Summary Report
-------------------
t/generated_app.t (Wstat: 2304 Tests: 48 Failed: 7)
Failed tests: 39-44, 48
Non-zero exit status: 9
Parse errors: No plan found in TAP output
Files=1, Tests=48, 9 wallclock secs ( 0.05 usr 0.01 sys + 7.48 cusr 1.02 csys = 8.56 CPU)
Result: FAIL