PATH=/usr/bin:/bin:/data/fly2400/cpanfly-5.24/var/megalib/bin Start 2018-02-20T02:19:34 ActivePerl-2400 CPAN-2.10 Reading '/data/fly2400/cpanfly-5.24/var/cpan/Metadata' Database was generated on Mon, 19 Feb 2018 06:41:03 GMT Checksum for /data/fly2400/cpanfly-5.24/var/cpan/sources/authors/id/P/PR/PREACTION/Yancy-0.017.tar.gz ok Yancy-0.017/ Yancy-0.017/LICENSE Yancy-0.017/cpanfile Yancy-0.017/bin/ Yancy-0.017/CHANGES Yancy-0.017/MANIFEST Yancy-0.017/t/ Yancy-0.017/README Yancy-0.017/CONTRIBUTING.md Yancy-0.017/META.yml Yancy-0.017/lib/ Yancy-0.017/Makefile.PL Yancy-0.017/weaver.ini Yancy-0.017/eg/ Yancy-0.017/META.json Yancy-0.017/share/ Yancy-0.017/dist.ini Yancy-0.017/share/update_resources.sh Yancy-0.017/eg/screenshot.png Yancy-0.017/eg/yancy.conf Yancy-0.017/eg/yancy.null.conf Yancy-0.017/eg/templates/ Yancy-0.017/eg/yancy.data.json Yancy-0.017/eg/templates/people.html.ep Yancy-0.017/eg/templates/people/ Yancy-0.017/eg/templates/not_found.html.ep Yancy-0.017/eg/templates/people/index.html.ep Yancy-0.017/lib/Yancy/ Yancy-0.017/lib/Yancy.pm Yancy-0.017/lib/Mojolicious/ Yancy-0.017/lib/Mojolicious/Plugin/ Yancy-0.017/lib/Mojolicious/Plugin/Yancy/ Yancy-0.017/lib/Mojolicious/Plugin/Yancy.pm Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/ Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/ Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/templates/ Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/templates/yancy/ Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/templates/layouts/ Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/templates/layouts/yancy.html.ep Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/templates/yancy/index.html.ep Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/ Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/popper.js Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/bootstrap.css Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/bootstrap.js Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/marked.js Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/vue.js Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/app.js Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/ Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/jquery.js Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/css/ Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/ Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.svg Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.woff2 Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.ttf Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.woff Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.eot Yancy-0.017/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/css/font-awesome.css Yancy-0.017/lib/Yancy/Plugin/ Yancy-0.017/lib/Yancy/Backend/ Yancy-0.017/lib/Yancy/Controller/ Yancy-0.017/lib/Yancy/Backend.pod Yancy-0.017/lib/Yancy/Controller/Yancy/ Yancy-0.017/lib/Yancy/Controller/Yancy.pm Yancy-0.017/lib/Yancy/Controller/Yancy/MultiTenant.pm Yancy-0.017/lib/Yancy/Backend/Dbic.pm Yancy-0.017/lib/Yancy/Backend/Pg.pm Yancy-0.017/lib/Yancy/Backend/Sqlite.pm Yancy-0.017/lib/Yancy/Backend/Test.pm Yancy-0.017/lib/Yancy/Backend/Mysql.pm Yancy-0.017/lib/Yancy/Plugin/Auth/ Yancy-0.017/lib/Yancy/Plugin/Auth/Basic.pm Yancy-0.017/t/cms.t Yancy-0.017/t/plugin/ Yancy-0.017/t/backend/ Yancy-0.017/t/controller/ Yancy-0.017/t/api.t Yancy-0.017/t/00-compile.t Yancy-0.017/t/00-report-prereqs.t Yancy-0.017/t/lib/ Yancy-0.017/t/00-report-prereqs.dd Yancy-0.017/t/filter.t Yancy-0.017/t/helpers.t Yancy-0.017/t/share/ Yancy-0.017/t/share/config.pl Yancy-0.017/t/share/withindex/ Yancy-0.017/t/share/templates/ Yancy-0.017/t/share/templates/people.html.ep Yancy-0.017/t/share/templates/people/ Yancy-0.017/t/share/templates/people/index.html.ep Yancy-0.017/t/share/withindex/templates/ Yancy-0.017/t/share/withindex/templates/index.html.ep Yancy-0.017/t/lib/Yancy/ Yancy-0.017/t/lib/Local/ Yancy-0.017/t/lib/Local/Test.pm Yancy-0.017/t/lib/Local/Schema/ Yancy-0.017/t/lib/Local/Schema.pm Yancy-0.017/t/lib/Local/Schema/Result/ Yancy-0.017/t/lib/Local/Schema/Result/user.pm Yancy-0.017/t/lib/Local/Schema/Result/people.pm Yancy-0.017/t/lib/Yancy/Plugin/ Yancy-0.017/t/lib/Yancy/Plugin/Test.pm Yancy-0.017/t/controller/multi_tenant.t Yancy-0.017/t/backend/pg.t Yancy-0.017/t/backend/sqlite.t Yancy-0.017/t/backend/mysql.t Yancy-0.017/t/backend/dbic.t Yancy-0.017/t/plugin/auth/ Yancy-0.017/t/plugin/auth/basic.t Yancy-0.017/bin/yancy Configuring P/PR/PREACTION/Yancy-0.017.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.017.tar.gz /data/fly2400/ap2400-300558/bin/perl-static Makefile.PL -- OK Running make for P/PR/PREACTION/Yancy-0.017.tar.gz >>> make cp share/update_resources.sh blib/lib/auto/share/dist/Yancy/update_resources.sh 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/Yancy/Backend/Dbic.pm blib/lib/Yancy/Backend/Dbic.pm 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/public/yancy/jquery.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/jquery.js cp lib/Mojolicious/Plugin/Yancy.pm blib/lib/Mojolicious/Plugin/Yancy.pm cp lib/Mojolicious/Plugin/Yancy/resources/public/yancy/popper.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/popper.js cp lib/Yancy/Backend.pod blib/lib/Yancy/Backend.pod 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/bootstrap.css blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/bootstrap.css cp lib/Yancy.pm blib/lib/Yancy.pm 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/app.js blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/app.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.ttf blib/lib/Mojolicious/Plugin/Yancy/resources/public/yancy/font-awesome/fonts/fontawesome-webfont.ttf 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/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/templates/yancy/index.html.ep blib/lib/Mojolicious/Plugin/Yancy/resources/templates/yancy/index.html.ep 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/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 lib/Yancy/Backend/Sqlite.pm blib/lib/Yancy/Backend/Sqlite.pm cp lib/Yancy/Controller/Yancy/MultiTenant.pm blib/lib/Yancy/Controller/Yancy/MultiTenant.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 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.017.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.73 # 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.73 # 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 [Tue Feb 20 02:19:41 2018] [debug] GET "/yancy/api" [Tue Feb 20 02:19:41 2018] [debug] Routing to a callback [Tue Feb 20 02:19:41 2018] [debug] 200 OK (0.005483s, 182.382/s) [Tue Feb 20 02:19:41 2018] [debug] GET "/yancy/api" [Tue Feb 20 02:19:41 2018] [debug] Routing to a callback [Tue Feb 20 02:19:41 2018] [debug] 200 OK (0.004772s, 209.556/s) [Tue Feb 20 02:19:42 2018] [debug] GET "/yancy/api/people" [Tue Feb 20 02:19:42 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "list_items" [Tue Feb 20 02:19:42 2018] [debug] Your secret passphrase needs to be changed [Tue Feb 20 02:19:42 2018] [debug] 200 OK (0.004417s, 226.398/s) [Tue Feb 20 02:19:42 2018] [debug] GET "/yancy/api/people" [Tue Feb 20 02:19:42 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "list_items" [Tue Feb 20 02:19:42 2018] [debug] 200 OK (0.002094s, 477.555/s) [Tue Feb 20 02:19:42 2018] [debug] GET "/yancy/api/people" [Tue Feb 20 02:19:42 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "list_items" [Tue Feb 20 02:19:42 2018] [debug] 200 OK (0.001839s, 543.774/s) [Tue Feb 20 02:19:42 2018] [debug] GET "/yancy/api/people" [Tue Feb 20 02:19:42 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "list_items" [Tue Feb 20 02:19:42 2018] [debug] 200 OK (0.002271s, 440.335/s) [Tue Feb 20 02:19:42 2018] [debug] GET "/yancy/api/people" [Tue Feb 20 02:19:42 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "list_items" [Tue Feb 20 02:19:42 2018] [debug] 200 OK (0.002468s, 405.186/s) [Tue Feb 20 02:19:42 2018] [debug] GET "/yancy/api/people/1" [Tue Feb 20 02:19:42 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "get_item" [Tue Feb 20 02:19:42 2018] [debug] 200 OK (0.001886s, 530.223/s) [Tue Feb 20 02:19:42 2018] [debug] GET "/yancy/api/users/doug" [Tue Feb 20 02:19:42 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "get_item" [Tue Feb 20 02:19:42 2018] [debug] 200 OK (0.001905s, 524.934/s) [Tue Feb 20 02:19:42 2018] [debug] PUT "/yancy/api/people/1" [Tue Feb 20 02:19:42 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "set_item" [Tue Feb 20 02:19:42 2018] [debug] 200 OK (0.002499s, 400.160/s) [Tue Feb 20 02:19:42 2018] [debug] PUT "/yancy/api/users/doug" [Tue Feb 20 02:19:42 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "set_item" [Tue Feb 20 02:19:42 2018] [debug] 200 OK (0.002624s, 381.098/s) [Tue Feb 20 02:19:42 2018] [debug] POST "/yancy/api/people" [Tue Feb 20 02:19:42 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "add_item" [Tue Feb 20 02:19:42 2018] [debug] 201 Created (0.002263s, 441.891/s) [Tue Feb 20 02:19:42 2018] [debug] POST "/yancy/api/users" [Tue Feb 20 02:19:42 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "add_item" [Tue Feb 20 02:19:42 2018] [debug] 201 Created (0.001975s, 506.329/s) [Tue Feb 20 02:19:42 2018] [debug] DELETE "/yancy/api/people/3" [Tue Feb 20 02:19:42 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "delete_item" [Tue Feb 20 02:19:42 2018] [debug] 204 No Content (0.001122s, 891.266/s) [Tue Feb 20 02:19:42 2018] [debug] DELETE "/yancy/api/users/flexo" [Tue Feb 20 02:19:42 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "delete_item" [Tue Feb 20 02:19:42 2018] [debug] 204 No Content (0.001146s, 872.600/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 [Tue Feb 20 02:19:45 2018] [debug] GET "/" [Tue Feb 20 02:19:45 2018] [debug] Routing to a callback [Tue Feb 20 02:19:45 2018] [debug] Template "index.html.ep" not found [Tue Feb 20 02:19:45 2018] [debug] Template "index.html.ep" not found [Tue Feb 20 02:19:45 2018] [debug] Rendering template "not_found.development.html.ep" from DATA section [Tue Feb 20 02:19:45 2018] [debug] Rendering template "layouts/yancy.html.ep" [Tue Feb 20 02:19:45 2018] [debug] 404 Not Found (0.014303s, 69.915/s) [Tue Feb 20 02:19:45 2018] [debug] GET "/" [Tue Feb 20 02:19:45 2018] [debug] Routing to a callback [Tue Feb 20 02:19:45 2018] [debug] Template "index.html.ep" not found [Tue Feb 20 02:19:45 2018] [debug] Template "index.html.ep" not found [Tue Feb 20 02:19:45 2018] [debug] Template "not_found.testing.html.ep" not found [Tue Feb 20 02:19:45 2018] [debug] Template "not_found.html.ep" not found [Tue Feb 20 02:19:45 2018] [debug] Rendering template "mojo/not_found.html.ep" [Tue Feb 20 02:19:45 2018] [debug] 404 Not Found (0.005068s, 197.316/s) [Tue Feb 20 02:19:45 2018] [debug] GET "/yancy" [Tue Feb 20 02:19:45 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "index" [Tue Feb 20 02:19:45 2018] [debug] Action not found in controller [Tue Feb 20 02:19:45 2018] [debug] Rendering template "yancy/index.html.ep" [Tue Feb 20 02:19:45 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Tue Feb 20 02:19:45 2018] [debug] 200 OK (0.016119s, 62.039/s) [Tue Feb 20 02:19:45 2018] [debug] GET "/people" [Tue Feb 20 02:19:45 2018] [debug] Routing to a callback [Tue Feb 20 02:19:45 2018] [debug] Rendering template "people.html.ep" [Tue Feb 20 02:19:45 2018] [debug] 200 OK (0.002334s, 428.449/s) [Tue Feb 20 02:19:45 2018] [debug] GET "/people/1" [Tue Feb 20 02:19:45 2018] [debug] Routing to a callback [Tue Feb 20 02:19:45 2018] [debug] Template "people/1.html.ep" not found [Tue Feb 20 02:19:45 2018] [debug] Rendering template "people/index.html.ep" [Tue Feb 20 02:19:45 2018] [debug] 200 OK (0.002114s, 473.037/s) [Tue Feb 20 02:19:45 2018] [debug] GET "/people/1/doug/bell/is/great" [Tue Feb 20 02:19:45 2018] [debug] Routing to a callback [Tue Feb 20 02:19:45 2018] [debug] Template "people/1/doug/bell/is/great.html.ep" not found [Tue Feb 20 02:19:45 2018] [debug] Template "people/1/doug/bell/is/index.html.ep" not found [Tue Feb 20 02:19:45 2018] [debug] Rendering cached template "not_found.development.html.ep" from DATA section [Tue Feb 20 02:19:45 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Tue Feb 20 02:19:45 2018] [debug] 404 Not Found (0.001826s, 547.645/s) [Tue Feb 20 02:19:45 2018] [debug] GET "/" [Tue Feb 20 02:19:45 2018] [debug] Routing to a callback [Tue Feb 20 02:19:45 2018] [debug] Rendering template "index.html.ep" [Tue Feb 20 02:19:45 2018] [debug] 200 OK (0.004254s, 235.073/s) [Tue Feb 20 02:19:45 2018] [debug] GET "/perldoc" [Tue Feb 20 02:19:45 2018] [debug] Routing to a callback [Tue Feb 20 02:19:45 2018] [debug] Rendering template "mojo/perldoc.html.ep" [Tue Feb 20 02:19:45 2018] [debug] Rendering template "mojo/menubar.html.ep" [Tue Feb 20 02:19:45 2018] [debug] Your secret passphrase needs to be changed [Tue Feb 20 02:19:45 2018] [debug] 200 OK (0.143205s, 6.983/s) [Tue Feb 20 02:19:45 2018] [debug] GET "/test" [Tue Feb 20 02:19:45 2018] [debug] Routing to a callback [Tue Feb 20 02:19:45 2018] [debug] 200 OK (0.000573s, 1745.201/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 [Tue Feb 20 02:19:46 2018] [debug] GET "/yancy/api" [Tue Feb 20 02:19:46 2018] [debug] Routing to a callback [Tue Feb 20 02:19:46 2018] [debug] Routing to a callback [Tue Feb 20 02:19:46 2018] [debug] 200 OK (0.004226s, 236.630/s) [Tue Feb 20 02:19:46 2018] [debug] GET "/yancy/api/blog" [Tue Feb 20 02:19:46 2018] [debug] Routing to a callback [Tue Feb 20 02:19:46 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "list_items" [Tue Feb 20 02:19:46 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 592. Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 592. [Tue Feb 20 02:19:46 2018] [debug] 200 OK (0.008189s, 122.115/s) [Tue Feb 20 02:19:46 2018] [debug] GET "/yancy/api/blog" [Tue Feb 20 02:19:46 2018] [debug] Routing to a callback [Tue Feb 20 02:19:46 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 592. [Tue Feb 20 02:19:46 2018] [debug] 200 OK (0.003931s, 254.388/s) [Tue Feb 20 02:19:46 2018] [debug] GET "/yancy/api/blog" [Tue Feb 20 02:19:46 2018] [debug] Routing to a callback [Tue Feb 20 02:19:46 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 592. [Tue Feb 20 02:19:46 2018] [debug] 200 OK (0.004387s, 227.946/s) [Tue Feb 20 02:19:46 2018] [debug] GET "/yancy/api/blog" [Tue Feb 20 02:19:46 2018] [debug] Routing to a callback [Tue Feb 20 02:19:46 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 592. Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 592. [Tue Feb 20 02:19:46 2018] [debug] 200 OK (0.004556s, 219.491/s) [Tue Feb 20 02:19:46 2018] [debug] GET "/yancy/api/blog" [Tue Feb 20 02:19:46 2018] [debug] Routing to a callback [Tue Feb 20 02:19:46 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 592. Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 592. [Tue Feb 20 02:19:46 2018] [debug] 200 OK (0.00505s, 198.020/s) [Tue Feb 20 02:19:46 2018] [debug] GET "/yancy/api/blog/1" [Tue Feb 20 02:19:46 2018] [debug] Routing to a callback [Tue Feb 20 02:19:46 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 592. [Tue Feb 20 02:19:46 2018] [debug] 200 OK (0.003942s, 253.678/s) [Tue Feb 20 02:19:46 2018] [debug] GET "/yancy/api/blog/2" [Tue Feb 20 02:19:46 2018] [debug] Routing to a callback [Tue Feb 20 02:19:46 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "get_item" [Tue Feb 20 02:19:46 2018] [debug] 401 Unauthorized (0.002775s, 360.360/s) [Tue Feb 20 02:19:46 2018] [debug] PUT "/yancy/api/blog/1" [Tue Feb 20 02:19:46 2018] [debug] Routing to a callback [Tue Feb 20 02:19:46 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 592. [Tue Feb 20 02:19:46 2018] [warn] OpenAPI <<< PUT /yancy/api/blog/1 [{"message":"Read-only.","path":"\/newItem\/user_id"}] [Tue Feb 20 02:19:46 2018] [debug] 400 Bad Request (0.004181s, 239.177/s) [Tue Feb 20 02:19:46 2018] [debug] PUT "/yancy/api/blog/1" [Tue Feb 20 02:19:46 2018] [debug] Routing to a callback [Tue Feb 20 02:19:46 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 592. Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 592. [Tue Feb 20 02:19:46 2018] [debug] 200 OK (0.003776s, 264.831/s) [Tue Feb 20 02:19:46 2018] [debug] PUT "/yancy/api/blog/2" [Tue Feb 20 02:19:46 2018] [debug] Routing to a callback [Tue Feb 20 02:19:46 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 592. [Tue Feb 20 02:19:46 2018] [debug] 401 Unauthorized (0.004834s, 206.868/s) [Tue Feb 20 02:19:46 2018] [debug] POST "/yancy/api/blog" [Tue Feb 20 02:19:46 2018] [debug] Routing to a callback [Tue Feb 20 02:19:46 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 592. Format rule for 'markdown' is missing at /data/fly2400/cpanfly-5.24/var/megalib/JSON/Validator.pm line 592. [Tue Feb 20 02:19:46 2018] [debug] 201 Created (0.003879s, 257.798/s) [Tue Feb 20 02:19:46 2018] [debug] POST "/yancy/api/blog" [Tue Feb 20 02:19:46 2018] [debug] Routing to a callback [Tue Feb 20 02:19:46 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 592. [Tue Feb 20 02:19:46 2018] [warn] OpenAPI <<< POST /yancy/api/blog [{"message":"Read-only.","path":"\/newItem\/user_id"}] [Tue Feb 20 02:19:46 2018] [debug] 400 Bad Request (0.003364s, 297.265/s) [Tue Feb 20 02:19:46 2018] [debug] DELETE "/yancy/api/blog/4" [Tue Feb 20 02:19:46 2018] [debug] Routing to a callback [Tue Feb 20 02:19:46 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "delete_item" [Tue Feb 20 02:19:46 2018] [debug] 204 No Content (0.002482s, 402.901/s) [Tue Feb 20 02:19:46 2018] [debug] DELETE "/yancy/api/blog/2" [Tue Feb 20 02:19:46 2018] [debug] Routing to a callback [Tue Feb 20 02:19:46 2018] [debug] Routing to controller "Yancy::Controller::Yancy::MultiTenant" and action "delete_item" [Tue Feb 20 02:19:46 2018] [debug] 401 Unauthorized (0.00295s, 338.983/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 [Tue Feb 20 02:19:47 2018] [debug] PUT "/yancy/api/users/doug" [Tue Feb 20 02:19:47 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "set_item" [Tue Feb 20 02:19:47 2018] [debug] Your secret passphrase needs to be changed [Tue Feb 20 02:19:47 2018] [debug] 200 OK (0.005795s, 172.563/s) [Tue Feb 20 02:19:47 2018] [debug] POST "/yancy/api/users" [Tue Feb 20 02:19:47 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "add_item" [Tue Feb 20 02:19:47 2018] [debug] 201 Created (0.002215s, 451.467/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 [Tue Feb 20 02:19:49 2018] [debug] GET "/yancy" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Your secret passphrase needs to be changed [Tue Feb 20 02:19:49 2018] [debug] Rendering template "yancy/auth/unauthorized.html.ep" from DATA section [Tue Feb 20 02:19:49 2018] [debug] Rendering template "layouts/yancy.html.ep" [Tue Feb 20 02:19:49 2018] [debug] 401 Unauthorized (0.01278s, 78.247/s) [Tue Feb 20 02:19:49 2018] [debug] GET "/yancy/api" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Template ".html.ep" not found [Tue Feb 20 02:19:49 2018] [debug] 401 Unauthorized (0.003515s, 284.495/s) [Tue Feb 20 02:19:49 2018] [debug] GET "/yancy/api/users" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Template "users.html.ep" not found [Tue Feb 20 02:19:49 2018] [debug] 401 Unauthorized (0.001198s, 834.725/s) [Tue Feb 20 02:19:49 2018] [debug] POST "/yancy/api/users" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Template "users.html.ep" not found [Tue Feb 20 02:19:49 2018] [debug] 401 Unauthorized (0.001249s, 800.641/s) [Tue Feb 20 02:19:49 2018] [debug] GET "/yancy/api/users/doug" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Template "usersid.html.ep" not found [Tue Feb 20 02:19:49 2018] [debug] 401 Unauthorized (0.001663s, 601.323/s) [Tue Feb 20 02:19:49 2018] [debug] PUT "/yancy/api/users/doug" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Template "usersid.html.ep" not found [Tue Feb 20 02:19:49 2018] [debug] 401 Unauthorized (0.001322s, 756.430/s) [Tue Feb 20 02:19:49 2018] [debug] DELETE "/yancy/api/users/doug" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Template "usersid.html.ep" not found [Tue Feb 20 02:19:49 2018] [debug] 401 Unauthorized (0.001213s, 824.402/s) [Tue Feb 20 02:19:49 2018] [debug] GET "/yancy/login" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Rendering template "yancy/auth/login.html.ep" from DATA section [Tue Feb 20 02:19:49 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Tue Feb 20 02:19:49 2018] [debug] 200 OK (0.003626s, 275.786/s) [Tue Feb 20 02:19:49 2018] [debug] POST "/yancy/login" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Rendering cached template "yancy/auth/login.html.ep" from DATA section [Tue Feb 20 02:19:49 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Tue Feb 20 02:19:49 2018] [debug] 400 Bad Request (0.001973s, 506.842/s) [Tue Feb 20 02:19:49 2018] [debug] POST "/yancy/login" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] 303 See Other (0.001015s, 985.222/s) [Tue Feb 20 02:19:49 2018] [debug] GET "/yancy" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "index" [Tue Feb 20 02:19:49 2018] [debug] Action not found in controller [Tue Feb 20 02:19:49 2018] [debug] Rendering template "yancy/index.html.ep" [Tue Feb 20 02:19:49 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Tue Feb 20 02:19:49 2018] [debug] 200 OK (0.016483s, 60.669/s) [Tue Feb 20 02:19:49 2018] [debug] GET "/yancy/api" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] 200 OK (0.004456s, 224.417/s) [Tue Feb 20 02:19:49 2018] [debug] GET "/yancy/api/users" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 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.017-DPTuke/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.017-DPTuke/blib/lib/Yancy/Backend/Test.pm line 52. [Tue Feb 20 02:19:49 2018] [debug] 200 OK (0.002148s, 465.549/s) [Tue Feb 20 02:19:49 2018] [debug] GET "/yancy/api/users/doug" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "get_item" [Tue Feb 20 02:19:49 2018] [debug] 200 OK (0.001774s, 563.698/s) [Tue Feb 20 02:19:49 2018] [debug] PUT "/yancy/api/users/doug" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "set_item" [Tue Feb 20 02:19:49 2018] [debug] 200 OK (0.00216s, 462.963/s) [Tue Feb 20 02:19:49 2018] [debug] GET "/yancy/logout" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Rendering cached template "yancy/auth/login.html.ep" from DATA section [Tue Feb 20 02:19:49 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Tue Feb 20 02:19:49 2018] [debug] 200 OK (0.001424s, 702.247/s) [Tue Feb 20 02:19:49 2018] [debug] GET "/yancy" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Rendering cached template "yancy/auth/unauthorized.html.ep" from DATA section [Tue Feb 20 02:19:49 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Tue Feb 20 02:19:49 2018] [debug] 401 Unauthorized (0.001682s, 594.530/s) [Tue Feb 20 02:19:49 2018] [debug] GET "/" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Your secret passphrase needs to be changed [Tue Feb 20 02:19:49 2018] [debug] Rendering template "yancy/auth/unauthorized.html.ep" from DATA section [Tue Feb 20 02:19:49 2018] [debug] Rendering template "layouts/yancy.html.ep" [Tue Feb 20 02:19:49 2018] [debug] 401 Unauthorized (0.009149s, 109.302/s) [Tue Feb 20 02:19:49 2018] [debug] GET "/yancy" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Rendering cached template "yancy/auth/unauthorized.html.ep" from DATA section [Tue Feb 20 02:19:49 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Tue Feb 20 02:19:49 2018] [debug] 401 Unauthorized (0.001822s, 548.847/s) [Tue Feb 20 02:19:49 2018] [debug] GET "/yancy/api" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Template ".html.ep" not found [Tue Feb 20 02:19:49 2018] [debug] 401 Unauthorized (0.002983s, 335.233/s) [Tue Feb 20 02:19:49 2018] [debug] POST "/login" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] 303 See Other (0.001344s, 744.048/s) [Tue Feb 20 02:19:49 2018] [debug] GET "/" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] 200 OK (0.000797s, 1254.705/s) [Tue Feb 20 02:19:49 2018] [debug] GET "/yancy" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Routing to controller "Yancy::Controller::Yancy" and action "index" [Tue Feb 20 02:19:49 2018] [debug] Action not found in controller [Tue Feb 20 02:19:49 2018] [debug] Rendering template "yancy/index.html.ep" [Tue Feb 20 02:19:49 2018] [debug] Rendering cached template "layouts/yancy.html.ep" [Tue Feb 20 02:19:49 2018] [debug] 200 OK (0.016596s, 60.255/s) [Tue Feb 20 02:19:49 2018] [debug] GET "/yancy/api" [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] Routing to a callback [Tue Feb 20 02:19:49 2018] [debug] 200 OK (0.004311s, 231.965/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 - return to field exists with correct value ok 7 - POST /yancy/login ok 8 - 400 Bad Request ok 9 - not Location: /yancy ok 10 - POST /yancy/login ok 11 - 303 See Other ok 12 - Location: /yancy 1..12 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 # Subtest: standalone plugin ok 1 - GET / ok 2 - User is not authorized for root ok 3 - Content-Type is similar ok 4 - GET /yancy ok 5 - User is not authorized for admin app ok 6 - Content-Type is similar ok 7 - GET /yancy/api ok 8 - User is not authorized for API spec ok 9 - Content-Type is similar ok 10 - POST /login ok 11 - 303 See Other ok 12 - Location: / ok 13 - GET / ok 14 - User is authorized for root ok 15 - exact match for content ok 16 - Content-Type is similar ok 17 - GET /yancy ok 18 - User is authorized for admin app ok 19 - Content-Type is similar ok 20 - GET /yancy/api ok 21 - User is authorized for API spec ok 22 - Content-Type is similar 1..22 ok 5 - standalone plugin 1..5 ok All tests successful. Files=12, Tests=38, 10 wallclock secs ( 0.05 usr 0.05 sys + 9.19 cusr 1.11 csys = 10.40 CPU) Result: PASS PREACTION/Yancy-0.017.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.8812' 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.017-DPTuke && tar cvf - Yancy-0.017.ppd blib) | gzip -c >/data/fly2400/cpanfly-5.24/var/REPO/P/PR/PREACTION/Yancy-0.017.tar.gz Yancy-0.017.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: 364908 kB Finished 2018-02-20T02:19:50