PATH=/usr/bin:/bin:/data/fly2400/cpanfly-5.24/var/megalib/bin Start 2018-02-11T02:08:25 ActivePerl-2400 CPAN-2.10 Reading '/data/fly2400/cpanfly-5.24/var/cpan/Metadata' Database was generated on Sat, 10 Feb 2018 06:54:24 GMT Checksum for /data/fly2400/cpanfly-5.24/var/cpan/sources/authors/id/P/PR/PREACTION/Yancy-0.014.tar.gz ok Yancy-0.014/ Yancy-0.014/LICENSE Yancy-0.014/cpanfile Yancy-0.014/bin/ Yancy-0.014/CHANGES Yancy-0.014/MANIFEST Yancy-0.014/t/ Yancy-0.014/README Yancy-0.014/CONTRIBUTING.md Yancy-0.014/META.yml Yancy-0.014/lib/ Yancy-0.014/Makefile.PL Yancy-0.014/weaver.ini Yancy-0.014/eg/ Yancy-0.014/META.json Yancy-0.014/share/ Yancy-0.014/dist.ini Yancy-0.014/share/update_resources.sh Yancy-0.014/eg/screenshot.png Yancy-0.014/eg/yancy.conf Yancy-0.014/eg/yancy.null.conf Yancy-0.014/eg/templates/ Yancy-0.014/eg/yancy.data.json Yancy-0.014/eg/templates/people.html.ep Yancy-0.014/eg/templates/people/ Yancy-0.014/eg/templates/not_found.html.ep Yancy-0.014/eg/templates/people/_index.html.ep Yancy-0.014/lib/Yancy/ Yancy-0.014/lib/Yancy.pm Yancy-0.014/lib/Mojolicious/ Yancy-0.014/lib/Mojolicious/Plugin/ Yancy-0.014/lib/Mojolicious/Plugin/Yancy/ Yancy-0.014/lib/Mojolicious/Plugin/Yancy.pm Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/ Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/ Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/templates/ Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/templates/yancy/ Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/templates/layouts/ Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/templates/layouts/yancy.html.ep Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/templates/yancy/index.html.ep Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/ Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/popper.js Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/bootstrap.css Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/bootstrap.js Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/marked.js Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/vue.js Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/app.js Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/ Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/jquery.js Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/css/ Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/ Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.svg Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.woff2 Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.ttf Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.woff Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.eot Yancy-0.014/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/css/font-awesome.css Yancy-0.014/lib/Yancy/Plugin/ Yancy-0.014/lib/Yancy/Backend/ Yancy-0.014/lib/Yancy/Controller/ Yancy-0.014/lib/Yancy/Backend.pod Yancy-0.014/lib/Yancy/Controller/Yancy/ Yancy-0.014/lib/Yancy/Controller/Yancy.pm Yancy-0.014/lib/Yancy/Controller/Yancy/MultiTenant.pm Yancy-0.014/lib/Yancy/Backend/Dbic.pm Yancy-0.014/lib/Yancy/Backend/Pg.pm Yancy-0.014/lib/Yancy/Backend/Sqlite.pm Yancy-0.014/lib/Yancy/Backend/Test.pm Yancy-0.014/lib/Yancy/Backend/Mysql.pm Yancy-0.014/lib/Yancy/Plugin/Auth/ Yancy-0.014/lib/Yancy/Plugin/Auth/Basic.pm Yancy-0.014/t/cms.t Yancy-0.014/t/plugin/ Yancy-0.014/t/backend/ Yancy-0.014/t/controller/ Yancy-0.014/t/api.t Yancy-0.014/t/00-compile.t Yancy-0.014/t/00-report-prereqs.t Yancy-0.014/t/lib/ Yancy-0.014/t/00-report-prereqs.dd Yancy-0.014/t/filter.t Yancy-0.014/t/helpers.t Yancy-0.014/t/share/ Yancy-0.014/t/share/config.pl Yancy-0.014/t/share/withindex/ Yancy-0.014/t/share/templates/ Yancy-0.014/t/share/templates/people.html.ep Yancy-0.014/t/share/templates/people/ Yancy-0.014/t/share/templates/people/index.html.ep Yancy-0.014/t/share/withindex/templates/ Yancy-0.014/t/share/withindex/templates/index.html.ep Yancy-0.014/t/lib/Yancy/ Yancy-0.014/t/lib/Local/ Yancy-0.014/t/lib/Local/Test.pm Yancy-0.014/t/lib/Local/Schema/ Yancy-0.014/t/lib/Local/Schema.pm Yancy-0.014/t/lib/Local/Schema/Result/ Yancy-0.014/t/lib/Local/Schema/Result/user.pm Yancy-0.014/t/lib/Local/Schema/Result/people.pm Yancy-0.014/t/lib/Yancy/Plugin/ Yancy-0.014/t/lib/Yancy/Plugin/Test.pm Yancy-0.014/t/controller/multi_tenant.t Yancy-0.014/t/backend/pg.t Yancy-0.014/t/backend/sqlite.t Yancy-0.014/t/backend/mysql.t Yancy-0.014/t/backend/dbic.t Yancy-0.014/t/plugin/auth/ Yancy-0.014/t/plugin/auth/basic.t Yancy-0.014/bin/yancy Configuring P/PR/PREACTION/Yancy-0.014.tar.gz with Makefile.PL >>> /data/fly2400/ap2400-300558/bin/perl-static Makefile.PL Checking if your kit is complete... Looks good Have /data/fly2400/cpanfly-5.24/var/megalib Want /home/fly2400/ap2400-300558/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [x86_64-linux-thread-multi] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for Yancy Writing MYMETA.yml and MYMETA.json PREACTION/Yancy-0.014.tar.gz /data/fly2400/ap2400-300558/bin/perl-static Makefile.PL -- OK Running make for P/PR/PREACTION/Yancy-0.014.tar.gz >>> make cp share/update_resources.sh blib/lib/auto/share/dist/Yancy/update_resources.sh cp lib/Mojolicious/Plugin/Yancy/resources/templates/yancy/index.html.ep blib/lib/Mojolicious/Plugin/Yancy/resources/templates/yancy/index.html.ep cp lib/Mojolicious/Plugin/Yancy/resources/public/yancy/jquery.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/jquery.js cp lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.woff2 blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.woff2 cp lib/Mojolicious/Plugin/Yancy/resources/public/yancy/popper.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/popper.js cp lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.ttf blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.ttf cp lib/Mojolicious/Plugin/Yancy/resources/public/yancy/app.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/app.js cp lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.svg blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.svg cp lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.woff blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.woff cp lib/Yancy.pm blib/lib/Yancy.pm cp lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.eot blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.eot cp lib/Mojolicious/Plugin/Yancy/resources/public/yancy/bootstrap.css blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/bootstrap.css cp lib/Yancy/Backend/Dbic.pm blib/lib/Yancy/Backend/Dbic.pm cp lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/css/font-awesome.css blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/css/font-awesome.css cp lib/Mojolicious/Plugin/Yancy/resources/public/yancy/vue.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/vue.js cp lib/Mojolicious/Plugin/Yancy/resources/public/yancy/bootstrap.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/bootstrap.js cp lib/Yancy/Backend.pod blib/lib/Yancy/Backend.pod cp lib/Mojolicious/Plugin/Yancy.pm blib/lib/Mojolicious/Plugin/Yancy.pm cp lib/Mojolicious/Plugin/Yancy/resources/public/yancy/marked.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/marked.js cp lib/Mojolicious/Plugin/Yancy/resources/templates/layouts/yancy.html.ep blib/lib/Mojolicious/Plugin/Yancy/resources/templates/layouts/yancy.html.ep cp lib/Yancy/Plugin/Auth/Basic.pm blib/lib/Yancy/Plugin/Auth/Basic.pm cp lib/Yancy/Backend/Mysql.pm blib/lib/Yancy/Backend/Mysql.pm cp lib/Yancy/Backend/Pg.pm blib/lib/Yancy/Backend/Pg.pm cp lib/Yancy/Backend/Sqlite.pm blib/lib/Yancy/Backend/Sqlite.pm cp lib/Yancy/Controller/Yancy.pm blib/lib/Yancy/Controller/Yancy.pm cp lib/Yancy/Backend/Test.pm blib/lib/Yancy/Backend/Test.pm cp lib/Yancy/Controller/Yancy/MultiTenant.pm blib/lib/Yancy/Controller/Yancy/MultiTenant.pm cp bin/yancy blib/script/yancy "/data/fly2400/ap2400-300558/bin/perl-static" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/yancy Manifying 1 pod document Manifying 11 pod documents PREACTION/Yancy-0.014.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 Skip blib/lib/auto/share/dist/Yancy/update_resources.sh (unchanged) PERL_DL_NONLAZY=1 "/data/fly2400/ap2400-300558/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/backend/*.t t/controller/*.t t/plugin/auth/*.t t/00-compile.t ............... 1..6 ok 1 - Mojolicious/Plugin/Yancy.pm loaded ok ok 2 - Yancy.pm loaded ok ok 3 - Yancy/Controller/Yancy.pm loaded ok ok 4 - Yancy/Controller/Yancy/MultiTenant.pm loaded ok ok 5 - Yancy/Plugin/Auth/Basic.pm loaded ok ok 6 # skip bin/yancy isn't perl ok # # Versions for all modules listed in MYMETA.json (including optional ones): # # === Configure Requires === # # Module Want Have # ----------------------- ---- ---- # ExtUtils::MakeMaker any 7.16 # File::ShareDir::Install 0.06 0.11 # # === Build Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker any 7.16 # # === Test Requires === # # Module Want Have # ------------------- -------- -------- # ExtUtils::MakeMaker any 7.16 # File::Spec any 3.62 # IO::Handle any 1.36 # IPC::Open3 any 1.20 # Test::More 1.001005 1.302122 # # === Test Recommends === # # Module Want Have # ---------- -------- -------- # CPAN::Meta 2.120900 2.150005 # # === Runtime Requires === # # Module Want Have # ---------------------------- ---- ------ # File::Spec::Functions any 3.62 # FindBin any 1.51 # Mojolicious 7.15 7.31 # Mojolicious::Plugin::OpenAPI 1.22 1.25 # Sys::Hostname any 1.2001 # t/00-report-prereqs.t ........ 1..1 ok 1 ok [Sun Feb 11 02:08:33 2018] [debug] GET "/yancy/api" [Sun Feb 11 02:08:33 2018] [debug] Routing to a callback [Sun Feb 11 02:08:33 2018] [debug] 200 OK (0.005302s, 188.608/s) [Sun Feb 11 02:08:34 2018] [debug] GET "/yancy/api" [Sun Feb 11 02:08:34 2018] [debug] Routing to a callback [Sun Feb 11 02:08:34 2018] [debug] 200 OK (0.005121s, 195.274/s) [Sun Feb 11 02:08:34 2018] [debug] GET "/yancy/api/people" [Sun Feb 11 02:08:34 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "list_items" [Sun Feb 11 02:08:34 2018] [debug] Your secret passphrase needs to be changed [Sun Feb 11 02:08:34 2018] [debug] 200 OK (0.005033s, 198.689/s) [Sun Feb 11 02:08:34 2018] [debug] GET "/yancy/api/people" [Sun Feb 11 02:08:34 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "list_items" [Sun Feb 11 02:08:34 2018] [debug] 200 OK (0.001909s, 523.834/s) [Sun Feb 11 02:08:34 2018] [debug] GET "/yancy/api/people" [Sun Feb 11 02:08:34 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "list_items" [Sun Feb 11 02:08:34 2018] [debug] 200 OK (0.002036s, 491.159/s) [Sun Feb 11 02:08:34 2018] [debug] GET "/yancy/api/people" [Sun Feb 11 02:08:34 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "list_items" [Sun Feb 11 02:08:34 2018] [debug] 200 OK (0.002602s, 384.320/s) [Sun Feb 11 02:08:34 2018] [debug] GET "/yancy/api/people" [Sun Feb 11 02:08:34 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "list_items" [Sun Feb 11 02:08:34 2018] [debug] 200 OK (0.00218s, 458.716/s) [Sun Feb 11 02:08:34 2018] [debug] GET "/yancy/api/people/1" [Sun Feb 11 02:08:34 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "get_item" [Sun Feb 11 02:08:34 2018] [debug] 200 OK (0.001861s, 537.346/s) [Sun Feb 11 02:08:34 2018] [debug] GET "/yancy/api/users/doug" [Sun Feb 11 02:08:34 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "get_item" [Sun Feb 11 02:08:34 2018] [debug] 200 OK (0.002691s, 371.609/s) [Sun Feb 11 02:08:34 2018] [debug] PUT "/yancy/api/people/1" [Sun Feb 11 02:08:34 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "set_item" [Sun Feb 11 02:08:34 2018] [debug] 200 OK (0.002371s, 421.763/s) [Sun Feb 11 02:08:34 2018] [debug] PUT "/yancy/api/users/doug" [Sun Feb 11 02:08:34 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "set_item" [Sun Feb 11 02:08:34 2018] [debug] 200 OK (0.002139s, 467.508/s) [Sun Feb 11 02:08:34 2018] [debug] POST "/yancy/api/people" [Sun Feb 11 02:08:34 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "add_item" [Sun Feb 11 02:08:34 2018] [debug] 201 Created (0.001971s, 507.357/s) [Sun Feb 11 02:08:34 2018] [debug] POST "/yancy/api/users" [Sun Feb 11 02:08:34 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "add_item" [Sun Feb 11 02:08:34 2018] [debug] 201 Created (0.001868s, 535.332/s) [Sun Feb 11 02:08:34 2018] [debug] DELETE "/yancy/api/people/3" [Sun Feb 11 02:08:34 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "delete_item" [Sun Feb 11 02:08:34 2018] [debug] 204 No Content (0.001487s, 672.495/s) [Sun Feb 11 02:08:34 2018] [debug] DELETE "/yancy/api/users/flexo" [Sun Feb 11 02:08:34 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "delete_item" [Sun Feb 11 02:08:34 2018] [debug] 204 No Content (0.001129s, 885.740/s) t/api.t ...................... # Subtest: fetch generated OpenAPI spec ok 1 - GET /yancy/api ok 2 - 200 OK ok 3 - Content-Type is similar ok 4 - exact match for JSON Pointer "/definitions/peopleItem" ok 5 - exact match for JSON Pointer "/definitions/usersItem" ok 6 - has value for JSON Pointer "/paths/~1people/get/responses/200" ok 7 - has value for JSON Pointer "/paths/~1people/get/responses/default" ok 8 - has value for JSON Pointer "/paths/~1people/post/parameters" ok 9 - has value for JSON Pointer "/paths/~1people/post/responses/201" ok 10 - has value for JSON Pointer "/paths/~1people/post/responses/400" ok 11 - has value for JSON Pointer "/paths/~1people/post/responses/default" ok 12 - has value for JSON Pointer "/paths/~1people~1{id}/parameters" ok 13 - has value for JSON Pointer "/paths/~1people~1{id}/get/responses/200" ok 14 - has value for JSON Pointer "/paths/~1people~1{id}/get/responses/404" ok 15 - has value for JSON Pointer "/paths/~1people~1{id}/get/responses/default" ok 16 - has value for JSON Pointer "/paths/~1people~1{id}/put/parameters" ok 17 - has value for JSON Pointer "/paths/~1people~1{id}/put/responses/200" ok 18 - has value for JSON Pointer "/paths/~1people~1{id}/put/responses/404" ok 19 - has value for JSON Pointer "/paths/~1people~1{id}/put/responses/default" ok 20 - has value for JSON Pointer "/paths/~1people~1{id}/delete/responses/204" ok 21 - has value for JSON Pointer "/paths/~1people~1{id}/delete/responses/404" ok 22 - has value for JSON Pointer "/paths/~1people~1{id}/delete/responses/default" # Subtest: schema completely from database ok 1 - GET /yancy/api ok 2 - 200 OK ok 3 - Content-Type is similar ok 4 - exact match for JSON Pointer "/definitions/peopleItem" ok 5 - exact match for JSON Pointer "/definitions/usersItem" 1..5 ok 23 - schema completely from database 1..23 ok 1 - fetch generated OpenAPI spec # Subtest: fetch list ok 1 - GET /yancy/api/people ok 2 - 200 OK ok 3 - exact match for JSON Pointer "" # Subtest: limit/offset ok 1 - GET /yancy/api/people?limit=1 ok 2 - 200 OK ok 3 - exact match for JSON Pointer "" ok 4 - GET /yancy/api/people?offset=1 ok 5 - 200 OK ok 6 - exact match for JSON Pointer "" 1..6 ok 4 - limit/offset # Subtest: order_by ok 1 - GET /yancy/api/people?order_by=asc:name ok 2 - 200 OK ok 3 - exact match for JSON Pointer "" ok 4 - GET /yancy/api/people?order_by=desc:name ok 5 - 200 OK ok 6 - exact match for JSON Pointer "" 1..6 ok 5 - order_by 1..5 ok 2 - fetch list # Subtest: fetch one ok 1 - GET /yancy/api/people/1 ok 2 - 200 OK ok 3 - exact match for JSON Pointer "" ok 4 - GET /yancy/api/users/doug ok 5 - 200 OK ok 6 - exact match for JSON Pointer "" 1..6 ok 3 - fetch one # Subtest: set one ok 1 - PUT /yancy/api/people/1 ok 2 - 200 OK ok 3 - exact match for JSON Pointer "" ok 4 ok 5 - PUT /yancy/api/users/doug ok 6 - 200 OK ok 7 - exact match for JSON Pointer "" ok 8 1..8 ok 4 - set one # Subtest: add one ok 1 - POST /yancy/api/people ok 2 - 201 Created ok 3 - exact match for JSON Pointer "" ok 4 ok 5 - POST /yancy/api/users ok 6 - 201 Created ok 7 - exact match for JSON Pointer "" ok 8 1..8 ok 5 - add one # Subtest: delete one ok 1 - DELETE /yancy/api/people/3 ok 2 - 204 No Content ok 3 - person 3 not exists ok 4 - DELETE /yancy/api/users/flexo ok 5 - 204 No Content ok 6 - flexo not exists 1..6 ok 6 - delete one 1..6 ok t/backend/dbic.t ............. # Subtest: new ok 1 - An object of class 'Yancy::Backend::Dbic' isa 'Yancy::Backend::Dbic' ok 2 - An object of class 'Local::Schema' isa 'Local::Schema' ok 3 # Subtest: new with connection ok 1 - An object of class 'Yancy::Backend::Dbic' isa 'Yancy::Backend::Dbic' ok 2 - An object of class 'Local::Schema' isa 'Local::Schema' ok 3 1..3 ok 4 - new with connection 1..4 ok 1 - new # Subtest: default id field # Subtest: list ok 1 - list all items is correct ok 2 - list with offset is correct ok 3 - list with limit is correct ok 4 - list with offset/limit is correct ok 5 - list with search equals is correct ok 6 - list with search starts with is correct ok 7 - list with search ends with is correct ok 8 - list with order by asc is correct ok 9 - list with order by desc is correct 1..9 ok 1 - list # Subtest: get ok 1 - created item correct 1..1 ok 2 - get # Subtest: create ok 1 - created item correct 1..1 ok 3 - create # Subtest: set ok 1 1..1 ok 4 - set # Subtest: delete ok 1 - deleted item not found 1..1 ok 5 - delete # Subtest: read_schema ok 1 - schema read from database is correct 1..1 ok 6 - read_schema 1..6 ok 2 - default id field # Subtest: custom id field # Subtest: list ok 1 - list all items is correct ok 2 - list with offset is correct ok 3 - list with limit is correct ok 4 - list with offset/limit is correct ok 5 - list with search equals is correct ok 6 - list with search starts with is correct ok 7 - list with search ends with is correct ok 8 - list with order by asc is correct ok 9 - list with order by desc is correct 1..9 ok 1 - list # Subtest: get ok 1 - created item correct 1..1 ok 2 - get # Subtest: create ok 1 - created item correct 1..1 ok 3 - create # Subtest: set ok 1 1..1 ok 4 - set # Subtest: delete ok 1 - deleted item not found 1..1 ok 5 - delete # Subtest: read_schema ok 1 - schema read from database is correct 1..1 ok 6 - read_schema 1..6 ok 3 - custom id field 1..3 ok t/backend/mysql.t ............ skipped: Mojo::mysql >= 1.0 required for this test t/backend/pg.t ............... skipped: set TEST_ONLINE_PG to enable this test t/backend/sqlite.t ........... skipped: Mojo::SQLite >= 3.0 required for this test [Sun Feb 11 02:08:37 2018] [debug] GET "/" [Sun Feb 11 02:08:37 2018] [debug] Routing to a callback [Sun Feb 11 02:08:37 2018] [debug] Template "index.html.ep" not found [Sun Feb 11 02:08:37 2018] [debug] Template "index.html.ep" not found [Sun Feb 11 02:08:37 2018] [debug] Rendering template "not_found.development.html.ep" from DATA section [Sun Feb 11 02:08:37 2018] [debug] Rendering template "layouts/yancy.html.ep" [Sun Feb 11 02:08:37 2018] [debug] 404 Not Found (0.015142s, 66.041/s) [Sun Feb 11 02:08:37 2018] [debug] GET "/" [Sun Feb 11 02:08:37 2018] [debug] Routing to a callback [Sun Feb 11 02:08:37 2018] [debug] Template "index.html.ep" not found [Sun Feb 11 02:08:37 2018] [debug] Template "index.html.ep" not found [Sun Feb 11 02:08:37 2018] [debug] Template "not_found.testing.html.ep" not found [Sun Feb 11 02:08:37 2018] [debug] Template "not_found.html.ep" not found [Sun Feb 11 02:08:37 2018] [debug] Rendering template "mojo/not_found.html.ep" [Sun Feb 11 02:08:37 2018] [debug] 404 Not Found (0.004693s, 213.083/s) [Sun Feb 11 02:08:37 2018] [debug] GET "/yancy" [Sun Feb 11 02:08:37 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "index" [Sun Feb 11 02:08:37 2018] [debug] Action not found in controller [Sun Feb 11 02:08:37 2018] [debug] Rendering template "yancy/index.html.ep" [Sun Feb 11 02:08:37 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Sun Feb 11 02:08:37 2018] [debug] 200 OK (0.015135s, 66.072/s) [Sun Feb 11 02:08:37 2018] [debug] GET "/people" [Sun Feb 11 02:08:37 2018] [debug] Routing to a callback [Sun Feb 11 02:08:37 2018] [debug] Rendering template "people.html.ep" [Sun Feb 11 02:08:37 2018] [debug] 200 OK (0.001831s, 546.150/s) [Sun Feb 11 02:08:37 2018] [debug] GET "/people/1" [Sun Feb 11 02:08:37 2018] [debug] Routing to a callback [Sun Feb 11 02:08:37 2018] [debug] Template "people/1.html.ep" not found [Sun Feb 11 02:08:37 2018] [debug] Rendering template "people/index.html.ep" [Sun Feb 11 02:08:37 2018] [debug] 200 OK (0.002037s, 490.918/s) [Sun Feb 11 02:08:37 2018] [debug] GET "/people/1/doug/bell/is/great" [Sun Feb 11 02:08:37 2018] [debug] Routing to a callback [Sun Feb 11 02:08:37 2018] [debug] Template "people/1/doug/bell/is/great.html.ep" not found [Sun Feb 11 02:08:37 2018] [debug] Template "people/1/doug/bell/is/index.html.ep" not found [Sun Feb 11 02:08:37 2018] [debug] Rendering cached template "not_found.development.html.ep" from DATA section [Sun Feb 11 02:08:37 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Sun Feb 11 02:08:37 2018] [debug] 404 Not Found (0.002011s, 497.265/s) [Sun Feb 11 02:08:37 2018] [debug] GET "/" [Sun Feb 11 02:08:37 2018] [debug] Routing to a callback [Sun Feb 11 02:08:37 2018] [debug] Rendering template "index.html.ep" [Sun Feb 11 02:08:37 2018] [debug] 200 OK (0.00427s, 234.192/s) [Sun Feb 11 02:08:37 2018] [debug] GET "/perldoc" [Sun Feb 11 02:08:37 2018] [debug] Routing to a callback [Sun Feb 11 02:08:37 2018] [debug] Rendering template "mojo/perldoc.html.ep" [Sun Feb 11 02:08:37 2018] [debug] Rendering template "mojo/menubar.html.ep" [Sun Feb 11 02:08:37 2018] [debug] Your secret passphrase needs to be changed [Sun Feb 11 02:08:37 2018] [debug] 200 OK (0.14097s, 7.094/s) [Sun Feb 11 02:08:37 2018] [debug] GET "/test" [Sun Feb 11 02:08:37 2018] [debug] Routing to a callback [Sun Feb 11 02:08:37 2018] [debug] 200 OK (0.000545s, 1834.862/s) t/cms.t ...................... # Subtest: default page ok 1 - GET / ok 2 - 404 Not Found ok 3 - exact match for selector "h1" ok 4 - GET / ok 5 - 404 Not Found ok 6 - no match for selector "h1" ok 7 - GET /yancy ok 8 - 200 OK 1..8 ok 1 - default page # Subtest: template handler ok 1 - GET /people ok 2 - 200 OK ok 3 - exact match for selector "h1" ok 4 - exact match for selector "li:first-child" ok 5 - exact match for selector "li:nth-child(2)" ok 6 - GET /people/1 ok 7 - 200 OK ok 8 - exact match for selector "h1" ok 9 - GET /people/1/doug/bell/is/great ok 10 - 404 Not Found # Subtest: default index ok 1 - GET / ok 2 - 200 OK ok 3 - exact match for selector "h1" 1..3 ok 11 - default index 1..11 ok 2 - template handler # Subtest: plugins ok 1 - GET /perldoc ok 2 - PODRenderer returns 200 OK ok 3 - GET /test ok 4 - 200 OK ok 5 - exact match for JSON Pointer "" 1..5 ok 3 - plugins 1..3 ok [Sun Feb 11 02:08:38 2018] [debug] GET "/yancy/api" [Sun Feb 11 02:08:38 2018] [debug] Routing to a callback [Sun Feb 11 02:08:38 2018] [debug] Routing to a callback [Sun Feb 11 02:08:38 2018] [debug] 200 OK (0.00456s, 219.298/s) [Sun Feb 11 02:08:38 2018] [debug] GET "/yancy/api/blog" [Sun Feb 11 02:08:38 2018] [debug] Routing to a callback [Sun Feb 11 02:08:38 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "list_items" [Sun Feb 11 02:08:38 2018] [debug] Your secret passphrase needs to be changed Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 583. Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 583. [Sun Feb 11 02:08:38 2018] [debug] 200 OK (0.00728s, 137.363/s) [Sun Feb 11 02:08:38 2018] [debug] GET "/yancy/api/blog" [Sun Feb 11 02:08:38 2018] [debug] Routing to a callback [Sun Feb 11 02:08:38 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "list_items" Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 583. [Sun Feb 11 02:08:38 2018] [debug] 200 OK (0.003904s, 256.148/s) [Sun Feb 11 02:08:38 2018] [debug] GET "/yancy/api/blog" [Sun Feb 11 02:08:38 2018] [debug] Routing to a callback [Sun Feb 11 02:08:38 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "list_items" Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 583. [Sun Feb 11 02:08:38 2018] [debug] 200 OK (0.003531s, 283.206/s) [Sun Feb 11 02:08:38 2018] [debug] GET "/yancy/api/blog" [Sun Feb 11 02:08:38 2018] [debug] Routing to a callback [Sun Feb 11 02:08:38 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "list_items" Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 583. Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 583. [Sun Feb 11 02:08:38 2018] [debug] 200 OK (0.004514s, 221.533/s) [Sun Feb 11 02:08:38 2018] [debug] GET "/yancy/api/blog" [Sun Feb 11 02:08:38 2018] [debug] Routing to a callback [Sun Feb 11 02:08:38 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "list_items" Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 583. Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 583. [Sun Feb 11 02:08:38 2018] [debug] 200 OK (0.004162s, 240.269/s) [Sun Feb 11 02:08:38 2018] [debug] GET "/yancy/api/blog/1" [Sun Feb 11 02:08:38 2018] [debug] Routing to a callback [Sun Feb 11 02:08:38 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "get_item" Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 583. [Sun Feb 11 02:08:38 2018] [debug] 200 OK (0.003762s, 265.816/s) [Sun Feb 11 02:08:38 2018] [debug] GET "/yancy/api/blog/2" [Sun Feb 11 02:08:38 2018] [debug] Routing to a callback [Sun Feb 11 02:08:38 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "get_item" [Sun Feb 11 02:08:38 2018] [debug] 401 Unauthorized (0.002852s, 350.631/s) [Sun Feb 11 02:08:38 2018] [debug] PUT "/yancy/api/blog/1" [Sun Feb 11 02:08:38 2018] [debug] Routing to a callback [Sun Feb 11 02:08:38 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "set_item" Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 583. [Sun Feb 11 02:08:38 2018] [warn] OpenAPI <<< PUT /yancy/api/blog/1 [{"message":"Read-only.","path":"\/newItem\/user_id"}] [Sun Feb 11 02:08:38 2018] [debug] 400 Bad Request (0.004266s, 234.412/s) [Sun Feb 11 02:08:38 2018] [debug] PUT "/yancy/api/blog/1" [Sun Feb 11 02:08:38 2018] [debug] Routing to a callback [Sun Feb 11 02:08:38 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "set_item" Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 583. Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 583. [Sun Feb 11 02:08:38 2018] [debug] 200 OK (0.003655s, 273.598/s) [Sun Feb 11 02:08:38 2018] [debug] PUT "/yancy/api/blog/2" [Sun Feb 11 02:08:38 2018] [debug] Routing to a callback [Sun Feb 11 02:08:38 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "set_item" Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 583. [Sun Feb 11 02:08:38 2018] [debug] 401 Unauthorized (0.003662s, 273.075/s) [Sun Feb 11 02:08:38 2018] [debug] POST "/yancy/api/blog" [Sun Feb 11 02:08:38 2018] [debug] Routing to a callback [Sun Feb 11 02:08:38 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "add_item" Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 583. Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 583. [Sun Feb 11 02:08:38 2018] [debug] 201 Created (0.003562s, 280.741/s) [Sun Feb 11 02:08:38 2018] [debug] POST "/yancy/api/blog" [Sun Feb 11 02:08:38 2018] [debug] Routing to a callback [Sun Feb 11 02:08:38 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "add_item" Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 583. [Sun Feb 11 02:08:38 2018] [warn] OpenAPI <<< POST /yancy/api/blog [{"message":"Read-only.","path":"\/newItem\/user_id"}] [Sun Feb 11 02:08:38 2018] [debug] 400 Bad Request (0.003364s, 297.265/s) [Sun Feb 11 02:08:38 2018] [debug] DELETE "/yancy/api/blog/4" [Sun Feb 11 02:08:38 2018] [debug] Routing to a callback [Sun Feb 11 02:08:38 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "delete_item" [Sun Feb 11 02:08:38 2018] [debug] 204 No Content (0.002425s, 412.371/s) [Sun Feb 11 02:08:38 2018] [debug] DELETE "/yancy/api/blog/2" [Sun Feb 11 02:08:38 2018] [debug] Routing to a callback [Sun Feb 11 02:08:38 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "delete_item" [Sun Feb 11 02:08:38 2018] [debug] 401 Unauthorized (0.002743s, 364.564/s) t/controller/multi_tenant.t .. # Subtest: fetch generated OpenAPI spec ok 1 - GET /yancy/api ok 2 - 200 OK ok 3 - Content-Type is similar ok 4 - exact match for JSON Pointer "/definitions/blogItem" ok 5 - has value for JSON Pointer "/paths/~1blog/get/responses/200" ok 6 - has value for JSON Pointer "/paths/~1blog/get/responses/default" ok 7 - has value for JSON Pointer "/paths/~1blog/post/parameters" ok 8 - has value for JSON Pointer "/paths/~1blog/post/responses/201" ok 9 - has value for JSON Pointer "/paths/~1blog/post/responses/400" ok 10 - has value for JSON Pointer "/paths/~1blog/post/responses/default" ok 11 - has value for JSON Pointer "/paths/~1blog~1{id}/parameters" ok 12 - has value for JSON Pointer "/paths/~1blog~1{id}/get/responses/200" ok 13 - has value for JSON Pointer "/paths/~1blog~1{id}/get/responses/404" ok 14 - has value for JSON Pointer "/paths/~1blog~1{id}/get/responses/default" ok 15 - has value for JSON Pointer "/paths/~1blog~1{id}/put/parameters" ok 16 - has value for JSON Pointer "/paths/~1blog~1{id}/put/responses/200" ok 17 - has value for JSON Pointer "/paths/~1blog~1{id}/put/responses/404" ok 18 - has value for JSON Pointer "/paths/~1blog~1{id}/put/responses/default" ok 19 - has value for JSON Pointer "/paths/~1blog~1{id}/delete/responses/204" ok 20 - has value for JSON Pointer "/paths/~1blog~1{id}/delete/responses/404" ok 21 - has value for JSON Pointer "/paths/~1blog~1{id}/delete/responses/default" 1..21 ok 1 - fetch generated OpenAPI spec # Subtest: fetch list ok 1 - GET /yancy/api/blog ok 2 - 200 OK ok 3 - exact match for JSON Pointer "" # Subtest: limit/offset ok 1 - GET /yancy/api/blog?limit=1 ok 2 - 200 OK ok 3 - exact match for JSON Pointer "" ok 4 - GET /yancy/api/blog?offset=1 ok 5 - 200 OK ok 6 - exact match for JSON Pointer "" 1..6 ok 4 - limit/offset # Subtest: order_by ok 1 - GET /yancy/api/blog?order_by=asc:title ok 2 - 200 OK ok 3 - exact match for JSON Pointer "" ok 4 - GET /yancy/api/blog?order_by=desc:title ok 5 - 200 OK ok 6 - exact match for JSON Pointer "" 1..6 ok 5 - order_by 1..5 ok 2 - fetch list # Subtest: fetch one ok 1 - GET /yancy/api/blog/1 ok 2 - 200 OK ok 3 - exact match for JSON Pointer "" ok 4 - GET /yancy/api/blog/2 ok 5 - 401 Unauthorized ok 6 - exact match for JSON Pointer "" 1..6 ok 3 - fetch one # Subtest: set one ok 1 - PUT /yancy/api/blog/1 ok 2 - cannot save blog with user_id ok 3 - has value for JSON Pointer "errors" ok 4 - PUT /yancy/api/blog/1 ok 5 - 200 OK ok 6 - exact match for JSON Pointer "" ok 7 ok 8 - PUT /yancy/api/blog/2 ok 9 - 401 Unauthorized ok 10 - exact match for JSON Pointer "" 1..10 ok 4 - set one # Subtest: add one ok 1 - POST /yancy/api/blog ok 2 - 201 Created ok 3 - exact match for JSON Pointer "" ok 4 ok 5 - POST /yancy/api/blog ok 6 - 400 Bad Request ok 7 - has value for JSON Pointer "errors" 1..7 ok 5 - add one # Subtest: delete one ok 1 - DELETE /yancy/api/blog/4 ok 2 - 204 No Content ok 3 - blog 4 not exists ok 4 - DELETE /yancy/api/blog/2 ok 5 - 401 Unauthorized ok 6 - exact match for JSON Pointer "" 1..6 ok 6 - delete one 1..6 ok [Sun Feb 11 02:08:39 2018] [debug] PUT "/yancy/api/users/doug" [Sun Feb 11 02:08:39 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "set_item" [Sun Feb 11 02:08:39 2018] [debug] Your secret passphrase needs to be changed [Sun Feb 11 02:08:39 2018] [debug] 200 OK (0.005619s, 177.968/s) [Sun Feb 11 02:08:39 2018] [debug] POST "/yancy/api/users" [Sun Feb 11 02:08:39 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "add_item" [Sun Feb 11 02:08:39 2018] [debug] 201 Created (0.003257s, 307.031/s) t/filter.t ................... # Subtest: register and run a filter ok 1 - no filter, no change ok 2 - no filter, no change ok 3 - filter is executed 1..3 ok 1 - register and run a filter # Subtest: api runs filters during set ok 1 - PUT /yancy/api/users/doug ok 2 - 200 OK ok 3 - new password is digested correctly 1..3 ok 2 - api runs filters during set # Subtest: api runs filters during create ok 1 - POST /yancy/api/users ok 2 - 201 Created ok 3 - new password is digested correctly 1..3 ok 3 - api runs filters during create 1..3 ok t/helpers.t .................. # Subtest: list ok 1 ok 2 1..2 ok 1 - list # Subtest: get ok 1 1..1 ok 2 - get # Subtest: set ok 1 # Subtest: set dies with missing fields ok 1 - set() dies ok 2 ok 3 - person is not saved 1..3 ok 2 - set dies with missing fields 1..2 ok 3 - set # Subtest: create ok 1 # Subtest: create dies with missing fields ok 1 - create() dies ok 2 ok 3 - no new person was added 1..3 ok 2 - create dies with missing fields 1..2 ok 4 - create # Subtest: delete ok 1 - person 3 not exists 1..1 ok 5 - delete 1..5 ok [Sun Feb 11 02:08:41 2018] [debug] GET "/yancy" [Sun Feb 11 02:08:41 2018] [debug] Routing to a callback [Sun Feb 11 02:08:41 2018] [debug] Your secret passphrase needs to be changed [Sun Feb 11 02:08:41 2018] [debug] Rendering template "yancy/auth/unauthorized.html.ep" from DATA section [Sun Feb 11 02:08:41 2018] [debug] Rendering template "layouts/yancy.html.ep" [Sun Feb 11 02:08:41 2018] [debug] 401 Unauthorized (0.013838s, 72.265/s) [Sun Feb 11 02:08:41 2018] [debug] GET "/yancy/api" [Sun Feb 11 02:08:41 2018] [debug] Routing to a callback [Sun Feb 11 02:08:41 2018] [debug] Template ".html.ep" not found [Sun Feb 11 02:08:41 2018] [debug] 401 Unauthorized (0.003452s, 289.687/s) [Sun Feb 11 02:08:41 2018] [debug] GET "/yancy/api/users" [Sun Feb 11 02:08:41 2018] [debug] Routing to a callback [Sun Feb 11 02:08:41 2018] [debug] Template "users.html.ep" not found [Sun Feb 11 02:08:41 2018] [debug] 401 Unauthorized (0.002184s, 457.875/s) [Sun Feb 11 02:08:41 2018] [debug] POST "/yancy/api/users" [Sun Feb 11 02:08:41 2018] [debug] Routing to a callback [Sun Feb 11 02:08:41 2018] [debug] Template "users.html.ep" not found [Sun Feb 11 02:08:41 2018] [debug] 401 Unauthorized (0.00119s, 840.336/s) [Sun Feb 11 02:08:41 2018] [debug] GET "/yancy/api/users/doug" [Sun Feb 11 02:08:41 2018] [debug] Routing to a callback [Sun Feb 11 02:08:41 2018] [debug] Template "usersid.html.ep" not found [Sun Feb 11 02:08:41 2018] [debug] 401 Unauthorized (0.001854s, 539.374/s) [Sun Feb 11 02:08:41 2018] [debug] PUT "/yancy/api/users/doug" [Sun Feb 11 02:08:41 2018] [debug] Routing to a callback [Sun Feb 11 02:08:41 2018] [debug] Template "usersid.html.ep" not found [Sun Feb 11 02:08:41 2018] [debug] 401 Unauthorized (0.001301s, 768.640/s) [Sun Feb 11 02:08:41 2018] [debug] DELETE "/yancy/api/users/doug" [Sun Feb 11 02:08:41 2018] [debug] Routing to a callback [Sun Feb 11 02:08:41 2018] [debug] Template "usersid.html.ep" not found [Sun Feb 11 02:08:41 2018] [debug] 401 Unauthorized (0.001578s, 633.714/s) [Sun Feb 11 02:08:41 2018] [debug] GET "/yancy/login" [Sun Feb 11 02:08:41 2018] [debug] Routing to a callback [Sun Feb 11 02:08:41 2018] [debug] Rendering template "yancy/auth/login.html.ep" from DATA section [Sun Feb 11 02:08:41 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Sun Feb 11 02:08:41 2018] [debug] 200 OK (0.002979s, 335.683/s) [Sun Feb 11 02:08:41 2018] [debug] POST "/yancy/login" [Sun Feb 11 02:08:41 2018] [debug] Routing to a callback [Sun Feb 11 02:08:41 2018] [debug] 303 See Other (0.001186s, 843.170/s) [Sun Feb 11 02:08:41 2018] [debug] GET "/yancy" [Sun Feb 11 02:08:41 2018] [debug] Routing to a callback [Sun Feb 11 02:08:41 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "index" [Sun Feb 11 02:08:41 2018] [debug] Action not found in controller [Sun Feb 11 02:08:41 2018] [debug] Rendering template "yancy/index.html.ep" [Sun Feb 11 02:08:41 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Sun Feb 11 02:08:41 2018] [debug] 200 OK (0.015465s, 64.662/s) [Sun Feb 11 02:08:41 2018] [debug] GET "/yancy/api" [Sun Feb 11 02:08:41 2018] [debug] Routing to a callback [Sun Feb 11 02:08:41 2018] [debug] Routing to a callback [Sun Feb 11 02:08:41 2018] [debug] 200 OK (0.004286s, 233.318/s) [Sun Feb 11 02:08:41 2018] [debug] GET "/yancy/api/users" [Sun Feb 11 02:08:41 2018] [debug] Routing to a callback [Sun Feb 11 02:08:41 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "list_items" Use of uninitialized value in string comparison (cmp) at /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Yancy-0.014-RZ9dcn/blib/lib/Yancy/Backend/Test.pm line 52. Use of uninitialized value in string comparison (cmp) at /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Yancy-0.014-RZ9dcn/blib/lib/Yancy/Backend/Test.pm line 52. [Sun Feb 11 02:08:41 2018] [debug] 200 OK (0.002225s, 449.438/s) [Sun Feb 11 02:08:41 2018] [debug] GET "/yancy/api/users/doug" [Sun Feb 11 02:08:41 2018] [debug] Routing to a callback [Sun Feb 11 02:08:41 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "get_item" [Sun Feb 11 02:08:41 2018] [debug] 200 OK (0.00191s, 523.560/s) [Sun Feb 11 02:08:41 2018] [debug] PUT "/yancy/api/users/doug" [Sun Feb 11 02:08:41 2018] [debug] Routing to a callback [Sun Feb 11 02:08:41 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "set_item" [Sun Feb 11 02:08:41 2018] [debug] 200 OK (0.002099s, 476.417/s) [Sun Feb 11 02:08:41 2018] [debug] GET "/yancy/logout" [Sun Feb 11 02:08:41 2018] [debug] Routing to a callback [Sun Feb 11 02:08:41 2018] [debug] Rendering cached template "yancy/auth/login.html.ep" from DATA section [Sun Feb 11 02:08:41 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Sun Feb 11 02:08:41 2018] [debug] 200 OK (0.00177s, 564.972/s) [Sun Feb 11 02:08:41 2018] [debug] GET "/yancy" [Sun Feb 11 02:08:41 2018] [debug] Routing to a callback [Sun Feb 11 02:08:41 2018] [debug] Rendering cached template "yancy/auth/unauthorized.html.ep" from DATA section [Sun Feb 11 02:08:41 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Sun Feb 11 02:08:41 2018] [debug] 401 Unauthorized (0.001298s, 770.416/s) t/plugin/auth/basic.t ........ # Subtest: unauthenticated user cannot admin ok 1 - GET /yancy ok 2 - User is not authorized for admin app ok 3 - Content-Type is similar ok 4 - GET /yancy/api ok 5 - User is not authorized for API spec ok 6 - Content-Type is similar ok 7 - GET /yancy/api/users ok 8 - User is not authorized to list users ok 9 - Content-Type is similar ok 10 - POST /yancy/api/users ok 11 - User is not authorized to add a user ok 12 - Content-Type is similar ok 13 - GET /yancy/api/users/doug ok 14 - User is not authorized to get a user ok 15 - Content-Type is similar ok 16 - PUT /yancy/api/users/doug ok 17 - User is not authorized to set a user ok 18 - Content-Type is similar ok 19 - DELETE /yancy/api/users/doug ok 20 - User is not authorized to delete a user ok 21 - Content-Type is similar 1..21 ok 1 - unauthenticated user cannot admin # Subtest: user can login ok 1 - GET /yancy/login ok 2 - 200 OK ok 3 - form exists ok 4 - username input exists ok 5 - password input exists ok 6 - POST /yancy/login ok 7 - 303 See Other ok 8 - Location: /yancy 1..8 ok 2 - user can login # Subtest: logged-in user can admin ok 1 - GET /yancy ok 2 - User is authorized ok 3 - GET /yancy/api ok 4 - User is authorized ok 5 - GET /yancy/api/users ok 6 - User is authorized ok 7 - GET /yancy/api/users/doug ok 8 - User is authorized # Subtest: api allows saving user passwords ok 1 - PUT /yancy/api/users/doug ok 2 - 200 OK ok 3 - new password is digested correctly 1..3 ok 9 - api allows saving user passwords 1..9 ok 3 - logged-in user can admin # Subtest: user can logout ok 1 - GET /yancy/logout ok 2 - User is logged out successfully ok 3 - GET /yancy ok 4 - User is not authorized anymore 1..4 ok 4 - user can logout 1..4 ok All tests successful. Files=12, Tests=37, 10 wallclock secs ( 0.07 usr 0.04 sys + 8.47 cusr 1.40 csys = 9.98 CPU) Result: PASS PREACTION/Yancy-0.014.tar.gz make test TEST_VERBOSE=1 -- OK Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/P/PR/PREACTION/CHECKSUMS Can't chown '/data/fly2400/cpanfly-5.24/var/cpan/FTPstats.yml.26998' to fly2200/cpanflies: Operation not permitted Doug Bell <preaction@cpan.org> A simple CMS for administrating data >>> (cd /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Yancy-0.014-RZ9dcn && tar cvf - Yancy-0.014.ppd blib) | gzip -c >/data/fly2400/cpanfly-5.24/var/REPO/P/PR/PREACTION/Yancy-0.014.tar.gz Yancy-0.014.ppd blib/ blib/man3/ blib/man3/Yancy::Backend::Pg.3 blib/man3/Yancy::Plugin::Auth::Basic.3 blib/man3/Yancy::Backend::Dbic.3 blib/man3/Yancy::Backend::Test.3 blib/man3/Yancy::Controller::Yancy::MultiTenant.3 blib/man3/Yancy.3 blib/man3/Yancy::Backend.3 blib/man3/Mojolicious::Plugin::Yancy.3 blib/man3/Yancy::Backend::Mysql.3 blib/man3/Yancy::Controller::Yancy.3 blib/man3/Yancy::Backend::Sqlite.3 blib/script/ blib/script/yancy blib/man1/ blib/man1/yancy.1 blib/lib/ blib/lib/Yancy/ blib/lib/Yancy/Plugin/ blib/lib/Yancy/Plugin/Auth/ blib/lib/Yancy/Plugin/Auth/Basic.pm blib/lib/Yancy/Backend/ blib/lib/Yancy/Backend/Pg.pm blib/lib/Yancy/Backend/Test.pm blib/lib/Yancy/Backend/Mysql.pm blib/lib/Yancy/Backend/Sqlite.pm blib/lib/Yancy/Backend/Dbic.pm blib/lib/Yancy/Backend.pod blib/lib/Yancy/Controller/ blib/lib/Yancy/Controller/Yancy/ blib/lib/Yancy/Controller/Yancy/MultiTenant.pm blib/lib/Yancy/Controller/Yancy.pm blib/lib/auto/ blib/lib/auto/share/ blib/lib/auto/share/dist/ blib/lib/auto/share/dist/Yancy/ blib/lib/auto/share/dist/Yancy/update_resources.sh blib/lib/Yancy.pm blib/lib/Mojolicious/ blib/lib/Mojolicious/Plugin/ blib/lib/Mojolicious/Plugin/Yancy/ blib/lib/Mojolicious/Plugin/Yancy/resources/ blib/lib/Mojolicious/Plugin/Yancy/resources/templates/ blib/lib/Mojolicious/Plugin/Yancy/resources/templates/yancy/ blib/lib/Mojolicious/Plugin/Yancy/resources/templates/yancy/index.html.ep blib/lib/Mojolicious/Plugin/Yancy/resources/templates/layouts/ blib/lib/Mojolicious/Plugin/Yancy/resources/templates/layouts/yancy.html.ep blib/lib/Mojolicious/Plugin/Yancy/resources/public/ blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/ blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/bootstrap.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/popper.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/app.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/bootstrap.css blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/marked.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/vue.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/jquery.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/ blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/ blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.ttf blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.woff blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.svg blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.eot blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.woff2 blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/css/ blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/css/font-awesome.css blib/lib/Mojolicious/Plugin/Yancy.pm VmSize: 364824 kB Finished 2018-02-11T02:08:42