PATH=/usr/bin:/bin:/home/fly1400/var/megalib/bin Start 2014-11-04T00:11:59 ActivePerl-1400 CPAN-2.00 Reading '/home/fly1400/var/cpan/Metadata' Database was generated on Tue, 04 Nov 2014 06:41:02 GMT Running make for T/TI/TIMB/WebAPI-DBIC-0.001008.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/T/TI/TIMB/WebAPI-DBIC-0.001008.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/T/TI/TIMB/CHECKSUMS Checksum for /home/fly1400/var/cpan/sources/authors/id/T/TI/TIMB/WebAPI-DBIC-0.001008.tar.gz ok WebAPI-DBIC-0.001008 WebAPI-DBIC-0.001008/README WebAPI-DBIC-0.001008/Changes WebAPI-DBIC-0.001008/LICENSE WebAPI-DBIC-0.001008/cpanfile WebAPI-DBIC-0.001008/dist.ini WebAPI-DBIC-0.001008/META.yml WebAPI-DBIC-0.001008/MANIFEST WebAPI-DBIC-0.001008/NOTES.pod WebAPI-DBIC-0.001008/README.md WebAPI-DBIC-0.001008/META.json WebAPI-DBIC-0.001008/Makefile.PL WebAPI-DBIC-0.001008/t WebAPI-DBIC-0.001008/t/10-basics.t WebAPI-DBIC-0.001008/t/11-paging.t WebAPI-DBIC-0.001008/t/13-fields.t WebAPI-DBIC-0.001008/t/50-modify.t WebAPI-DBIC-0.001008/t/60-invoke.t WebAPI-DBIC-0.001008/t/00-compile.t WebAPI-DBIC-0.001008/t/53-put_rel.t WebAPI-DBIC-0.001008/t/14-distinct.t WebAPI-DBIC-0.001008/t/20-prefetch.t WebAPI-DBIC-0.001008/t/30-ordering.t WebAPI-DBIC-0.001008/t/52-post_rel.t WebAPI-DBIC-0.001008/t/lib WebAPI-DBIC-0.001008/t/lib/TestDS.pm WebAPI-DBIC-0.001008/t/12-searching.t WebAPI-DBIC-0.001008/lib/WebAPI WebAPI-DBIC-0.001008/lib/WebAPI/DBIC.pm WebAPI-DBIC-0.001008/run-chinook-demo.sh WebAPI-DBIC-0.001008/t/lib/TestSchema.pm WebAPI-DBIC-0.001008/data_service_api.pod WebAPI-DBIC-0.001008/webapi-dbic-any.psgi WebAPI-DBIC-0.001008/t/lib/DummySchema.pm WebAPI-DBIC-0.001008/webapi-dbic-demo.psgi WebAPI-DBIC-0.001008/hal-browser WebAPI-DBIC-0.001008/hal-browser/README.md WebAPI-DBIC-0.001008/hal-browser/js WebAPI-DBIC-0.001008/hal-browser/js/hal.js WebAPI-DBIC-0.001008/run-testschema-demo.sh WebAPI-DBIC-0.001008/hal-browser/styles.css WebAPI-DBIC-0.001008/t/release-pod-syntax.t WebAPI-DBIC-0.001008/lib/WebAPI/DBIC WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Util.pm WebAPI-DBIC-0.001008/hal-browser/browser.html WebAPI-DBIC-0.001008/t/lib/TestRole WebAPI-DBIC-0.001008/t/lib/TestRole/Schema.pm WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Router.pm WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/WebApp.pm WebAPI-DBIC-0.001008/t/lib/DummyLoadedSchema.pm WebAPI-DBIC-0.001008/hal-browser/MIT-LICENSE.txt WebAPI-DBIC-0.001008/hal-browser/js/hal WebAPI-DBIC-0.001008/hal-browser/js/hal/browser.js WebAPI-DBIC-0.001008/t/lib/TestSchema/Result WebAPI-DBIC-0.001008/t/lib/TestSchema/Result/CD.pm WebAPI-DBIC-0.001008/hal-browser/js/hal/resource.js WebAPI-DBIC-0.001008/t/lib/TestSchema/Result/Gig.pm WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/Base.pm WebAPI-DBIC-0.001008/t/lib/TestSchema/Result/Genre.pm WebAPI-DBIC-0.001008/t/lib/TestSchema/Result/Track.pm WebAPI-DBIC-0.001008/hal-browser/js/hal/http WebAPI-DBIC-0.001008/hal-browser/js/hal/http/client.js WebAPI-DBIC-0.001008/hal-browser/js/hal/views WebAPI-DBIC-0.001008/hal-browser/js/hal/views/links.js WebAPI-DBIC-0.001008/hal-browser/vendor/js WebAPI-DBIC-0.001008/hal-browser/vendor/js/backbone.js WebAPI-DBIC-0.001008/t/lib/TestSchema/Result/Artist.pm WebAPI-DBIC-0.001008/hal-browser/vendor/js/bootstrap.js WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Role WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Role/JsonParams.pm WebAPI-DBIC-0.001008/hal-browser/js/hal/views/browser.js WebAPI-DBIC-0.001008/hal-browser/vendor/js/underscore.js WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Role/JsonEncoder.pm WebAPI-DBIC-0.001008/t/lib/TestSchema/Result/Producer.pm WebAPI-DBIC-0.001008/hal-browser/js/hal/views/explorer.js WebAPI-DBIC-0.001008/hal-browser/js/hal/views/resource.js WebAPI-DBIC-0.001008/hal-browser/js/hal/views/response.js WebAPI-DBIC-0.001008/hal-browser/vendor/css WebAPI-DBIC-0.001008/hal-browser/vendor/css/bootstrap.css WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/Role WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/Role/Set.pm WebAPI-DBIC-0.001008/lib/WebAPI/HTTP/Throwable WebAPI-DBIC-0.001008/lib/WebAPI/HTTP/Throwable/Factory.pm WebAPI-DBIC-0.001008/hal-browser/js/hal/views/inspector.js WebAPI-DBIC-0.001008/hal-browser/vendor/js/uritemplates.js WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/Role/DBIC.pm WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/Role/Item.pm WebAPI-DBIC-0.001008/hal-browser/js/hal/views/navigation.js WebAPI-DBIC-0.001008/hal-browser/js/hal/views/properties.js WebAPI-DBIC-0.001008/hal-browser/vendor/img WebAPI-DBIC-0.001008/hal-browser/vendor/img/ajax-loader.gif WebAPI-DBIC-0.001008/hal-browser/vendor/js/jquery-1.10.2.js WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/GenericSet.pm WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/GenericCore.pm WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/GenericItem.pm WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/Role/Router.pm WebAPI-DBIC-0.001008/hal-browser/js/hal/views/location_bar.js WebAPI-DBIC-0.001008/hal-browser/js/hal/views/documentation.js WebAPI-DBIC-0.001008/hal-browser/js/hal/views/response_body.js WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/Role/Identity.pm WebAPI-DBIC-0.001008/t/lib/TestSchema/Result/CD_to_Producer.pm WebAPI-DBIC-0.001008/hal-browser/vendor/js/jquery-1.10.2.min.js WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/Role/SetRender.pm WebAPI-DBIC-0.001008/lib/WebAPI/HTTP/Throwable/Role WebAPI-DBIC-0.001008/lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm WebAPI-DBIC-0.001008/hal-browser/js/hal/views/request_headers.js WebAPI-DBIC-0.001008/hal-browser/vendor/js/jquery-1.10.2.min.map WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/Role/DBICParams.pm WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm WebAPI-DBIC-0.001008/hal-browser/js/hal/views/query_uri_dialog.js WebAPI-DBIC-0.001008/hal-browser/js/hal/views/response_headers.js WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/Role/SetWritable.pm WebAPI-DBIC-0.001008/hal-browser/js/hal/views/embedded_resource.js WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/Role/Relationship.pm WebAPI-DBIC-0.001008/hal-browser/js/hal/views/embedded_resources.js WebAPI-DBIC-0.001008/lib/WebAPI/DBIC/Resource/Role/DBICException.pm WebAPI-DBIC-0.001008/hal-browser/vendor/css/bootstrap-responsive.css WebAPI-DBIC-0.001008/hal-browser/vendor/img/glyphicons-halflings.png WebAPI-DBIC-0.001008/hal-browser/js/hal/views/non_safe_request_dialog.js WebAPI-DBIC-0.001008/hal-browser/vendor/img/glyphicons-halflings-white.png /bin/tar: Read 5120 bytes from - CPAN.pm: Building T/TI/TIMB/WebAPI-DBIC-0.001008.tar.gz >>> /home/fly1400/ap1400/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/Role/Relationship.pm blib/lib/WebAPI/DBIC/Resource/Role/Relationship.pm 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/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 lib/WebAPI/DBIC/Resource/Role/Router.pm blib/lib/WebAPI/DBIC/Resource/Role/Router.pm cp NOTES.pod blib/lib/WebAPI/NOTES.pod cp lib/WebAPI/DBIC/Resource/GenericSet.pm blib/lib/WebAPI/DBIC/Resource/GenericSet.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/GenericItem.pm blib/lib/WebAPI/DBIC/Resource/GenericItem.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/Resource/Role/Identity.pm blib/lib/WebAPI/DBIC/Resource/Role/Identity.pm cp lib/WebAPI/DBIC/WebApp.pm blib/lib/WebAPI/DBIC/WebApp.pm cp lib/WebAPI/DBIC/Router.pm blib/lib/WebAPI/DBIC/Router.pm cp lib/WebAPI/DBIC/Resource/GenericCore.pm blib/lib/WebAPI/DBIC/Resource/GenericCore.pm Manifying 28 pod documents TIMB/WebAPI-DBIC-0.001008.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/home/fly1400/ap1400/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 - lib/WebAPI/DBIC.pm compiles ok 2 - lib/WebAPI/DBIC/Util.pm compiles ok 3 - lib/WebAPI/DBIC/Router.pm compiles ok 4 - lib/WebAPI/DBIC/WebApp.pm compiles ok 5 - blib/lib/WebAPI/DBIC.pm compiles ok 6 - lib/WebAPI/DBIC/Resource/Base.pm compiles ok 7 - lib/WebAPI/DBIC/Resource/GenericSet.pm compiles ok 8 - lib/WebAPI/DBIC/Resource/GenericCore.pm compiles ok 9 - lib/WebAPI/DBIC/Resource/GenericItem.pm compiles ok 10 - lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm compiles ok 11 - lib/WebAPI/DBIC/Role/JsonParams.pm compiles ok 12 - lib/WebAPI/DBIC/Role/JsonEncoder.pm compiles ok 13 - lib/WebAPI/HTTP/Throwable/Factory.pm compiles ok 14 - blib/lib/WebAPI/DBIC/Util.pm compiles ok 15 - blib/lib/WebAPI/DBIC/WebApp.pm compiles ok 16 - blib/lib/WebAPI/DBIC/Router.pm compiles ok 17 - lib/WebAPI/DBIC/Resource/Role/Set.pm compiles ok 18 - lib/WebAPI/DBIC/Resource/Role/DBIC.pm compiles ok 19 - lib/WebAPI/DBIC/Resource/Role/Item.pm compiles ok 20 - lib/WebAPI/DBIC/Resource/Role/Router.pm compiles ok 21 - lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm compiles ok 22 - lib/WebAPI/DBIC/Resource/Role/Identity.pm compiles ok 23 - lib/WebAPI/DBIC/Resource/Role/SetRender.pm compiles ok 24 - lib/WebAPI/DBIC/Resource/Role/DBICParams.pm compiles ok 25 - lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm compiles ok 26 - lib/WebAPI/DBIC/Resource/Role/SetWritable.pm compiles ok 27 - lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm compiles ok 28 - lib/WebAPI/DBIC/Resource/Role/Relationship.pm compiles ok 29 - lib/WebAPI/DBIC/Resource/Role/DBICException.pm compiles ok 30 - lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm compiles ok 31 - blib/lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm compiles ok 32 - blib/lib/WebAPI/DBIC/Resource/GenericSet.pm compiles ok 33 - blib/lib/WebAPI/DBIC/Resource/Base.pm compiles ok 34 - blib/lib/WebAPI/DBIC/Resource/GenericItem.pm compiles ok 35 - blib/lib/WebAPI/DBIC/Resource/GenericCore.pm compiles ok 36 - blib/lib/WebAPI/DBIC/Role/JsonEncoder.pm compiles ok 37 - blib/lib/WebAPI/DBIC/Role/JsonParams.pm compiles ok 38 - blib/lib/WebAPI/HTTP/Throwable/Factory.pm compiles ok 39 - blib/lib/WebAPI/DBIC/Resource/Role/Relationship.pm compiles ok 40 - blib/lib/WebAPI/DBIC/Resource/Role/Set.pm compiles ok 41 - blib/lib/WebAPI/DBIC/Resource/Role/DBICAuth.pm compiles ok 42 - blib/lib/WebAPI/DBIC/Resource/Role/DBIC.pm compiles ok 43 - blib/lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm compiles ok 44 - blib/lib/WebAPI/DBIC/Resource/Role/DBICParams.pm compiles ok 45 - blib/lib/WebAPI/DBIC/Resource/Role/Item.pm compiles ok 46 - blib/lib/WebAPI/DBIC/Resource/Role/Router.pm compiles ok 47 - blib/lib/WebAPI/DBIC/Resource/Role/ItemWritable.pm compiles ok 48 - blib/lib/WebAPI/DBIC/Resource/Role/SetWritable.pm compiles ok 49 - blib/lib/WebAPI/DBIC/Resource/Role/SetRender.pm compiles ok 50 - blib/lib/WebAPI/DBIC/Resource/Role/DBICException.pm compiles ok 51 - blib/lib/WebAPI/DBIC/Resource/Role/Identity.pm compiles ok 52 - blib/lib/WebAPI/HTTP/Throwable/Role/JSONBody.pm compiles 1..52 ok Class::MOP::load_class is deprecated at /home/fly1400/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x25f88b0), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x25f8a90), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x263ba78), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x263ba78), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x26585e0), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2254920)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x26585e0), Moose::Meta::Instance=HASH(0x2d0f010), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2254920), HASH(0x2c7cfb0)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2c62f68), HASH(0x2c7cfb0)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2c62f68), HASH(0x2c7cfb0)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2c62f68), HASH(0x2c7cfb0)) called at /home/fly1400/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2745a18)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2745a18)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2745a18)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x2745130)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x2745130), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x2745130), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x2248460)) called at (eval 333) line 18 TestRole::Schema::schema(main=HASH(0x2248460)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x2248460)) called at t/lib/TestRole/Schema.pm line 134 TestRole::Schema::load_fixtures(main=HASH(0x2248460), "basic") called at t/10-basics.t line 19 main::__ANON__(main=HASH(0x2248460)) called at (eval 323) line 16 main::setup(main=HASH(0x2248460)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 261 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 266 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 266 Test::Builder::subtest(Test::Builder=HASH(0xa6d9d0), "testing with main", CODE(0x22484c0)) called at /home/fly1400/var/megalib/Test/More.pm line 771 Test::More::subtest("testing with main", CODE(0x22484c0)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/10-basics.t line 92 TestSchema::Result::Artist relationship cds_80s has coderef-based condition which is not handled yet - unknown crosstable_cond_key TestSchema::Result::Artist relationship cds_90s has coderef-based condition which is not handled yet - unknown crosstable_cond_key TestSchema::Result::Artist relationship cds_without_genre has coderef-based condition which is not handled yet - unknown crosstable_cond_key TestSchema::Result::Artist relationship cds_84 has coderef-based condition which is not handled yet - unknown crosstable_cond_key t/10-basics.t ........... # Subtest: testing with main ok 1 - Path temp-test-db is accessible, forcing 'force_drop_table' # Subtest: ===== Get - single field key ===== # 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 - single field key ===== # Subtest: ===== Get - multi-field key ===== # GET /gig/1/2014-01-01T01:01:01Z 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 - artistid ok 6 - gig_datetime # GET /gig/2/2014-06-30T19:00:00Z ok 7 ok 8 - response is a ref ok 9 - data isn't a hash ok 10 - set has less than 1 attributes ok 11 - artistid ok 12 - gig_datetime 1..12 ok 3 - ===== Get - multi-field key ===== # Bye! 1..3 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1400/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x262c500), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x262c6e0), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x2670e38), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x2670e38), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x268ae98), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x231ada8)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x268ae98), Moose::Meta::Instance=HASH(0x2d3fb60), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x231ada8), HASH(0x2cacef0)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2cfb438), HASH(0x2cacef0)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2cfb438), HASH(0x2cacef0)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2cfb438), HASH(0x2cacef0)) called at /home/fly1400/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2777248)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2777248)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2777248)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x2776960)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x2776960), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x2776960), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x227c9b8)) called at (eval 330) line 18 TestRole::Schema::schema(main=HASH(0x227c9b8)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x227c9b8)) called at t/lib/TestRole/Schema.pm line 134 TestRole::Schema::load_fixtures(main=HASH(0x227c9b8), "basic") called at t/11-paging.t line 21 main::__ANON__(main=HASH(0x227c9b8)) called at (eval 323) line 16 main::setup(main=HASH(0x227c9b8)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 261 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 266 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 266 Test::Builder::subtest(Test::Builder=HASH(0x83d630), "testing with main", CODE(0x227ca18)) called at /home/fly1400/var/megalib/Test/More.pm line 771 Test::More::subtest("testing with main", CODE(0x227ca18)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/11-paging.t line 112 TestSchema::Result::Artist relationship cds_80s has coderef-based condition which is not handled yet - unknown crosstable_cond_key TestSchema::Result::Artist relationship cds_90s has coderef-based condition which is not handled yet - unknown crosstable_cond_key TestSchema::Result::Artist relationship cds_without_genre has coderef-based condition which is not handled yet - unknown crosstable_cond_key TestSchema::Result::Artist relationship cds_84 has coderef-based condition which is not handled yet - unknown crosstable_cond_key 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/fly1400/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x25f5ee8), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x2546e80), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x26387a0), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x26387a0), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x26589b0), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2255ec0)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x26589b0), Moose::Meta::Instance=HASH(0x2d0a5b8), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2255ec0), HASH(0x2c50a80)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2c51320), HASH(0x2c50a80)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2c51320), HASH(0x2c50a80)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2c51320), HASH(0x2c50a80)) called at /home/fly1400/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2742758)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2742758)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2742758)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x272a808)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x272a808), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x272a808), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x26fe090)) called at (eval 330) line 18 TestRole::Schema::schema(main=HASH(0x26fe090)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x26fe090)) called at t/lib/TestRole/Schema.pm line 134 TestRole::Schema::load_fixtures(main=HASH(0x26fe090), "basic") called at t/12-searching.t line 19 main::__ANON__(main=HASH(0x26fe090)) called at (eval 323) line 16 main::setup(main=HASH(0x26fe090)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 261 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 266 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 266 Test::Builder::subtest(Test::Builder=HASH(0x83ce50), "testing with main", CODE(0x26fe0f0)) called at /home/fly1400/var/megalib/Test/More.pm line 771 Test::More::subtest("testing with main", CODE(0x26fe0f0)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/12-searching.t line 77 TestSchema::Result::Artist relationship cds_80s has coderef-based condition which is not handled yet - unknown crosstable_cond_key TestSchema::Result::Artist relationship cds_90s has coderef-based condition which is not handled yet - unknown crosstable_cond_key TestSchema::Result::Artist relationship cds_without_genre has coderef-based condition which is not handled yet - unknown crosstable_cond_key TestSchema::Result::Artist relationship cds_84 has coderef-based condition which is not handled yet - unknown crosstable_cond_key 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/fly1400/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x25f2078), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x25f2258), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x2636370), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x2636370), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x264fec0), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x22dfa20)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x264fec0), Moose::Meta::Instance=HASH(0x2d07538), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x22dfa20), HASH(0x2cf6ff8)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2c5c920), HASH(0x2cf6ff8)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2c5c920), HASH(0x2cf6ff8)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2c5c920), HASH(0x2cf6ff8)) called at /home/fly1400/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x273edd0)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x273edd0)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x273edd0)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x273e4e8)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x273e4e8), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x273e4e8), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x26fb030)) called at (eval 330) line 18 TestRole::Schema::schema(main=HASH(0x26fb030)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x26fb030)) called at t/lib/TestRole/Schema.pm line 134 TestRole::Schema::load_fixtures(main=HASH(0x26fb030), "basic") called at t/13-fields.t line 21 main::__ANON__(main=HASH(0x26fb030)) called at (eval 323) line 16 main::setup(main=HASH(0x26fb030)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 261 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 266 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 266 Test::Builder::subtest(Test::Builder=HASH(0x83cbe0), "testing with main", CODE(0x26fb090)) called at /home/fly1400/var/megalib/Test/More.pm line 771 Test::More::subtest("testing with main", CODE(0x26fb090)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/13-fields.t line 59 TestSchema::Result::Artist relationship cds_80s has coderef-based condition which is not handled yet - unknown crosstable_cond_key TestSchema::Result::Artist relationship cds_90s has coderef-based condition which is not handled yet - unknown crosstable_cond_key TestSchema::Result::Artist relationship cds_without_genre has coderef-based condition which is not handled yet - unknown crosstable_cond_key TestSchema::Result::Artist relationship cds_84 has coderef-based condition which is not handled yet - unknown crosstable_cond_key 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/fly1400/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x25eda40), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x25edc20), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x2632268), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x2632268), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x264af40), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x22d7ae0)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x264af40), Moose::Meta::Instance=HASH(0x2d03e70), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x22d7ae0), HASH(0x2c70da0)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2cbfa78), HASH(0x2c70da0)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2cbfa78), HASH(0x2c70da0)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2cbfa78), HASH(0x2c70da0)) called at /home/fly1400/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x273c078)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x273c078)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x273c078)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x273b790)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x273b790), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x273b790), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x27181c8)) called at (eval 330) line 18 TestRole::Schema::schema(main=HASH(0x27181c8)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x27181c8)) called at t/lib/TestRole/Schema.pm line 134 TestRole::Schema::load_fixtures(main=HASH(0x27181c8), "basic") called at t/14-distinct.t line 21 main::__ANON__(main=HASH(0x27181c8)) called at (eval 323) line 16 main::setup(main=HASH(0x27181c8)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 261 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 266 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 266 Test::Builder::subtest(Test::Builder=HASH(0x83c980), "testing with main", CODE(0x2718228)) called at /home/fly1400/var/megalib/Test/More.pm line 771 Test::More::subtest("testing with main", CODE(0x2718228)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/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/fly1400/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x2607e48), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x2608028), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x264b4b0), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x264b4b0), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x266de40), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2266f40)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x266de40), Moose::Meta::Instance=HASH(0x2d1b678), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2266f40), HASH(0x2c60a30)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2c612d0), HASH(0x2c60a30)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2c612d0), HASH(0x2c60a30)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2c612d0), HASH(0x2c60a30)) called at /home/fly1400/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2753a98)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2753a98)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2753a98)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x273b578)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x273b578), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x273b578), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x270e150)) called at (eval 330) line 18 TestRole::Schema::schema(main=HASH(0x270e150)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x270e150)) called at t/lib/TestRole/Schema.pm line 134 TestRole::Schema::load_fixtures(main=HASH(0x270e150), "basic") called at t/20-prefetch.t line 21 main::__ANON__(main=HASH(0x270e150)) called at (eval 323) line 16 main::setup(main=HASH(0x270e150)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 261 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 266 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 266 Test::Builder::subtest(Test::Builder=HASH(0x83e140), "testing with main", CODE(0x270e1b0)) called at /home/fly1400/var/megalib/Test/More.pm line 771 Test::More::subtest("testing with main", CODE(0x270e1b0)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/20-prefetch.t line 165 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 # filter on prefetch with string # GET /cd?prefetch=artist&me.artist.name=Caterwauler+McCrae ok 35 ok 36 - response is a ref ok 37 - has _embedded hash ok 38 - _embedded has cd ok 39 - set has at least 3 items ok 40 - set has at most 3 items ok 41 - data isn't a hash ok 42 - _embedded isn't hash ok 43 - set has less than 1 attributes ok 44 - set has more than 1 attributes ok 45 - has embedded artist ok 46 - artist has the correct name ok 47 - data isn't a hash ok 48 - _embedded isn't hash ok 49 - set has less than 1 attributes ok 50 - set has more than 1 attributes ok 51 - has embedded artist ok 52 - artist has the correct name ok 53 - data isn't a hash ok 54 - _embedded isn't hash ok 55 - set has less than 1 attributes ok 56 - set has more than 1 attributes ok 57 - has embedded artist ok 58 - artist has the correct name # filter on prefetch with JSON # GET /cd?prefetch=artist&me.artist.name~json={"like":"%McCrae"} ok 59 ok 60 - response is a ref ok 61 - has _embedded hash ok 62 - _embedded has cd ok 63 - set has at least 3 items ok 64 - set has at most 3 items ok 65 - data isn't a hash ok 66 - _embedded isn't hash ok 67 - set has less than 1 attributes ok 68 - set has more than 1 attributes ok 69 - has embessed artist ok 70 - artist has the correct name ok 71 - data isn't a hash ok 72 - _embedded isn't hash ok 73 - set has less than 1 attributes ok 74 - set has more than 1 attributes ok 75 - has embessed artist ok 76 - artist has the correct name ok 77 - data isn't a hash ok 78 - _embedded isn't hash ok 79 - set has less than 1 attributes ok 80 - set has more than 1 attributes ok 81 - has embessed artist ok 82 - artist has the correct name # filter on nested prefetch # GET /artist?prefetch~json={"cds":"producers"}&me.cds.year~json={">":"1997"}&me.producers.name=Matt+S+Trout not ok 83 # TODO multi relationships are not handled yet # Failed (TODO) test at t/20-prefetch.t line 97. # status doesn't match, expected HTTP status code '200', got 400 # 400 Bad Request # Content-Length: 1039 # Content-Type: application/json # # { # "errors" : [ # { # "cds" : "relationship is multi but only single and filter are supported\n", # "_meta" : { # "relationship" : { # "cond" : { # "foreign.artist" : "self.artistid" # }, # "source" : "TestSchema::Result::CD", # "attrs" : { # "is_depends_on" : 0, # "order_by" : { # "-asc" : "year" # }, # "join_type" : "LEFT", # "cascade_copy" : 1, # "cascade_delete" : 1, # "accessor" : "multi" # }, # "class" : "TestSchema::Result::CD" # }, # "relationships" : [ # "cds_cref_cond", # "cds_80s", # "cds", # "cds_90s", # "cds_unordered", # "cds_without_genre", # "cds_very_very_very_long_relationship_name", # "cds_84" # ] # } # } # ] # } ok 84 - response is a ref # TODO multi relationships are not handled yet not ok 85 - has _embedded hash # TODO multi relationships are not handled yet # Failed (TODO) test 'has _embedded hash' # at t/20-prefetch.t line 102. # got: '' # expected: 'HASH' not ok 86 - _embedded has artist # TODO multi relationships are not handled yet # Failed (TODO) test '_embedded has artist' # at t/20-prefetch.t line 102. # got: '' # expected: 'ARRAY' # prefetch with query on ambiguous field # GET /cd/?me.artist=1&prefetch=artist ok 87 ok 88 - response is a ref # prefetch on invalid name # GET /cd/1?prefetch=nonesuch ok 89 ok 90 - 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 91 # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test at t/20-prefetch.t line 133. # 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 92 - response is a ref # TODO partial response of prefetched items is not implemented yet ok 93 - data isn't a hash # TODO partial response of prefetched items is not implemented yet ok 94 - set has less than 1 attributes # TODO partial response of prefetched items is not implemented yet ok 95 - data isn't a hash # TODO partial response of prefetched items is not implemented yet not ok 96 - _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 135. # got: '' # expected: 'HASH' # HASH(0x455f5e8) not ok 97 - 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 135. # '0' # >= # '2' ok 98 - set has more than 2 attributes # TODO partial response of prefetched items is not implemented yet not ok 99 - 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 136. # got: '' # expected: 'HASH' ok 100 - genreid matches # TODO partial response of prefetched items is not implemented yet not ok 101 - 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 138. # got: '' # expected: 'HASH' ok 102 - artist matches # TODO partial response of prefetched items is not implemented yet not ok 103 - 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 141. # got: '0' # expected: '1' not ok 104 - 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 142. # 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 105 # TODO partial response of prefetched items is not implemented yet # Failed (TODO) test at t/20-prefetch.t line 147. # 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 106 - response is a ref # TODO partial response of prefetched items is not implemented yet not ok 107 - 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 148. # got: '' # expected: 'HASH' not ok 108 - _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 148. # got: '' # expected: 'ARRAY' 1..108 ok 2 - ===== Prefetch ===== 1..2 ok 1 - testing with main 1..1 ok Class::MOP::load_class is deprecated at /home/fly1400/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x26453e8), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x26455c8), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x2687950), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x2687950), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x26a20f0), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2332680)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x26a20f0), Moose::Meta::Instance=HASH(0x2d57a78), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2332680), HASH(0x2cc50c8)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2caebc0), HASH(0x2cc50c8)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2caebc0), HASH(0x2cc50c8)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2caebc0), HASH(0x2cc50c8)) called at /home/fly1400/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x278f260)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x278f260)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x278f260)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x278e978)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x278e978), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x278e978), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x2294d80)) called at (eval 330) line 18 TestRole::Schema::schema(main=HASH(0x2294d80)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x2294d80)) called at t/lib/TestRole/Schema.pm line 134 TestRole::Schema::load_fixtures(main=HASH(0x2294d80), "basic") called at t/30-ordering.t line 23 main::__ANON__(main=HASH(0x2294d80)) called at (eval 323) line 16 main::setup(main=HASH(0x2294d80)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 261 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 266 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 266 Test::Builder::subtest(Test::Builder=HASH(0x83d610), "testing with main", CODE(0x2294de0)) called at /home/fly1400/var/megalib/Test/More.pm line 771 Test::More::subtest("testing with main", CODE(0x2294de0)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/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/fly1400/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x25fec50), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x25fee30), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x2641dc8), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x2641dc8), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x265e610), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x22ea130)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x265e610), Moose::Meta::Instance=HASH(0x2d13100), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x22ea130), HASH(0x2c80310)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2c56dd8), HASH(0x2c80310)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2c56dd8), HASH(0x2c80310)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2c56dd8), HASH(0x2c80310)) called at /home/fly1400/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x275e7f8)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x275e7f8)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x275e7f8)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x27301a8)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x27301a8), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x27301a8), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x224fc80)) called at (eval 330) line 18 TestRole::Schema::schema(main=HASH(0x224fc80)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x224fc80)) called at t/lib/TestRole/Schema.pm line 134 TestRole::Schema::load_fixtures(main=HASH(0x224fc80), "basic") called at t/50-modify.t line 21 main::__ANON__(main=HASH(0x224fc80)) called at (eval 323) line 16 main::setup(main=HASH(0x224fc80)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 261 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 266 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 266 Test::Builder::subtest(Test::Builder=HASH(0x83d430), "testing with main", CODE(0x224fce0)) called at /home/fly1400/var/megalib/Test/More.pm line 771 Test::More::subtest("testing with main", CODE(0x224fce0)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/50-modify.t line 126 TestSchema::Result::Artist relationship cds_80s has coderef-based condition which is not handled yet - unknown crosstable_cond_key TestSchema::Result::Artist relationship cds_90s has coderef-based condition which is not handled yet - unknown crosstable_cond_key TestSchema::Result::Artist relationship cds_without_genre has coderef-based condition which is not handled yet - unknown crosstable_cond_key TestSchema::Result::Artist relationship cds_84 has coderef-based condition which is not handled yet - unknown crosstable_cond_key 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/fly1400/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x25f7860), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x25f7a40), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x2639cb8), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x2639cb8), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x265b2d8), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2255df8)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x265b2d8), Moose::Meta::Instance=HASH(0x2d0a7b0), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2255df8), HASH(0x2c51b88)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2c52428), HASH(0x2c51b88)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2c52428), HASH(0x2c51b88)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2c52428), HASH(0x2c51b88)) called at /home/fly1400/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2743a40)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x2743a40)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x2743a40)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x272aad0)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x272aad0), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x272aad0), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x26fe3a8)) called at (eval 330) line 18 TestRole::Schema::schema(main=HASH(0x26fe3a8)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x26fe3a8)) called at t/lib/TestRole/Schema.pm line 134 TestRole::Schema::load_fixtures(main=HASH(0x26fe3a8), "basic") called at t/52-post_rel.t line 18 main::__ANON__(main=HASH(0x26fe3a8)) called at (eval 323) line 16 main::setup(main=HASH(0x26fe3a8)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 261 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 266 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 266 Test::Builder::subtest(Test::Builder=HASH(0x83d110), "testing with main", CODE(0x26fe408)) called at /home/fly1400/var/megalib/Test/More.pm line 771 Test::More::subtest("testing with main", CODE(0x26fe408)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/52-post_rel.t line 88 TestSchema::Result::Track relationship next_tracks has coderef-based condition which is not handled yet - unknown crosstable_cond_key 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/fly1400/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x25f4dd8), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x25f4fb8), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x2638250), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x2638250), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x2659cb0), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2255070)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x2659cb0), Moose::Meta::Instance=HASH(0x2d09e38), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x2255070), HASH(0x2c502c0)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2c50b60), HASH(0x2c502c0)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2c50b60), HASH(0x2c502c0)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2c50b60), HASH(0x2c502c0)) called at /home/fly1400/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x27430c8)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x27430c8)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x27430c8)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x272a1a8)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x272a1a8), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x272a1a8), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x26fda70)) called at (eval 330) line 18 TestRole::Schema::schema(main=HASH(0x26fda70)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x26fda70)) called at t/lib/TestRole/Schema.pm line 134 TestRole::Schema::load_fixtures(main=HASH(0x26fda70), "basic") called at t/53-put_rel.t line 18 main::__ANON__(main=HASH(0x26fda70)) called at (eval 323) line 16 main::setup(main=HASH(0x26fda70)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 261 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 266 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 266 Test::Builder::subtest(Test::Builder=HASH(0x83d070), "testing with main", CODE(0x26fdad0)) called at /home/fly1400/var/megalib/Test/More.pm line 771 Test::More::subtest("testing with main", CODE(0x26fdad0)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/var/megalib/Test/Roo.pm line 54 Test::Roo::run_me() called at t/53-put_rel.t line 91 TestSchema::Result::Track relationship next_tracks has coderef-based condition which is not handled yet - unknown crosstable_cond_key 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/fly1400/var/megalib/Class/MOP.pm line 68. Class::MOP::load_class("TestSchema") called at /home/fly1400/var/megalib/Test/DBIx/Class/Types.pm line 24 Test::DBIx::Class::Types::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 64 Moose::Meta::TypeCoercion::__ANON__("TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeCoercion.pm line 99 Moose::Meta::TypeCoercion::coerce(Moose::Meta::TypeCoercion=HASH(0x25f3fd0), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/TypeConstraint.pm line 144 Moose::Meta::TypeConstraint::coerce(Moose::Meta::TypeConstraint=HASH(0x25f41b0), "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 219 MooseX::Types::TypeDecorator::_try_delegate(MooseX::Types::TypeDecorator=HASH(0x2636418), "coerce", "TestSchema") called at /home/fly1400/var/megalib/MooseX/Types/TypeDecorator.pm line 184 MooseX::Types::TypeDecorator::AUTOLOAD(MooseX::Types::TypeDecorator=HASH(0x2636418), "TestSchema") called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 1249 Moose::Meta::Attribute::_coerce_and_verify(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x2657b98), "TestSchema", Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x22528d8)) called at /home/fly1400/var/megalib/Moose/Meta/Attribute.pm line 511 Moose::Meta::Attribute::initialize_instance_slot(Moose::Meta::Class::__ANON__::SERIAL::1=HASH(0x2657b98), Moose::Meta::Instance=HASH(0x2d070a0), Moose::Meta::Class::__ANON__::SERIAL::2=HASH(0x22528d8), HASH(0x2c4d408)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(Moose::Meta::Class=HASH(0x2c4dca8), HASH(0x2c4d408)) called at /home/fly1400/var/megalib/Class/MOP/Class.pm line 495 Class::MOP::Class::new_object(Moose::Meta::Class=HASH(0x2c4dca8), HASH(0x2c4d408)) called at /home/fly1400/var/megalib/Moose/Meta/Class.pm line 273 Moose::Meta::Class::new_object(Moose::Meta::Class=HASH(0x2c4dca8), HASH(0x2c4d408)) called at /home/fly1400/var/megalib/Moose/Object.pm line 23 Moose::Object::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x273f200)) called at constructor Test::DBIx::Class::SchemaManager::new (defined at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 241) line 4 Test::DBIx::Class::SchemaManager::new("Moose::Meta::Class::__ANON__::SERIAL::2", HASH(0x273f200)) called at /home/fly1400/var/megalib/Test/DBIx/Class/SchemaManager.pm line 153 Test::DBIx::Class::SchemaManager::initialize_schema("Test::DBIx::Class::SchemaManager", HASH(0x273f200)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 646 eval {...} called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 645 Test::DBIx::Class::_initialize_schema("Test::DBIx::Class", HASH(0x27272c0)) called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 353 Test::DBIx::Class::_initialize("Test::DBIx::Class", HASH(0x27272c0), "Schema", "reset_schema") called at /home/fly1400/var/megalib/Test/DBIx/Class.pm line 36 Test::DBIx::Class::import("Test::DBIx::Class", HASH(0x27272c0), "Schema", "reset_schema") called at t/lib/TestRole/Schema.pm line 24 TestRole::Schema::_build_schema(main=HASH(0x26fab98)) called at (eval 330) line 18 TestRole::Schema::schema(main=HASH(0x26fab98)) called at t/lib/TestRole/Schema.pm line 36 TestRole::Schema::__ANON__(main=HASH(0x26fab98)) called at t/lib/TestRole/Schema.pm line 134 TestRole::Schema::load_fixtures(main=HASH(0x26fab98), "basic") called at t/60-invoke.t line 18 main::__ANON__(main=HASH(0x26fab98)) called at (eval 323) line 16 main::setup(main=HASH(0x26fab98)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 86 Test::Roo::Class::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 261 Test::Builder::__ANON__() called at /home/fly1400/var/megalib/Test/Builder.pm line 266 eval {...} called at /home/fly1400/var/megalib/Test/Builder.pm line 266 Test::Builder::subtest(Test::Builder=HASH(0x83ccb0), "testing with main", CODE(0x26fabf8)) called at /home/fly1400/var/megalib/Test/More.pm line 771 Test::More::subtest("testing with main", CODE(0x26fabf8)) called at /home/fly1400/var/megalib/Test/Roo/Class.pm line 89 Test::Roo::Class::run_tests("main") called at /home/fly1400/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' on TestSchema::Result::Artist at /data/fly1400/cpan/build/WebAPI-DBIC-0.001008-43LIrG/blib/lib/WebAPI/DBIC/Resource/Role/ItemInvoke.pm line 57 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=63, 69 wallclock secs ( 0.11 usr 0.11 sys + 64.05 cusr 2.26 csys = 66.53 CPU) Result: PASS TIMB/WebAPI-DBIC-0.001008.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 and Web::Machine >>> (cd /home/fly1400/var/cpan/build/WebAPI-DBIC-0.001008-43LIrG && tar cvf - WebAPI-DBIC-0.001008.ppd blib) | gzip -c >/home/fly1400/var/REPO/T/TI/TIMB/WebAPI-DBIC-0.001008.tar.gz WebAPI-DBIC-0.001008.ppd blib/ blib/lib/ blib/lib/WebAPI/ blib/lib/WebAPI/DBIC/ blib/lib/WebAPI/DBIC/Resource/ blib/lib/WebAPI/DBIC/Resource/Role/ blib/lib/WebAPI/DBIC/Resource/Role/Relationship.pm 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/Router.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/Role/Identity.pm blib/lib/WebAPI/DBIC/Resource/GenericItemInvoke.pm blib/lib/WebAPI/DBIC/Resource/GenericSet.pm blib/lib/WebAPI/DBIC/Resource/Base.pm blib/lib/WebAPI/DBIC/Resource/GenericItem.pm blib/lib/WebAPI/DBIC/Resource/GenericCore.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/Router.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::Resource::Base.3 blib/man3/WebAPI::DBIC::Resource::GenericCore.3 blib/man3/WebAPI::DBIC::Resource::GenericItem.3 blib/man3/WebAPI::DBIC::Resource::GenericItemInvoke.3 blib/man3/WebAPI::DBIC::Resource::GenericSet.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::Identity.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::Relationship.3 blib/man3/WebAPI::DBIC::Resource::Role::Router.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::Router.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/fly1400/var/cpan/build/WebAPI-DBIC-0.001008-43LIrG/WebAPI-DBIC-0.001008.ppd /home/fly1400/var/REPO/T/TI/TIMB VmSize: 251784 kB Finished 2014-11-04T00:13:13