[jifty-devel] errors in make test

Joe Casadonte jcasadonte at northbound-train.com
Wed Oct 14 15:48:17 EDT 2009


Trying to install Jifty, I'm getting the following errors.  I can run
them down one at a time, but thought I'd post first to see if it was
something simple.  Thanks!

[root at otm-rttest print_all_vars]# perl -v

This is perl, v5.8.5 built for i386-linux-thread-multi


cpan[1]> install Jifty

...

Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'inc', 'blib/lib', 'blib/arch')" t/*.t t/*/*.t t/*/*/*.t t/*/*/*/*.t
t/00-load.t ............................................ ok
t/01-dependencies.t .................................... ok
t/01-test-mechanize.t .................................. ok
t/01-test-web.t ........................................ ok
t/01-version_checks.t .................................. ok
t/02-connect.t ......................................... ok
t/03-form-protocol.t ................................... ok
t/03-is_passing-no_plan.t .............................. ok
t/03-is_passing.t ...................................... ok
t/03-test-mailbox.t .................................... ok
t/04-test_file.t ....................................... ok
t/05-dispatcher.t ...................................... skipped: Not written yet
t/06-forms.t ........................................... ok
t/07-limit-actions.t ................................... ok
t/08-client.t .......................................... ok
t/09-url.t ............................................. ok
t/10-i18n.t ............................................ ok
t/10-utf8.t ............................................ ok
t/11-config-files.t .................................... ok
t/12-param-schema.t .................................... ok
t/13-sessions.t ........................................ ok
t/99-pod-coverage.t .................................... skipped: Coverage tests only run for authors
t/99-pod.t ............................................. ok
t/Continuations/t/00-prototype.t ....................... ok
t/Continuations/t/01-raw-api.t ......................... ok
t/Continuations/t/02-api.t ............................. ok
t/Continuations/t/03-gc.t .............................. skipped: test file not done yet
t/Continuations/t/04-before-blocks.t ................... ok
t/DateTime.t ........................................... ok
t/Mapper/t/00-prototype.t .............................. ok
t/Mapper/t/01-raw-api.t ................................ ok
t/Mapper/t/02-api.t .................................... ok
t/TestApp-Collection-Select/t/collection-select.t ...... ok
t/TestApp-Dispatcher/t/00-basic.t ...................... 4/9 Can't use an undefined value as an ARRAY reference at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Plugin/TestServerWarnings.pm line 130.
Uncaught warning: 404: user tried to get to /something_that_really_not_exists at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Test.pm line 623.
# Looks like you planned 9 tests but ran 8.
# Looks like your test exited with 255 just after 8.
t/TestApp-Dispatcher/t/00-basic.t ...................... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/9 subtests
t/TestApp-Dispatcher/t/on.t ............................ ok
t/TestApp-Dispatcher/t/under.t ......................... ok
t/TestApp-JiftyJS/t/00-action-AddTwoNumbers.t .......... ok
t/TestApp-JiftyJS/t/00-action-Play.t ................... ok
t/TestApp-JiftyJS/t/00-action-Play2.t .................. ok
t/TestApp-JiftyJS/t/00-model-Offer.t ................... ok
t/TestApp-JiftyJS/t/1-jifty-update.t ................... ok
t/TestApp-JiftyJS/t/2-behaviour.t ...................... ok
t/TestApp-JiftyJS/t/3-continuation.t ................... ok
t/TestApp-JiftyJS/t/4-tangent.t ........................ ok
t/TestApp-JiftyJS/t/5-action.t ......................... ok
t/TestApp-JiftyJS/t/6-offer-actions.t .................. ok
t/TestApp-JiftyJS/t/7-redirect.t ....................... ok
t/TestApp-JiftyJS/t/8-placeholder.t .................... ok
t/TestApp-Mason/t/content.t ............................ ok
t/TestApp-Mason/t/index_vs_dhandler.t .................. ok
t/TestApp-Plugin-ActorMetadata/t/actormetadata.t ....... ok
t/TestApp-Plugin-ActorMetadata/t/mixin.t ............... ok
t/TestApp-Plugin-AppPluginHasModels/t/app-model-ref.t .. ok
t/TestApp-Plugin-AppPluginHasModels/t/app-model.t ...... ok
t/TestApp-Plugin-AppPluginHasModels/t/plugin-model.t ... ok
t/TestApp-Plugin-CompressedCSSandJS/t/css.t ............ ok
t/TestApp-Plugin-OnClick/t/onclick.t ................... ok
t/TestApp-Plugin-PasswordAuth/t/00-model-User.t ........ 1/24 ERROR - There was a validation error for color
WARN - Use of uninitialized value in pattern match (m//) at t/TestApp-Plugin-PasswordAuth/t/00-model-User.t line 75.
ERROR - There was a validation error for password
ERROR - There was a validation error for password
t/TestApp-Plugin-PasswordAuth/t/00-model-User.t ........ ok
t/TestApp-Plugin-PasswordAuth/t/01-tokengen.t .......... ok
t/TestApp-Plugin-PasswordAuth/t/11-current_user.t ...... ok
t/TestApp-Plugin-PasswordAuth/t/12-i18n.t .............. 6/7 Uncaught warning: username isn't a valid field for TestApp::Plugin::PasswordAuth::Action::Login=HASH(0xaafb8e0) at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Test.pm line 623.
Uncaught warning: username isn't a valid field for TestApp::Plugin::PasswordAuth::Action::Login=HASH(0xab37ec4) at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Test.pm line 623.
Uncaught warning: username isn't a valid field for TestApp::Plugin::PasswordAuth::Action::Login=HASH(0xaaeda20) at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Test.pm line 623.
t/TestApp-Plugin-PasswordAuth/t/12-i18n.t .............. ok
t/TestApp-Plugin-PasswordAuth/t/12-signup.t ............ ok
t/TestApp-Plugin-REST/t/00-model-User.t ................ ok
t/TestApp-Plugin-REST/t/00-prototype.t ................. ok
t/TestApp-Plugin-REST/t/02-basic-use.t ................. ok
t/TestApp-Plugin-REST/t/03-format.t .................... ok
t/TestApp-Plugin-SinglePage/t/history.t ................ ok
t/TestApp-Regions/t/01-region.t ........................ ok
t/TestApp-RestartServer/t/restart.t .................... ok
t/TestApp-Template-Declare/t/td.t ...................... ok
t/TestApp/t/00-model-User.t ............................ ok
t/TestApp/t/00-prototype.t ............................. ok
t/TestApp/t/01-config.t ................................ ok
t/TestApp/t/02-dispatch-http.t ......................... ok
t/TestApp/t/02-dispatch-https.t ........................ ok
t/TestApp/t/02-dispatch-show-rule-in-wrong-ruleset.t ... 3/11 Can't use an undefined value as an ARRAY reference at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Plugin/TestServerWarnings.pm line 130.
Uncaught warning:  'You can't call a 'show' rule in a 'before' or 'after' block in the dispatcher.  Not showing path /index.html at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Dispatcher.pm line 794.' at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Test.pm line 623.
Uncaught warning: 404: user tried to get to /before_stage_show at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Test.pm line 623.
# Looks like you planned 11 tests but ran 4.
# Looks like your test exited with 255 just after 4.
t/TestApp/t/02-dispatch-show-rule-in-wrong-ruleset.t ... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 7/11 subtests
t/TestApp/t/02-dispatch.t .............................. ok
t/TestApp/t/03-static.t ................................ ok
t/TestApp/t/04-sessions.t .............................. ok
t/TestApp/t/05-editactions-Cachable.t .................. ok
t/TestApp/t/05-editactions-Record.t .................... ok
t/TestApp/t/06-validation.t ............................ ok
t/TestApp/t/07-sandboxing.t ............................ 5/125 Can't use an undefined value as an ARRAY reference at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Plugin/TestServerWarnings.pm line 130.
Uncaught warning: 404: user tried to get to etc/passwd at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Test.pm line 623.
# Looks like you planned 125 tests but ran 8.
# Looks like your test exited with 9 just after 8.
t/TestApp/t/07-sandboxing.t ............................ Dubious, test returned 9 (wstat 2304, 0x900)
Failed 117/125 subtests
t/TestApp/t/08-notifications.t ......................... ok
t/TestApp/t/09-redirect.t .............................. ok
t/TestApp/t/10-compress.t .............................. ok
t/TestApp/t/11-current_user.t .......................... ok
t/TestApp/t/12-search.t ................................ ok
t/TestApp/t/13-page-regions.t .......................... ok
t/TestApp/t/14-template-paths.t ........................ ok
t/TestApp/t/15-template-subclass.t ..................... ok
t/TestApp/t/16-template-region.t ....................... ok
t/TestApp/t/17-template-region-internal-redirect.t ..... ok
t/TestApp/t/18-test-www-declare.t ...................... Subroutine main::get redefined at t/TestApp/t/18-test-www-declare.t line 14
t/TestApp/t/18-test-www-declare.t ...................... 2/2
#   Failed test 'region with internal redirects'
#   at t/TestApp/t/18-test-www-declare.t line 27.
# Flow 'region with internal redirects' failed: 500 - Server Error at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Test/WWW/Declare.pm line 69
# 500 - Server Error at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Test/WWW/Declare.pm line 69
# Looks like you failed 1 test of 2.
t/TestApp/t/18-test-www-declare.t ...................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
t/TestApp/t/19-rightsfrom.t ............................ ok
t/TestApp/t/20-error-pages.t ........................... 2/59 Can't use an undefined value as an ARRAY reference at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Plugin/TestServerWarnings.pm line 130.
Uncaught warning: View error: Can't locate object method "non_existent_method" via package "Jifty::Web" at /root/.cpan/build/Jifty-0.90701-783ueK/t/TestApp/share/web/templates/template-with-error line 4.

Template stack:
  [Mason call to content]
  [Mason path /_elements/wrapper]
  [Mason path /template-with-error]
  [Mason path /autohandler]
# Looks like you planned 59 tests but ran 2.
# Looks like your test exited with 255 just after 2.
t/TestApp/t/20-error-pages.t ........................... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 57/59 subtests
t/TestApp/t/21-js-arguments.t .......................... ok
t/TestApp/t/22-execute-action.t ........................ ok
t/TestApp/t/23-extend-update-action.t .................. ok
t/TestApp/t/24-extend-create-action.t .................. ok
t/TestApp/t/before_access.t ............................ 1/4 ERROR - 0 tried to create a TestApp::Model::User without permission
t/TestApp/t/before_access.t ............................ ok
t/TestApp/t/config/01-basic.t .......................... ok
t/TestApp/t/config/02-individual.t ..................... ok
t/TestApp/t/config/03-nosubtest.t ...................... ok
t/TestApp/t/crud.t ..................................... 1/3 Can't use 'title is' when mixing mason and TD at /usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1329
t/TestApp/t/crud.t ..................................... ok
t/TestApp/t/i18n-standalone.t .......................... ok
t/TestApp/t/instance_id.t .............................. ok
t/TestApp/t/regex_meta_in_path_info.t .................. 2/3 Can't use an undefined value as an ARRAY reference at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Plugin/TestServerWarnings.pm line 130.
Uncaught warning: 404: user tried to get to /***** at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Test.pm line 623.
# Looks like you planned 3 tests but ran 2.
# Looks like your test exited with 255 just after 2.
t/TestApp/t/regex_meta_in_path_info.t .................. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/3 subtests
t/TestApp/t/upgrade.t .................................. ok
t/TestApp/t/use_mason_wrapper.t ........................ 5/7 Can't use an undefined value as an ARRAY reference at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Plugin/TestServerWarnings.pm line 130.
Uncaught warning: Unhandled web error requested_private_component at /root/.cpan/build/Jifty-0.90701-783ueK/blib/lib/Jifty/Test.pm line 623.
# Looks like you planned 7 tests but ran 6.
# Looks like your test exited with 255 just after 6.
t/TestApp/t/use_mason_wrapper.t ........................ Dubious, test returned
255 (wstat 65280, 0xff00)
Failed 1/7 subtests

Test Summary Report
-------------------
t/TestApp-Dispatcher/t/00-basic.t                    (Wstat: 65280 Tests: 8 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 9 tests but ran 8.
t/TestApp/t/02-dispatch-show-rule-in-wrong-ruleset.t (Wstat: 65280 Tests: 4 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 11 tests but ran 4.
t/TestApp/t/07-sandboxing.t                          (Wstat: 2304 Tests: 8 Failed: 0)
  Non-zero exit status: 9
  Parse errors: Bad plan.  You planned 125 tests but ran 8.
t/TestApp/t/18-test-www-declare.t                    (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
t/TestApp/t/20-error-pages.t                         (Wstat: 65280 Tests: 2 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 59 tests but ran 2.
t/TestApp/t/regex_meta_in_path_info.t                (Wstat: 65280 Tests: 2 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 3 tests but ran 2.
t/TestApp/t/use_mason_wrapper.t                      (Wstat: 65280 Tests: 6 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 7 tests but ran 6.
Files=110, Tests=1694, 355 wallclock secs ( 1.71 usr  0.27 sys + 296.40 cusr 34.57 csys = 332.95 CPU)
Result: FAIL
Failed 7/110 test programs. 1/1694 subtests failed.
make: *** [test_dynamic] Error 255
  ALEXMV/Jifty-0.90701.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports ALEXMV/Jifty-0.90701.tar.gz
Running make install
  make test had returned bad status, won't install without force
Failed during this command:
 ALEXMV/Jifty-0.90701.tar.gz                  : make_test NO




-- 
Regards,


joe
Joe Casadonte
jcasadonte at northbound-train.com

------------------------------------------------------------------------------
         Llama Fresh Farms => http://www.northbound-train.com
    Ramblings of a Gay Man => http://www.northbound-train.com/ramblings
               Emacs Stuff => http://www.northbound-train.com/emacs.html
          Music CD Trading => http://www.northbound-train.com/cdr.html
------------------------------------------------------------------------------
                       Live Free, that's the message!
------------------------------------------------------------------------------


More information about the jifty-devel mailing list