Skip Menu |

This queue is for tickets about the Catalyst-Action-REST CPAN distribution.

Report information
The Basics
Id: 63426
Status: resolved
Priority: 0/
Queue: Catalyst-Action-REST

People
Owner: Nobody in particular
Requestors: rmb32 [...] cornell.edu
Cc:
AdminCc:

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



Subject: test failure: t/catalyst-traitfor-request-rest.t

Message body is not shown because it is too large.

From: bitcard [...] faxm0dem.org
Same here: [fabien@ccsvli08 Catalyst-Action-REST-0.87-xyRsIR]$ perl Makefile.PL *** Module::AutoInstall version 1.03 *** Checking for Perl dependencies... [Core Features] - Test::More ...loaded. (0.96 >= 0.88) - Moose ...loaded. (1.05 >= 1.03) - namespace::autoclean ...loaded. (0.11) - Catalyst::Runtime ...loaded. (5.80029 >= 5.80) - Params::Validate ...loaded. (0.91 >= 0.76) - YAML::Syck ...loaded. (1.08 >= 0.67) - Module::Pluggable::Object ...loaded. (3.9) - LWP::UserAgent ...loaded. (5.835 >= 2.033) - Data::Serializer ...loaded. (0.49 >= 0.36) - Class::Inspector ...loaded. (1.24 >= 1.13) - URI::Find ...loaded. (20100505) - MRO::Compat ...loaded. (0.10 >= 0.10) - namespace::autoclean ...loaded. (0.11) [JSON (application/json) support] - JSON ...loaded. (2.14 >= 2.12) - JSON::XS ...loaded. (2.29 >= 2.2222) [Data::Taxi (text/x-data-taxi) support] - Data::Taxi ...loaded. (0.95) [Config::General (text/x-config-general) support] - Config::General ...loaded. (2.48) [PHP::Serialization (text/x-php-serialization) support] - PHP::Serialization ...loaded. (0.34) [FreezeThaw (application/x-freezethaw) support] - FreezeThaw ...loaded. (0.5001) [XML::Simple (text/xml) support] - XML::Simple ...loaded. (2.18) *** Module::AutoInstall configuration finished. Writing Makefile for Catalyst::Action::REST [fabien@ccsvli08 Catalyst-Action-REST-0.87-xyRsIR]$ prove -vl t/catalyst-traitfo r-request-rest .t t/catalyst-traitfor-request-rest.t .. ok 1 - content-type set in request headers is found ok 2 - preferred content type is text/foobar ok 3 - accept_only is false ok 4 - accepts text/foobar ok 5 - does not accept text/html ok 6 - content-type set in request headers and type in parameters is found ok 7 - preferred content type is text/foobar ok 8 - accept_only is false ok 9 - accepts text/foobar ok 10 - accepts text/fudge ok 11 - does not accept text/html ok 12 - content type in parameters is ignored for POST ok 13 - accept header is parsed properly ok 14 - preferred content type is text/xml ok 15 - accept_only is true ok 16 - accepts text/html ok 17 - accepts image/png ok 18 - does not accept image/svg ok 19 - accept header is parsed properly, and content-type header has precedence over accept ok 20 - accept_only is false ok 21 - accept header is parsed properly, and content-type header has precedence over accept ok 22 - accept_only is false ok 23 - each type appears only once ok 24 - each type appears only once ok 25 - content-type set in request headers is found ok 26 - preferred content type is text/foobar ok 27 - accept_only is false ok 28 - accepts text/foobar ok 29 - does not accept text/html ok 30 - content-type set in request headers and type in parameters is found ok 31 - preferred content type is text/foobar ok 32 - accept_only is false ok 33 - accepts text/foobar ok 34 - accepts text/fudge ok 35 - does not accept text/html ok 36 - content type in parameters is ignored for POST ok 37 - accept header is parsed properly ok 38 - preferred content type is text/xml ok 39 - accept_only is true ok 40 - accepts text/html ok 41 - accepts image/png ok 42 - does not accept image/svg ok 43 - accept header is parsed properly, and content-type header has precedence over accept ok 44 - accept_only is false ok 45 - accept header is parsed properly, and content-type header has precedence over accept ok 46 - accept_only is false ok 47 - each type appears only once ok 48 - each type appears only once ok 49 - use Test::Catalyst::Action::REST; ok 50 - Request::REST took over for Request not ok 51 - Can setup again # Failed test 'Can setup again' # at t/catalyst-traitfor-request-rest.t line 196. not ok 52 - Different request class # Failed test 'Different request class' # at t/catalyst-traitfor-request-rest.t line 197. # got: 'Class::MOP::Class::__ANON__::SERIAL::10' # expected: anything else ok 53 - Is right class not ok 54 - Also smells like REST subclass # Failed test 'Also smells like REST subclass' # at t/catalyst-traitfor-request-rest.t line 199. ok 55 - no error from Request::REST subclass 1..55 # Looks like you failed 3 tests of 55. Dubious, test returned 3 (wstat 768, 0x300) Failed 3/55 subtests Test Summary Report ------------------- t/catalyst-traitfor-request-rest.t (Wstat: 768 Tests: 55 Failed: 3) Failed tests: 51-52, 54 Non-zero exit status: 3 Files=1, Tests=55, 1 wallclock secs ( 0.03 usr 0.01 sys + 1.26 cusr 0.07 csy s = 1.37 CPU) Result: FAIL
Same here, repeatable on two boxes. CPAN.pm: Going to build B/BO/BOBTFISH/Catalyst-Action-REST-0.87.tar.gz *** Module::AutoInstall version 1.03 *** Checking for Perl dependencies... *** Since we're running under CPAN, I'll just let it take care of the dependency's installation later. [Core Features] - Test::More ...loaded. (0.96 >= 0.88) - Moose ...loaded. (1.09 >= 1.03) - namespace::autoclean ...loaded. (0.09) - Catalyst::Runtime ...loaded. (5.80025 >= 5.80) - Params::Validate ...loaded. (0.93 >= 0.76) - YAML::Syck ...loaded. (1.12 >= 0.67) - Module::Pluggable::Object ...loaded. (3.9) - LWP::UserAgent ...loaded. (5.835 >= 2.033) - Data::Serializer ...loaded. (0.49 >= 0.36) - Class::Inspector ...loaded. (1.24 >= 1.13) - URI::Find ...loaded. (20090319) - MRO::Compat ...loaded. (0.11 >= 0.10) - namespace::autoclean ...loaded. (0.09) [JSON (application/json) support] - JSON ...loaded. (2.21 >= 2.12) - JSON::XS ...loaded. (2.29 >= 2.2222) [Data::Taxi (text/x-data-taxi) support] - Data::Taxi ...missing. ==> Auto-install the 1 optional module(s) from CPAN? [n] [Config::General (text/x-config-general) support] - Config::General ...loaded. (2.48) [PHP::Serialization (text/x-php-serialization) support] - PHP::Serialization ...missing. ==> Auto-install the 1 optional module(s) from CPAN? [n] [FreezeThaw (application/x-freezethaw) support] - FreezeThaw ...loaded. (0.45) [XML::Simple (text/xml) support] - XML::Simple ...loaded. (2.18) *** Module::AutoInstall configuration finished. Checking if your kit is complete... Looks good Writing Makefile for Catalyst::Action::REST cp lib/Catalyst/Action/Deserialize/Data/Serializer.pm blib/lib/Catalyst/Action/Deserialize/Data/Serializer.pm cp lib/Catalyst/Action/Serialize/Data/Serializer.pm blib/lib/Catalyst/Action/Serialize/Data/Serializer.pm cp lib/Catalyst/Action/Serialize/XML/Simple.pm blib/lib/Catalyst/Action/Serialize/XML/Simple.pm cp lib/Catalyst/TraitFor/Request/REST.pm blib/lib/Catalyst/TraitFor/Request/REST.pm cp lib/Catalyst/Action/Serialize.pm blib/lib/Catalyst/Action/Serialize.pm cp lib/Catalyst/Action/Serialize/JSON.pm blib/lib/Catalyst/Action/Serialize/JSON.pm cp lib/Catalyst/Controller/REST.pm blib/lib/Catalyst/Controller/REST.pm cp lib/Catalyst/Action/Deserialize/JSON.pm blib/lib/Catalyst/Action/Deserialize/JSON.pm cp lib/Catalyst/Action/Serialize/View.pm blib/lib/Catalyst/Action/Serialize/View.pm cp lib/Catalyst/TraitFor/Request/REST/ForBrowsers.pm blib/lib/Catalyst/TraitFor/Request/REST/ForBrowsers.pm cp lib/Catalyst/Action/Deserialize/XML/Simple.pm blib/lib/Catalyst/Action/Deserialize/XML/Simple.pm cp lib/Catalyst/Action/Deserialize.pm blib/lib/Catalyst/Action/Deserialize.pm cp lib/Catalyst/Action/Serialize/YAML/HTML.pm blib/lib/Catalyst/Action/Serialize/YAML/HTML.pm cp lib/Catalyst/Action/Deserialize/View.pm blib/lib/Catalyst/Action/Deserialize/View.pm cp lib/Catalyst/Request/REST/ForBrowsers.pm blib/lib/Catalyst/Request/REST/ForBrowsers.pm cp lib/Catalyst/Action/Deserialize/YAML.pm blib/lib/Catalyst/Action/Deserialize/YAML.pm cp lib/Catalyst/Action/Serialize/JSON/XS.pm blib/lib/Catalyst/Action/Serialize/JSON/XS.pm cp lib/Catalyst/Action/REST.pm blib/lib/Catalyst/Action/REST.pm cp lib/Catalyst/Action/Serialize/YAML.pm blib/lib/Catalyst/Action/Serialize/YAML.pm cp lib/Catalyst/Action/SerializeBase.pm blib/lib/Catalyst/Action/SerializeBase.pm cp lib/Catalyst/Action/Serialize/JSONP.pm blib/lib/Catalyst/Action/Serialize/JSONP.pm cp lib/Catalyst/Request/REST.pm blib/lib/Catalyst/Request/REST.pm Manifying blib/man3/Catalyst::Action::Deserialize.3pm Manifying blib/man3/Catalyst::TraitFor::Request::REST.3pm Manifying blib/man3/Catalyst::Action::Serialize.3pm Manifying blib/man3/Catalyst::Request::REST::ForBrowsers.3pm Manifying blib/man3/Catalyst::Controller::REST.3pm Manifying blib/man3/Catalyst::Action::REST.3pm Manifying blib/man3/Catalyst::TraitFor::Request::REST::ForBrowsers.3pm Manifying blib/man3/Catalyst::Action::SerializeBase.3pm Manifying blib/man3/Catalyst::Request::REST.3pm BOBTFISH/Catalyst-Action-REST-0.87.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/catalyst-action-deserialize.t t/catalyst-action-rest-action-dispatch.t t/catalyst-action-rest.t t/catalyst-action-serialize-accept.t t/catalyst-action-serialize-query.t t/catalyst-action-serialize.t t/catalyst-controller-rest.t t/catalyst-traitfor-request-rest-forbrowsers.t t/catalyst-traitfor-request-rest.t t/data-serializer.t t/isa.t t/json.t t/jsonp.t t/view.t t/xml-simple.t t/yaml-html.t t/yaml.t t/catalyst-action-deserialize.t ................. ok t/catalyst-action-rest-action-dispatch.t ........ ok t/catalyst-action-rest.t ........................ ok t/catalyst-action-serialize-accept.t ............ ok t/catalyst-action-serialize-query.t ............. ok t/catalyst-action-serialize.t ................... ok t/catalyst-controller-rest.t .................... ok t/catalyst-traitfor-request-rest-forbrowsers.t .. ok t/catalyst-traitfor-request-rest.t .............. 1/? # Failed test 'Can setup again' # at t/catalyst-traitfor-request-rest.t line 196. # Failed test 'Different request class' # at t/catalyst-traitfor-request-rest.t line 197. # got: 'Class::MOP::Class::__ANON__::SERIAL::10' # expected: anything else # Failed test 'Also smells like REST subclass' # at t/catalyst-traitfor-request-rest.t line 199. # Looks like you failed 3 tests of 55. t/catalyst-traitfor-request-rest.t .............. Dubious, test returned 3 (wstat 768, 0x300) Failed 3/55 subtests t/data-serializer.t ............................. ok t/isa.t ......................................... ok t/json.t ........................................ ok t/jsonp.t ....................................... ok t/view.t ........................................ ok t/xml-simple.t .................................. ok t/yaml-html.t ................................... ok t/yaml.t ........................................ ok Test Summary Report ------------------- t/catalyst-traitfor-request-rest.t (Wstat: 768 Tests: 55 Failed: 3) Failed tests: 51-52, 54 Non-zero exit status: 3 Files=17, Tests=264, 14 wallclock secs ( 0.05 usr 0.09 sys + 11.47 cusr 1.55 csys = 13.16 CPU) Result: FAIL Failed 1/17 test programs. 3/264 subtests failed. make: *** [test_dynamic] Error 255 BOBTFISH/Catalyst-Action-REST-0.87.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports BOBTFISH/Catalyst-Action-REST-0.87.tar.gz
Passes now, probably fixed in the past 4 years.