
bobtfish at bobtfish
Oct 27, 2008, 3:50 PM
Post #1 of 7
(1185 views)
Permalink
|
|
Smoke tests - summary of things which don't work against 5.80
|
|
I've been smoke testing most stuff in the Catalyst repository against Runtime 5.80 to see what has been broken. I'm hoping to expand to a point where I'm testing everything in the repos soonish.. http://catalyst-smokes.bobtfish.net/ From my last run, there are some interesting conclusions. Most of the failures seem to be groupable, meaning there are two or three big things stopping things working at the moment - the most obvious ones being: - Not being able to find mk_accessors - Not having NEXT loaded There are also a couple of common failures in several of the HTTP engine modules which may indicate real bugs in 5.80 trunk, and a couple of other failures that look 'real' - although I haven't looked into these any deeper. I've included a useful snippet from the test output below, for each of the modules which don't quite work (but don't fail due to dependencies or some such). Catalyst-Action-REST: # Error: Could not load class (Test::Serialize) because : Could not load class (Catalyst::Action::Deserialize) because : Can't locate object method "mk_accessors" via package "Catalyst::Request::REST" at /home/chimps/repos/Catalyst-Action-REST/0.60/trunk/t/../lib/ Catalyst/Request/REST.pm line 45. Catalyst-Action-RenderView: [error] Caught exception in TestApp->end "Can't locate object method "execute" via package "NEXT" (perhaps you forgot to load "NEXT"?) at / home/chimps/repos/trunk/Catalyst-Action-RenderView/lib/Catalyst/ Action/RenderView.pm line 18." Catalyst-Authentication-Credential-HTTP: t/live_app...........Can't locate object method "setup" via package "NEXT" (perhaps you forgot to load "NEXT"?) at /home/chimps/repos/ trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/ Authentication.pm line 204. Catalyst-Authentication-Store-DBIx-Class: t/03-authtest...................Could not load class (TestApp) because : Can't locate object method "setup" via package "NEXT" (perhaps you forgot to load "NEXT"?) at /home/chimps/repos/ trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/ Authentication.pm line 204. Catalyst-Controller-FormBuilder: t/03-attr_param....Could not load class (TestApp) because : Couldn't instantiate component "TestApp::Controller::Base", "Can't locate object method "new" via package "NEXT" (perhaps you forgot to load "NEXT"?) at /home/chimps/repos/trunk/Catalyst-Controller-FormBuilder/ lib/Catalyst/Controller/FormBuilder.pm line 12." at (eval 198) line 3 Catalyst-Controller-PathArgs: t/002_main....Could not load class (TestApp) because : Can't call method "reverse" on an undefined value at /home/chimps/repos/Catalyst- Runtime/5.80/trunk/lib/Catalyst/DispatchType/Chained.pm line 102. Catalyst-Controller-SOAP: # Could not load class (Catalyst::Action::SOAP::RPCEndpoint) because : Can't locate object method "mk_accessors" via package "Catalyst::Action::SOAP" at /home/chimps/repos/Catalyst-Controller- SOAP/1.0/trunk/lib/Catalyst/Action/SOAP.pm line 6. Catalyst-Controller-WrapCGI: t/wrap-cgi..........Could not load class (TestApp) because : Can't call method "has_package_symbol" without a package or object reference at /home/chimps/repos/Catalyst-Runtime/5.80/trunk/lib/ Catalyst/ClassData.pm line 20. Catalyst-Engine-Apache: Won't run in my smoke test harness, as it requires 'TestApp', but when run manually I get the following failures which appear to show up real bugs: t/live_component_controller_action_streaming (Wstat: 512 Tests: 10 Failed: 2) t/live_engine_request_parameters (Wstat: 256 Tests: 35 Failed: 1) t/live_engine_response_cookies (Wstat: 512 Tests: 15 Failed: 2) Catalyst-Engine-HTTP-POE: t/live_component_controller_action_streaming (Wstat: 512 Tests: 10 Failed: 2) t/live_engine_request_parameters (Wstat: 256 Tests: 30 Failed: 1) t/live_engine_response_cookies (Wstat: 512 Tests: 15 Failed: 2) t/live_plugin_loaded (Wstat: 256 Tests: 5 Failed: 1) Catalyst-Engine-HTTP-Prefork: t/live_component_controller_action_streaming (Wstat: 512 Tests: 10 Failed: 2) t/live_engine_request_parameters (Wstat: 256 Tests: 40 Failed: 1) t/live_engine_response_cookies (Wstat: 512 Tests: 15 Failed: 2) t/live_http11_request_absolute (Wstat: 65280 Tests: 2 Failed: 2) t/live_http11_request_chunked (Wstat: 512 Tests: 5 Failed: 2) t/live_http11_request_pipelined (Wstat: 1024 Tests: 4 Failed: 4) t/live_http11_response_100continue (Wstat: 65280 Tests: 3 Failed: 2) Parse errors: Bad plan. You planned 10 tests but ran 3. t/live_http11_response_keepalive (Wstat: 512 Tests: 4 Failed: 2) Catalyst-Helper-AuthDBIC: t/02-usage (Wstat: 1024 Tests: 5 Failed: 4) Failed tests: 2-5 Non-zero exit status: 4 Catalyst-Log-Log4perl: t/10-basic......2/14 Can't call method "response" on an undefined value at t/10-basic.t line 42. Catalyst-Model-Akismet: # Error: Couldn't instantiate component "TestApp::Model::Akismet", "Can't locate object method "linearized_isa" via package "Moose::Meta::Role" at /home/chimps/ repos/Catalyst-Runtime/5.80/trunk/lib/Catalyst/ClassData.pm line 23." at (eval 3) line 2 Catalyst-Model-DBI-SQL-Library: # Error: Can't locate object method "mk_accessors" via package "Catalyst::Model::DBI::SQL::Library" at /home/chimps/repos/trunk/ Catalyst-Model-DBI-SQL-Library/lib/Catalyst/Model/DBI/SQL/Library.pm line 11. Catalyst-Model-Net-Amazon: t/01use (Wstat: 512 Tests: 3 Failed: 2) Failed tests: 2-3 Catalyst-Model-PayPal-IPN: t/pod-coverage (Wstat: 256 Tests: 1 Failed: 1) Catalyst-Model-S3: # The object isn't a 'Net::Amazon::S3' it's a 'TestApp::Model::S3' Catalyst-Model-Search: [error] Caught exception in TestApp::C::Plucene->query_items "Can't take log of 0 at /home/chimps/perl5/lib/perl5/Plucene/Search/ Similarity.pm line 61." Catalyst-Plugin-Authentication: t/live_app_realms...........Could not load class (AuthRealmTestApp) because : Can't locate object method "setup" via package "NEXT" (perhaps you forgot to load "NEXT"?) at /home/chimps/repos/ trunk/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/ Authentication.pm line 204. Catalyst-Plugin-Authentication-Store-DBIC: t/06auth-hashed..............Could not load class (TestApp) because : Can't use string ("TestApp") as a HASH ref while "strict refs" in use at (eval 265) line 13. Catalyst-Plugin-Authorization-ACL: t/live_app.........Could not load class (ACLTestApp) because : Can't use string ("ACLTestApp") as a HASH ref while "strict refs" in use at (eval 278) line 13. t/more_live_app....Could not load class (ACLTestApp2) because : Can't locate object method "tree" via package "Catalyst::Dispatcher" at / home/chimps/Catalyst-Plugin-Authorization-ACL/lib/Catalyst/Plugin/ Authorization/ACL/Engine.pm line 121 Catalyst-Plugin-Cache: [error] Caught exception in CacheTestApp::Controller::Root->bar "Not an ARRAY reference at /home/chimps/repos/trunk/Catalyst-Plugin-Cache/ lib/Catalyst/Plugin/Cache/Curried.pm line 40." Catalyst-Plugin-HTML-Widget: Appears broken against new HTML::Widget: [error] Caught exception in TestApp->nameless_noresult "Undefined subroutine &HTML::Widget::Result::attributes called at /home/chimps/ perl5/lib/perl5/HTML/Widget/ Catalyst-Plugin-OrderedParams: t/04params (Wstat: 1024 Tests: 7 Failed: 4) Catalyst-Plugin-Server: t/040_faultcode........Could not load class (TestApp) because : Can't locate object method "setup_dispatcher" via package "NEXT" (perhaps you forgot to load "NEXT"?) at ../lib/Catalyst/Plugin/Server.pm line 16. Catalyst-Plugin-Session-AuthOnly: t/basic....1/? mk_classdata() is a class method, not an object method at t/basic.t line 39 Catalyst-Plugin-Session-PerUser: [error] Caught exception in engine "Can't use an undefined value as an ARRAY reference at /home/chimps/repos/Catalyst-Runtime/5.80/trunk/ lib/Catalyst.pm line 1329 Catalyst-Plugin-Static-Simple: t/11serve_static....Could not load class (TestApp) because : Can't locate object method "setup" via package "NEXT" (perhaps you forgot to load "NEXT"?) at /home/chimps/repos/trunk/Catalyst-Plugin-Static- Simple/lib/Catalyst/Plugin/Static/Simple.pm line 85. Catalyst-Plugin-Unicode: [error] Caught exception in engine "Can't locate object method "prepare_parameters" via package "NEXT" (perhaps you forgot to load "NEXT"?) at /home/chimps/repos/trunk/Catalyst-Plugin-Unicode/lib/ Catalyst/Plugin/Unicode.pm line 20." Hope this is some help / use to someone :) Cheers t0m _______________________________________________ Catalyst-dev mailing list Catalyst-dev[at]lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev
|