PATH=/usr/bin:/bin Start 2018-01-14T02:00:12 ActivePerl-2400 CPAN-2.10 Reading '/data/fly2400/cpanfly-5.24/var/cpan/Metadata' Database was generated on Sat, 13 Jan 2018 06:29:03 GMT Checksum for /data/fly2400/cpanfly-5.24/var/cpan/sources/authors/id/P/PR/PREACTION/Yancy-0.010.tar.gz ok Yancy-0.010/ Yancy-0.010/LICENSE Yancy-0.010/cpanfile Yancy-0.010/bin/ Yancy-0.010/CHANGES Yancy-0.010/MANIFEST Yancy-0.010/t/ Yancy-0.010/README Yancy-0.010/CONTRIBUTING.md Yancy-0.010/META.yml Yancy-0.010/lib/ Yancy-0.010/Makefile.PL Yancy-0.010/weaver.ini Yancy-0.010/eg/ Yancy-0.010/META.json Yancy-0.010/share/ Yancy-0.010/dist.ini Yancy-0.010/share/update_resources.sh Yancy-0.010/eg/screenshot.png Yancy-0.010/eg/yancy.conf Yancy-0.010/eg/templates/ Yancy-0.010/eg/yancy.data.json Yancy-0.010/eg/templates/people.html.ep Yancy-0.010/eg/templates/people/ Yancy-0.010/eg/templates/not_found.html.ep Yancy-0.010/eg/templates/people/_index.html.ep Yancy-0.010/lib/Yancy/ Yancy-0.010/lib/Yancy.pm Yancy-0.010/lib/Mojolicious/ Yancy-0.010/lib/Mojolicious/Plugin/ Yancy-0.010/lib/Mojolicious/Plugin/Yancy/ Yancy-0.010/lib/Mojolicious/Plugin/Yancy.pm Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/ Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/ Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/templates/ Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/templates/yancy/ Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/templates/layouts/ Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/templates/layouts/yancy.html.ep Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/templates/yancy/index.html.ep Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/ Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/popper.js Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/bootstrap.css Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/bootstrap.js Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/marked.js Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/vue.js Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/app.js Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/ Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/jquery.js Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/css/ Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/ Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.svg Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.woff2 Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.ttf Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.woff Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.eot Yancy-0.010/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/css/font-awesome.css Yancy-0.010/lib/Yancy/Plugin/ Yancy-0.010/lib/Yancy/Backend/ Yancy-0.010/lib/Yancy/Controller/ Yancy-0.010/lib/Yancy/Backend.pod Yancy-0.010/lib/Yancy/Controller/Yancy/ Yancy-0.010/lib/Yancy/Controller/Yancy.pm Yancy-0.010/lib/Yancy/Controller/Yancy/MultiTenant.pm Yancy-0.010/lib/Yancy/Backend/Dbic.pm Yancy-0.010/lib/Yancy/Backend/Pg.pm Yancy-0.010/lib/Yancy/Backend/Sqlite.pm Yancy-0.010/lib/Yancy/Backend/Test.pm Yancy-0.010/lib/Yancy/Backend/Mysql.pm Yancy-0.010/lib/Yancy/Plugin/Auth/ Yancy-0.010/lib/Yancy/Plugin/Auth/Basic.pm Yancy-0.010/t/cms.t Yancy-0.010/t/plugin/ Yancy-0.010/t/backend/ Yancy-0.010/t/controller/ Yancy-0.010/t/api.t Yancy-0.010/t/00-compile.t Yancy-0.010/t/00-report-prereqs.t Yancy-0.010/t/lib/ Yancy-0.010/t/00-report-prereqs.dd Yancy-0.010/t/filter.t Yancy-0.010/t/helpers.t Yancy-0.010/t/share/ Yancy-0.010/t/share/config.pl Yancy-0.010/t/share/withindex/ Yancy-0.010/t/share/templates/ Yancy-0.010/t/share/templates/people.html.ep Yancy-0.010/t/share/templates/people/ Yancy-0.010/t/share/templates/people/index.html.ep Yancy-0.010/t/share/withindex/templates/ Yancy-0.010/t/share/withindex/templates/index.html.ep Yancy-0.010/t/lib/Yancy/ Yancy-0.010/t/lib/Local/ Yancy-0.010/t/lib/Local/Test.pm Yancy-0.010/t/lib/Local/Schema/ Yancy-0.010/t/lib/Local/Schema.pm Yancy-0.010/t/lib/Local/Schema/Result/ Yancy-0.010/t/lib/Local/Schema/Result/user.pm Yancy-0.010/t/lib/Local/Schema/Result/people.pm Yancy-0.010/t/lib/Yancy/Plugin/ Yancy-0.010/t/lib/Yancy/Plugin/Test.pm Yancy-0.010/t/controller/multi_tenant.t Yancy-0.010/t/backend/pg.t Yancy-0.010/t/backend/sqlite.t Yancy-0.010/t/backend/mysql.t Yancy-0.010/t/backend/dbic.t Yancy-0.010/t/plugin/auth/ Yancy-0.010/t/plugin/auth/basic.t Yancy-0.010/bin/yancy Configuring P/PR/PREACTION/Yancy-0.010.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.010.tar.gz /data/fly2400/ap2400-300558/bin/perl-static Makefile.PL -- OK Running make for P/PR/PREACTION/Yancy-0.010.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/Yancy/Backend.pod blib/lib/Yancy/Backend.pod 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/public/yancy/app.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/app.js 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/Yancy.pm blib/lib/Yancy.pm cp lib/Mojolicious/Plugin/Yancy/resources/public/yancy/bootstrap.css blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/bootstrap.css cp lib/Mojolicious/Plugin/Yancy.pm blib/lib/Mojolicious/Plugin/Yancy.pm 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/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/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/jquery.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/jquery.js cp lib/Mojolicious/Plugin/Yancy/resources/public/yancy/bootstrap.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/bootstrap.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/font-awesome/fonts/fontawesome-webfont.woff blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.woff cp lib/Mojolicious/Plugin/Yancy/resources/templates/layouts/yancy.html.ep blib/lib/Mojolicious/Plugin/Yancy/resources/templates/layouts/yancy.html.ep 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/popper.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/popper.js cp lib/Yancy/Backend/Dbic.pm blib/lib/Yancy/Backend/Dbic.pm cp lib/Yancy/Backend/Sqlite.pm blib/lib/Yancy/Backend/Sqlite.pm cp lib/Yancy/Backend/Mysql.pm blib/lib/Yancy/Backend/Mysql.pm cp lib/Yancy/Controller/Yancy/MultiTenant.pm blib/lib/Yancy/Controller/Yancy/MultiTenant.pm cp lib/Yancy/Backend/Pg.pm blib/lib/Yancy/Backend/Pg.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/Plugin/Auth/Basic.pm blib/lib/Yancy/Plugin/Auth/Basic.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.010.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.302120 # # === 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 # Module::Runtime any 0.014 # Mojolicious 7.15 7.31 # Mojolicious::Plugin::OpenAPI 1.22 1.23 # Sys::Hostname any 1.2001 # t/00-report-prereqs.t ........ 1..1 ok 1 ok [Sun Jan 14 02:00:21 2018] [debug] GET "/yancy/api" [Sun Jan 14 02:00:21 2018] [debug] Routing to a callback [Sun Jan 14 02:00:21 2018] [debug] 200 OK (0.005695s, 175.593/s) [Sun Jan 14 02:00:21 2018] [debug] GET "/yancy/api/people" [Sun Jan 14 02:00:21 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "list_items" [Sun Jan 14 02:00:21 2018] [debug] Your secret passphrase needs to be changed [Sun Jan 14 02:00:21 2018] [debug] 200 OK (0.004755s, 210.305/s) [Sun Jan 14 02:00:21 2018] [debug] GET "/yancy/api/people" [Sun Jan 14 02:00:21 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "list_items" [Sun Jan 14 02:00:21 2018] [debug] 200 OK (0.001866s, 535.906/s) [Sun Jan 14 02:00:21 2018] [debug] GET "/yancy/api/people" [Sun Jan 14 02:00:21 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "list_items" [Sun Jan 14 02:00:21 2018] [debug] 200 OK (0.001822s, 548.847/s) [Sun Jan 14 02:00:21 2018] [debug] GET "/yancy/api/people" [Sun Jan 14 02:00:21 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "list_items" [Sun Jan 14 02:00:21 2018] [debug] 200 OK (0.001962s, 509.684/s) [Sun Jan 14 02:00:21 2018] [debug] GET "/yancy/api/people" [Sun Jan 14 02:00:21 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "list_items" [Sun Jan 14 02:00:21 2018] [debug] 200 OK (0.002134s, 468.604/s) [Sun Jan 14 02:00:21 2018] [debug] GET "/yancy/api/people/1" [Sun Jan 14 02:00:21 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "get_item" [Sun Jan 14 02:00:21 2018] [debug] 200 OK (0.001834s, 545.256/s) [Sun Jan 14 02:00:21 2018] [debug] GET "/yancy/api/users/doug" [Sun Jan 14 02:00:21 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "get_item" [Sun Jan 14 02:00:21 2018] [debug] 200 OK (0.002589s, 386.250/s) [Sun Jan 14 02:00:21 2018] [debug] PUT "/yancy/api/people/1" [Sun Jan 14 02:00:21 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "set_item" [Sun Jan 14 02:00:21 2018] [debug] 200 OK (0.002142s, 466.853/s) [Sun Jan 14 02:00:21 2018] [debug] PUT "/yancy/api/users/doug" [Sun Jan 14 02:00:21 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "set_item" [Sun Jan 14 02:00:21 2018] [debug] 200 OK (0.002362s, 423.370/s) [Sun Jan 14 02:00:21 2018] [debug] POST "/yancy/api/people" [Sun Jan 14 02:00:21 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "add_item" [Sun Jan 14 02:00:21 2018] [debug] 201 Created (0.00199s, 502.513/s) [Sun Jan 14 02:00:21 2018] [debug] POST "/yancy/api/users" [Sun Jan 14 02:00:21 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "add_item" [Sun Jan 14 02:00:21 2018] [debug] 201 Created (0.001822s, 548.847/s) [Sun Jan 14 02:00:21 2018] [debug] DELETE "/yancy/api/people/3" [Sun Jan 14 02:00:21 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "delete_item" [Sun Jan 14 02:00:21 2018] [debug] 204 No Content (0.001143s, 874.891/s) [Sun Jan 14 02:00:21 2018] [debug] DELETE "/yancy/api/users/flexo" [Sun Jan 14 02:00:21 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "delete_item" [Sun Jan 14 02:00:21 2018] [debug] 204 No Content (0.001109s, 901.713/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" 1..22 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 Jan 14 02:00:25 2018] [debug] GET "/" [Sun Jan 14 02:00:25 2018] [debug] Routing to a callback [Sun Jan 14 02:00:25 2018] [debug] Template "index.html.ep" not found [Sun Jan 14 02:00:25 2018] [debug] Template "index.html.ep" not found [Sun Jan 14 02:00:25 2018] [debug] Rendering template "not_found.development.html.ep" from DATA section [Sun Jan 14 02:00:25 2018] [debug] Rendering template "layouts/yancy.html.ep" [Sun Jan 14 02:00:25 2018] [debug] 404 Not Found (0.017551s, 56.977/s) [Sun Jan 14 02:00:25 2018] [debug] GET "/" [Sun Jan 14 02:00:25 2018] [debug] Routing to a callback [Sun Jan 14 02:00:25 2018] [debug] Template "index.html.ep" not found [Sun Jan 14 02:00:25 2018] [debug] Template "index.html.ep" not found [Sun Jan 14 02:00:25 2018] [debug] Template "not_found.testing.html.ep" not found [Sun Jan 14 02:00:25 2018] [debug] Template "not_found.html.ep" not found [Sun Jan 14 02:00:25 2018] [debug] Rendering template "mojo/not_found.html.ep" [Sun Jan 14 02:00:25 2018] [debug] 404 Not Found (0.004808s, 207.987/s) [Sun Jan 14 02:00:25 2018] [debug] GET "/yancy" [Sun Jan 14 02:00:25 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "index" [Sun Jan 14 02:00:25 2018] [debug] Action not found in controller [Sun Jan 14 02:00:25 2018] [debug] Rendering template "yancy/index.html.ep" [Sun Jan 14 02:00:25 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Sun Jan 14 02:00:25 2018] [debug] 200 OK (0.014193s, 70.457/s) [Sun Jan 14 02:00:25 2018] [debug] GET "/people" [Sun Jan 14 02:00:25 2018] [debug] Routing to a callback [Sun Jan 14 02:00:25 2018] [debug] Rendering template "people.html.ep" [Sun Jan 14 02:00:25 2018] [debug] 200 OK (0.001853s, 539.665/s) [Sun Jan 14 02:00:25 2018] [debug] GET "/people/1" [Sun Jan 14 02:00:25 2018] [debug] Routing to a callback [Sun Jan 14 02:00:25 2018] [debug] Template "people/1.html.ep" not found [Sun Jan 14 02:00:25 2018] [debug] Rendering template "people/index.html.ep" [Sun Jan 14 02:00:25 2018] [debug] 200 OK (0.002912s, 343.407/s) [Sun Jan 14 02:00:25 2018] [debug] GET "/people/1/doug/bell/is/great" [Sun Jan 14 02:00:25 2018] [debug] Routing to a callback [Sun Jan 14 02:00:25 2018] [debug] Template "people/1/doug/bell/is/great.html.ep" not found [Sun Jan 14 02:00:25 2018] [debug] Template "people/1/doug/bell/is/index.html.ep" not found [Sun Jan 14 02:00:25 2018] [debug] Rendering cached template "not_found.development.html.ep" from DATA section [Sun Jan 14 02:00:25 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Sun Jan 14 02:00:25 2018] [debug] 404 Not Found (0.001858s, 538.213/s) [Sun Jan 14 02:00:25 2018] [debug] GET "/" [Sun Jan 14 02:00:25 2018] [debug] Routing to a callback [Sun Jan 14 02:00:25 2018] [debug] Rendering template "index.html.ep" [Sun Jan 14 02:00:25 2018] [debug] 200 OK (0.005568s, 179.598/s) [Sun Jan 14 02:00:25 2018] [debug] GET "/perldoc" [Sun Jan 14 02:00:25 2018] [debug] Routing to a callback [Sun Jan 14 02:00:25 2018] [debug] Rendering template "mojo/perldoc.html.ep" [Sun Jan 14 02:00:25 2018] [debug] Rendering template "mojo/menubar.html.ep" [Sun Jan 14 02:00:25 2018] [debug] Your secret passphrase needs to be changed [Sun Jan 14 02:00:25 2018] [debug] 200 OK (0.17605s, 5.680/s) [Sun Jan 14 02:00:25 2018] [debug] GET "/test" [Sun Jan 14 02:00:25 2018] [debug] Routing to a callback [Sun Jan 14 02:00:25 2018] [debug] 200 OK (0.000487s, 2053.388/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 Jan 14 02:00:26 2018] [debug] GET "/yancy/api" [Sun Jan 14 02:00:26 2018] [debug] Routing to a callback [Sun Jan 14 02:00:26 2018] [debug] Routing to a callback [Sun Jan 14 02:00:26 2018] [debug] 200 OK (0.004272s, 234.082/s) [Sun Jan 14 02:00:26 2018] [debug] GET "/yancy/api/blog" [Sun Jan 14 02:00:26 2018] [debug] Routing to a callback [Sun Jan 14 02:00:26 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "list_items" [Sun Jan 14 02:00:26 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 593. Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 593. [Sun Jan 14 02:00:26 2018] [debug] 200 OK (0.007491s, 133.494/s) [Sun Jan 14 02:00:26 2018] [debug] GET "/yancy/api/blog" [Sun Jan 14 02:00:26 2018] [debug] Routing to a callback [Sun Jan 14 02:00:26 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 593. [Sun Jan 14 02:00:26 2018] [debug] 200 OK (0.003642s, 274.574/s) [Sun Jan 14 02:00:26 2018] [debug] GET "/yancy/api/blog" [Sun Jan 14 02:00:26 2018] [debug] Routing to a callback [Sun Jan 14 02:00:26 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 593. [Sun Jan 14 02:00:26 2018] [debug] 200 OK (0.003691s, 270.929/s) [Sun Jan 14 02:00:26 2018] [debug] GET "/yancy/api/blog" [Sun Jan 14 02:00:26 2018] [debug] Routing to a callback [Sun Jan 14 02:00:26 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 593. Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 593. [Sun Jan 14 02:00:26 2018] [debug] 200 OK (0.004214s, 237.304/s) [Sun Jan 14 02:00:26 2018] [debug] GET "/yancy/api/blog" [Sun Jan 14 02:00:26 2018] [debug] Routing to a callback [Sun Jan 14 02:00:26 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 593. Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 593. [Sun Jan 14 02:00:26 2018] [debug] 200 OK (0.004124s, 242.483/s) [Sun Jan 14 02:00:26 2018] [debug] GET "/yancy/api/blog/1" [Sun Jan 14 02:00:26 2018] [debug] Routing to a callback [Sun Jan 14 02:00:26 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 593. [Sun Jan 14 02:00:26 2018] [debug] 200 OK (0.003616s, 276.549/s) [Sun Jan 14 02:00:26 2018] [debug] GET "/yancy/api/blog/2" [Sun Jan 14 02:00:26 2018] [debug] Routing to a callback [Sun Jan 14 02:00:26 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "get_item" [Sun Jan 14 02:00:26 2018] [debug] 401 Unauthorized (0.003218s, 310.752/s) [Sun Jan 14 02:00:26 2018] [debug] PUT "/yancy/api/blog/1" [Sun Jan 14 02:00:26 2018] [debug] Routing to a callback [Sun Jan 14 02:00:26 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 593. [Sun Jan 14 02:00:26 2018] [warn] OpenAPI <<< PUT /yancy/api/blog/1 [{"message":"Read-only.","path":"\/newItem\/user_id"}] [Sun Jan 14 02:00:26 2018] [debug] 400 Bad Request (0.003196s, 312.891/s) [Sun Jan 14 02:00:26 2018] [debug] PUT "/yancy/api/blog/1" [Sun Jan 14 02:00:26 2018] [debug] Routing to a callback [Sun Jan 14 02:00:26 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 593. Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 593. [Sun Jan 14 02:00:26 2018] [debug] 200 OK (0.003606s, 277.316/s) [Sun Jan 14 02:00:26 2018] [debug] PUT "/yancy/api/blog/2" [Sun Jan 14 02:00:26 2018] [debug] Routing to a callback [Sun Jan 14 02:00:26 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 593. [Sun Jan 14 02:00:26 2018] [debug] 401 Unauthorized (0.003662s, 273.075/s) [Sun Jan 14 02:00:26 2018] [debug] POST "/yancy/api/blog" [Sun Jan 14 02:00:26 2018] [debug] Routing to a callback [Sun Jan 14 02:00:26 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 593. Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 593. [Sun Jan 14 02:00:26 2018] [debug] 201 Created (0.003663s, 273.000/s) [Sun Jan 14 02:00:26 2018] [debug] POST "/yancy/api/blog" [Sun Jan 14 02:00:26 2018] [debug] Routing to a callback [Sun Jan 14 02:00:26 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 593. [Sun Jan 14 02:00:26 2018] [warn] OpenAPI <<< POST /yancy/api/blog [{"message":"Read-only.","path":"\/newItem\/user_id"}] [Sun Jan 14 02:00:26 2018] [debug] 400 Bad Request (0.002932s, 341.064/s) [Sun Jan 14 02:00:26 2018] [debug] DELETE "/yancy/api/blog/4" [Sun Jan 14 02:00:26 2018] [debug] Routing to a callback [Sun Jan 14 02:00:26 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "delete_item" [Sun Jan 14 02:00:26 2018] [debug] 204 No Content (0.002413s, 414.422/s) [Sun Jan 14 02:00:26 2018] [debug] DELETE "/yancy/api/blog/2" [Sun Jan 14 02:00:26 2018] [debug] Routing to a callback [Sun Jan 14 02:00:26 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "delete_item" [Sun Jan 14 02:00:26 2018] [debug] 401 Unauthorized (0.002965s, 337.268/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 Jan 14 02:00:27 2018] [debug] PUT "/yancy/api/users/doug" [Sun Jan 14 02:00:27 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "set_item" [Sun Jan 14 02:00:27 2018] [debug] Your secret passphrase needs to be changed [Sun Jan 14 02:00:27 2018] [debug] 200 OK (0.005691s, 175.716/s) [Sun Jan 14 02:00:27 2018] [debug] POST "/yancy/api/users" [Sun Jan 14 02:00:27 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "add_item" [Sun Jan 14 02:00:27 2018] [debug] 201 Created (0.002553s, 391.696/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 Jan 14 02:00:29 2018] [debug] GET "/yancy" [Sun Jan 14 02:00:29 2018] [debug] Routing to a callback [Sun Jan 14 02:00:29 2018] [debug] Your secret passphrase needs to be changed [Sun Jan 14 02:00:29 2018] [debug] Rendering template "yancy/auth/unauthorized.html.ep" from DATA section [Sun Jan 14 02:00:29 2018] [debug] Rendering template "layouts/yancy.html.ep" [Sun Jan 14 02:00:29 2018] [debug] 401 Unauthorized (0.01368s, 73.099/s) [Sun Jan 14 02:00:29 2018] [debug] GET "/yancy/api" [Sun Jan 14 02:00:29 2018] [debug] Routing to a callback [Sun Jan 14 02:00:29 2018] [debug] Template ".html.ep" not found [Sun Jan 14 02:00:29 2018] [debug] 401 Unauthorized (0.00351s, 284.900/s) [Sun Jan 14 02:00:29 2018] [debug] GET "/yancy/api/users" [Sun Jan 14 02:00:29 2018] [debug] Routing to a callback [Sun Jan 14 02:00:29 2018] [debug] Template "users.html.ep" not found [Sun Jan 14 02:00:29 2018] [debug] 401 Unauthorized (0.001207s, 828.500/s) [Sun Jan 14 02:00:29 2018] [debug] POST "/yancy/api/users" [Sun Jan 14 02:00:29 2018] [debug] Routing to a callback [Sun Jan 14 02:00:29 2018] [debug] Template "users.html.ep" not found [Sun Jan 14 02:00:29 2018] [debug] 401 Unauthorized (0.001501s, 666.223/s) [Sun Jan 14 02:00:29 2018] [debug] GET "/yancy/api/users/doug" [Sun Jan 14 02:00:29 2018] [debug] Routing to a callback [Sun Jan 14 02:00:29 2018] [debug] Template "usersid.html.ep" not found [Sun Jan 14 02:00:29 2018] [debug] 401 Unauthorized (0.001746s, 572.738/s) [Sun Jan 14 02:00:29 2018] [debug] PUT "/yancy/api/users/doug" [Sun Jan 14 02:00:29 2018] [debug] Routing to a callback [Sun Jan 14 02:00:29 2018] [debug] Template "usersid.html.ep" not found [Sun Jan 14 02:00:29 2018] [debug] 401 Unauthorized (0.001197s, 835.422/s) [Sun Jan 14 02:00:29 2018] [debug] DELETE "/yancy/api/users/doug" [Sun Jan 14 02:00:29 2018] [debug] Routing to a callback [Sun Jan 14 02:00:29 2018] [debug] Template "usersid.html.ep" not found [Sun Jan 14 02:00:29 2018] [debug] 401 Unauthorized (0.001179s, 848.176/s) [Sun Jan 14 02:00:29 2018] [debug] GET "/yancy/login" [Sun Jan 14 02:00:29 2018] [debug] Routing to a callback [Sun Jan 14 02:00:29 2018] [debug] Rendering template "yancy/auth/login.html.ep" from DATA section [Sun Jan 14 02:00:29 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Sun Jan 14 02:00:29 2018] [debug] 200 OK (0.003073s, 325.415/s) [Sun Jan 14 02:00:29 2018] [debug] POST "/yancy/login" [Sun Jan 14 02:00:29 2018] [debug] Routing to a callback [Sun Jan 14 02:00:29 2018] [debug] 303 See Other (0.001186s, 843.170/s) [Sun Jan 14 02:00:29 2018] [debug] GET "/yancy" [Sun Jan 14 02:00:29 2018] [debug] Routing to a callback [Sun Jan 14 02:00:29 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "index" [Sun Jan 14 02:00:29 2018] [debug] Action not found in controller [Sun Jan 14 02:00:29 2018] [debug] Rendering template "yancy/index.html.ep" [Sun Jan 14 02:00:29 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Sun Jan 14 02:00:29 2018] [debug] 200 OK (0.014399s, 69.449/s) [Sun Jan 14 02:00:29 2018] [debug] GET "/yancy/api" [Sun Jan 14 02:00:29 2018] [debug] Routing to a callback [Sun Jan 14 02:00:29 2018] [debug] Routing to a callback [Sun Jan 14 02:00:29 2018] [debug] 200 OK (0.004464s, 224.014/s) [Sun Jan 14 02:00:29 2018] [debug] GET "/yancy/api/users" [Sun Jan 14 02:00:29 2018] [debug] Routing to a callback [Sun Jan 14 02:00:29 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.010-EdWOvk/blib/lib/Yancy/Backend/Test.pm line 51. Use of uninitialized value in string comparison (cmp) at /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Yancy-0.010-EdWOvk/blib/lib/Yancy/Backend/Test.pm line 51. [Sun Jan 14 02:00:29 2018] [debug] 200 OK (0.002438s, 410.172/s) [Sun Jan 14 02:00:29 2018] [debug] GET "/yancy/api/users/doug" [Sun Jan 14 02:00:29 2018] [debug] Routing to a callback [Sun Jan 14 02:00:29 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "get_item" [Sun Jan 14 02:00:29 2018] [debug] 200 OK (0.001579s, 633.312/s) [Sun Jan 14 02:00:29 2018] [debug] PUT "/yancy/api/users/doug" [Sun Jan 14 02:00:29 2018] [debug] Routing to a callback [Sun Jan 14 02:00:29 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "set_item" [Sun Jan 14 02:00:29 2018] [debug] 200 OK (0.002131s, 469.263/s) [Sun Jan 14 02:00:29 2018] [debug] GET "/yancy/logout" [Sun Jan 14 02:00:29 2018] [debug] Routing to a callback [Sun Jan 14 02:00:29 2018] [debug] Rendering cached template "yancy/auth/login.html.ep" from DATA section [Sun Jan 14 02:00:29 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Sun Jan 14 02:00:29 2018] [debug] 200 OK (0.001858s, 538.213/s) [Sun Jan 14 02:00:29 2018] [debug] GET "/yancy" [Sun Jan 14 02:00:29 2018] [debug] Routing to a callback [Sun Jan 14 02:00:29 2018] [debug] Rendering cached template "yancy/auth/unauthorized.html.ep" from DATA section [Sun Jan 14 02:00:29 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Sun Jan 14 02:00:29 2018] [debug] 401 Unauthorized (0.001594s, 627.353/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, 11 wallclock secs ( 0.08 usr 0.03 sys + 8.40 cusr 1.50 csys = 10.01 CPU) Result: PASS PREACTION/Yancy-0.010.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.30999' 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.010-EdWOvk && tar cvf - Yancy-0.010.ppd blib) | gzip -c >/data/fly2400/cpanfly-5.24/var/REPO/P/PR/PREACTION/Yancy-0.010.tar.gz Yancy-0.010.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: 364044 kB Finished 2018-01-14T02:00:30