Skip Menu |
 

This queue is for tickets about the Jifty CPAN distribution.

Report information
The Basics
Id: 48620
Status: resolved
Priority: 0/
Queue: Jifty

People
Owner: Nobody in particular
Requestors: david [...] davidfavor.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Jifty-0.90701 + perl-5.10.1-RC1-12 test failure + warnings
Date: Tue, 11 Aug 2009 08:03:32 -0500
To: bug-Jifty [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
Download (untitled) / with headers
text/plain 10.1k
PERL_DL_NONLAZY=1 /runtime/perl-5.10.1-RC1-12/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 ...................... ok 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 Use of uninitialized value $filename in require at /runtime/perl-5.10.1-RC1-12/lib/5.10.1/AutoLoader.pm line 27 during global destruction. Use of uninitialized value $filename in require at /runtime/perl-5.10.1-RC1-12/lib/5.10.1/AutoLoader.pm line 27 during global destruction. at /runtime/perl-5.10.1-RC1-12/lib/5.10.1/AutoLoader.pm line 27 t/TestApp-Mason/t/content.t ............................ ok Use of uninitialized value $filename in require at /runtime/perl-5.10.1-RC1-12/lib/5.10.1/AutoLoader.pm line 27 during global destruction. t/TestApp-Mason/t/index_vs_dhandler.t .................. ok Use of uninitialized value $filename in require at /runtime/perl-5.10.1-RC1-12/lib/5.10.1/AutoLoader.pm line 27 during global destruction. at /runtime/perl-5.10.1-RC1-12/lib/5.10.1/AutoLoader.pm line 27 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 ERROR - There was a validation error for color WARN - Use of uninitialized value $this 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 Uncaught warning: username isn't a valid field for TestApp::Plugin::PasswordAuth::Action::Login=HASH(0xbc583b8) at /root/.cpanplus/5.10.1/build/Jifty-0.90701/blib/lib/Jifty/Test.pm line 623. Uncaught warning: username isn't a valid field for TestApp::Plugin::PasswordAuth::Action::Login=HASH(0xb638b80) at /root/.cpanplus/5.10.1/build/Jifty-0.90701/blib/lib/Jifty/Test.pm line 623. Uncaught warning: username isn't a valid field for TestApp::Plugin::PasswordAuth::Action::Login=HASH(0xbb3ffb8) at /root/.cpanplus/5.10.1/build/Jifty-0.90701/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 # Failed test 'create via POST to model with disallowed create action failed with 403' # at t/TestApp-Plugin-REST/t/03-format.t line 156. # got: '500' # expected: '403' # Looks like you failed 1 test of 101. t/TestApp-Plugin-REST/t/03-format.t .................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/101 subtests 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 ... ok 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 ............................ ok 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 Subroutine main::get redefined at t/TestApp/t/18-test-www-declare.t line 14 t/TestApp/t/18-test-www-declare.t ...................... ok t/TestApp/t/19-rightsfrom.t ............................ ok t/TestApp/t/20-error-pages.t ........................... ok 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 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 Can't use 'title is' when mixing mason and TD at /runtime/perl-5.10.1-RC1-12/lib/site_perl/5.10.1/HTML/Mason/Request.pm line 1357 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 .................. ok t/TestApp/t/upgrade.t .................................. ok t/TestApp/t/use_mason_wrapper.t ........................ ok Test Summary Report ------------------- t/TestApp-Plugin-REST/t/03-format.t (Wstat: 256 Tests: 101 Failed: 1) Failed test: 48 Non-zero exit status: 1 -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.
Subject: Re: [rt.cpan.org #48620] Jifty-0.90701 + perl-5.10.1-RC1-12 test failure + warnings
Date: Tue, 11 Aug 2009 15:11:08 -0400
To: bug-Jifty <bug-jifty [...] rt.cpan.org>
From: Alex Vandiver <alex [...] chmrr.net>
Download (untitled) / with headers
text/plain 991b
At Tue Aug 11 09:03:58 -0400 2009, David Favor via RT wrote: Show quoted text
> [snip] > # Failed test 'create via POST to model with disallowed create action > failed with 403' > # at t/TestApp-Plugin-REST/t/03-format.t line 156. > # got: '500' > # expected: '403' > # Looks like you failed 1 test of 101. > t/TestApp-Plugin-REST/t/03-format.t .................... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/101 subtests > [snip] > Test Summary Report > ------------------- > t/TestApp-Plugin-REST/t/03-format.t (Wstat: 256 Tests: > 101 Failed: 1) > Failed test: 48 > Non-zero exit status: 1
Thanks for the report -- unfortunately, I can't replicate this locally. Can you send the results of: prove5.10.1 -MModule::Versions::Report -lv t/TestApp-Plugin-REST/t/03-format.t Thanks! - Alex -- Networking -- only one letter away from not working
Subject: Re: [rt.cpan.org #48620] Jifty-0.90701 + perl-5.10.1-RC1-12 test failure + warnings
Date: Fri, 14 Aug 2009 13:05:12 -0500
To: bug-Jifty [...] rt.cpan.org
From: David Favor <david [...] davidfavor.com>
Download (untitled) / with headers
text/plain 6.9k
Alex Vandiver via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=48620 > > > At Tue Aug 11 09:03:58 -0400 2009, David Favor via RT wrote:
>> [snip] >> # Failed test 'create via POST to model with disallowed create action >> failed with 403' >> # at t/TestApp-Plugin-REST/t/03-format.t line 156. >> # got: '500' >> # expected: '403' >> # Looks like you failed 1 test of 101. >> t/TestApp-Plugin-REST/t/03-format.t .................... >> Dubious, test returned 1 (wstat 256, 0x100) >> Failed 1/101 subtests >> [snip] >> Test Summary Report >> ------------------- >> t/TestApp-Plugin-REST/t/03-format.t (Wstat: 256 Tests: >> 101 Failed: 1) >> Failed test: 48 >> Non-zero exit status: 1
> > Thanks for the report -- unfortunately, I can't replicate this > locally. Can you send the results of: > > prove5.10.1 -MModule::Versions::Report -lv t/TestApp-Plugin-REST/t/03-format.t > > Thanks! > - Alex
net2#prove -V TAP::Harness v3.17 and Perl v5.10.1 net2#prove -MModule::Versions::Report -lv t/TestApp-Plugin-REST/t/03-format.t t/TestApp-Plugin-REST/t/03-format.t .. 1..101 ok 1 - The object isa Jifty::Server ok 2 - started server ok 3 - Loaded the test script ok 4 ok 5 - get successful ok 6 ok 7 - get successful ok 8 ok 9 - get successful ok 10 ok 11 - get successful ok 12 - four keys in the user record ok 13 - get successful ok 14 - four keys in the user record ok 15 - get successful ok 16 - four keys in the user record ok 17 - get successful ok 18 - one user ok 19 - get successful ok 20 - one user ok 21 - get successful ok 22 - one user ok 23 - get successful ok 24 ok 25 - get successful ok 26 ok 27 - get successful ok 28 ok 29 - get successful ok 30 ok 31 - get successful ok 32 ok 33 - get successful ok 34 ok 35 - post successful ok 36 - redirect successful ok 37 ok 38 ok 39 - post successful ok 40 - redirect successful ok 41 ok 42 ok 43 - post successful ok 44 - redirect successful ok 45 ok 46 ok 47 - create via POST to model worked not ok 48 - create via POST to model with disallowed create action failed with 403 # Failed test 'create via POST to model with disallowed create action failed with 403' # at t/TestApp-Plugin-REST/t/03-format.t line 156. # got: '500' # expected: '403' ok 49 - GET /=/search/user/id/1.yml ok 50 ok 51 - GET /=/search/user/id/1/name/test.yml ok 52 ok 53 - GET /=/search/user/id/1 ok 54 ok 55 ok 56 - GET /=/search/user/id/1.html ok 57 ok 58 - GET /=/search/user/id/1/name/test/email.yml ok 59 ok 60 ok 61 ok 62 ok 63 - GET /=/action/ ok 64 ok 65 - Content contains "TestApp.Plugin.REST.Action.CreateGroup" ok 66 - Content contains "TestApp.Plugin.REST.Action.UpdateGroup" ok 67 - Content contains "TestApp.Plugin.REST.Action.SearchGroup" ok 68 - Content contains "TestApp.Plugin.REST.Action.ExecuteGroup" ok 69 - Content contains "TestApp.Plugin.REST.Action.CreateUser" ok 70 - Content contains "TestApp.Plugin.REST.Action.UpdateUser" ok 71 - Content contains "TestApp.Plugin.REST.Action.DeleteUser" ok 72 - Content contains "TestApp.Plugin.REST.Action.SearchUser" ok 73 - Content contains "TestApp.Plugin.REST.Action.ExecuteUser" ok 74 - Content contains "TestApp.Plugin.REST.Action.DoSomething" ok 75 - Content contains "Jifty.Action.Autocomplete" ok 76 - Content contains "Jifty.Action.Redirect" ok 77 - GET /=/action.yml ok 78 - Got all the actions as YAML ok 79 - GET /=/action/DoSomething ok 80 ok 81 - GET /=/action/TestApp::Plugin::REST::Action::DoSomething ok 82 ok 83 - GET /=/action/TestApp.Plugin.REST.Action.DoSomething ok 84 ok 85 - Content contains "email" ok 86 - Content contains "Email" ok 87 - Content contains "example@email.com" ok 88 - GET /=/action/DoSomething.yml ok 89 ok 90 - Action has an email parameter ok 91 - email has the correct label ok 92 - email has the correct default ok 93 - Content contains "Something happened!" ok 94 - Content contains "Bad looking email" ok 95 - Content lacks "Something happened!" ok 96 - Content contains "Warning for email" ok 97 - Content contains "Something happened!" ok 98 ok 99 ok 100 - Action that doesn't validate fails ok 101 # Looks like you failed 1 test of 101. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/101 subtests Test Summary Report ------------------- t/TestApp-Plugin-REST/t/03-format.t (Wstat: 256 Tests: 101 Failed: 1) Failed test: 48 Non-zero exit status: 1 Files=1, Tests=101, 183 wallclock secs ( 0.07 usr 0.01 sys + 3.19 cusr 0.36 csys = 3.63 CPU) Result: FAIL Perl v5.10.1 under linux Modules in memory: App::Prove v3.17; App::Prove::State v3.17; App::Prove::State::Result v3.17; App::Prove::State::Result::Test v3.17; AutoLoader v5.69; Benchmark v1.11; Carp v1.11; Config; constant v1.17; Cwd v3.3; DynaLoader v1.10; Exporter v5.63; Exporter::Heavy v5.63; Fcntl v1.06; File::Basename v2.77; File::Find v1.14; File::Glob v1.06; File::Path v2.07_03; File::Spec v3.3; File::Spec::Unix v3.3; Getopt::Long v2.38; Getopt::Long::SUPER; IO v1.25; IO::Handle v1.28; IO::Select v1.17; IPC::Open3 v1.04; List::Util v1.21; Module::Versions::Report v1.06; overload v1.07; POSIX v1.17; POSIX::SigRt; re v0.09; Scalar::Util v1.21; SelectSaver v1.02; strict v1.04; Symbol v1.07; TAP::Base v3.17; TAP::Formatter::Base v3.17; TAP::Formatter::Base::SUPER; TAP::Formatter::Color v3.17; TAP::Formatter::Console v3.17; TAP::Formatter::Console::Session v3.17; TAP::Formatter::Session v3.17; TAP::Formatter::Session::SUPER; TAP::Harness v3.17; TAP::Harness::SUPER; TAP::Object v3.17; TAP::Parser v3.17; TAP::Parser::Aggregator v3.17; TAP::Parser::Grammar v3.17; TAP::Parser::Iterator v3.17; TAP::Parser::Iterator::Array v3.17; TAP::Parser::Iterator::Process v3.17; TAP::Parser::Iterator::Stream v3.17; TAP::Parser::IteratorFactory v3.17; TAP::Parser::Result v3.17; TAP::Parser::Result::Bailout v3.17; TAP::Parser::Result::Comment v3.17; TAP::Parser::Result::Plan v3.17; TAP::Parser::Result::Pragma v3.17; TAP::Parser::Result::Test v3.17; TAP::Parser::Result::Unknown v3.17; TAP::Parser::Result::Version v3.17; TAP::Parser::Result::YAML v3.17; TAP::Parser::ResultFactory v3.17; TAP::Parser::Scheduler v3.17; TAP::Parser::Scheduler::Job v3.17; TAP::Parser::Scheduler::Spinner v3.17; TAP::Parser::Source v3.17; TAP::Parser::Source::Perl v3.17; TAP::Parser::Source::Perl::SUPER; TAP::Parser::SUPER; TAP::Parser::Utils v3.17; TAP::Parser::YAMLish::Reader v3.17; TAP::Parser::YAMLish::Writer v3.17; Term::ANSIColor v2.01; Tie::Hash v1.03; Time::HiRes v1.9719; vars v1.01; warnings v1.06; warnings::register v1.01; XSLoader v0.10; [at Fri Aug 14 10:42:09 2009 (local) / Fri Aug 14 17:42:09 2009 (GMT)] -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com for the easy way!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.