> su Password: lap# cpan cpan shell -- CPAN exploration and modules installation (v1.9456) Enter 'h' for help. cpan[1]> install CatalystX::CRUD CPAN: Storable loaded ok (v2.24) Going to read '/root/.cpan/Metadata' Database was generated on Sun, 12 Jun 2011 18:27:07 GMT Running install for module 'CatalystX::CRUD' Running make for K/KA/KARMAN/CatalystX-CRUD-0.51.tar.gz CPAN: Digest::SHA loaded ok (v5.61) CPAN: File::Which loaded ok (v1.09) CPAN: Compress::Zlib loaded ok (v2.03) Checksum for /tmp/.cpan/sources/authors/id/K/KA/KARMAN/CatalystX-CRUD-0.51.tar.gz ok Scanning cache /tmp/.cpan/build for sizes ............................................................................DONE CPAN: Archive::Tar loaded ok (v1.54) CatalystX-CRUD-0.51/ CatalystX-CRUD-0.51/Changes CatalystX-CRUD-0.51/lib/ CatalystX-CRUD-0.51/Makefile.PL CatalystX-CRUD-0.51/MANIFEST CatalystX-CRUD-0.51/META.yml CatalystX-CRUD-0.51/README CatalystX-CRUD-0.51/t/ CatalystX-CRUD-0.51/t/00-load.t CatalystX-CRUD-0.51/t/01-file.t CatalystX-CRUD-0.51/t/02-controller.t CatalystX-CRUD-0.51/t/03-rest.t CatalystX-CRUD-0.51/t/04-query.t CatalystX-CRUD-0.51/t/05-pks.t CatalystX-CRUD-0.51/t/boilerplate.t CatalystX-CRUD-0.51/t/lib/ CatalystX-CRUD-0.51/t/pod-coverage.t CatalystX-CRUD-0.51/t/pod.t CatalystX-CRUD-0.51/t/lib/MyApp/ CatalystX-CRUD-0.51/t/lib/MyApp.pm CatalystX-CRUD-0.51/t/lib/MyApp/Controller/ CatalystX-CRUD-0.51/t/lib/MyApp/File.pm CatalystX-CRUD-0.51/t/lib/MyApp/Form.pm CatalystX-CRUD-0.51/t/lib/MyApp/Model/ CatalystX-CRUD-0.51/t/lib/MyApp/Model/File.pm CatalystX-CRUD-0.51/t/lib/MyApp/Model/FileSearch.pm CatalystX-CRUD-0.51/t/lib/MyApp/Controller/FetchRewrite.pm CatalystX-CRUD-0.51/t/lib/MyApp/Controller/File.pm CatalystX-CRUD-0.51/t/lib/MyApp/Controller/FileAdapter.pm CatalystX-CRUD-0.51/t/lib/MyApp/Controller/FileAdapterMultiPK.pm CatalystX-CRUD-0.51/t/lib/MyApp/Controller/REST/ CatalystX-CRUD-0.51/t/lib/MyApp/Controller/Root.pm CatalystX-CRUD-0.51/t/lib/MyApp/Controller/Search.pm CatalystX-CRUD-0.51/t/lib/MyApp/Controller/REST/File.pm CatalystX-CRUD-0.51/lib/CatalystX/ CatalystX-CRUD-0.51/lib/CatalystX/CRUD/ CatalystX-CRUD-0.51/lib/CatalystX/CRUD.pm CatalystX-CRUD-0.51/lib/CatalystX/CRUD/Controller.pm CatalystX-CRUD-0.51/lib/CatalystX/CRUD/Iterator/ CatalystX-CRUD-0.51/lib/CatalystX/CRUD/Iterator.pm CatalystX-CRUD-0.51/lib/CatalystX/CRUD/Model/ CatalystX-CRUD-0.51/lib/CatalystX/CRUD/Model.pm CatalystX-CRUD-0.51/lib/CatalystX/CRUD/ModelAdapter/ CatalystX-CRUD-0.51/lib/CatalystX/CRUD/ModelAdapter.pm CatalystX-CRUD-0.51/lib/CatalystX/CRUD/Object/ CatalystX-CRUD-0.51/lib/CatalystX/CRUD/Object.pm CatalystX-CRUD-0.51/lib/CatalystX/CRUD/REST.pm CatalystX-CRUD-0.51/lib/CatalystX/CRUD/Results.pm CatalystX-CRUD-0.51/lib/CatalystX/CRUD/Test/ CatalystX-CRUD-0.51/lib/CatalystX/CRUD/Tutorial.pod CatalystX-CRUD-0.51/lib/CatalystX/CRUD/Test/Controller.pm CatalystX-CRUD-0.51/lib/CatalystX/CRUD/Test/Form.pm CatalystX-CRUD-0.51/lib/CatalystX/CRUD/Object/File.pm CatalystX-CRUD-0.51/lib/CatalystX/CRUD/ModelAdapter/File.pm CatalystX-CRUD-0.51/lib/CatalystX/CRUD/Model/File.pm CatalystX-CRUD-0.51/lib/CatalystX/CRUD/Model/Utils.pm CatalystX-CRUD-0.51/lib/CatalystX/CRUD/Iterator/File.pm CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.40) CPAN: Module::CoreList loaded ok (v2.38) CPAN.pm: Going to build K/KA/KARMAN/CatalystX-CRUD-0.51.tar.gz Checking if your kit is complete... Looks good Writing Makefile for CatalystX::CRUD cp lib/CatalystX/CRUD/Controller.pm blib/lib/CatalystX/CRUD/Controller.pm cp lib/CatalystX/CRUD/Results.pm blib/lib/CatalystX/CRUD/Results.pm cp lib/CatalystX/CRUD/Iterator.pm blib/lib/CatalystX/CRUD/Iterator.pm cp lib/CatalystX/CRUD/Model/Utils.pm blib/lib/CatalystX/CRUD/Model/Utils.pm cp lib/CatalystX/CRUD.pm blib/lib/CatalystX/CRUD.pm cp lib/CatalystX/CRUD/Iterator/File.pm blib/lib/CatalystX/CRUD/Iterator/File.pm cp lib/CatalystX/CRUD/ModelAdapter/File.pm blib/lib/CatalystX/CRUD/ModelAdapter/File.pm cp lib/CatalystX/CRUD/Test/Controller.pm blib/lib/CatalystX/CRUD/Test/Controller.pm cp lib/CatalystX/CRUD/Test/Form.pm blib/lib/CatalystX/CRUD/Test/Form.pm cp lib/CatalystX/CRUD/Tutorial.pod blib/lib/CatalystX/CRUD/Tutorial.pod cp lib/CatalystX/CRUD/Model/File.pm blib/lib/CatalystX/CRUD/Model/File.pm cp lib/CatalystX/CRUD/ModelAdapter.pm blib/lib/CatalystX/CRUD/ModelAdapter.pm cp lib/CatalystX/CRUD/REST.pm blib/lib/CatalystX/CRUD/REST.pm cp lib/CatalystX/CRUD/Object/File.pm blib/lib/CatalystX/CRUD/Object/File.pm cp lib/CatalystX/CRUD/Object.pm blib/lib/CatalystX/CRUD/Object.pm cp lib/CatalystX/CRUD/Model.pm blib/lib/CatalystX/CRUD/Model.pm Manifying blib/man3/CatalystX::CRUD::Controller.3 Manifying blib/man3/CatalystX::CRUD::Results.3 Manifying blib/man3/CatalystX::CRUD::Iterator.3 Manifying blib/man3/CatalystX::CRUD::Model::Utils.3 Manifying blib/man3/CatalystX::CRUD.3 Manifying blib/man3/CatalystX::CRUD::Test::Controller.3 Manifying blib/man3/CatalystX::CRUD::ModelAdapter::File.3 Manifying blib/man3/CatalystX::CRUD::Iterator::File.3 Manifying blib/man3/CatalystX::CRUD::Tutorial.3 Manifying blib/man3/CatalystX::CRUD::Test::Form.3 Manifying blib/man3/CatalystX::CRUD::Model::File.3 Manifying blib/man3/CatalystX::CRUD::REST.3 Manifying blib/man3/CatalystX::CRUD::ModelAdapter.3 Manifying blib/man3/CatalystX::CRUD::Object.3 Manifying blib/man3/CatalystX::CRUD::Object::File.3 Manifying blib/man3/CatalystX::CRUD::Model.3 KARMAN/CatalystX-CRUD-0.51.tar.gz make -- OK CPAN: YAML loaded ok (v0.72) Running make test PERL_DL_NONLAZY=1 /usr/pkg/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t ........ 1/10 # Testing CatalystX::CRUD 0.51, Perl 5.012002, /usr/pkg/bin/perl # Using Catalyst version 5.89000 t/00-load.t ........ ok t/01-file.t ........ [debug] Debug messages enabled [debug] Statistics enabled [debug] Loaded dispatcher "Catalyst::Dispatcher" [debug] Loaded engine "Catalyst::Engine" [debug] Found home "/tmp/.cpan/build/CatalystX-CRUD-0.51-vFl9Kl/t/lib/MyApp" [debug] Loaded components: .----------------------------------------------------------------------+----------. | Class | Type | +----------------------------------------------------------------------+----------+ | MyApp::Controller::FetchRewrite | instance | | MyApp::Controller::File | instance | | MyApp::Controller::FileAdapter | instance | | MyApp::Controller::FileAdapterMultiPK | instance | | MyApp::Controller::REST::File | instance | | MyApp::Controller::Root | instance | | MyApp::Controller::Search | instance | | MyApp::Model::File | instance | | MyApp::Model::FileSearch | instance | '----------------------------------------------------------------------+----------' [debug] Loaded Private actions: .----------------------+--------------------------------------+-------------------. | Private | Class | Method | +----------------------+--------------------------------------+-------------------+ | /autoload | MyApp::Controller::Root | autoload | | /foo | MyApp::Controller::Root | foo | | /fileadapter/remove | MyApp::Controller::FileAdapter | remove | | /fileadapter/search | MyApp::Controller::FileAdapter | search | | /fileadapter/add | MyApp::Controller::FileAdapter | add | | /fileadapter/edit | MyApp::Controller::FileAdapter | edit | | /fileadapter/save | MyApp::Controller::FileAdapter | save | | /fileadapter/view | MyApp::Controller::FileAdapter | view | | /fileadapter/read | MyApp::Controller::FileAdapter | read | | /fileadapter/fetch | MyApp::Controller::FileAdapter | fetch | | /fileadapter/list | MyApp::Controller::FileAdapter | list | | /fileadapter/create | MyApp::Controller::FileAdapter | create | | /fileadapter/count | MyApp::Controller::FileAdapter | count | | /fileadapter/rm | MyApp::Controller::FileAdapter | rm | | /fileadapter/default | MyApp::Controller::FileAdapter | default | | /fileadapter/end | MyApp::Controller::FileAdapter | end | | /fileadapter/related | MyApp::Controller::FileAdapter | related | | /fileadapter/auto | MyApp::Controller::FileAdapter | auto | | /fileadapter/delete | MyApp::Controller::FileAdapter | delete | | /fileadapter/update | MyApp::Controller::FileAdapter | update | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | remove | | /remove | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | search | | /search | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | add | | /add | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | edit | | /edit | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | save | | /save | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | view | | /view | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | read | | /read | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | fetch | | /fetch | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | list | | /list | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | create | | /create | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | count | | /count | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | rm | | /rm | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | default | | /default | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | end | | /end | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | related | | /related | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | auto | | /auto | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | delete | | /delete | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | update | | /update | PK | | | /file/remove | MyApp::Controller::File | remove | | /file/search | MyApp::Controller::File | search | | /file/add | MyApp::Controller::File | add | | /file/edit | MyApp::Controller::File | edit | | /file/save | MyApp::Controller::File | save | | /file/view | MyApp::Controller::File | view | | /file/read | MyApp::Controller::File | read | | /file/fetch | MyApp::Controller::File | fetch | | /file/list | MyApp::Controller::File | list | | /file/create | MyApp::Controller::File | create | | /file/count | MyApp::Controller::File | count | | /file/rm | MyApp::Controller::File | rm | | /file/default | MyApp::Controller::File | default | | /file/end | MyApp::Controller::File | end | | /file/related | MyApp::Controller::File | related | | /file/auto | MyApp::Controller::File | auto | | /file/delete | MyApp::Controller::File | delete | | /file/update | MyApp::Controller::File | update | | /search/remove | MyApp::Controller::Search | remove | | /search/search | MyApp::Controller::Search | search | | /search/add | MyApp::Controller::Search | add | | /search/edit | MyApp::Controller::Search | edit | t/01-file.t ........ 1/40 ave | MyApp::Controller::Search | save | | /search/view | MyApp::Controller::Search | view | | /search/read | MyApp::Controller::Search | read | | /search/fetch | MyApp::Controller::Search | fetch | | /search/list | MyApp::Controller::Search | list | | /search/create | MyApp::Controller::Search | create | | /search/count | MyApp::Controller::Search | count | | /search/rm | MyApp::Controller::Search | rm | | /search/default | MyApp::Controller::Search | default | | /search/end | MyApp::Controller::Search | end | | /search/related | MyApp::Controller::Search | related | | /search/auto | MyApp::Controller::Search | auto | | /search/delete | MyApp::Controller::Search | delete | | /search/update | MyApp::Controller::Search | update | | /fetchrewrite/remove | MyApp::Controller::FetchRewrite | remove | | /fetchrewrite/search | MyApp::Controller::FetchRewrite | search | | /fetchrewrite/add | MyApp::Controller::FetchRewrite | add | | /fetchrewrite/edit | MyApp::Controller::FetchRewrite | edit | | /fetchrewrite/save | MyApp::Controller::FetchRewrite | save | | /fetchrewrite/view | MyApp::Controller::FetchRewrite | view | | /fetchrewrite/read | MyApp::Controller::FetchRewrite | read | | /fetchrewrite/fetch | MyApp::Controller::FetchRewrite | fetch | | /fetchrewrite/list | MyApp::Controller::FetchRewrite | list | | /fetchrewrite/create | MyApp::Controller::FetchRewrite | create | | /fetchrewrite/count | MyApp::Controller::FetchRewrite | count | | /fetchrewrite/rm | MyApp::Controller::FetchRewrite | rm | | /fetchrewrite/defau- | MyApp::Controller::FetchRewrite | default | | lt | | | | /fetchrewrite/end | MyApp::Controller::FetchRewrite | end | | /fetchrewrite/relat- | MyApp::Controller::FetchRewrite | related | | ed | | | | /fetchrewrite/auto | MyApp::Controller::FetchRewrite | auto | | /fetchrewrite/delete | MyApp::Controller::FetchRewrite | delete | | /fetchrewrite/update | MyApp::Controller::FetchRewrite | update | | /rest/file/search | MyApp::Controller::REST::File | search | | /rest/file/rest | MyApp::Controller::REST::File | rest | | /rest/file/edit_form | MyApp::Controller::REST::File | edit_form | | /rest/file/fetch | MyApp::Controller::REST::File | fetch | | /rest/file/list | MyApp::Controller::REST::File | list | | /rest/file/count | MyApp::Controller::REST::File | count | | /rest/file/create_f- | MyApp::Controller::REST::File | create_form | | orm | | | | /rest/file/default | MyApp::Controller::REST::File | default | | /rest/file/end | MyApp::Controller::REST::File | end | | /rest/file/related | MyApp::Controller::REST::File | related | | /rest/file/auto | MyApp::Controller::REST::File | auto | '----------------------+--------------------------------------+-------------------' [debug] Loaded Path actions: .----------------------------------------+----------------------------------------. | Path | Private | +----------------------------------------+----------------------------------------+ | /autoload | /autoload | | /fetchrewrite | /fetchrewrite/default | | /fetchrewrite/count | /fetchrewrite/count | | /fetchrewrite/create | /fetchrewrite/create | | /fetchrewrite/list | /fetchrewrite/list | | /fetchrewrite/search | /fetchrewrite/search | | /file | /file/default | | /file/count | /file/count | | /file/create | /file/create | | /file/list | /file/list | | /file/search | /file/search | | /fileadapter | /fileadapter/default | | /fileadapter/count | /fileadapter/count | | /fileadapter/create | /fileadapter/create | | /fileadapter/list | /fileadapter/list | | /fileadapter/search | /fileadapter/search | | /fileadaptermultipk | /fileadaptermultipk/default | | /fileadaptermultipk/count | /fileadaptermultipk/count | | /fileadaptermultipk/create | /fileadaptermultipk/create | | /fileadaptermultipk/list | /fileadaptermultipk/list | | /fileadaptermultipk/search | /fileadaptermultipk/search | | /foo | /foo | | /rest/file | /rest/file/rest | | /rest/file/count | /rest/file/count | | /rest/file/create | /rest/file/_rest_create | | /rest/file/create_form | /rest/file/create_form | | /rest/file/list | /rest/file/list | | /rest/file/search | /rest/file/search | | /search | /search/default | | /search/count | /search/count | | /search/create | /search/create | | /search/list | /search/list | | /search/search | /search/search | '----------------------------------------+----------------------------------------' [debug] Loaded Chained actions: .----------------------------------------+----------------------------------------. | Path Spec | Private | +----------------------------------------+----------------------------------------+ | /fetchrewrite/id/*/*/*/add | /fetchrewrite/fetch (1) | | | -> /fetchrewrite/related (2) | | | => /fetchrewrite/add | | /fetchrewrite/id/*/delete | /fetchrewrite/fetch (1) | | | => /fetchrewrite/delete | | /fetchrewrite/id/*/edit | /fetchrewrite/fetch (1) | | | => /fetchrewrite/edit | | /fetchrewrite/id/*/read | /fetchrewrite/fetch (1) | | | => /fetchrewrite/read | | /fetchrewrite/id/*/*/*/remove | /fetchrewrite/fetch (1) | | | -> /fetchrewrite/related (2) | | | => /fetchrewrite/remove | | /fetchrewrite/id/*/rm | /fetchrewrite/fetch (1) | | | => /fetchrewrite/rm | | /fetchrewrite/id/*/save | /fetchrewrite/fetch (1) | | | => /fetchrewrite/save | | /fetchrewrite/id/*/update | /fetchrewrite/fetch (1) | | | => /fetchrewrite/update | | /fetchrewrite/id/*/view | /fetchrewrite/fetch (1) | | | => /fetchrewrite/view | | /file/*/*/*/add | /file/fetch (1) | | | -> /file/related (2) | | | => /file/add | | /file/*/delete | /file/fetch (1) | | | => /file/delete | | /file/*/edit | /file/fetch (1) | | | => /file/edit | | /file/*/read | /file/fetch (1) | | | => /file/read | | /file/*/*/*/remove | /file/fetch (1) | | | -> /file/related (2) | | | => /file/remove | | /file/*/rm | /file/fetch (1) | | | => /file/rm | | /file/*/save | /file/fetch (1) | | | => /file/save | | /file/*/update | /file/fetch (1) | | | => /file/update | | /file/*/view | /file/fetch (1) | | | => /file/view | | /fileadapter/*/*/*/add | /fileadapter/fetch (1) | | | -> /fileadapter/related (2) | | | => /fileadapter/add | | /fileadapter/*/delete | /fileadapter/fetch (1) | | | => /fileadapter/delete | | /fileadapter/*/edit | /fileadapter/fetch (1) | | | => /fileadapter/edit | | /fileadapter/*/read | /fileadapter/fetch (1) | | | => /fileadapter/read | | /fileadapter/*/*/*/remove | /fileadapter/fetch (1) | | | -> /fileadapter/related (2) | | | => /fileadapter/remove | | /fileadapter/*/rm | /fileadapter/fetch (1) | | | => /fileadapter/rm | | /fileadapter/*/save | /fileadapter/fetch (1) | | | => /fileadapter/save | | /fileadapter/*/update | /fileadapter/fetch (1) | | | => /fileadapter/update | | /fileadapter/*/view | /fileadapter/fetch (1) | | | => /fileadapter/view | | /fileadaptermultipk/*/*/*/add | /fileadaptermultipk/fetch (1) | | | -> /fileadaptermultipk/related (2) | | | => /fileadaptermultipk/add | | /fileadaptermultipk/*/delete | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/delete | | /fileadaptermultipk/*/edit | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/edit | | /fileadaptermultipk/*/read | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/read | | /fileadaptermultipk/*/*/*/remove | /fileadaptermultipk/fetch (1) | | | -> /fileadaptermultipk/related (2) | | | => /fileadaptermultipk/remove | | /fileadaptermultipk/*/rm | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/rm | | /fileadaptermultipk/*/save | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/save | | /fileadaptermultipk/*/update | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/update | | /fileadaptermultipk/*/view | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/view | | /rest/file/*/edit_form | /rest/file/fetch (1) | | | => /rest/file/edit_form | | /search/*/*/*/add | /search/fetch (1) | | | -> /search/related (2) | | | => /search/add | | /search/*/delete | /search/fetch (1) | | | => /search/delete | | /search/*/edit | /search/fetch (1) | | | => /search/edit | | /search/*/read | /search/fetch (1) | | | => /search/read | | /search/*/*/*/remove | /search/fetch (1) | | | -> /search/related (2) | | | => /search/remove | | /search/*/rm | /search/fetch (1) | | | => /search/rm | | /search/*/save | /search/fetch (1) | | | => /search/save | | /search/*/update | /search/fetch (1) | | | => /search/update | | /search/*/view | /search/fetch (1) | | | => /search/view | '----------------------------------------+----------------------------------------' [info] Application powered by Catalyst 5.89000 t/01-file.t ........ 3/40 [info] *** Request 1 (1.000/s) [2510] [Sun Jun 12 23:06:45 2011] *** [debug] "GET" request for "foo" from "127.0.0.1" [debug] Path is "foo" [debug] Response Code: 200; Content-Type: unknown; Content-Length: 11 [info] Request took 0.018174s (55.024/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /foo | 0.013446s | '-----------------------------------------------------------------+-----------' [info] *** Request 2 (2.000/s) [2510] [Sun Jun 12 23:06:45 2011] *** [debug] "GET" request for "file/search" from "127.0.0.1" [debug] Path is "file/search" [debug] Redirecting to "http://localhost/file/%2ftmp%2fWBXKgtwlGi/view" [debug] Response Code: 302; Content-Type: unknown; Content-Length: 119 [info] Request took 0.042522s (23.517/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /file/auto | 0.000571s | | /file/search | 0.002941s | | /file/end | 0.000250s | '-----------------------------------------------------------------+-----------' # Failed test 'response was redirect' # at t/01-file.t line 19. # got: undef # expected: '302' [info] *** Request 3 (3.000/s) [2510] [Sun Jun 12 23:06:45 2011] *** [debug] "GET" request for "autoload" from "127.0.0.1" [debug] Path is "autoload" [debug] Response Code: 200; Content-Type: unknown; Content-Length: 16 [info] Request took 0.006576s (152.068/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /autoload | 0.002743s | '-----------------------------------------------------------------+-----------' [info] *** Request 4 (4.000/s) [2510] [Sun Jun 12 23:06:45 2011] *** [debug] "POST" request for "file/testfile/save" from "127.0.0.1" [debug] Body Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | content | hello world | '-------------------------------------+-------------------------------------------' [debug] Path is "/file/save" [debug] fetch: ["file", "testfile"] [debug] Redirecting to "http://localhost/file/testfile/view" [debug] Response Code: 302; Content-Type: unknown; Content-Length: 48 [info] Request took 0.097078s (10.301/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /file/auto | 0.084476s | | /file/fetch | 0.002930s | | /file/save | 0.001907s | | /file/end | 0.000736s | '-----------------------------------------------------------------+-----------' # Failed test 'new file 302 redirect status' # at t/01-file.t line 40. # got: undef # expected: '302' [info] *** Request 5 (5.000/s) [2510] [Sun Jun 12 23:06:45 2011] *** [debug] "GET" request for "file/testfile/view" from "127.0.0.1" [debug] Path is "/file/view" [debug] fetch: ["file", "testfile"] [debug] Response Code: 200; Content-Type: unknown; Content-Length: 48 [info] Request took 0.084237s (11.871/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /file/auto | 0.000444s | | /file/fetch | 0.005347s | | /file/view | 0.000427s | | /file/end | 0.000683s | '-----------------------------------------------------------------+-----------' [info] *** Request 6 (6.000/s) [2510] [Sun Jun 12 23:06:45 2011] *** [debug] "POST" request for "file/testfile/save" from "127.0.0.1" [debug] Body Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | content | foo bar baz | '-------------------------------------+-------------------------------------------' [debug] Path is "/file/save" [debug] fetch: ["file", "testfile"] [debug] Redirecting to "http://localhost/file/testfile/view" [debug] Response Code: 302; Content-Type: unknown; Content-Length: 48 [info] Request took 0.011585s (86.319/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /file/auto | 0.000436s | | /file/fetch | 0.002542s | | /file/save | 0.001622s | | /file/end | 0.000763s | '-----------------------------------------------------------------+-----------' [info] *** Request 7 (7.000/s) [2510] [Sun Jun 12 23:06:45 2011] *** [debug] "GET" request for "file/testfile" from "127.0.0.1" [debug] Path is "file" [debug] Arguments are "testfile" [debug] Response Code: 404; Content-Type: unknown; Content-Length: 9 [info] Request took 0.005237s (190.949/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /file/auto | 0.000437s | | /file/default | 0.000185s | | /file/end | 0.000184s | '-----------------------------------------------------------------+-----------' # Failed test 'default is 404' # at t/01-file.t line 62. # got: undef # expected: '404' [info] *** Request 8 (8.000/s) [2510] [Sun Jun 12 23:06:45 2011] *** [debug] "POST" request for "file/otherdir%2Ftestfile2/save" from "127.0.0.1" [debug] Body Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | content | hello world 2 | '-------------------------------------+-------------------------------------------' [debug] Path is "/file/save" [debug] fetch: ["file", "otherdir/testfile2"] [debug] Redirecting to "http://localhost/file/otherdir%2ftestfile2/view" [debug] Response Code: 302; Content-Type: unknown; Content-Length: 60 [info] Request took 0.071676s (13.952/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /file/auto | 0.053282s | | /file/fetch | 0.003087s | | /file/save | 0.001990s | | /file/end | 0.000730s | '-----------------------------------------------------------------+-----------' # Failed test 'new file 302 redirect status' # at t/01-file.t line 79. # got: undef # expected: '302' [info] *** Request 9 (9.000/s) [2510] [Sun Jun 12 23:06:45 2011] *** [debug] "POST" request for "file/testfile/dir/otherdir%2Ftestfile2/add" from "127.0.0.1" [debug] Path is "/file/add" [debug] fetch: ["file", "testfile"] [debug] Response Code: 204; Content-Type: unknown; Content-Length: unknown [info] Request took 0.095289s (10.494/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /file/auto | 0.000433s | | /file/fetch | 0.002602s | | /file/related | 0.082098s | | /file/add | 0.003667s | | /file/end | 0.000747s | '-----------------------------------------------------------------+-----------' # Failed test 'relationship created with status 204' # at t/01-file.t line 90. # got: undef # expected: '204' [info] *** Request 10 (10.000/s) [2510] [Sun Jun 12 23:06:45 2011] *** [debug] "POST" request for "file/testfile/dir/otherdir%2Ftestfile2/remove" from "127.0.0.1" [debug] Path is "/file/remove" [debug] fetch: ["file", "testfile"] [debug] Response Code: 204; Content-Type: unknown; Content-Length: unknown [info] Request took 0.073051s (13.689/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /file/auto | 0.000447s | | /file/fetch | 0.002651s | | /file/related | 0.000323s | | /file/remove | 0.063512s | | /file/end | 0.000749s | '-----------------------------------------------------------------+-----------' # Failed test 'relationship removed with status 204' # at t/01-file.t line 100. # got: undef # expected: '204' [info] *** Request 11 (11.000/s) [2510] [Sun Jun 12 23:06:45 2011] *** [debug] "POST" request for "file/testfile/delete" from "127.0.0.1" [debug] Path is "/file/delete" [debug] fetch: ["file", "testfile"] [debug] Redirecting to "http://localhost/file/testfile/view" [debug] Response Code: 302; Content-Type: unknown; Content-Length: 48 [info] Request took 0.010518s (95.075/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /file/auto | 0.000435s | | /file/fetch | 0.002599s | | /file/delete | 0.000940s | | /file/end | 0.000700s | '-----------------------------------------------------------------+-----------' [info] *** Request 12 (6.000/s) [2510] [Sun Jun 12 23:06:46 2011] *** [debug] "POST" request for "file/testfile2/delete" from "127.0.0.1" [debug] Path is "/file/delete" [debug] fetch: ["file", "testfile2"] [debug] Redirecting to "http://localhost/file/testfile2/view" [debug] Response Code: 302; Content-Type: unknown; Content-Length: 41 [info] Request took 0.053243s (18.782/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /file/auto | 0.000439s | | /file/fetch | 0.004151s | | /file/delete | 0.021843s | | /file/end | 0.000806s | '-----------------------------------------------------------------+-----------' [info] *** Request 13 (6.500/s) [2510] [Sun Jun 12 23:06:46 2011] *** [debug] "GET" request for "file/testfile/view" from "127.0.0.1" [debug] Path is "/file/view" [debug] fetch: ["file", "testfile"] [debug] Response Code: 200; Content-Type: unknown; Content-Length: 40 [info] Request took 0.017659s (56.628/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /file/auto | 0.000447s | | /file/fetch | 0.002618s | | /file/view | 0.000378s | | /file/end | 0.000697s | '-----------------------------------------------------------------+-----------' [info] *** Request 14 (7.000/s) [2510] [Sun Jun 12 23:06:46 2011] *** [debug] "POST" request for "fileadapter/testfile/save" from "127.0.0.1" [debug] Body Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | content | hello world | '-------------------------------------+-------------------------------------------' [debug] Path is "/fileadapter/save" [debug] fetch: ["file", "testfile"] [debug] Redirecting to "http://localhost/fileadapter/testfile/view" [debug] Response Code: 302; Content-Type: unknown; Content-Length: 48 [info] Request took 0.099072s (10.094/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /fileadapter/auto | 0.000528s | | /fileadapter/fetch | 0.088379s | | /fileadapter/save | 0.003542s | | /fileadapter/end | 0.000750s | '-----------------------------------------------------------------+-----------' [info] *** Request 15 (7.500/s) [2510] [Sun Jun 12 23:06:46 2011] *** [debug] "GET" request for "fileadapter/testfile/view" from "127.0.0.1" [debug] Path is "/fileadapter/view" [debug] fetch: ["file", "testfile"] [debug] Response Code: 200; Content-Type: unknown; Content-Length: 48 [info] Request took 0.070040s (14.278/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /fileadapter/auto | 0.000438s | | /fileadapter/fetch | 0.041238s | | /fileadapter/view | 0.000423s | | /fileadapter/end | 0.000678s | '-----------------------------------------------------------------+-----------' [info] *** Request 16 (8.000/s) [2510] [Sun Jun 12 23:06:46 2011] *** [debug] "POST" request for "fileadapter/testfile/save" from "127.0.0.1" [debug] Body Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | content | foo bar baz | '-------------------------------------+-------------------------------------------' [debug] Path is "/fileadapter/save" [debug] fetch: ["file", "testfile"] [debug] Redirecting to "http://localhost/fileadapter/testfile/view" [debug] Response Code: 302; Content-Type: unknown; Content-Length: 48 [info] Request took 0.021762s (45.952/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /fileadapter/auto | 0.000438s | | /fileadapter/fetch | 0.002565s | | /fileadapter/save | 0.001977s | | /fileadapter/end | 0.000729s | '-----------------------------------------------------------------+-----------' [info] *** Request 17 (8.500/s) [2510] [Sun Jun 12 23:06:46 2011] *** [debug] "POST" request for "fileadapter/testfile/rm" from "127.0.0.1" [debug] Path is "/fileadapter/rm" [debug] fetch: ["file", "testfile"] [debug] Redirecting to "http://localhost/fileadapter" [debug] Response Code: 302; Content-Type: unknown; Content-Length: 48 [info] Request took 0.188603s (5.302/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /fileadapter/auto | 0.000443s | | /fileadapter/fetch | 0.117730s | | /fileadapter/rm | 0.000953s | | /fileadapter/end | 0.063725s | '-----------------------------------------------------------------+-----------' [info] *** Request 18 (9.000/s) [2510] [Sun Jun 12 23:06:46 2011] *** [debug] "GET" request for "fileadapter/testfile/view" from "127.0.0.1" [debug] Path is "/fileadapter/view" [debug] fetch: ["file", "testfile"] [debug] Response Code: 200; Content-Type: unknown; Content-Length: 40 [info] Request took 0.012198s (81.981/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /fileadapter/auto | 0.000442s | | /fileadapter/fetch | 0.005189s | | /fileadapter/view | 0.000794s | | /fileadapter/end | 0.000678s | '-----------------------------------------------------------------+-----------' [info] *** Request 19 (9.500/s) [2510] [Sun Jun 12 23:06:46 2011] *** [debug] "POST" request for "fetchrewrite/id/testfile/save" from "127.0.0.1" [debug] Body Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | content | hello world | '-------------------------------------+-------------------------------------------' [debug] Path is "/fetchrewrite/save" [debug] fetch: ["file", "testfile"] [debug] Redirecting to "http://localhost/fetchrewrite/testfile/view" [debug] Response Code: 302; Content-Type: unknown; Content-Length: 48 [info] Request took 0.095340s (10.489/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /fetchrewrite/auto | 0.000477s | | /fetchrewrite/fetch | 0.002668s | | /fetchrewrite/save | 0.085381s | | /fetchrewrite/end | 0.000796s | '-----------------------------------------------------------------+-----------' [info] *** Request 20 (10.000/s) [2510] [Sun Jun 12 23:06:46 2011] *** [debug] "GET" request for "fetchrewrite/id/testfile/view" from "127.0.0.1" [debug] Path is "/fetchrewrite/view" [debug] fetch: ["file", "testfile"] [debug] Response Code: 200; Content-Type: unknown; Content-Length: 48 [info] Request took 0.009418s (106.180/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /fetchrewrite/auto | 0.000452s | | /fetchrewrite/fetch | 0.002569s | | /fetchrewrite/view | 0.000413s | | /fetchrewrite/end | 0.000673s | '-----------------------------------------------------------------+-----------' [info] *** Request 21 (10.500/s) [2510] [Sun Jun 12 23:06:46 2011] *** [debug] "POST" request for "fetchrewrite/id/testfile/rm" from "127.0.0.1" [debug] Path is "/fetchrewrite/rm" [debug] fetch: ["file", "testfile"] [debug] Redirecting to "http://localhost/fetchrewrite" [debug] Response Code: 302; Content-Type: unknown; Content-Length: 48 [info] Request took 0.009817s (101.864/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /fetchrewrite/auto | 0.000439s | | /fetchrewrite/fetch | 0.002645s | | /fetchrewrite/rm | 0.000873s | | /fetchrewrite/end | 0.000699s | '-----------------------------------------------------------------+-----------' [info] *** Request 22 (11.000/s) [2510] [Sun Jun 12 23:06:46 2011] *** [debug] "GET" request for "fetchrewrite/id/testfile/view" from "127.0.0.1" [debug] Path is "/fetchrewrite/view" [debug] fetch: ["file", "testfile"] [debug] Response Code: 200; Content-Type: unknown; Content-Length: 40 [info] Request took 0.013670s (73.153/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /fetchrewrite/auto | 0.000454s | | /fetchrewrite/fetch | 0.002626s | | /fetchrewrite/view | 0.000408s | | /fetchrewrite/end | 0.000639s | '-----------------------------------------------------------------+-----------' unlinking /tmp/.cpan/build/CatalystX-CRUD-0.51-vFl9Kl/t/lib/MyApp/root/crud_temp_file unlinking /tmp/.cpan/build/CatalystX-CRUD-0.51-vFl9Kl/t/lib/MyApp/root/autoload_test # Looks like you failed 6 tests of 40. t/01-file.t ........ Dubious, test returned 6 (wstat 1536, 0x600) Failed 6/40 subtests t/02-controller.t .. ok t/03-rest.t ........ [debug] Debug messages enabled [debug] Statistics enabled [debug] Loaded dispatcher "Catalyst::Dispatcher" [debug] Loaded engine "Catalyst::Engine" [debug] Found home "/tmp/.cpan/build/CatalystX-CRUD-0.51-vFl9Kl/t/lib/MyApp" [debug] Loaded components: .----------------------------------------------------------------------+----------. | Class | Type | +----------------------------------------------------------------------+----------+ | MyApp::Controller::FetchRewrite | instance | | MyApp::Controller::File | instance | | MyApp::Controller::FileAdapter | instance | | MyApp::Controller::FileAdapterMultiPK | instance | | MyApp::Controller::REST::File | instance | | MyApp::Controller::Root | instance | | MyApp::Controller::Search | instance | | MyApp::Model::File | instance | | MyApp::Model::FileSearch | instance | '----------------------------------------------------------------------+----------' [debug] Loaded Private actions: .----------------------+--------------------------------------+-------------------. | Private | Class | Method | +----------------------+--------------------------------------+-------------------+ | /autoload | MyApp::Controller::Root | autoload | | /foo | MyApp::Controller::Root | foo | | /fileadapter/remove | MyApp::Controller::FileAdapter | remove | | /fileadapter/search | MyApp::Controller::FileAdapter | search | | /fileadapter/add | MyApp::Controller::FileAdapter | add | | /fileadapter/edit | MyApp::Controller::FileAdapter | edit | | /fileadapter/save | MyApp::Controller::FileAdapter | save | | /fileadapter/view | MyApp::Controller::FileAdapter | view | | /fileadapter/read | MyApp::Controller::FileAdapter | read | | /fileadapter/fetch | MyApp::Controller::FileAdapter | fetch | | /fileadapter/list | MyApp::Controller::FileAdapter | list | | /fileadapter/create | MyApp::Controller::FileAdapter | create | | /fileadapter/count | MyApp::Controller::FileAdapter | count | | /fileadapter/rm | MyApp::Controller::FileAdapter | rm | | /fileadapter/default | MyApp::Controller::FileAdapter | default | | /fileadapter/end | MyApp::Controller::FileAdapter | end | | /fileadapter/related | MyApp::Controller::FileAdapter | related | | /fileadapter/auto | MyApp::Controller::FileAdapter | auto | | /fileadapter/delete | MyApp::Controller::FileAdapter | delete | | /fileadapter/update | MyApp::Controller::FileAdapter | update | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | remove | | /remove | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | search | | /search | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | add | | /add | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | edit | | /edit | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | save | | /save | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | view | | /view | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | read | | /read | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | fetch | | /fetch | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | list | | /list | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | create | | /create | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | count | | /count | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | rm | | /rm | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | default | | /default | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | end | | /end | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | related | | /related | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | auto | | /auto | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | delete | | /delete | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | update | | /update | PK | | | /file/remove | MyApp::Controller::File | remove | | /file/search | MyApp::Controller::File | search | | /file/add | MyApp::Controller::File | add | | /file/edit | MyApp::Controller::File | edit | | /file/save | MyApp::Controller::File | save | | /file/view | MyApp::Controller::File | view | | /file/read | MyApp::Controller::File | read | | /file/fetch | MyApp::Controller::File | fetch | | /file/list | MyApp::Controller::File | list | | /file/create | MyApp::Controller::File | create | | /file/count | MyApp::Controller::File | count | | /file/rm | MyApp::Controller::File | rm | | /file/default | MyApp::Controller::File | default | | /file/end | MyApp::Controller::File | end | | /file/related | MyApp::Controller::File | related | | /file/auto | MyApp::Controller::File | auto | | /file/delete | MyApp::Controller::File | delete | | /file/update | MyApp::Controller::File | update | | /search/remove | MyApp::Controller::Search | remove | | /search/search | MyApp::Controller::Search | search | | /search/add | MyApp::Controller::Search | add | | /search/edit | MyApp::Controller::Search | edit | t/03-rest.t ........ 1/54 ave | MyApp::Controller::Search | save | | /search/view | MyApp::Controller::Search | view | | /search/read | MyApp::Controller::Search | read | | /search/fetch | MyApp::Controller::Search | fetch | | /search/list | MyApp::Controller::Search | list | | /search/create | MyApp::Controller::Search | create | | /search/count | MyApp::Controller::Search | count | | /search/rm | MyApp::Controller::Search | rm | | /search/default | MyApp::Controller::Search | default | | /search/end | MyApp::Controller::Search | end | | /search/related | MyApp::Controller::Search | related | | /search/auto | MyApp::Controller::Search | auto | | /search/delete | MyApp::Controller::Search | delete | | /search/update | MyApp::Controller::Search | update | | /fetchrewrite/remove | MyApp::Controller::FetchRewrite | remove | | /fetchrewrite/search | MyApp::Controller::FetchRewrite | search | | /fetchrewrite/add | MyApp::Controller::FetchRewrite | add | | /fetchrewrite/edit | MyApp::Controller::FetchRewrite | edit | | /fetchrewrite/save | MyApp::Controller::FetchRewrite | save | | /fetchrewrite/view | MyApp::Controller::FetchRewrite | view | | /fetchrewrite/read | MyApp::Controller::FetchRewrite | read | | /fetchrewrite/fetch | MyApp::Controller::FetchRewrite | fetch | | /fetchrewrite/list | MyApp::Controller::FetchRewrite | list | | /fetchrewrite/create | MyApp::Controller::FetchRewrite | create | | /fetchrewrite/count | MyApp::Controller::FetchRewrite | count | | /fetchrewrite/rm | MyApp::Controller::FetchRewrite | rm | | /fetchrewrite/defau- | MyApp::Controller::FetchRewrite | default | | lt | | | | /fetchrewrite/end | MyApp::Controller::FetchRewrite | end | | /fetchrewrite/relat- | MyApp::Controller::FetchRewrite | related | | ed | | | | /fetchrewrite/auto | MyApp::Controller::FetchRewrite | auto | | /fetchrewrite/delete | MyApp::Controller::FetchRewrite | delete | | /fetchrewrite/update | MyApp::Controller::FetchRewrite | update | | /rest/file/search | MyApp::Controller::REST::File | search | | /rest/file/rest | MyApp::Controller::REST::File | rest | | /rest/file/edit_form | MyApp::Controller::REST::File | edit_form | | /rest/file/fetch | MyApp::Controller::REST::File | fetch | | /rest/file/list | MyApp::Controller::REST::File | list | | /rest/file/count | MyApp::Controller::REST::File | count | | /rest/file/create_f- | MyApp::Controller::REST::File | create_form | | orm | | | | /rest/file/default | MyApp::Controller::REST::File | default | | /rest/file/end | MyApp::Controller::REST::File | end | | /rest/file/related | MyApp::Controller::REST::File | related | | /rest/file/auto | MyApp::Controller::REST::File | auto | '----------------------+--------------------------------------+-------------------' [debug] Loaded Path actions: .----------------------------------------+----------------------------------------. | Path | Private | +----------------------------------------+----------------------------------------+ | /autoload | /autoload | | /fetchrewrite | /fetchrewrite/default | | /fetchrewrite/count | /fetchrewrite/count | | /fetchrewrite/create | /fetchrewrite/create | | /fetchrewrite/list | /fetchrewrite/list | | /fetchrewrite/search | /fetchrewrite/search | | /file | /file/default | | /file/count | /file/count | | /file/create | /file/create | | /file/list | /file/list | | /file/search | /file/search | | /fileadapter | /fileadapter/default | | /fileadapter/count | /fileadapter/count | | /fileadapter/create | /fileadapter/create | | /fileadapter/list | /fileadapter/list | | /fileadapter/search | /fileadapter/search | | /fileadaptermultipk | /fileadaptermultipk/default | | /fileadaptermultipk/count | /fileadaptermultipk/count | | /fileadaptermultipk/create | /fileadaptermultipk/create | | /fileadaptermultipk/list | /fileadaptermultipk/list | | /fileadaptermultipk/search | /fileadaptermultipk/search | | /foo | /foo | | /rest/file | /rest/file/rest | | /rest/file/count | /rest/file/count | | /rest/file/create | /rest/file/_rest_create | | /rest/file/create_form | /rest/file/create_form | | /rest/file/list | /rest/file/list | | /rest/file/search | /rest/file/search | | /search | /search/default | | /search/count | /search/count | | /search/create | /search/create | | /search/list | /search/list | | /search/search | /search/search | '----------------------------------------+----------------------------------------' [debug] Loaded Chained actions: .----------------------------------------+----------------------------------------. | Path Spec | Private | +----------------------------------------+----------------------------------------+ | /fetchrewrite/id/*/*/*/add | /fetchrewrite/fetch (1) | | | -> /fetchrewrite/related (2) | | | => /fetchrewrite/add | | /fetchrewrite/id/*/delete | /fetchrewrite/fetch (1) | | | => /fetchrewrite/delete | | /fetchrewrite/id/*/edit | /fetchrewrite/fetch (1) | | | => /fetchrewrite/edit | | /fetchrewrite/id/*/read | /fetchrewrite/fetch (1) | | | => /fetchrewrite/read | | /fetchrewrite/id/*/*/*/remove | /fetchrewrite/fetch (1) | | | -> /fetchrewrite/related (2) | | | => /fetchrewrite/remove | | /fetchrewrite/id/*/rm | /fetchrewrite/fetch (1) | | | => /fetchrewrite/rm | | /fetchrewrite/id/*/save | /fetchrewrite/fetch (1) | | | => /fetchrewrite/save | | /fetchrewrite/id/*/update | /fetchrewrite/fetch (1) | | | => /fetchrewrite/update | | /fetchrewrite/id/*/view | /fetchrewrite/fetch (1) | | | => /fetchrewrite/view | | /file/*/*/*/add | /file/fetch (1) | | | -> /file/related (2) | | | => /file/add | | /file/*/delete | /file/fetch (1) | | | => /file/delete | | /file/*/edit | /file/fetch (1) | | | => /file/edit | | /file/*/read | /file/fetch (1) | | | => /file/read | | /file/*/*/*/remove | /file/fetch (1) | | | -> /file/related (2) | | | => /file/remove | | /file/*/rm | /file/fetch (1) | | | => /file/rm | | /file/*/save | /file/fetch (1) | | | => /file/save | | /file/*/update | /file/fetch (1) | | | => /file/update | | /file/*/view | /file/fetch (1) | | | => /file/view | | /fileadapter/*/*/*/add | /fileadapter/fetch (1) | | | -> /fileadapter/related (2) | | | => /fileadapter/add | | /fileadapter/*/delete | /fileadapter/fetch (1) | | | => /fileadapter/delete | | /fileadapter/*/edit | /fileadapter/fetch (1) | | | => /fileadapter/edit | | /fileadapter/*/read | /fileadapter/fetch (1) | | | => /fileadapter/read | | /fileadapter/*/*/*/remove | /fileadapter/fetch (1) | | | -> /fileadapter/related (2) | | | => /fileadapter/remove | | /fileadapter/*/rm | /fileadapter/fetch (1) | | | => /fileadapter/rm | | /fileadapter/*/save | /fileadapter/fetch (1) | | | => /fileadapter/save | | /fileadapter/*/update | /fileadapter/fetch (1) | | | => /fileadapter/update | | /fileadapter/*/view | /fileadapter/fetch (1) | | | => /fileadapter/view | | /fileadaptermultipk/*/*/*/add | /fileadaptermultipk/fetch (1) | | | -> /fileadaptermultipk/related (2) | | | => /fileadaptermultipk/add | | /fileadaptermultipk/*/delete | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/delete | | /fileadaptermultipk/*/edit | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/edit | | /fileadaptermultipk/*/read | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/read | | /fileadaptermultipk/*/*/*/remove | /fileadaptermultipk/fetch (1) | | | -> /fileadaptermultipk/related (2) | | | => /fileadaptermultipk/remove | | /fileadaptermultipk/*/rm | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/rm | | /fileadaptermultipk/*/save | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/save | | /fileadaptermultipk/*/update | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/update | | /fileadaptermultipk/*/view | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/view | | /rest/file/*/edit_form | /rest/file/fetch (1) | | | => /rest/file/edit_form | | /search/*/*/*/add | /search/fetch (1) | | | -> /search/related (2) | | | => /search/add | | /search/*/delete | /search/fetch (1) | | | => /search/delete | | /search/*/edit | /search/fetch (1) | | | => /search/edit | | /search/*/read | /search/fetch (1) | | | => /search/read | | /search/*/*/*/remove | /search/fetch (1) | | | -> /search/related (2) | | | => /search/remove | | /search/*/rm | /search/fetch (1) | | | => /search/rm | | /search/*/save | /search/fetch (1) | | | => /search/save | | /search/*/update | /search/fetch (1) | | | => /search/update | | /search/*/view | /search/fetch (1) | | | => /search/view | '----------------------------------------+----------------------------------------' [info] Application powered by Catalyst 5.89000 t/03-rest.t ........ 3/54 Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 1 (1.000/s) [2512] [Sun Jun 12 23:06:51 2011] *** [debug] "POST" request for "rest/file/testfile" from "127.0.0.1" [debug] Body Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | content | hello world | '-------------------------------------+-------------------------------------------' [debug] Path is "rest/file" [debug] Arguments are "testfile" [debug] rpc compat mode = 0 [debug] rest args : ["testfile"] [debug] rest OID: testfile [debug] fetch: ["file", "testfile"] [debug] POST -> save [debug] Body: [debug] Redirecting to "http://localhost/rest/file/testfile" [debug] Response Code: 302; Content-Type: unknown; Content-Length: 48 [info] Request took 0.146147s (6.842/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000564s | | /rest/file/rest | 0.050500s | | /rest/file/end | 0.000914s | '-----------------------------------------------------------------+-----------' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 2 (2.000/s) [2512] [Sun Jun 12 23:06:51 2011] *** [debug] "GET" request for "rest/file/testfile" from "127.0.0.1" [debug] Path is "rest/file" [debug] Arguments are "testfile" [debug] rpc compat mode = 0 [debug] rest args : ["testfile"] [debug] rest OID: testfile [debug] fetch: ["file", "testfile"] [debug] GET -> view [debug] Body: [debug] Response Code: 200; Content-Type: unknown; Content-Length: 48 [info] Request took 0.089519s (11.171/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000438s | | /rest/file/save | 0.003663s | | /rest/file/end | 0.080625s | '-----------------------------------------------------------------+-----------' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 3 (3.000/s) [2512] [Sun Jun 12 23:06:51 2011] *** [debug] "POST" request for "rest/file/testfile" from "127.0.0.1" [debug] Body Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | content | foo bar baz | '-------------------------------------+-------------------------------------------' [debug] Path is "rest/file" [debug] Arguments are "testfile" [debug] rpc compat mode = 0 [debug] rest args : ["testfile"] [debug] rest OID: testfile [debug] fetch: ["file", "testfile"] [debug] POST -> save [debug] Body: [debug] Redirecting to "http://localhost/rest/file/testfile" [debug] Response Code: 302; Content-Type: unknown; Content-Length: 48 [info] Request took 0.011102s (90.074/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000437s | | /rest/file/view | 0.004500s | | /rest/file/end | 0.000838s | '-----------------------------------------------------------------+-----------' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 4 (4.000/s) [2512] [Sun Jun 12 23:06:51 2011] *** [debug] "POST" request for "rest/file/otherdir%2Ftestfile2" from "127.0.0.1" [debug] Body Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | content | hello world 2 | '-------------------------------------+-------------------------------------------' [debug] Path is "rest/file" [debug] Arguments are "otherdir/testfile2" [debug] rpc compat mode = 0 [debug] rest args : ["otherdir/testfile2"] [debug] rest OID: otherdir/testfile2 [debug] fetch: ["file", "otherdir/testfile2"] [debug] POST -> save [debug] Body: [debug] Redirecting to "http://localhost/rest/file/otherdir%2ftestfile2" [debug] Response Code: 302; Content-Type: unknown; Content-Length: 60 [info] Request took 0.011725s (85.288/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000438s | | /rest/file/save | 0.004829s | | /rest/file/end | 0.000824s | '-----------------------------------------------------------------+-----------' # Failed test 'new file 302 redirect status' # at t/03-rest.t line 63. # got: undef # expected: '302' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 5 (5.000/s) [2512] [Sun Jun 12 23:06:51 2011] *** [debug] "GET" request for "rest/file" from "127.0.0.1" [debug] Path is "rest/file" [debug] rpc compat mode = 0 [debug] rest args : [] [debug] rest OID: [debug] GET request with no OID [debug] Body: [debug] Response Code: 200; Content-Type: unknown; Content-Length: 111 [info] Request took 0.105825s (9.450/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000454s | | /rest/file/save | 0.015602s | | /rest/file/end | 0.081867s | '-----------------------------------------------------------------+-----------' # Failed test '/ request with multiple items lists' # at t/03-rest.t line 71. # got: undef # expected: '200' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 6 (6.000/s) [2512] [Sun Jun 12 23:06:51 2011] *** [debug] "GET" request for "rest/file/create" from "127.0.0.1" [debug] Path is "rest/file/create" [debug] Body: [debug] Redirecting to "http://localhost/rest/file/create_form" [debug] Response Code: 302; Content-Type: unknown; Content-Length: unknown [info] Request took 0.075189s (13.300/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000476s | | /rest/file/end | 0.000348s | '-----------------------------------------------------------------+-----------' # Failed test '/rest/file/create' # at t/03-rest.t line 79. # got: undef # expected: '302' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 7 (7.000/s) [2512] [Sun Jun 12 23:06:51 2011] *** [debug] "GET" request for "rest/file" from "127.0.0.1" [debug] Path is "rest/file" [debug] rpc compat mode = 0 [debug] rest args : [] [debug] rest OID: [debug] GET request with no OID [debug] Body: [debug] Response Code: 200; Content-Type: unknown; Content-Length: 111 [info] Request took 0.068217s (14.659/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000902s | | /rest/file/list | 0.061422s | | /rest/file/end | 0.001446s | '-----------------------------------------------------------------+-----------' # Failed test 'zero => list()' # at t/03-rest.t line 81. # got: undef # expected: '200' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 8 (4.000/s) [2512] [Sun Jun 12 23:06:52 2011] *** [debug] "GET" request for "rest/file/testfile" from "127.0.0.1" [debug] Path is "rest/file" [debug] Arguments are "testfile" [debug] rpc compat mode = 0 [debug] rest args : ["testfile"] [debug] rest OID: testfile [debug] fetch: ["file", "testfile"] [debug] GET -> view [debug] Body: [debug] Response Code: 200; Content-Type: unknown; Content-Length: 48 [info] Request took 0.152387s (6.562/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000448s | | /rest/file/list | 0.003335s | | /rest/file/end | 0.001175s | '-----------------------------------------------------------------+-----------' # Failed test 'oid == one' # at t/03-rest.t line 83. # got: undef # expected: '200' [info] *** Request 9 (4.500/s) [2512] [Sun Jun 12 23:06:52 2011] *** [debug] "GET" request for "rest/file/testfile/view" from "127.0.0.1" [debug] Path is "rest/file" [debug] Arguments are "testfile/view" [debug] rpc compat mode = 0 [debug] rest args : ["testfile", "view"] [debug] rest OID: testfile [debug] Body: Resource not found [debug] Response Code: 404; Content-Type: unknown; Content-Length: 18 [info] Request took 0.006019s (166.141/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000439s | | /rest/file/view | 0.000629s | | /rest/file/end | 0.000274s | '-----------------------------------------------------------------+-----------' # Failed test 'rpc == two' # at t/03-rest.t line 85. # got: undef # expected: '404' t/03-rest.t ........ 23/54 Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 10 (5.000/s) [2512] [Sun Jun 12 23:06:52 2011] *** [debug] "POST" request for "rest/file/testfile/dir/otherdir%2Ftestfile2" from "127.0.0.1" [debug] Path is "rest/file" [debug] Arguments are "testfile/dir/otherdir/testfile2" [debug] rpc compat mode = 0 [debug] rest args : ["testfile", "dir", "otherdir/testfile2"] [debug] rest_related OID: testfile [debug] fetch: ["file", "testfile"] [debug] POST -> add [debug] Body: [debug] Response Code: 204; Content-Type: unknown; Content-Length: unknown [info] Request took 0.142247s (7.030/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000444s | | /rest/file/view | 0.135912s | | /rest/file/end | 0.000866s | '-----------------------------------------------------------------+-----------' # Failed test 'related == three' # at t/03-rest.t line 91. # got: undef # expected: '204' [info] *** Request 11 (5.500/s) [2512] [Sun Jun 12 23:06:52 2011] *** [debug] "POST" request for "rest/file/testfile/dir/otherdir%2Ftestfile2/rpc" from "127.0.0.1" [debug] Path is "rest/file" [debug] Arguments are "testfile/dir/otherdir/testfile2/rpc" [debug] rpc compat mode = 0 [debug] rest args : ["testfile", "dir", "otherdir/testfile2", "rpc"] [debug] rest_related OID: testfile [debug] Body: Resource not found [debug] Response Code: 404; Content-Type: unknown; Content-Length: 18 [info] Request took 0.006396s (156.348/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000515s | | /rest/file/add | 0.000816s | | /rest/file/end | 0.000266s | '-----------------------------------------------------------------+-----------' # Failed test '404 == related rpc with no enable_rpc_compat' # at t/03-rest.t line 97. # got: undef # expected: '404' [info] *** Request 12 (6.000/s) [2512] [Sun Jun 12 23:06:52 2011] *** [debug] "GET" request for "rest/file/testfile/two/three/four/five" from "127.0.0.1" [debug] Path is "rest/file" [debug] Arguments are "testfile/two/three/four/five" [debug] rpc compat mode = 0 [debug] rest args : ["testfile", "two", "three", "four", "five"] [debug] Body: Resource not found [debug] Response Code: 404; Content-Type: unknown; Content-Length: 18 [info] Request took 0.009818s (101.854/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.003910s | | /rest/file/add | 0.000751s | | /rest/file/end | 0.000271s | '-----------------------------------------------------------------+-----------' # Failed test '404 == five' # at t/03-rest.t line 100. # got: undef # expected: '404' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 13 (6.500/s) [2512] [Sun Jun 12 23:06:52 2011] *** [debug] "POST" request for "rest/file/testfile/dir/otherdir%2Ftestfile2" from "127.0.0.1" [debug] Body Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | x-tunneled-method | DELETE | '-------------------------------------+-------------------------------------------' [debug] Path is "rest/file" [debug] Arguments are "testfile/dir/otherdir/testfile2" [debug] rpc compat mode = 0 [debug] rest args : ["testfile", "dir", "otherdir/testfile2"] [debug] rest_related OID: testfile [debug] fetch: ["file", "testfile"] [debug] DELETE -> remove [debug] Body: [debug] Response Code: 204; Content-Type: unknown; Content-Length: unknown [info] Request took 0.076113s (13.138/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000440s | | /rest/file/add | 0.006698s | | /rest/file/end | 0.063432s | '-----------------------------------------------------------------+-----------' # Failed test 'related == three' # at t/03-rest.t line 109. # got: undef # expected: '204' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 14 (7.000/s) [2512] [Sun Jun 12 23:06:52 2011] *** [debug] "GET" request for "rest/file/create" from "127.0.0.1" [debug] Path is "rest/file/create" [debug] Body: [debug] Redirecting to "http://localhost/rest/file/create_form" [debug] Response Code: 302; Content-Type: unknown; Content-Length: unknown [info] Request took 0.005272s (189.681/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000437s | | /rest/file/end | 0.000334s | '-----------------------------------------------------------------+-----------' # Failed test '/rest/file/create' # at t/03-rest.t line 115. # got: undef # expected: '302' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 15 (7.500/s) [2512] [Sun Jun 12 23:06:52 2011] *** [debug] "GET" request for "rest/file" from "127.0.0.1" [debug] Path is "rest/file" [debug] rpc compat mode = 1 [debug] rest args : [] [debug] rest OID: [debug] GET request with no OID [debug] Body: [debug] Response Code: 200; Content-Type: unknown; Content-Length: 111 [info] Request took 0.623204s (1.605/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000437s | | /rest/file/remove | 0.616886s | | /rest/file/end | 0.001451s | '-----------------------------------------------------------------+-----------' # Failed test 'zero with rpc => list()' # at t/03-rest.t line 117. # got: undef # expected: '200' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 16 (5.333/s) [2512] [Sun Jun 12 23:06:53 2011] *** [debug] "GET" request for "rest/file/testfile" from "127.0.0.1" [debug] Path is "rest/file" [debug] Arguments are "testfile" [debug] rpc compat mode = 1 [debug] rest args : ["testfile"] [debug] rest OID: testfile [debug] fetch: ["file", "testfile"] [debug] GET -> view [debug] Body: [debug] Response Code: 200; Content-Type: unknown; Content-Length: 48 [info] Request took 0.074026s (13.509/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000489s | | /rest/file/list | 0.003173s | | /rest/file/end | 0.003790s | '-----------------------------------------------------------------+-----------' # Failed test 'oid == one with rpc' # at t/03-rest.t line 119. # got: undef # expected: '200' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 17 (5.667/s) [2512] [Sun Jun 12 23:06:53 2011] *** [debug] "GET" request for "rest/file/testfile/view" from "127.0.0.1" [debug] Path is "rest/file" [debug] Arguments are "testfile/view" [debug] rpc compat mode = 1 [debug] rest args : ["testfile", "view"] [debug] rest OID: testfile [debug] fetch: ["file", "testfile"] [debug] GET -> view [debug] Body: [debug] Response Code: 200; Content-Type: unknown; Content-Length: 48 [info] Request took 0.069370s (14.415/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000438s | | /rest/file/view | 0.063322s | | /rest/file/end | 0.000845s | '-----------------------------------------------------------------+-----------' # Failed test 'rpc == two with rpc' # at t/03-rest.t line 121. # got: undef # expected: '200' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 18 (6.000/s) [2512] [Sun Jun 12 23:06:53 2011] *** [debug] "POST" request for "rest/file/testfile/dir/otherdir%2Ftestfile2/add" from "127.0.0.1" [debug] Path is "rest/file" [debug] Arguments are "testfile/dir/otherdir/testfile2/add" [debug] rpc compat mode = 1 [debug] rest args : ["testfile", "dir", "otherdir/testfile2", "add"] [debug] rest_related OID: testfile [debug] fetch: ["file", "testfile"] [debug] POST -> add [debug] Body: [debug] Response Code: 204; Content-Type: unknown; Content-Length: unknown [info] Request took 0.081672s (12.244/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000442s | | /rest/file/view | 0.069811s | | /rest/file/end | 0.000899s | '-----------------------------------------------------------------+-----------' # Failed test 'related == three with rpc' # at t/03-rest.t line 127. # got: undef # expected: '204' [info] *** Request 19 (6.333/s) [2512] [Sun Jun 12 23:06:53 2011] *** [debug] "POST" request for "rest/file/testfile/dir/otherdir%2Ftestfile2/rpc" from "127.0.0.1" [debug] Path is "rest/file" [debug] Arguments are "testfile/dir/otherdir/testfile2/rpc" [debug] rpc compat mode = 1 [debug] rest args : ["testfile", "dir", "otherdir/testfile2", "rpc"] [debug] rest_related OID: testfile [debug] Body: Resource not found [debug] Response Code: 404; Content-Type: unknown; Content-Length: 18 [info] Request took 0.006536s (152.999/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000443s | | /rest/file/add | 0.000923s | | /rest/file/end | 0.000274s | '-----------------------------------------------------------------+-----------' # Failed test '404 == related rpc with enable_rpc_compat' # at t/03-rest.t line 133. # got: undef # expected: '404' [info] *** Request 20 (6.667/s) [2512] [Sun Jun 12 23:06:53 2011] *** [debug] "GET" request for "rest/file/testfile/two/three/four/five" from "127.0.0.1" [debug] Path is "rest/file" [debug] Arguments are "testfile/two/three/four/five" [debug] rpc compat mode = 1 [debug] rest args : ["testfile", "two", "three", "four", "five"] [debug] Body: Resource not found [debug] Response Code: 404; Content-Type: unknown; Content-Length: 18 [info] Request took 0.006219s (160.798/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000440s | | /rest/file/add | 0.000715s | | /rest/file/end | 0.000263s | '-----------------------------------------------------------------+-----------' # Failed test '404 == five with rpc' # at t/03-rest.t line 138. # got: undef # expected: '404' t/03-rest.t ........ 45/54 Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 21 (7.000/s) [2512] [Sun Jun 12 23:06:53 2011] *** [debug] "POST" request for "rest/file/testfile/dir/otherdir%2Ftestfile2/remove" from "127.0.0.1" [debug] Body Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | x-tunneled-method | DELETE | '-------------------------------------+-------------------------------------------' [debug] Path is "rest/file" [debug] Arguments are "testfile/dir/otherdir/testfile2/remove" [debug] rpc compat mode = 1 [debug] rest args : ["testfile", "dir", "otherdir/testfile2", "remove"] [debug] rest_related OID: testfile [debug] fetch: ["file", "testfile"] [debug] DELETE -> remove [debug] Body: [debug] Response Code: 204; Content-Type: unknown; Content-Length: unknown [info] Request took 0.022695s (44.063/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000450s | | /rest/file/add | 0.009742s | | /rest/file/end | 0.006781s | '-----------------------------------------------------------------+-----------' # Failed test 'related == three with rpc' # at t/03-rest.t line 148. # got: undef # expected: '204' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 22 (7.333/s) [2512] [Sun Jun 12 23:06:53 2011] *** [debug] "POST" request for "rest/file/testfile" from "127.0.0.1" [debug] Body Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | _http_method | DELETE | '-------------------------------------+-------------------------------------------' [debug] Path is "rest/file" [debug] Arguments are "testfile" [debug] rpc compat mode = 1 [debug] rest args : ["testfile"] [debug] rest OID: testfile [debug] fetch: ["file", "testfile"] [debug] DELETE -> rm [debug] Body: [debug] Redirecting to "http://localhost/rest/file" [debug] Response Code: 302; Content-Type: unknown; Content-Length: 48 [info] Request took 0.010929s (91.500/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000444s | | /rest/file/remove | 0.004155s | | /rest/file/end | 0.000865s | '-----------------------------------------------------------------+-----------' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 23 (7.667/s) [2512] [Sun Jun 12 23:06:53 2011] *** [debug] "POST" request for "rest/file/testfile2/delete" from "127.0.0.1" [debug] Body Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | _http_method | DELETE | '-------------------------------------+-------------------------------------------' [debug] Path is "rest/file" [debug] Arguments are "testfile2/delete" [debug] rpc compat mode = 1 [debug] rest args : ["testfile2", "delete"] [debug] rest OID: testfile2 [debug] fetch: ["file", "testfile2"] [debug] DELETE -> delete [debug] Body: [debug] Redirecting to "http://localhost/rest/file/testfile2" [debug] Response Code: 302; Content-Type: unknown; Content-Length: 41 [info] Request took 0.022349s (44.745/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000493s | | /rest/file/rm | 0.009616s | | /rest/file/end | 0.000810s | '-----------------------------------------------------------------+-----------' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 24 (8.000/s) [2512] [Sun Jun 12 23:06:53 2011] *** [debug] "POST" request for "rest/file/otherdir%2Ftestfile2/delete" from "127.0.0.1" [debug] Body Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | _http_method | DELETE | '-------------------------------------+-------------------------------------------' [debug] Path is "rest/file" [debug] Arguments are "otherdir/testfile2/delete" [debug] rpc compat mode = 1 [debug] rest args : ["otherdir/testfile2", "delete"] [debug] rest OID: otherdir/testfile2 [debug] fetch: ["file", "otherdir/testfile2"] [debug] DELETE -> delete [debug] Body: [debug] Redirecting to "http://localhost/rest/file/otherdir%2ftestfile2" [debug] Response Code: 302; Content-Type: unknown; Content-Length: 60 [info] Request took 0.054633s (18.304/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000442s | | /rest/file/delete | 0.004537s | | /rest/file/end | 0.044096s | '-----------------------------------------------------------------+-----------' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 25 (8.333/s) [2512] [Sun Jun 12 23:06:53 2011] *** [debug] "GET" request for "rest/file/testfile" from "127.0.0.1" [debug] Path is "rest/file" [debug] Arguments are "testfile" [debug] rpc compat mode = 1 [debug] rest args : ["testfile"] [debug] rest OID: testfile [debug] fetch: ["file", "testfile"] [debug] GET -> view [debug] Body: [debug] Response Code: 200; Content-Type: unknown; Content-Length: 40 [info] Request took 0.008996s (111.161/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000430s | | /rest/file/delete | 0.003166s | | /rest/file/end | 0.000771s | '-----------------------------------------------------------------+-----------' Use of uninitialized value in concatenation (.) or string at t/lib/MyApp/Controller/REST/File.pm line 37. [info] *** Request 26 (8.667/s) [2512] [Sun Jun 12 23:06:53 2011] *** [debug] "GET" request for "rest/file" from "127.0.0.1" [debug] Path is "rest/file" [debug] rpc compat mode = 1 [debug] rest args : [] [debug] rest OID: [debug] GET request with no OID [debug] Body: [debug] Response Code: 200; Content-Type: unknown; Content-Length: unknown [info] Request took 0.012607s (79.321/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /rest/file/auto | 0.000441s | | /rest/file/view | 0.007410s | | /rest/file/end | 0.000386s | '-----------------------------------------------------------------+-----------' # Failed test '/ request with no items == 200' # at t/03-rest.t line 186. # got: undef # expected: '200' # Looks like you failed 19 tests of 54. t/03-rest.t ........ Dubious, test returned 19 (wstat 4864, 0x1300) Failed 19/54 subtests t/04-query.t ....... [debug] Debug messages enabled [debug] Statistics enabled [debug] Loaded dispatcher "Catalyst::Dispatcher" [debug] Loaded engine "Catalyst::Engine" [debug] Found home "/tmp/.cpan/build/CatalystX-CRUD-0.51-vFl9Kl/t/lib/MyApp" [debug] Loaded components: .----------------------------------------------------------------------+----------. | Class | Type | +----------------------------------------------------------------------+----------+ | MyApp::Controller::FetchRewrite | instance | | MyApp::Controller::File | instance | | MyApp::Controller::FileAdapter | instance | | MyApp::Controller::FileAdapterMultiPK | instance | | MyApp::Controller::REST::File | instance | | MyApp::Controller::Root | instance | | MyApp::Controller::Search | instance | | MyApp::Model::File | instance | | MyApp::Model::FileSearch | instance | '----------------------------------------------------------------------+----------' [debug] Loaded Private actions: .----------------------+--------------------------------------+-------------------. | Private | Class | Method | +----------------------+--------------------------------------+-------------------+ | /autoload | MyApp::Controller::Root | autoload | | /foo | MyApp::Controller::Root | foo | | /fileadapter/remove | MyApp::Controller::FileAdapter | remove | | /fileadapter/search | MyApp::Controller::FileAdapter | search | | /fileadapter/add | MyApp::Controller::FileAdapter | add | | /fileadapter/edit | MyApp::Controller::FileAdapter | edit | | /fileadapter/save | MyApp::Controller::FileAdapter | save | | /fileadapter/view | MyApp::Controller::FileAdapter | view | | /fileadapter/read | MyApp::Controller::FileAdapter | read | | /fileadapter/fetch | MyApp::Controller::FileAdapter | fetch | | /fileadapter/list | MyApp::Controller::FileAdapter | list | | /fileadapter/create | MyApp::Controller::FileAdapter | create | | /fileadapter/count | MyApp::Controller::FileAdapter | count | | /fileadapter/rm | MyApp::Controller::FileAdapter | rm | | /fileadapter/default | MyApp::Controller::FileAdapter | default | | /fileadapter/end | MyApp::Controller::FileAdapter | end | | /fileadapter/related | MyApp::Controller::FileAdapter | related | | /fileadapter/auto | MyApp::Controller::FileAdapter | auto | | /fileadapter/delete | MyApp::Controller::FileAdapter | delete | | /fileadapter/update | MyApp::Controller::FileAdapter | update | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | remove | | /remove | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | search | | /search | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | add | | /add | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | edit | | /edit | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | save | | /save | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | view | | /view | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | read | | /read | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | fetch | | /fetch | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | list | | /list | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | create | | /create | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | count | | /count | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | rm | | /rm | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | default | | /default | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | end | | /end | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | related | | /related | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | auto | | /auto | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | delete | | /delete | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | update | | /update | PK | | | /file/remove | MyApp::Controller::File | remove | | /file/search | MyApp::Controller::File | search | | /file/add | MyApp::Controller::File | add | | /file/edit | MyApp::Controller::File | edit | | /file/save | MyApp::Controller::File | save | | /file/view | MyApp::Controller::File | view | | /file/read | MyApp::Controller::File | read | | /file/fetch | MyApp::Controller::File | fetch | | /file/list | MyApp::Controller::File | list | | /file/create | MyApp::Controller::File | create | | /file/count | MyApp::Controller::File | count | | /file/rm | MyApp::Controller::File | rm | | /file/default | MyApp::Controller::File | default | | /file/end | MyApp::Controller::File | end | | /file/related | MyApp::Controller::File | related | | /file/auto | MyApp::Controller::File | auto | | /file/delete | MyApp::Controller::File | delete | | /file/update | MyApp::Controller::File | update | | /search/remove | MyApp::Controller::Search | remove | | /search/search | MyApp::Controller::Search | search | | /search/add | MyApp::Controller::Search | add | | /search/edit | MyApp::Controller::Search | edit | t/04-query.t ....... 1/16 ave | MyApp::Controller::Search | save | | /search/view | MyApp::Controller::Search | view | | /search/read | MyApp::Controller::Search | read | | /search/fetch | MyApp::Controller::Search | fetch | | /search/list | MyApp::Controller::Search | list | | /search/create | MyApp::Controller::Search | create | | /search/count | MyApp::Controller::Search | count | | /search/rm | MyApp::Controller::Search | rm | | /search/default | MyApp::Controller::Search | default | | /search/end | MyApp::Controller::Search | end | | /search/related | MyApp::Controller::Search | related | | /search/auto | MyApp::Controller::Search | auto | | /search/delete | MyApp::Controller::Search | delete | | /search/update | MyApp::Controller::Search | update | | /fetchrewrite/remove | MyApp::Controller::FetchRewrite | remove | | /fetchrewrite/search | MyApp::Controller::FetchRewrite | search | | /fetchrewrite/add | MyApp::Controller::FetchRewrite | add | | /fetchrewrite/edit | MyApp::Controller::FetchRewrite | edit | | /fetchrewrite/save | MyApp::Controller::FetchRewrite | save | | /fetchrewrite/view | MyApp::Controller::FetchRewrite | view | | /fetchrewrite/read | MyApp::Controller::FetchRewrite | read | | /fetchrewrite/fetch | MyApp::Controller::FetchRewrite | fetch | | /fetchrewrite/list | MyApp::Controller::FetchRewrite | list | | /fetchrewrite/create | MyApp::Controller::FetchRewrite | create | | /fetchrewrite/count | MyApp::Controller::FetchRewrite | count | | /fetchrewrite/rm | MyApp::Controller::FetchRewrite | rm | | /fetchrewrite/defau- | MyApp::Controller::FetchRewrite | default | | lt | | | | /fetchrewrite/end | MyApp::Controller::FetchRewrite | end | | /fetchrewrite/relat- | MyApp::Controller::FetchRewrite | related | | ed | | | | /fetchrewrite/auto | MyApp::Controller::FetchRewrite | auto | | /fetchrewrite/delete | MyApp::Controller::FetchRewrite | delete | | /fetchrewrite/update | MyApp::Controller::FetchRewrite | update | | /rest/file/search | MyApp::Controller::REST::File | search | | /rest/file/rest | MyApp::Controller::REST::File | rest | | /rest/file/edit_form | MyApp::Controller::REST::File | edit_form | | /rest/file/fetch | MyApp::Controller::REST::File | fetch | | /rest/file/list | MyApp::Controller::REST::File | list | | /rest/file/count | MyApp::Controller::REST::File | count | | /rest/file/create_f- | MyApp::Controller::REST::File | create_form | | orm | | | | /rest/file/default | MyApp::Controller::REST::File | default | | /rest/file/end | MyApp::Controller::REST::File | end | | /rest/file/related | MyApp::Controller::REST::File | related | | /rest/file/auto | MyApp::Controller::REST::File | auto | '----------------------+--------------------------------------+-------------------' [debug] Loaded Path actions: .----------------------------------------+----------------------------------------. | Path | Private | +----------------------------------------+----------------------------------------+ | /autoload | /autoload | | /fetchrewrite | /fetchrewrite/default | | /fetchrewrite/count | /fetchrewrite/count | | /fetchrewrite/create | /fetchrewrite/create | | /fetchrewrite/list | /fetchrewrite/list | | /fetchrewrite/search | /fetchrewrite/search | | /file | /file/default | | /file/count | /file/count | | /file/create | /file/create | | /file/list | /file/list | | /file/search | /file/search | | /fileadapter | /fileadapter/default | | /fileadapter/count | /fileadapter/count | | /fileadapter/create | /fileadapter/create | | /fileadapter/list | /fileadapter/list | | /fileadapter/search | /fileadapter/search | | /fileadaptermultipk | /fileadaptermultipk/default | | /fileadaptermultipk/count | /fileadaptermultipk/count | | /fileadaptermultipk/create | /fileadaptermultipk/create | | /fileadaptermultipk/list | /fileadaptermultipk/list | | /fileadaptermultipk/search | /fileadaptermultipk/search | | /foo | /foo | | /rest/file | /rest/file/rest | | /rest/file/count | /rest/file/count | | /rest/file/create | /rest/file/_rest_create | | /rest/file/create_form | /rest/file/create_form | | /rest/file/list | /rest/file/list | | /rest/file/search | /rest/file/search | | /search | /search/default | | /search/count | /search/count | | /search/create | /search/create | | /search/list | /search/list | | /search/search | /search/search | '----------------------------------------+----------------------------------------' [debug] Loaded Chained actions: .----------------------------------------+----------------------------------------. | Path Spec | Private | +----------------------------------------+----------------------------------------+ | /fetchrewrite/id/*/*/*/add | /fetchrewrite/fetch (1) | | | -> /fetchrewrite/related (2) | | | => /fetchrewrite/add | | /fetchrewrite/id/*/delete | /fetchrewrite/fetch (1) | | | => /fetchrewrite/delete | | /fetchrewrite/id/*/edit | /fetchrewrite/fetch (1) | | | => /fetchrewrite/edit | | /fetchrewrite/id/*/read | /fetchrewrite/fetch (1) | | | => /fetchrewrite/read | | /fetchrewrite/id/*/*/*/remove | /fetchrewrite/fetch (1) | | | -> /fetchrewrite/related (2) | | | => /fetchrewrite/remove | | /fetchrewrite/id/*/rm | /fetchrewrite/fetch (1) | | | => /fetchrewrite/rm | | /fetchrewrite/id/*/save | /fetchrewrite/fetch (1) | | | => /fetchrewrite/save | | /fetchrewrite/id/*/update | /fetchrewrite/fetch (1) | | | => /fetchrewrite/update | | /fetchrewrite/id/*/view | /fetchrewrite/fetch (1) | | | => /fetchrewrite/view | | /file/*/*/*/add | /file/fetch (1) | | | -> /file/related (2) | | | => /file/add | | /file/*/delete | /file/fetch (1) | | | => /file/delete | | /file/*/edit | /file/fetch (1) | | | => /file/edit | | /file/*/read | /file/fetch (1) | | | => /file/read | | /file/*/*/*/remove | /file/fetch (1) | | | -> /file/related (2) | | | => /file/remove | | /file/*/rm | /file/fetch (1) | | | => /file/rm | | /file/*/save | /file/fetch (1) | | | => /file/save | | /file/*/update | /file/fetch (1) | | | => /file/update | | /file/*/view | /file/fetch (1) | | | => /file/view | | /fileadapter/*/*/*/add | /fileadapter/fetch (1) | | | -> /fileadapter/related (2) | | | => /fileadapter/add | | /fileadapter/*/delete | /fileadapter/fetch (1) | | | => /fileadapter/delete | | /fileadapter/*/edit | /fileadapter/fetch (1) | | | => /fileadapter/edit | | /fileadapter/*/read | /fileadapter/fetch (1) | | | => /fileadapter/read | | /fileadapter/*/*/*/remove | /fileadapter/fetch (1) | | | -> /fileadapter/related (2) | | | => /fileadapter/remove | | /fileadapter/*/rm | /fileadapter/fetch (1) | | | => /fileadapter/rm | | /fileadapter/*/save | /fileadapter/fetch (1) | | | => /fileadapter/save | | /fileadapter/*/update | /fileadapter/fetch (1) | | | => /fileadapter/update | | /fileadapter/*/view | /fileadapter/fetch (1) | | | => /fileadapter/view | | /fileadaptermultipk/*/*/*/add | /fileadaptermultipk/fetch (1) | | | -> /fileadaptermultipk/related (2) | | | => /fileadaptermultipk/add | | /fileadaptermultipk/*/delete | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/delete | | /fileadaptermultipk/*/edit | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/edit | | /fileadaptermultipk/*/read | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/read | | /fileadaptermultipk/*/*/*/remove | /fileadaptermultipk/fetch (1) | | | -> /fileadaptermultipk/related (2) | | | => /fileadaptermultipk/remove | | /fileadaptermultipk/*/rm | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/rm | | /fileadaptermultipk/*/save | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/save | | /fileadaptermultipk/*/update | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/update | | /fileadaptermultipk/*/view | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/view | | /rest/file/*/edit_form | /rest/file/fetch (1) | | | => /rest/file/edit_form | | /search/*/*/*/add | /search/fetch (1) | | | -> /search/related (2) | | | => /search/add | | /search/*/delete | /search/fetch (1) | | | => /search/delete | | /search/*/edit | /search/fetch (1) | | | => /search/edit | | /search/*/read | /search/fetch (1) | | | => /search/read | | /search/*/*/*/remove | /search/fetch (1) | | | -> /search/related (2) | | | => /search/remove | | /search/*/rm | /search/fetch (1) | | | => /search/rm | | /search/*/save | /search/fetch (1) | | | => /search/save | | /search/*/update | /search/fetch (1) | | | => /search/update | | /search/*/view | /search/fetch (1) | | | => /search/view | '----------------------------------------+----------------------------------------' [info] Application powered by Catalyst 5.89000 t/04-query.t ....... 3/16 [info] *** Request 1 (1.000/s) [2513] [Sun Jun 12 23:06:57 2011] *** [debug] "GET" request for "search/search" from "127.0.0.1" [debug] Path is "search/search" [debug] resp status = 200 [debug] Response Code: 200; Content-Type: unknown; Content-Length: 2 [info] Request took 0.006099s (163.961/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /search/auto | 0.000588s | | /search/search | 0.000242s | | /search/end | 0.000385s | '-----------------------------------------------------------------+-----------' # Failed test 'response Ok' # at t/04-query.t line 15. # got: undef # expected: '200' [info] *** Request 2 (2.000/s) [2513] [Sun Jun 12 23:06:57 2011] *** [debug] "GET" request for "search/search" from "127.0.0.1" [debug] Query Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | file | bar | '-------------------------------------+-------------------------------------------' [debug] Path is "search/search" [debug] resp status = 200 [debug] Response Code: 200; Content-Type: unknown; Content-Length: 246 [info] Request took 0.162292s (6.162/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /search/auto | 0.000436s | | /search/search | 0.155696s | | /search/end | 0.001483s | '-----------------------------------------------------------------+-----------' [info] *** Request 3 (3.000/s) [2513] [Sun Jun 12 23:06:57 2011] *** [debug] "GET" request for "search/search" from "127.0.0.1" [debug] Query Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | content | foo | | file | bar | '-------------------------------------+-------------------------------------------' [debug] Path is "search/search" [debug] resp status = 200 [debug] Response Code: 200; Content-Type: unknown; Content-Length: 313 [info] Request took 0.096249s (10.390/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /search/auto | 0.000432s | | /search/search | 0.009343s | | /search/end | 0.001692s | '-----------------------------------------------------------------+-----------' [info] *** Request 4 (4.000/s) [2513] [Sun Jun 12 23:06:57 2011] *** [debug] "GET" request for "search/search" from "127.0.0.1" [debug] Query Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | content | green, red | | file | bar, foo | '-------------------------------------+-------------------------------------------' [debug] Path is "search/search" [debug] resp status = 200 [debug] Response Code: 200; Content-Type: unknown; Content-Length: 609 [info] Request took 0.077766s (12.859/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /search/auto | 0.053002s | | /search/search | 0.009840s | | /search/end | 0.002185s | '-----------------------------------------------------------------+-----------' [info] *** Request 5 (5.000/s) [2513] [Sun Jun 12 23:06:57 2011] *** [debug] "GET" request for "search/search" from "127.0.0.1" [debug] Query Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | content | green, red | | cxc-op | OR | | file | bar, foo | '-------------------------------------+-------------------------------------------' [debug] Path is "search/search" [debug] resp status = 200 [debug] Response Code: 200; Content-Type: unknown; Content-Length: 607 [info] Request took 0.088729s (11.270/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /search/auto | 0.000458s | | /search/search | 0.012464s | | /search/end | 0.002212s | '-----------------------------------------------------------------+-----------' [info] *** Request 6 (6.000/s) [2513] [Sun Jun 12 23:06:57 2011] *** [debug] "POST" request for "search/search" from "127.0.0.1" [debug] Body Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | cxc-query | (file='bar' OR file='foo') OR (content='- | | | green' OR content='red') | '-------------------------------------+-------------------------------------------' [debug] Path is "search/search" [debug] resp status = 200 [debug] Response Code: 200; Content-Type: unknown; Content-Length: 735 [info] Request took 0.132040s (7.573/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /search/auto | 0.000445s | | /search/search | 0.124201s | | /search/end | 0.002069s | '-----------------------------------------------------------------+-----------' [info] *** Request 7 (7.000/s) [2513] [Sun Jun 12 23:06:57 2011] *** [debug] "POST" request for "search/search" from "127.0.0.1" [debug] Body Parameters are: .-------------------------------------+-------------------------------------------. | Parameter | Value | +-------------------------------------+-------------------------------------------+ | cxc-order | file ASC file desc | | cxc-query | (file='bar' OR file='foo') OR (content='- | | | green' OR content='red') | '-------------------------------------+-------------------------------------------' [debug] Path is "search/search" [debug] resp status = 200 [debug] Response Code: 200; Content-Type: unknown; Content-Length: 764 [info] Request took 0.061299s (16.313/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /search/auto | 0.000442s | | /search/search | 0.053604s | | /search/end | 0.002159s | '-----------------------------------------------------------------+-----------' # Looks like you failed 1 test of 16. t/04-query.t ....... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/16 subtests t/05-pks.t ......... [debug] Debug messages enabled [debug] Statistics enabled [debug] Loaded dispatcher "Catalyst::Dispatcher" [debug] Loaded engine "Catalyst::Engine" [debug] Found home "/tmp/.cpan/build/CatalystX-CRUD-0.51-vFl9Kl/t/lib/MyApp" [debug] Loaded components: .----------------------------------------------------------------------+----------. | Class | Type | +----------------------------------------------------------------------+----------+ | MyApp::Controller::FetchRewrite | instance | | MyApp::Controller::File | instance | | MyApp::Controller::FileAdapter | instance | | MyApp::Controller::FileAdapterMultiPK | instance | | MyApp::Controller::REST::File | instance | | MyApp::Controller::Root | instance | | MyApp::Controller::Search | instance | | MyApp::Model::File | instance | | MyApp::Model::FileSearch | instance | '----------------------------------------------------------------------+----------' [debug] Loaded Private actions: .----------------------+--------------------------------------+-------------------. | Private | Class | Method | +----------------------+--------------------------------------+-------------------+ | /autoload | MyApp::Controller::Root | autoload | | /foo | MyApp::Controller::Root | foo | | /fileadapter/remove | MyApp::Controller::FileAdapter | remove | | /fileadapter/search | MyApp::Controller::FileAdapter | search | | /fileadapter/add | MyApp::Controller::FileAdapter | add | | /fileadapter/edit | MyApp::Controller::FileAdapter | edit | | /fileadapter/save | MyApp::Controller::FileAdapter | save | | /fileadapter/view | MyApp::Controller::FileAdapter | view | | /fileadapter/read | MyApp::Controller::FileAdapter | read | | /fileadapter/fetch | MyApp::Controller::FileAdapter | fetch | | /fileadapter/list | MyApp::Controller::FileAdapter | list | | /fileadapter/create | MyApp::Controller::FileAdapter | create | | /fileadapter/count | MyApp::Controller::FileAdapter | count | | /fileadapter/rm | MyApp::Controller::FileAdapter | rm | | /fileadapter/default | MyApp::Controller::FileAdapter | default | | /fileadapter/end | MyApp::Controller::FileAdapter | end | | /fileadapter/related | MyApp::Controller::FileAdapter | related | | /fileadapter/auto | MyApp::Controller::FileAdapter | auto | | /fileadapter/delete | MyApp::Controller::FileAdapter | delete | | /fileadapter/update | MyApp::Controller::FileAdapter | update | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | remove | | /remove | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | search | | /search | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | add | | /add | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | edit | | /edit | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | save | | /save | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | view | | /view | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | read | | /read | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | fetch | | /fetch | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | list | | /list | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | create | | /create | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | count | | /count | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | rm | | /rm | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | default | | /default | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | end | | /end | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | related | | /related | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | auto | | /auto | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | delete | | /delete | PK | | | /fileadaptermultipk- | MyApp::Controller::FileAdapterMulti- | update | | /update | PK | | | /file/remove | MyApp::Controller::File | remove | | /file/search | MyApp::Controller::File | search | | /file/add | MyApp::Controller::File | add | | /file/edit | MyApp::Controller::File | edit | | /file/save | MyApp::Controller::File | save | | /file/view | MyApp::Controller::File | view | | /file/read | MyApp::Controller::File | read | | /file/fetch | MyApp::Controller::File | fetch | | /file/list | MyApp::Controller::File | list | | /file/create | MyApp::Controller::File | create | | /file/count | MyApp::Controller::File | count | | /file/rm | MyApp::Controller::File | rm | | /file/default | MyApp::Controller::File | default | | /file/end | MyApp::Controller::File | end | | /file/related | MyApp::Controller::File | related | | /file/auto | MyApp::Controller::File | auto | | /file/delete | MyApp::Controller::File | delete | | /file/update | MyApp::Controller::File | update | | /search/remove | MyApp::Controller::Search | remove | | /search/search | MyApp::Controller::Search | search | | /search/add | MyApp::Controller::Search | add | | /search/edit | MyApp::Controller::Search | edit | | /search/save | MyApp::Controller::Search | save | | /search/view | MyApp::Controller::Search | view | | /search/read | MyApp::Controller::Search | read | | /search/fetch | MyApp::Controller::Search | fetch | | /search/list | MyApp::Controller::Search | list | | /search/create | MyApp::Controller::Search | create | | /search/count | MyApp::Controller::Search | count | | /search/rm | MyApp::Controller::Search | rm | | /search/default | MyApp::Controller::Search | default | | /search/end | MyApp::Controller::Search | end | | /search/related | MyApp::Controller::Search | related | | /search/auto | MyApp::Controller::Search | auto | | /search/delete | MyApp::Controller::Search | delete | | /search/update | MyApp::Controller::Search | update | | /fetchrewrite/remove | MyApp::Controller::FetchRewrite | remove | | /fetchrewrite/search | MyApp::Controller::FetchRewrite | search | | /fetchrewrite/add | MyApp::Controller::FetchRewrite | add | | /fetchrewrite/edit | MyApp::Controller::FetchRewrite | edit | | /fetchrewrite/save | MyApp::Controller::FetchRewrite | save | | /fetchrewrite/view | MyApp::Controller::FetchRewrite | view | | /fetchrewrite/read | MyApp::Controller::FetchRewrite | read | | /fetchrewrite/fetch | MyApp::Controller::FetchRewrite | fetch | | /fetchrewrite/list | MyApp::Controller::FetchRewrite | list | | /fetchrewrite/create | MyApp::Controller::FetchRewrite | create | | /fetchrewrite/count | MyApp::Controller::FetchRewrite | count | | /fetchrewrite/rm | MyApp::Controller::FetchRewrite | rm | | /fetchrewrite/defau- | MyApp::Controller::FetchRewrite | default | | lt | | | | /fetchrewrite/end | MyApp::Controller::FetchRewrite | end | | /fetchrewrite/relat- | MyApp::Controller::FetchRewrite | related | | ed | | | | /fetchrewrite/auto | MyApp::Controller::FetchRewrite | auto | | /fetchrewrite/delete | MyApp::Controller::FetchRewrite | delete | | /fetchrewrite/update | MyApp::Controller::FetchRewrite | update | | /rest/file/search | MyApp::Controller::REST::File | search | | /rest/file/rest | MyApp::Controller::REST::File | rest | | /rest/file/edit_form | MyApp::Controller::REST::File | edit_form | | /rest/file/fetch | MyApp::Controller::REST::File | fetch | | /rest/file/list | MyApp::Controller::REST::File | list | | /rest/file/count | MyApp::Controller::REST::File | count | | /rest/file/create_f- | MyApp::Controller::REST::File | create_form | | orm | | | | /rest/file/default | MyApp::Controller::REST::File | default | | /rest/file/end | MyApp::Controller::REST::File | end | | /rest/file/related | MyApp::Controller::REST::File | related | | /rest/file/auto | MyApp::Controller::REST::File | auto | '----------------------+--------------------------------------+-------------------' [debug] Loaded Path actions: .----------------------------------------+----------------------------------------. | Path | Private | +----------------------------------------+----------------------------------------+ | /autoload | /autoload | | /fetchrewrite | /fetchrewrite/default | | /fetchrewrite/count | /fetchrewrite/count | | /fetchrewrite/create | /fetchrewrite/create | | /fetchrewrite/list | /fetchrewrite/list | | /fetchrewrite/search | /fetchrewrite/search | | /file | /file/default | | /file/count | /file/count | | /file/create | /file/create | | /file/list | /file/list | | /file/search | /file/search | | /fileadapter | /fileadapter/default | | /fileadapter/count | /fileadapter/count | | /fileadapter/create | /fileadapter/create | | /fileadapter/list | /fileadapter/list | | /fileadapter/search | /fileadapter/search | | /fileadaptermultipk | /fileadaptermultipk/default | | /fileadaptermultipk/count | /fileadaptermultipk/count | | /fileadaptermultipk/create | /fileadaptermultipk/create | | /fileadaptermultipk/list | /fileadaptermultipk/list | | /fileadaptermultipk/search | /fileadaptermultipk/search | | /foo | /foo | | /rest/file | /rest/file/rest | | /rest/file/count | /rest/file/count | | /rest/file/create | /rest/file/_rest_create | | /rest/file/create_form | /rest/file/create_form | | /rest/file/list | /rest/file/list | | /rest/file/search | /rest/file/search | | /search | /search/default | | /search/count | /search/count | | /search/create | /search/create | | /search/list | /search/list | | /search/search | /search/search | '----------------------------------------+----------------------------------------' [debug] Loaded Chained actions: .----------------------------------------+----------------------------------------. | Path Spec | Private | +----------------------------------------+----------------------------------------+ | /fetchrewrite/id/*/*/*/add | /fetchrewrite/fetch (1) | | | -> /fetchrewrite/related (2) | | | => /fetchrewrite/add | | /fetchrewrite/id/*/delete | /fetchrewrite/fetch (1) | | | => /fetchrewrite/delete | | /fetchrewrite/id/*/edit | /fetchrewrite/fetch (1) | | | => /fetchrewrite/edit | | /fetchrewrite/id/*/read | /fetchrewrite/fetch (1) | | | => /fetchrewrite/read | | /fetchrewrite/id/*/*/*/remove | /fetchrewrite/fetch (1) | | | -> /fetchrewrite/related (2) | | | => /fetchrewrite/remove | | /fetchrewrite/id/*/rm | /fetchrewrite/fetch (1) | | | => /fetchrewrite/rm | | /fetchrewrite/id/*/save | /fetchrewrite/fetch (1) | | | => /fetchrewrite/save | | /fetchrewrite/id/*/update | /fetchrewrite/fetch (1) | | | => /fetchrewrite/update | | /fetchrewrite/id/*/view | /fetchrewrite/fetch (1) | | | => /fetchrewrite/view | | /file/*/*/*/add | /file/fetch (1) | | | -> /file/related (2) | | | => /file/add | | /file/*/delete | /file/fetch (1) | | | => /file/delete | | /file/*/edit | /file/fetch (1) | | | => /file/edit | | /file/*/read | /file/fetch (1) | | | => /file/read | | /file/*/*/*/remove | /file/fetch (1) | | | -> /file/related (2) | | | => /file/remove | | /file/*/rm | /file/fetch (1) | | | => /file/rm | | /file/*/save | /file/fetch (1) | | | => /file/save | | /file/*/update | /file/fetch (1) | | | => /file/update | | /file/*/view | /file/fetch (1) | | | => /file/view | | /fileadapter/*/*/*/add | /fileadapter/fetch (1) | | | -> /fileadapter/related (2) | | | => /fileadapter/add | | /fileadapter/*/delete | /fileadapter/fetch (1) | | | => /fileadapter/delete | | /fileadapter/*/edit | /fileadapter/fetch (1) | | | => /fileadapter/edit | | /fileadapter/*/read | /fileadapter/fetch (1) | | | => /fileadapter/read | | /fileadapter/*/*/*/remove | /fileadapter/fetch (1) | | | -> /fileadapter/related (2) | | | => /fileadapter/remove | | /fileadapter/*/rm | /fileadapter/fetch (1) | | | => /fileadapter/rm | | /fileadapter/*/save | /fileadapter/fetch (1) | | | => /fileadapter/save | | /fileadapter/*/update | /fileadapter/fetch (1) | | | => /fileadapter/update | | /fileadapter/*/view | /fileadapter/fetch (1) | | | => /fileadapter/view | | /fileadaptermultipk/*/*/*/add | /fileadaptermultipk/fetch (1) | | | -> /fileadaptermultipk/related (2) | | | => /fileadaptermultipk/add | | /fileadaptermultipk/*/delete | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/delete | | /fileadaptermultipk/*/edit | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/edit | | /fileadaptermultipk/*/read | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/read | | /fileadaptermultipk/*/*/*/remove | /fileadaptermultipk/fetch (1) | | | -> /fileadaptermultipk/related (2) | | | => /fileadaptermultipk/remove | | /fileadaptermultipk/*/rm | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/rm | | /fileadaptermultipk/*/save | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/save | | /fileadaptermultipk/*/update | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/update | | /fileadaptermultipk/*/view | /fileadaptermultipk/fetch (1) | | | => /fileadaptermultipk/view | | /rest/file/*/edit_form | /rest/file/fetch (1) | | | => /rest/file/edit_form | | /search/*/*/*/add | /search/fetch (1) | | | -> /search/related (2) | | | => /search/add | | /search/*/delete | /search/fetch (1) | | | => /search/delete | | /search/*/edit | /search/fetch (1) | | | => /search/edit | | /search/*/read | /search/fetch (1) | | | => /search/read | | /search/*/*/*/remove | /search/fetch (1) | | | -> /search/related (2) | | | => /search/remove | | /search/*/rm | /search/fetch (1) | | | => /search/rm | | /search/*/save | /search/fetch (1) | | | => /search/save | | /search/*/update | /search/fetch (1) | | | => /search/update | | /search/*/view | /search/fetch (1) | | | => /search/view | '----------------------------------------+----------------------------------------' [info] Application powered by Catalyst 5.89000 t/05-pks.t ......... 1/2 [info] *** Request 1 (0.500/s) [2514] [Sun Jun 12 23:07:01 2011] *** [debug] "GET" request for "fileadaptermultipk/testfile;;/read" from "127.0.0.1" [debug] Path is "/fileadaptermultipk/read" [debug] Null PK value for 'bar' [debug] fetch: [] [error] Caught exception in MyApp::Controller::FileAdapterMultiPK->fetch "file param required at lib/CatalystX/CRUD.pm line 59 CatalystX::CRUD::throw_error('MyApp::File=HASH(0x2993ec50)', 'file param required') called at lib/CatalystX/CRUD/Object/File.pm line 48 CatalystX::CRUD::Object::File::new('MyApp::File') called at lib/CatalystX/CRUD/Model.pm line 179 CatalystX::CRUD::Model::new_object('MyApp::Model::File=HASH(0x297b2450)') called at lib/CatalystX/CRUD/Model/File.pm line 84 CatalystX::CRUD::Model::File::fetch('MyApp::Model::File=HASH(0x297b2450)') called at lib/CatalystX/CRUD/ModelAdapter/File.pm line 56 CatalystX::CRUD::ModelAdapter::File::fetch('CatalystX::CRUD::ModelAdapter::File=HASH(0x297c2b20)', 'MyApp::Controller::FileAdapterMultiPK=HASH(0x297c2050)', 'MyApp=HASH(0x2993c350)') called at lib/CatalystX/CRUD/Controller.pm line 695 CatalystX::CRUD::Controller::do_model('MyApp::Controller::FileAdapterMultiPK=HASH(0x297c2050)', 'MyApp=HASH(0x2993c350)', 'fetch') called at lib/CatalystX/CRUD/Controller.pm line 166 CatalystX::CRUD::Controller::fetch('MyApp::Controller::FileAdapterMultiPK=HASH(0x297c2050)', 'MyApp=HASH(0x2993c350)', 'testfile;;') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/Action.pm line 65 Catalyst::Action::execute('Catalyst::Action=HASH(0x2986f7f0)', 'MyApp::Controller::FileAdapterMultiPK=HASH(0x297c2050)', 'MyApp=HASH(0x2993c350)', 'testfile;;') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst.pm line 1668 eval {...} called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst.pm line 1668 Catalyst::execute('MyApp=HASH(0x2993c350)', 'MyApp::Controller::FileAdapterMultiPK', 'Catalyst::Action=HASH(0x2986f7f0)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/Action.pm line 60 Catalyst::Action::dispatch('Catalyst::Action=HASH(0x2986f7f0)', 'MyApp=HASH(0x2993c350)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/ActionChain.pm line 37 Catalyst::ActionChain::dispatch('Catalyst::ActionChain=HASH(0x2993ce60)', 'MyApp=HASH(0x2993c350)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/Controller.pm line 110 Catalyst::Controller::_ACTION('MyApp::Controller::FileAdapterMultiPK=HASH(0x297c2050)', 'MyApp=HASH(0x2993c350)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/Action.pm line 65 Catalyst::Action::execute('Catalyst::Action=HASH(0x2986f3b0)', 'MyApp::Controller::FileAdapterMultiPK=HASH(0x297c2050)', 'MyApp=HASH(0x2993c350)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst.pm line 1668 eval {...} called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst.pm line 1668 Catalyst::execute('MyApp=HASH(0x2993c350)', 'MyApp::Controller::FileAdapterMultiPK', 'Catalyst::Action=HASH(0x2986f3b0)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/Action.pm line 60 Catalyst::Action::dispatch('Catalyst::Action=HASH(0x2986f3b0)', 'MyApp=HASH(0x2993c350)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/Dispatcher.pm line 257 Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x29432d70)', 'forward', 'MyApp=HASH(0x2993c350)', '_ACTION') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/Dispatcher.pm line 237 Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x29432d70)', 'MyApp=HASH(0x2993c350)', '_ACTION') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst.pm line 379 Catalyst::forward('MyApp=HASH(0x2993c350)', '_ACTION') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/Controller.pm line 84 Catalyst::Controller::_DISPATCH('MyApp::Controller::FileAdapterMultiPK=HASH(0x297c2050)', 'MyApp=HASH(0x2993c350)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/Action.pm line 65 Catalyst::Action::execute('Catalyst::Action=HASH(0x2986f280)', 'MyApp::Controller::FileAdapterMultiPK=HASH(0x297c2050)', 'MyApp=HASH(0x2993c350)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst.pm line 1668 eval {...} called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst.pm line 1668 Catalyst::execute('MyApp=HASH(0x2993c350)', 'MyApp::Controller::FileAdapterMultiPK', 'Catalyst::Action=HASH(0x2986f280)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/Action.pm line 60 Catalyst::Action::dispatch('Catalyst::Action=HASH(0x2986f280)', 'MyApp=HASH(0x2993c350)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/Dispatcher.pm line 257 Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x29432d70)', 'forward', 'MyApp=HASH(0x2993c350)', '/fileadaptermultipk/_DISPATCH') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/Dispatcher.pm line 237 Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x29432d70)', 'MyApp=HASH(0x2993c350)', '/fileadaptermultipk/_DISPATCH') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst.pm line 379 Catalyst::forward('MyApp=HASH(0x2993c350)', '/fileadaptermultipk/_DISPATCH') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/Dispatcher.pm line 105 Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x29432d70)', 'MyApp=HASH(0x2993c350)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst.pm line 1616 Catalyst::dispatch('MyApp=HASH(0x2993c350)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst.pm line 1955 Catalyst::__ANON__() called at /usr/pkg/lib/perl5/site_perl/5.12.0/Try/Tiny.pm line 76 eval {...} called at /usr/pkg/lib/perl5/site_perl/5.12.0/Try/Tiny.pm line 67 Try::Tiny::try('CODE(0x2993bfd0)', 'Try::Tiny::Catch=REF(0x297c6db0)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst.pm line 1961 Catalyst::handle_request('MyApp', 'env', 'HASH(0x2993bcb0)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/Engine.pm line 823 Catalyst::Engine::__ANON__('CODE(0x2993bf20)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/HTTP/Message/PSGI.pm line 98 HTTP::Message::PSGI::res_from_psgi('CODE(0x2993be50)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/HTTP/Message/PSGI.pm line 153 HTTP::Response::from_psgi('HTTP::Response', 'CODE(0x2993be50)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Plack/Test/MockHTTP.pm line 24 Plack::Test::MockHTTP::__ANON__() called at /usr/pkg/lib/perl5/site_perl/5.12.0/Try/Tiny.pm line 71 eval {...} called at /usr/pkg/lib/perl5/site_perl/5.12.0/Try/Tiny.pm line 67 Try::Tiny::try('CODE(0x296aa6f0)', 'Try::Tiny::Catch=REF(0x298b61d0)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Plack/Test/MockHTTP.pm line 27 Plack::Test::MockHTTP::__ANON__('HTTP::Request=HASH(0x2835f640)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/Test.pm line 256 Catalyst::Test::__ANON__('CODE(0x2968eea0)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Plack/Test/MockHTTP.pm line 33 Plack::Test::MockHTTP::test_psgi('app', 'CODE(0x298bfa80)', 'client', 'CODE(0x298bf9d0)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Plack/Test.pm line 17 Plack::Test::test_psgi('app', 'CODE(0x298bfa80)', 'client', 'CODE(0x298bf9d0)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/Test.pm line 278 Catalyst::Test::local_request('MyApp', 'HTTP::Request=HASH(0x2835f640)') called at /usr/pkg/lib/perl5/site_perl/5.12.0/Catalyst/Test.pm line 30 Catalyst::Test::__ANON__('HTTP::Request=HASH(0x2835f640)') called at t/05-pks.t line 10" [debug] Response Code: 500; Content-Type: unknown; Content-Length: 7140 [info] Request took 0.125271s (7.983/s) .-----------------------------------------------------------------+-----------. | Action | Time | +-----------------------------------------------------------------+-----------+ | /fileadaptermultipk/auto | 0.000635s | | /fileadaptermultipk/fetch | 0.117422s | | /fileadaptermultipk/read | 0.000258s | | /fileadaptermultipk/end | 0.000324s | '-----------------------------------------------------------------+-----------' # Failed test 'exception thrown' # at t/05-pks.t line 16. # got: undef # expected: '500' # Looks like you failed 1 test of 2. t/05-pks.t ......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests t/boilerplate.t .... ok t/pod-coverage.t ... ok t/pod.t ............ ok Test Summary Report ------------------- t/01-file.t (Wstat: 1536 Tests: 40 Failed: 6) Failed tests: 5, 9, 15, 18, 20, 22 Non-zero exit status: 6 t/03-rest.t (Wstat: 4864 Tests: 54 Failed: 19) Failed tests: 11, 13, 16, 18, 20, 22, 24, 26, 28, 30 32, 34, 36, 38, 40, 42, 44, 46, 53 Non-zero exit status: 19 t/04-query.t (Wstat: 256 Tests: 16 Failed: 1) Failed test: 4 Non-zero exit status: 1 t/05-pks.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 Files=9, Tests=166, 24 wallclock secs ( 0.12 usr 0.09 sys + 12.69 cusr 1.20 csys = 14.11 CPU) Result: FAIL Failed 4/9 test programs. 27/166 subtests failed. *** Error code 255 Stop in /tmp/.cpan/build/CatalystX-CRUD-0.51-vFl9Kl. KARMAN/CatalystX-CRUD-0.51.tar.gz make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports KARMAN/CatalystX-CRUD-0.51.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: KARMAN/CatalystX-CRUD-0.51.tar.gz : make_test NO cpan[3]> reports KARMAN/CatalystX-CRUD-0.51.tar.gz Distribution: K/KA/KARMAN/CatalystX-CRUD-0.51.tar.gz CPAN: CPAN::DistnameInfo loaded ok (v0.12) Fetching 'http://www.cpantesters.org/show/CatalystX-CRUD.yaml'...DONE Catching error: "CPAN::Exception::yaml_process_error=HASH(0x2d721cc0)" at /usr/pkg/lib/perl5/5.12.0/CPAN.pm line 391 CPAN::shell() called at /usr/pkg/lib/perl5/5.12.0/App/Cpan.pm line 295 App::Cpan::_process_options('App::Cpan') called at /usr/pkg/lib/perl5/5.12.0/App/Cpan.pm line 364 App::Cpan::run('App::Cpan') called at /usr/pkg/bin/cpan line 11 cpan[4]>