PATH=/usr/bin:/bin:/home/fly1600/var/megalib/bin Start 2014-07-28T14:27:18 ActivePerl-1600 CPAN-2.00 Reading '/home/fly1600/var/cpan/Metadata' Database was generated on Mon, 28 Jul 2014 20:17:02 GMT Running make for T/TI/TIMB/WebAPI-DBIC-0.001004.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/T/TI/TIMB/WebAPI-DBIC-0.001004.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/T/TI/TIMB/CHECKSUMS Checksum for /home/fly1600/var/cpan/sources/authors/id/T/TI/TIMB/WebAPI-DBIC-0.001004.tar.gz ok WebAPI-DBIC-0.001004 WebAPI-DBIC-0.001004/README WebAPI-DBIC-0.001004/Changes WebAPI-DBIC-0.001004/LICENSE WebAPI-DBIC-0.001004/cpanfile WebAPI-DBIC-0.001004/dist.ini WebAPI-DBIC-0.001004/META.yml WebAPI-DBIC-0.001004/MANIFEST WebAPI-DBIC-0.001004/NOTES.pod WebAPI-DBIC-0.001004/README.md WebAPI-DBIC-0.001004/META.json WebAPI-DBIC-0.001004/Makefile.PL WebAPI-DBIC-0.001004/t WebAPI-DBIC-0.001004/t/10-basics.t WebAPI-DBIC-0.001004/t/11-paging.t WebAPI-DBIC-0.001004/t/13-fields.t WebAPI-DBIC-0.001004/t/50-modify.t WebAPI-DBIC-0.001004/t/60-invoke.t WebAPI-DBIC-0.001004/t/00-compile.t WebAPI-DBIC-0.001004/t/53-put_rel.t WebAPI-DBIC-0.001004/t/14-distinct.t WebAPI-DBIC-0.001004/t/20-prefetch.t WebAPI-DBIC-0.001004/t/30-ordering.t WebAPI-DBIC-0.001004/t/52-post_rel.t WebAPI-DBIC-0.001004/t/lib WebAPI-DBIC-0.001004/t/lib/TestDS.pm WebAPI-DBIC-0.001004/t/12-searching.t WebAPI-DBIC-0.001004/lib/WebAPI WebAPI-DBIC-0.001004/lib/WebAPI/DBIC.pm WebAPI-DBIC-0.001004/t/lib/TestSchema.pm WebAPI-DBIC-0.001004/data_service_api.pod WebAPI-DBIC-0.001004/webapi-dbic-any.psgi WebAPI-DBIC-0.001004/t/lib/DummySchema.pm WebAPI-DBIC-0.001004/webapi-dbic-demo.psgi WebAPI-DBIC-0.001004/hal-browser WebAPI-DBIC-0.001004/hal-browser/README.md WebAPI-DBIC-0.001004/hal-browser/js WebAPI-DBIC-0.001004/hal-browser/js/hal.js WebAPI-DBIC-0.001004/hal-browser/styles.css WebAPI-DBIC-0.001004/t/release-pod-syntax.t WebAPI-DBIC-0.001004/lib/WebAPI/DBIC WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Util.pm WebAPI-DBIC-0.001004/hal-browser/browser.html WebAPI-DBIC-0.001004/t/lib/TestRole WebAPI-DBIC-0.001004/t/lib/TestRole/Schema.pm WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/WebApp.pm WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Machine.pm WebAPI-DBIC-0.001004/t/lib/DummyLoadedSchema.pm WebAPI-DBIC-0.001004/hal-browser/MIT-LICENSE.txt WebAPI-DBIC-0.001004/hal-browser/js/hal WebAPI-DBIC-0.001004/hal-browser/js/hal/browser.js WebAPI-DBIC-0.001004/t/lib/TestSchema/Result WebAPI-DBIC-0.001004/t/lib/TestSchema/Result/CD.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/resource.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Base.pm WebAPI-DBIC-0.001004/t/lib/TestSchema/Result/Genre.pm WebAPI-DBIC-0.001004/t/lib/TestSchema/Result/Track.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/http WebAPI-DBIC-0.001004/hal-browser/js/hal/http/client.js WebAPI-DBIC-0.001004/hal-browser/js/hal/views WebAPI-DBIC-0.001004/hal-browser/js/hal/views/links.js WebAPI-DBIC-0.001004/hal-browser/vendor/js WebAPI-DBIC-0.001004/hal-browser/vendor/js/backbone.js WebAPI-DBIC-0.001004/t/lib/TestSchema/Result/Artist.pm WebAPI-DBIC-0.001004/hal-browser/vendor/js/bootstrap.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Role WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Role/JsonParams.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/views/browser.js WebAPI-DBIC-0.001004/hal-browser/vendor/js/underscore.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Role/JsonEncoder.pm WebAPI-DBIC-0.001004/t/lib/TestSchema/Result/Producer.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/views/explorer.js WebAPI-DBIC-0.001004/hal-browser/js/hal/views/resource.js WebAPI-DBIC-0.001004/hal-browser/js/hal/views/response.js WebAPI-DBIC-0.001004/hal-browser/vendor/css WebAPI-DBIC-0.001004/hal-browser/vendor/css/bootstrap.css WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/Set.pm WebAPI-DBIC-0.001004/lib/WebAPI/HTTP/Throwable WebAPI-DBIC-0.001004/lib/WebAPI/HTTP/Throwable/Factory.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/views/inspector.js WebAPI-DBIC-0.001004/hal-browser/vendor/js/uritemplates.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/DBIC.pm WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/Item.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/views/navigation.js WebAPI-DBIC-0.001004/hal-browser/js/hal/views/properties.js WebAPI-DBIC-0.001004/hal-browser/vendor/img WebAPI-DBIC-0.001004/hal-browser/vendor/img/ajax-loader.gif WebAPI-DBIC-0.001004/hal-browser/vendor/js/jquery-1.10.2.js WebAPI-DBIC-0.001004/hal-browser/js/hal/views/location_bar.js WebAPI-DBIC-0.001004/hal-browser/js/hal/views/documentation.js WebAPI-DBIC-0.001004/hal-browser/js/hal/views/response_body.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm WebAPI-DBIC-0.001004/t/lib/TestSchema/Result/CD_to_Producer.pm WebAPI-DBIC-0.001004/hal-browser/vendor/js/jquery-1.10.2.min.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/GenericSetDBIC.pm WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/SetRender.pm WebAPI-DBIC-0.001004/lib/WebAPI/HTTP/Throwable/Role WebAPI-DBIC-0.001004/lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/views/request_headers.js WebAPI-DBIC-0.001004/hal-browser/vendor/js/jquery-1.10.2.min.map WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/GenericItemDBIC.pm WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/DBICParams.pm WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/views/query_uri_dialog.js WebAPI-DBIC-0.001004/hal-browser/js/hal/views/response_headers.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/SetWritable.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/views/embedded_resource.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm WebAPI-DBIC-0.001004/hal-browser/js/hal/views/embedded_resources.js WebAPI-DBIC-0.001004/lib/WebAPI/DBIC/Resource/Role/DBICException.pm WebAPI-DBIC-0.001004/hal-browser/vendor/css/bootstrap-responsive.css WebAPI-DBIC-0.001004/hal-browser/vendor/img/glyphicons-halflings.png WebAPI-DBIC-0.001004/hal-browser/js/hal/views/non_safe_request_dialog.js WebAPI-DBIC-0.001004/hal-browser/vendor/img/glyphicons-halflings-white.png /bin/tar: Read 4608 bytes from - CPAN.pm: Building T/TI/TIMB/WebAPI-DBIC-0.001004.tar.gz >>> /home/fly1600/ap1600/bin/perl-static Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for WebAPI::DBIC Writing MYMETA.yml and MYMETA.json >>> make cp lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm blib/lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm cp lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm blib/lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm cp lib/WebAPI/DBIC/Resource/GenericSetDBIC.pm blib/lib/WebAPI/DBIC/Resource/GenericSetDBIC.pm cp lib/WebAPI/HTTP/Throwable/Factory.pm blib/lib/WebAPI/HTTP/Throwable/Factory.pm cp lib/WebAPI/DBIC/Role/JsonEncoder.pm blib/lib/WebAPI/DBIC/Role/JsonEncoder.pm cp lib/WebAPI/DBIC.pm blib/lib/WebAPI/DBIC.pm cp lib/WebAPI/DBIC/Resource/Role/Set.pm blib/lib/WebAPI/DBIC/Resource/Role/Set.pm cp lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm cp lib/WebAPI/DBIC/Resource/Role/DBIC.pm blib/lib/WebAPI/DBIC/Resource/Role/DBIC.pm cp data_service_api.pod blib/lib/WebAPI/data_service_api.pod cp lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm blib/lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm cp lib/WebAPI/DBIC/Role/JsonParams.pm blib/lib/WebAPI/DBIC/Role/JsonParams.pm cp lib/WebAPI/DBIC/Resource/Role/DBICParams.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICParams.pm cp lib/WebAPI/DBIC/Resource/Role/Item.pm blib/lib/WebAPI/DBIC/Resource/Role/Item.pm cp NOTES.pod blib/lib/WebAPI/NOTES.pod cp lib/WebAPI/DBIC/Resource/GenericItemDBIC.pm blib/lib/WebAPI/DBIC/Resource/GenericItemDBIC.pm cp lib/WebAPI/DBIC/Resource/Base.pm blib/lib/WebAPI/DBIC/Resource/Base.pm cp lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm blib/lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm cp lib/WebAPI/DBIC/Resource/Role/SetWritable.pm blib/lib/WebAPI/DBIC/Resource/Role/SetWritable.pm cp lib/WebAPI/DBIC/Util.pm blib/lib/WebAPI/DBIC/Util.pm cp lib/WebAPI/DBIC/Resource/Role/SetRender.pm blib/lib/WebAPI/DBIC/Resource/Role/SetRender.pm cp lib/WebAPI/DBIC/Resource/Role/DBICException.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICException.pm cp lib/WebAPI/DBIC/WebApp.pm blib/lib/WebAPI/DBIC/WebApp.pm cp lib/WebAPI/DBIC/Machine.pm blib/lib/WebAPI/DBIC/Machine.pm Manifying blib/man3/WebAPI::NOTES.3 Manifying blib/man3/WebAPI::data_service_api.3 Manifying blib/man3/WebAPI::DBIC.3 Manifying blib/man3/WebAPI::DBIC::Machine.3 Manifying blib/man3/WebAPI::DBIC::Resource::Base.3 Manifying blib/man3/WebAPI::DBIC::Resource::GenericItemDBIC.3 Manifying blib/man3/WebAPI::DBIC::Resource::GenericItemInvoke.3 Manifying blib/man3/WebAPI::DBIC::Resource::GenericSetDBIC.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::DBIC.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::DBICAuth.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::DBICException.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::DBICParams.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::Item.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::ItemInvoke.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::ItemWritable.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::Set.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::SetRender.3 Manifying blib/man3/WebAPI::DBIC::Resource::Role::SetWritable.3 Manifying blib/man3/WebAPI::DBIC::Role::JsonEncoder.3 Manifying blib/man3/WebAPI::DBIC::Role::JsonParams.3 Manifying blib/man3/WebAPI::DBIC::Util.3 Manifying blib/man3/WebAPI::DBIC::WebApp.3 Manifying blib/man3/WebAPI::HTTP::Throwable::Factory.3 Manifying blib/man3/WebAPI::HTTP::Throwable::Role::JSONBody.3 TIMB/WebAPI-DBIC-0.001004.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /home/fly1600/ap1600/bin/perl-static "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00-compile.t .......... ok 1 - require WebAPI::DBIC::Machine; ok 2 - require WebAPI::DBIC::Resource::Base; ok 3 - require WebAPI::DBIC::Resource::GenericItemDBIC; ok 4 - require WebAPI::DBIC::Resource::GenericItemInvoke; ok 5 - require WebAPI::DBIC::Resource::GenericSetDBIC; ok 6 - require WebAPI::DBIC::Resource::Role::DBIC; ok 7 - require WebAPI::DBIC::Resource::Role::DBICAuth; ok 8 - require WebAPI::DBIC::Resource::Role::DBICException; ok 9 - require WebAPI::DBIC::Resource::Role::DBICParams; ok 10 - require WebAPI::DBIC::Resource::Role::Item; ok 11 - require WebAPI::DBIC::Resource::Role::ItemInvoke; ok 12 - require WebAPI::DBIC::Resource::Role::ItemWritable; ok 13 - require WebAPI::DBIC::Resource::Role::Set; ok 14 - require WebAPI::DBIC::Resource::Role::SetRender; ok 15 - require WebAPI::DBIC::Resource::Role::SetWritable; ok 16 - require WebAPI::DBIC::Role::JsonEncoder; ok 17 - require WebAPI::DBIC::Role::JsonParams; ok 18 - require WebAPI::DBIC::Util; ok 19 - require WebAPI::DBIC::WebApp; ok 20 - require WebAPI::HTTP::Throwable::Factory; ok 21 - require WebAPI::HTTP::Throwable::Role::JSONBody; 1..21 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x28981b0), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x28983a8), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x26c7bc8), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x26c7bc8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x28f8a38), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x2912818)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x28f8a38), Moose::Meta::Instance=HASH(0x26c7340), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x2912818), HASH(0x2f2e1c8)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2fb4d88), HASH(0x2f2e1c8)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2fb4d88), HASH(0x2f2e1c8)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2fb4d88), HASH(0x2f2e1c8)) called at /home/fly1600/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a06cd8)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a06cd8)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2a06cd8)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x29d5350)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x29d5350), "Schema", "reset_schema") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x29d5350), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x2523ba0)) called at (eval 434) line 18 TestRole::Schema::schema(main=HASH(0x2523ba0)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x2523ba0)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x2523ba0), "basic") called at t/10-basics.t line 19 main::__ANON__(main=HASH(0x2523ba0)) called at (eval 425) line 16 main::setup(main=HASH(0x2523ba0)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1600/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0xa721a8), "testing with main", CODE(0x29d0c08)) called at /home/fly1600/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x29d0c08)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1600/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/10-basics.t line 68 TestSchema::Result::Artist relationship cds_cref_cond cond value CODE(0x34381c0) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x3438538) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x3438e20) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x343fa88) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x3438a00) not handled yet t/10-basics.t ........... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Get ===== # GET /artist ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has artist ok 5 - set has at least 2 items ok 6 - /artist includes 1 ok 7 - /artist includes 2 ok 8 - /artist includes 3 ok 9 - /artist data looks sane # GET /artist/1 ok 10 ok 11 - response is a ref ok 12 - data isn't a hash ok 13 - set has less than 3 attributes ok 14 - artistid ok 15 - data matches # GET /artist/2 ok 16 ok 17 - response is a ref ok 18 - data isn't a hash ok 19 - set has less than 3 attributes ok 20 - artistid ok 21 - data matches 1..21 ok 2 - ===== Get ===== # Bye! 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x28b1318), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x28b1510), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x28ebb50), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x28ebb50), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x2915ac0), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x292cbc0)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x2915ac0), Moose::Meta::Instance=HASH(0x28eb2c8), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x292cbc0), HASH(0x2f2cd30)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2f2aec0), HASH(0x2f2cd30)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2f2aec0), HASH(0x2f2cd30)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2f2aec0), HASH(0x2f2cd30)) called at /home/fly1600/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a1e160)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a1e160)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2a1e160)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x29ebd90)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x29ebd90), "Schema", "reset_schema") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x29ebd90), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x253b958)) called at (eval 432) line 18 TestRole::Schema::schema(main=HASH(0x253b958)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x253b958)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x253b958), "basic") called at t/11-paging.t line 21 main::__ANON__(main=HASH(0x253b958)) called at (eval 425) line 16 main::setup(main=HASH(0x253b958)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1600/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x84d2f0), "testing with main", CODE(0x29e8610)) called at /home/fly1600/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x29e8610)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1600/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/11-paging.t line 112 TestSchema::Result::Artist relationship cds_cref_cond cond value CODE(0x3444d50) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x34450c8) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x3451688) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x3451a78) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x3451268) not handled yet t/11-paging.t ........... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Paging ===== # GET /artist ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has artist ok 5 - set has at least 2 items ok 6 - /artist includes 1 ok 7 - /artist includes 2 ok 8 - /artist includes 3 ok 9 - /artist data looks sane # rows 1, page 1 implied # GET /artist?rows=1 ok 10 ok 11 - response is a ref ok 12 - has _embedded hash ok 13 - _embedded has artist ok 14 - set has at least 1 items ok 15 - set has at most 1 items ok 16 - record matches ok 17 - has _links hashref ok 18 - next link ok 19 - should not have prev link ok 20 - should not have first link ok 21 - should not have last link # rows 2, page 1 implied # GET /artist?rows=2 ok 22 ok 23 - response is a ref ok 24 - has _embedded hash ok 25 - _embedded has artist ok 26 - set has at least 2 items ok 27 - set has at most 2 items ok 28 - record matches ok 29 - record matches ok 30 - has _links hashref ok 31 - next link ok 32 - should not have prev link ok 33 - should not have first link ok 34 - should not have last link # rows 3, page 1 implied # GET /artist?rows=3 ok 35 ok 36 - response is a ref ok 37 - has _embedded hash ok 38 - _embedded has artist ok 39 - set has at least 3 items ok 40 - set has at most 3 items ok 41 - record matches ok 42 - record matches ok 43 - record matches ok 44 - has _links hashref ok 45 - next link ok 46 - should not have prev link ok 47 - should not have first link ok 48 - should not have last link # page 1, with small rows param # GET /artist?rows=2&page=1 ok 49 ok 50 - response is a ref ok 51 - has _embedded hash ok 52 - _embedded has artist ok 53 - set has at least 2 items ok 54 - set has at most 2 items ok 55 - record matches ok 56 - record matches ok 57 - has _links hashref ok 58 - next link of /artist?rows=2&page=1 ok 59 - should not have prev link ok 60 - should not have first link ok 61 - should not have last link of /artist?rows=2&page=1 # page 2, with small rows param # GET /artist?rows=2&page=2 ok 62 ok 63 - response is a ref ok 64 - has _embedded hash ok 65 - _embedded has artist ok 66 - set has at least 2 items ok 67 - set has at most 2 items ok 68 - record matches ok 69 - record matches ok 70 - has _links hashref ok 71 - next link of /artist?rows=2&page=2 ok 72 - prev link of /artist?rows=2&page=2 ok 73 - first link of /artist?rows=2&page=2 ok 74 - should not have last link of /artist?rows=2&page=2 # page 1, with small rows param with count # GET /artist?rows=2&with=count&page=1 ok 75 ok 76 - response is a ref ok 77 - has _embedded hash ok 78 - _embedded has artist ok 79 - set has at least 2 items ok 80 - set has at most 2 items ok 81 - record matches ok 82 - record matches ok 83 - has _links hashref ok 84 - next link of /artist?rows=2&with=count&page=1 ok 85 - should not have prev link ok 86 - should not have first link ok 87 - should have last link of /artist?rows=2&with=count&page=1 # page 2, with small rows param with count # GET /artist?rows=2&with=count&page=2 ok 88 ok 89 - response is a ref ok 90 - has _embedded hash ok 91 - _embedded has artist ok 92 - set has at least 2 items ok 93 - set has at most 2 items ok 94 - record matches ok 95 - record matches ok 96 - has _links hashref ok 97 - next link of /artist?rows=2&with=count&page=2 ok 98 - prev link of /artist?rows=2&with=count&page=2 ok 99 - first link of /artist?rows=2&with=count&page=2 ok 100 - should have last link of /artist?rows=2&with=count&page=2 # me.* param pass-thru # GET /artist?me.artistid=1 ok 101 ok 102 - response is a ref ok 103 - has _embedded hash ok 104 - _embedded has artist ok 105 - set has at least 1 items ok 106 - has $data->{_links}{self}{href} ok 107 - me.artistid param passed through 1..107 ok 2 - ===== Paging ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x289de08), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x289e000), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x28d67a0), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x28d67a0), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x28fc018), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x2913748)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x28fc018), Moose::Meta::Instance=HASH(0x26cd4e0), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x2913748), HASH(0x2f2ec18)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2f1d0b0), HASH(0x2f2ec18)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2f1d0b0), HASH(0x2f2ec18)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2f1d0b0), HASH(0x2f2ec18)) called at /home/fly1600/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a082b8)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a082b8)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2a082b8)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x29d6760)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x29d6760), "Schema", "reset_schema") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x29d6760), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x2526440)) called at (eval 432) line 18 TestRole::Schema::schema(main=HASH(0x2526440)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x2526440)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x2526440), "basic") called at t/12-searching.t line 19 main::__ANON__(main=HASH(0x2526440)) called at (eval 425) line 16 main::setup(main=HASH(0x2526440)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1600/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x84cbc0), "testing with main", CODE(0x29d3408)) called at /home/fly1600/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x29d3408)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1600/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/12-searching.t line 77 TestSchema::Result::Artist relationship cds_cref_cond cond value CODE(0x34395c0) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x3439938) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x343a220) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x34409e8) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x3439e00) not handled yet t/12-searching.t ........ # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Paging ===== # GET /artist ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has artist ok 5 - set has at least 2 items ok 6 - /artist includes 1 ok 7 - /artist includes 2 ok 8 - /artist includes 3 ok 9 - /artist data looks sane # GET /artist?me.nonesuch=42 ok 10 ok 11 - response is a ref # GET /artist?me.artistid=2 ok 12 ok 13 - response is a ref ok 14 - has _embedded hash ok 15 - _embedded has artist ok 16 - set has at least 1 items ok 17 - set has at most 1 items ok 18 - record matches # GET /artist?me.artistid=3 ok 19 ok 20 - response is a ref ok 21 - has _embedded hash ok 22 - _embedded has artist ok 23 - set has at least 1 items ok 24 - set has at most 1 items ok 25 - record matches # Subtest: search by json array # GET /artist?me.artistid~json=%5B1%2C3%5D ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has artist ok 5 - set has at least 2 items ok 6 - set has at most 2 items ok 7 - record matches ok 8 - record matches 1..8 ok 26 - search by json array # Subtest: search by json hash # GET /artist?me.artistid~json=%7B%22%3C%3D%22%3A2%7D ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has artist ok 5 - set has at least 2 items ok 6 - set has at most 2 items ok 7 - record matches ok 8 - record matches 1..8 ok 27 - search by json hash 1..27 ok 2 - ===== Paging ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x2898260), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x2898458), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x26c7ca8), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x26c7ca8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x28f8ba8), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x2912928)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x28f8ba8), Moose::Meta::Instance=HASH(0x26c7420), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x2912928), HASH(0x2f15d28)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2cfd9c8), HASH(0x2f15d28)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2cfd9c8), HASH(0x2f15d28)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2cfd9c8), HASH(0x2f15d28)) called at /home/fly1600/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a04928)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a04928)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2a04928)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x29d5000)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x29d5000), "Schema", "reset_schema") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x29d5000), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x2522d50)) called at (eval 432) line 18 TestRole::Schema::schema(main=HASH(0x2522d50)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x2522d50)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x2522d50), "basic") called at t/13-fields.t line 21 main::__ANON__(main=HASH(0x2522d50)) called at (eval 425) line 16 main::setup(main=HASH(0x2522d50)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1600/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x84c940), "testing with main", CODE(0x29cfab0)) called at /home/fly1600/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x29cfab0)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1600/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/13-fields.t line 59 TestSchema::Result::Artist relationship cds_cref_cond cond value CODE(0x342d0e8) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x3437548) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x3437e30) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x3438220) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x3437a10) not handled yet t/13-fields.t ........... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Get with fields param ===== # GET /artist?fields=artistid,name ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has artist ok 5 - set has at least 2 items ok 6 - /artist includes 1 ok 7 - /artist includes 2 ok 8 - /artist includes 3 ok 9 - /artist data looks sane ok 10 - rank fields not preset # GET /artist/1?fields=artistid,name ok 11 ok 12 - response is a ref ok 13 - data isn't a hash ok 14 - set has less than 2 attributes ok 15 - artistid ok 16 - data matches # GET /artist/2?fields=artistid,rank ok 17 ok 18 - response is a ref ok 19 - data isn't a hash ok 20 - set has less than 2 attributes ok 21 - artistid ok 22 - has rank field 1..22 ok 2 - ===== Get with fields param ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x28947d8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x28949d0), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x28cedf0), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x28cedf0), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x28f8930), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x2910a30)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x28f8930), Moose::Meta::Instance=HASH(0x28ce568), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x2910a30), HASH(0x2f12480)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2f14450), HASH(0x2f12480)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2f14450), HASH(0x2f12480)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2f14450), HASH(0x2f12480)) called at /home/fly1600/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a018f0)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a018f0)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2a018f0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x29d0d88)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x29d0d88), "Schema", "reset_schema") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x29d0d88), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x251d148)) called at (eval 432) line 18 TestRole::Schema::schema(main=HASH(0x251d148)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x251d148)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x251d148), "basic") called at t/14-distinct.t line 21 main::__ANON__(main=HASH(0x251d148)) called at (eval 425) line 16 main::setup(main=HASH(0x251d148)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1600/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x84c6d0), "testing with main", CODE(0x29cb838)) called at /home/fly1600/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x29cb838)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1600/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/14-distinct.t line 43 t/14-distinct.t ......... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== GET distinct ===== # GET /cd?fields=year&order=year&distinct=1 ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has cd ok 5 - set has at least 4 items ok 6 - set has at most 4 items ok 7 - has one element ok 8 - has status element ok 9 - has one element ok 10 - has status element ok 11 - has one element ok 12 - has status element ok 13 - has one element ok 14 - has status element 1..14 ok 2 - ===== GET distinct ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x28a4d80), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x28a4f78), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x28de1c8), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x28de1c8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x2902af0), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x291b660)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x2902af0), Moose::Meta::Instance=HASH(0x26d4398), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x291b660), HASH(0x2f35d80)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2f23bd8), HASH(0x2f35d80)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2f23bd8), HASH(0x2f35d80)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2f23bd8), HASH(0x2f35d80)) called at /home/fly1600/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x29fc8b0)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x29fc8b0)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x29fc8b0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x29dd2d8)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x29dd2d8), "Schema", "reset_schema") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x29dd2d8), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x252d2d8)) called at (eval 432) line 18 TestRole::Schema::schema(main=HASH(0x252d2d8)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x252d2d8)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x252d2d8), "basic") called at t/20-prefetch.t line 21 main::__ANON__(main=HASH(0x252d2d8)) called at (eval 425) line 16 main::setup(main=HASH(0x252d2d8)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1600/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x84d2d0), "testing with main", CODE(0x29d9f80)) called at /home/fly1600/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x29d9f80)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1600/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/20-prefetch.t line 109 t/20-prefetch.t ......... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Prefetch ===== # prefetch on item # GET /cd/1?prefetch=artist,genre ok 1 ok 2 - response is a ref ok 3 - data isn't a hash ok 4 - set has less than 1 attributes ok 5 - data isn't a hash ok 6 - _embedded isn't hash ok 7 - set has less than 2 attributes ok 8 - set has more than 2 attributes ok 9 - has embedded genreid ok 10 - genreid matches ok 11 - has embedded artistid ok 12 - artistid matches # prefetch on set # GET /cd?rows=2&page=1&prefetch=artist,genre ok 13 ok 14 - response is a ref ok 15 - has _embedded hash ok 16 - _embedded has cd ok 17 - set has at least 2 items ok 18 - set has at most 2 items ok 19 - data isn't a hash ok 20 - _embedded isn't hash ok 21 - set has less than 2 attributes ok 22 - set has more than 2 attributes ok 23 - has embedded genreid ok 24 - genreid matches ok 25 - has embedded person_id ok 26 - artistid matches ok 27 - data isn't a hash ok 28 - _embedded isn't hash ok 29 - set has less than 2 attributes ok 30 - set has more than 2 attributes ok 31 - has embedded genreid ok 32 - genreid matches ok 33 - has embedded person_id ok 34 - artistid matches # prefetch with query on ambiguous field # GET /cd?me.artist=1&prefetch=artist ok 35 ok 36 - response is a ref # prefetch on invalid name # GET /cd/1?prefetch=nonesuch ok 37 ok 38 - response is a ref # prefetch on item with partial response of prefetched item # GET /cd/1?prefetch=artist,genre&fields=cdid,artist.artistid,genre.genreid not ok 39 # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test at t/20-prefetch.t line 77. # status doesn't match, expected HTTP status code '200', got 400 # 400 Bad Request # Content-Length: 212 # Content-Type: application/json # # { # "errors" : [ # { # "parameter" : "invalid fields clause - can't refer to prefetch relations at the moment", # "_meta" : { # "fields" : "artist.artistid" # } # } # ] # } ok 40 - response is a ref # TODO partial response of prefetched items is not implemented yet ok 41 - data isn't a hash # TODO partial response of prefetched items is not implemented yet ok 42 - set has less than 1 attributes # TODO partial response of prefetched items is not implemented yet ok 43 - data isn't a hash # TODO partial response of prefetched items is not implemented yet not ok 44 - _embedded isn't hash # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test '_embedded isn't hash' # at t/20-prefetch.t line 79. # got: '' # expected: 'HASH' # HASH(0x447a538) not ok 45 - set has less than 2 attributes # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test 'set has less than 2 attributes' # at t/20-prefetch.t line 79. # '0' # >= # '2' ok 46 - set has more than 2 attributes # TODO partial response of prefetched items is not implemented yet not ok 47 - has embedded genreid # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test 'has embedded genreid' # at t/20-prefetch.t line 80. # got: '' # expected: 'HASH' ok 48 - genreid matches # TODO partial response of prefetched items is not implemented yet not ok 49 - has embedded artistid # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test 'has embedded artistid' # at t/20-prefetch.t line 82. # got: '' # expected: 'HASH' ok 50 - artist matches # TODO partial response of prefetched items is not implemented yet not ok 51 - only has id column # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test 'only has id column' # at t/20-prefetch.t line 85. # got: '0' # expected: '1' not ok 52 - only has id column # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test 'only has id column' # at t/20-prefetch.t line 86. # got: '0' # expected: '1' # prefetch on set with partial response of prefetched items # GET /cd?rows=2&page=1&prefetch=artist,genre&fields=id,genre.genreid,artist.artistid not ok 53 # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test at t/20-prefetch.t line 91. # status doesn't match, expected HTTP status code '200', got 400 # 400 Bad Request # Content-Length: 210 # Content-Type: application/json # # { # "errors" : [ # { # "parameter" : "invalid fields clause - can't refer to prefetch relations at the moment", # "_meta" : { # "fields" : "genre.genreid" # } # } # ] # } ok 54 - response is a ref # TODO partial response of prefetched items is not implemented yet not ok 55 - has _embedded hash # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test 'has _embedded hash' # at t/20-prefetch.t line 92. # got: '' # expected: 'HASH' not ok 56 - _embedded has cd # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test '_embedded has cd' # at t/20-prefetch.t line 92. # got: '' # expected: 'ARRAY' 1..56 ok 2 - ===== Prefetch ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x28c9868), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x28c9a60), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x26f8360), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x26f8360), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x2929090), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x2943630)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x2929090), Moose::Meta::Instance=HASH(0x26f7ad8), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x2943630), HASH(0x2f461d0)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2f3e250), HASH(0x2f461d0)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2f3e250), HASH(0x2f461d0)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2f3e250), HASH(0x2f461d0)) called at /home/fly1600/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a34fb0)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a34fb0)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2a34fb0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x2a065a0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x2a065a0), "Schema", "reset_schema") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x2a065a0), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x2553b78)) called at (eval 432) line 18 TestRole::Schema::schema(main=HASH(0x2553b78)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x2553b78)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x2553b78), "basic") called at t/30-ordering.t line 23 main::__ANON__(main=HASH(0x2553b78)) called at (eval 425) line 16 main::setup(main=HASH(0x2553b78)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1600/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x84d260), "testing with main", CODE(0x2a01050)) called at /home/fly1600/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x2a01050)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1600/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/30-ordering.t line 117 t/30-ordering.t ......... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Ordering ===== # GET /cd?rows=1000&order=me.cdid ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has cd ok 5 - set has at least 2 items ok 6 - /cd includes 1 ok 7 - /cd includes 2 ok 8 - /cd includes 3 ok 9 - /cd data looks sane # GET /cd?rows=1000&order=me.cdid%20desc ok 10 ok 11 - response is a ref ok 12 - has _embedded hash ok 13 - _embedded has cd ok 14 - set has at least 2 items ok 15 - reversed ok 16 - ordered # GET /cd?rows=1000&order=me.title%20desc,cdid%20desc ok 17 ok 18 - response is a ref ok 19 - has _embedded hash ok 20 - _embedded has cd ok 21 - set has at least 2 items ok 22 - same set of rows returned ok 23 ok 24 - ordered # GET /cd?rows=1000&order=me.title,cdid%20asc ok 25 ok 26 - response is a ref ok 27 - has _embedded hash ok 28 - _embedded has cd ok 29 - set has at least 2 items ok 30 - same set of rows returned ok 31 ok 32 - ordered # ===== Ordering with prefetch ===== # GET /cd?prefetch=artist&order=artist.name ok 33 ok 34 - response is a ref ok 35 - has _embedded hash ok 36 - _embedded has cd ok 37 - set has at least 2 items ok 38 - ordered # GET /cd?prefetch=artist,genre&order=genre.name%20desc,artist.name%20asc ok 39 ok 40 - response is a ref ok 41 - has _embedded hash ok 42 - _embedded has cd ok 43 - set has at least 2 items ok 44 - matched sufficient records ok 45 - ordered 1..45 ok 2 - ===== Ordering ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x28a42d8), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x28a44d0), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x28dd1c0), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x28dd1c0), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x290a0b0), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x2923250)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x290a0b0), Moose::Meta::Instance=HASH(0x26d25e0), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x2923250), HASH(0x2f39eb0)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2f64da0), HASH(0x2f39eb0)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2f64da0), HASH(0x2f39eb0)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2f64da0), HASH(0x2f39eb0)) called at /home/fly1600/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a10e70)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a10e70)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2a10e70)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x29dde50)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x29dde50), "Schema", "reset_schema") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x29dde50), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x29b68b8)) called at (eval 432) line 18 TestRole::Schema::schema(main=HASH(0x29b68b8)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x29b68b8)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x29b68b8), "basic") called at t/50-modify.t line 21 main::__ANON__(main=HASH(0x29b68b8)) called at (eval 425) line 16 main::setup(main=HASH(0x29b68b8)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1600/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x84d0e0), "testing with main", CODE(0x29daaf8)) called at /home/fly1600/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x29daaf8)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1600/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/50-modify.t line 126 TestSchema::Result::Artist relationship cds_cref_cond cond value CODE(0x3437a80) not handled yet TestSchema::Result::Artist relationship cds_80s cond value CODE(0x3437df8) not handled yet TestSchema::Result::Artist relationship cds_90s cond value CODE(0x34451a8) not handled yet TestSchema::Result::Artist relationship cds_without_genre cond value CODE(0x3445598) not handled yet TestSchema::Result::Artist relationship cds_84 cond value CODE(0x34382c0) not handled yet t/50-modify.t ........... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Create - POST ===== # GET /artist ok 1 ok 2 - response is a ref ok 3 - has _embedded hash ok 4 - _embedded has artist ok 5 - set has at least 2 items ok 6 - /artist includes 1 ok 7 - /artist includes 2 ok 8 - /artist includes 3 ok 9 - /artist data looks sane # plain post # POST /artist ok 10 ok 11 - has Location header ok 12 - no data returned without prefetch # GET /artist/7 ok 13 ok 14 - response is a ref ok 15 - new item has id ok 16 - new item has new id ok 17 ok 18 # post with prefetch=self # POST /artist?prefetch=self ok 19 ok 20 - has Location header ok 21 - response is a ref # GET /artist/8 ok 22 ok 23 - response is a ref ok 24 - new item has id ok 25 - new item has new id ok 26 ok 27 ok 28 - returned prefetch matches item at location # ===== Update - PUT ===== # put without prefetch=self # PUT /artist/8 ok 29 ok 30 - no response body # GET /artist/8 ok 31 ok 32 - response is a ref ok 33 # put with prefetch=self # PUT /artist/8?prefetch=self ok 34 ok 35 - response is a ref ok 36 - has response body ok 37 - prefetch response has updated rank # GET /artist/8 ok 38 ok 39 - response is a ref ok 40 - returned prefetch matches item at location # ===== Delete - DELETE ===== # DELETE /artist/7 ok 41 ok 42 - no response body # GET /person_types/7 ok 43 # DELETE /artist/8 ok 44 ok 45 - no response body # GET /person_types/8 ok 46 1..46 ok 2 - ===== Create - POST ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x28bd530), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x28bd728), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x28f7528), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x28f7528), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x291be80), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x29346f0)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x291be80), Moose::Meta::Instance=HASH(0x26ed598), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x29346f0), HASH(0x2f4fc40)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2fd4fd0), HASH(0x2f4fc40)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2fd4fd0), HASH(0x2f4fc40)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2fd4fd0), HASH(0x2f4fc40)) called at /home/fly1600/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a15b80)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a15b80)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2a15b80)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x29f6558)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x29f6558), "Schema", "reset_schema") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x29f6558), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x25464a8)) called at (eval 432) line 18 TestRole::Schema::schema(main=HASH(0x25464a8)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x25464a8)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x25464a8), "basic") called at t/52-post_rel.t line 18 main::__ANON__(main=HASH(0x25464a8)) called at (eval 425) line 16 main::setup(main=HASH(0x25464a8)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1600/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x84ce70), "testing with main", CODE(0x29f3200)) called at /home/fly1600/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x29f3200)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1600/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/52-post_rel.t line 88 TestSchema::Result::Track relationship cd_cref_cond cond value CODE(0x34abcf0) not handled yet TestSchema::Result::Track relationship next_tracks cond value CODE(0x34ac290) not handled yet t/52-post_rel.t ......... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Create item, with embedded items, by POST to set ===== # POST /track?rollback=1 ok 1 ok 2 - has Location header ok 3 - returns reasonable Location ok 4 - returns no data # POST /track?rollback=1&prefetch=self ok 5 ok 6 - has Location header ok 7 - response is a ref ok 8 - returns reasonable Location ok 9 - return data ok 10 - has trackid assigned ok 11 ok 12 ok 13 - has cd assigned ok 14 - has no _embedded # POST /track?rollback=1&prefetch=self,disc ok 15 ok 16 - has Location header ok 17 - response is a ref ok 18 - returns reasonable Location ok 19 - return data ok 20 - has trackid assigned ok 21 ok 22 ok 23 - has cd assigned ok 24 - has _embedded ok 25 ok 26 - has _embedded disc ok 27 - disc matches ok 28 - disc name matches 1..28 ok 2 - ===== Create item, with embedded items, by POST to set ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x289d948), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x289db40), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x28d6b90), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x28d6b90), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x28fb5e8), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x2913b88)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x28fb5e8), Moose::Meta::Instance=HASH(0x26cc0c0), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x2913b88), HASH(0x2f2f2b8)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2fb5678), HASH(0x2f2f2b8)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2fb5678), HASH(0x2f2f2b8)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2fb5678), HASH(0x2f2f2b8)) called at /home/fly1600/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a08818)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a08818)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2a08818)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x29d5da0)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x29d5da0), "Schema", "reset_schema") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x29d5da0), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x69c3a0)) called at (eval 432) line 18 TestRole::Schema::schema(main=HASH(0x69c3a0)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x69c3a0)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x69c3a0), "basic") called at t/53-put_rel.t line 18 main::__ANON__(main=HASH(0x69c3a0)) called at (eval 425) line 16 main::setup(main=HASH(0x69c3a0)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1600/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x84cdd0), "testing with main", CODE(0x29d2a48)) called at /home/fly1600/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x29d2a48)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1600/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/53-put_rel.t line 91 TestSchema::Result::Track relationship cd_cref_cond cond value CODE(0x348b048) not handled yet TestSchema::Result::Track relationship next_tracks cond value CODE(0x348b5e8) not handled yet t/53-put_rel.t .......... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Update a resource and related resources via PUT ===== # POST /track?prefetch=self ok 1 ok 2 - has Location header ok 3 - response is a ref # PUT /track/19?prefetch=self,disc ok 4 ok 5 - response is a ref ok 6 - return data ok 7 - has trackid assigned ok 8 ok 9 - has same position assigned ok 10 - has _embedded ok 11 - has embedded disc ok 12 ok 13 # recheck data as a separate request # GET /track/19?prefetch=self,disc ok 14 ok 15 - response is a ref ok 16 - has trackid assigned ok 17 ok 18 - has same position assigned ok 19 - has _embedded ok 20 - has embedded disc ok 21 ok 22 # DELETE /track/19 ok 23 1..23 ok 2 - ===== Update a resource and related resources via PUT ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1600/var/megalib/Class/MOP.pm line 71. Class::MOP::load_class("TestSchema") called at /home/fly1600/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 67 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeCoercion.pm line 102 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x2897338), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/TypeConstraint.pm line 148 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x289b578), "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 223 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x26cac90), "coerce", "TestSchema") called at /home/fly1600/var/megalib/MooseX/Types/TypeDecorator.pm line 188 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x26cac90), "TestSchema") called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 1252 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x28f8c90), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x2911580)) called at /home/fly1600/var/megalib/Moose/Meta/Attribute.pm line 514 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::7=HASH(0x28f8c90), Moose::Meta::Instance=HASH(0x26ca408), Moose::Meta::Class::__ANON__::SERIAL::8=HASH(0x2911580), HASH(0x2f2cb00)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 527 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2fb2de0), HASH(0x2f2cb00)) called at /home/fly1600/var/megalib/Class/MOP/Class.pm line 497 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2fb2de0), HASH(0x2f2cb00)) called at /home/fly1600/var/megalib/Moose/Meta/Class.pm line 277 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2fb2de0), HASH(0x2f2cb00)) called at /home/fly1600/var/megalib/Moose/Object.pm line 26 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a06250)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 266) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::8", HASH(0x2a06250)) called at /home/fly1600/var/megalib/Test/DBIx/Class/SchemaManager.pm line 169 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2a06250)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x29d33a8)) called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x29d33a8), "Schema", "reset_schema") called at /home/fly1600/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x29d33a8), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x25233a8)) called at (eval 432) line 18 TestRole::Schema::schema(main=HASH(0x25233a8)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x25233a8)) called at t/lib/TestRole/Schema.pm line 127 TestRole::Schema::load_fixtures(main=HASH(0x25233a8), "basic") called at t/60-invoke.t line 18 main::__ANON__(main=HASH(0x25233a8)) called at (eval 425) line 16 main::setup(main=HASH(0x25233a8)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 258 Test::Builder::__ANON__() called at /home/fly1600/var/megalib/Test/Builder.pm line 263 eval {...} called at /home/fly1600/var/megalib/Test/Builder.pm line 263 Test::Builder::subtest(Test::Builder=HASH(0x84c9f0), "testing with main", CODE(0x29d0050)) called at /home/fly1600/var/megalib/Test/More.pm line 770 Test::More::subtest("testing with main", CODE(0x29d0050)) called at /home/fly1600/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1600/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/60-invoke.t line 71 Exception: DBIx::Class::Row::get_column(): No such column 'nonesuch' at /data/fly1600/cpan/build/WebAPI-DBIC-0.001004-S2NlMO/blib/lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm line 56 t/60-invoke.t ........... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Invoke ===== # POST /artist/1/invoke/get_column ok 1 ok 2 - response is a ref ok 3 - returns expected data # POST /artist/1/invoke/get_column ok 4 ok 5 - response is a ref ok 6 # POST /artist/1/invoke/get_column ok 7 ok 8 - response is a ref ok 9 # POST /artist/1/invoke/get_column ok 10 ok 11 - response is a ref ok 12 # POST /artist/1/invoke/get_column ok 13 1..13 ok 2 - ===== Invoke ===== 1..2 ok 1 - testing with main 1..1 ok t/release-pod-syntax.t .. skipped: these tests are for release candidate testing All tests successful. Files=13, Tests=32, 58 wallclock secs ( 0.14 usr 0.05 sys + 50.15 cusr 4.02 csys = 54.36 CPU) Result: PASS TIMB/WebAPI-DBIC-0.001004.tar.gz make test TEST_VERBOSE=1 -- OK Tim Bunce <Tim.Bunce@pobox.com> A composable RESTful JSON+HAL API to DBIx::Class schemas using roles, Web::Machine and Path::Router >>> (cd /home/fly1600/var/cpan/build/WebAPI-DBIC-0.001004-S2NlMO && tar cvf - WebAPI-DBIC-0.001004.ppd blib) | gzip -c >/home/fly1600/var/REPO/T/TI/TIMB/WebAPI-DBIC-0.001004.tar.gz WebAPI-DBIC-0.001004.ppd blib/ blib/lib/ blib/lib/WebAPI/ blib/lib/WebAPI/DBIC/ blib/lib/WebAPI/DBIC/Resource/ blib/lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm blib/lib/WebAPI/DBIC/Resource/GenericSetDBIC.pm blib/lib/WebAPI/DBIC/Resource/Role/ blib/lib/WebAPI/DBIC/Resource/Role/Set.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm blib/lib/WebAPI/DBIC/Resource/Role/DBIC.pm blib/lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICParams.pm blib/lib/WebAPI/DBIC/Resource/Role/Item.pm blib/lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm blib/lib/WebAPI/DBIC/Resource/Role/SetWritable.pm blib/lib/WebAPI/DBIC/Resource/Role/SetRender.pm blib/lib/WebAPI/DBIC/Resource/Role/DBICException.pm blib/lib/WebAPI/DBIC/Resource/GenericItemDBIC.pm blib/lib/WebAPI/DBIC/Resource/Base.pm blib/lib/WebAPI/DBIC/Role/ blib/lib/WebAPI/DBIC/Role/JsonEncoder.pm blib/lib/WebAPI/DBIC/Role/JsonParams.pm blib/lib/WebAPI/DBIC/Util.pm blib/lib/WebAPI/DBIC/WebApp.pm blib/lib/WebAPI/DBIC/Machine.pm blib/lib/WebAPI/HTTP/ blib/lib/WebAPI/HTTP/Throwable/ blib/lib/WebAPI/HTTP/Throwable/Role/ blib/lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm blib/lib/WebAPI/HTTP/Throwable/Factory.pm blib/lib/WebAPI/DBIC.pm blib/lib/WebAPI/data_service_api.pod blib/lib/WebAPI/NOTES.pod blib/man3/ blib/man3/WebAPI::NOTES.3 blib/man3/WebAPI::data_service_api.3 blib/man3/WebAPI::DBIC.3 blib/man3/WebAPI::DBIC::Machine.3 blib/man3/WebAPI::DBIC::Resource::Base.3 blib/man3/WebAPI::DBIC::Resource::GenericItemDBIC.3 blib/man3/WebAPI::DBIC::Resource::GenericItemInvoke.3 blib/man3/WebAPI::DBIC::Resource::GenericSetDBIC.3 blib/man3/WebAPI::DBIC::Resource::Role::DBIC.3 blib/man3/WebAPI::DBIC::Resource::Role::DBICAuth.3 blib/man3/WebAPI::DBIC::Resource::Role::DBICException.3 blib/man3/WebAPI::DBIC::Resource::Role::DBICParams.3 blib/man3/WebAPI::DBIC::Resource::Role::Item.3 blib/man3/WebAPI::DBIC::Resource::Role::ItemInvoke.3 blib/man3/WebAPI::DBIC::Resource::Role::ItemWritable.3 blib/man3/WebAPI::DBIC::Resource::Role::Set.3 blib/man3/WebAPI::DBIC::Resource::Role::SetRender.3 blib/man3/WebAPI::DBIC::Resource::Role::SetWritable.3 blib/man3/WebAPI::DBIC::Role::JsonEncoder.3 blib/man3/WebAPI::DBIC::Role::JsonParams.3 blib/man3/WebAPI::DBIC::Util.3 blib/man3/WebAPI::DBIC::WebApp.3 blib/man3/WebAPI::HTTP::Throwable::Factory.3 blib/man3/WebAPI::HTTP::Throwable::Role::JSONBody.3 >>> mv /home/fly1600/var/cpan/build/WebAPI-DBIC-0.001004-S2NlMO/WebAPI-DBIC-0.001004.ppd /home/fly1600/var/REPO/T/TI/TIMB VmSize: 250904 kB Finished 2014-07-28T14:28:21