Ukigumo-Agent [master](c1e230d5b3) FAIL
Compare: https://github.com/ukigumo/Ukigumo-Agent/compare/1657d2d2f172...c1e230d5b319
Elapsed Time: 12 sec
_ 2014-06-05T10:03:10 [INFO] [master] ukigumo-client 0.31 _ 2014-06-05T10:03:10 [INFO] [master] start testing : https://github.com/ukigumo/Ukigumo-Agent master _ 2014-06-05T10:03:10 [INFO] [master] working directory : /tmp/Ukigumo-Agent/master _ 2014-06-05T10:03:10 [INFO] [master] run vc : Ukigumo::Client::VC::Git _ 2014-06-05T10:03:10 [INFO] [master] workdir is /tmp/Ukigumo-Agent/master _ 2014-06-05T10:03:10 [INFO] [master] command: git clone --branch master https://github.com/ukigumo/Ukigumo-Agent ./ _ Cloning into '.'... _ 2014-06-05T10:03:13 [INFO] [master] command: git pull -f origin master _ From https://github.com/ukigumo/Ukigumo-Agent _ * branch master -> FETCH_HEAD _ Already up-to-date. _ 2014-06-05T10:03:14 [INFO] [master] command: git submodule init _ 2014-06-05T10:03:14 [INFO] [master] command: git submodule update _ 2014-06-05T10:03:14 [INFO] [master] command: git clean -dxf _ 2014-06-05T10:03:14 [INFO] [master] command: git status _ # On branch master _ nothing to commit, working directory clean _ 2014-06-05T10:03:14 [INFO] [master] [before_install] cpanm -L $HOME/.ukigumo/ukigumo-agent/extlib --installdeps -n . _ 2014-06-05T10:03:15 [INFO] [master] [install] ln -s $HOME/.ukigumo/ukigumo-agent/extlib ./extlib _ 2014-06-05T10:03:15 [INFO] [master] run executor : Ukigumo::Client::Executor::Command _ 2014-06-05T10:03:15 [INFO] [master] command: prove -lrv -Iextlib/lib/perl5 t _ _ [10:03:16] ==> t/00_compile.t <=================== _ _ ✓ use Ukigumo::Agent; _ ✓ use Ukigumo::Agent::Dispatcher; _ ✓ use Ukigumo::Agent::View; _ ✓ use Ukigumo::Agent::Manager; _ _ ok _ ok 1035 ms _ _ [10:03:17] ==> t/01_root.t <====================== _ _ Twiggy: Accepting connections at http://127.0.0.1:50385/ _ 127.0.0.1 - - [05/Jun/2014:10:03:18 +0900] "GET / HTTP/1.1" 200 1771 "-" "libwww-perl/6.06" _ ✓ L11: is $res->code, 200; _ _ ok _ ok 1804 ms _ _ [10:03:19] ==> t/02_github_hook_endpoint.t <====== _ _ Don't ignore github tags _ Twiggy: Accepting connections at http://127.0.0.1:50154/ _ push branch and successful _ 2014-06-05T10:03:19 [INFO] payload: {"repository":{"url":"127.0.0.1/repos"},"ref":"refs/heads/branch"} at /tmp/Ukigumo-Agent/master/t/../lib/Ukigumo/Agent/Dispatcher.pm line 51 _ 127.0.0.1 - - [05/Jun/2014:10:03:19 +0900] "POST /api/github_hook HTTP/1.1" 200 110 "-" "libwww-perl/6.06" _ ✓ L30: is $res->code, 200; _ ✓ L31: is decode_json($res->content)->{branch}, 'branch'; _ push tag and successful _ 2014-06-05T10:03:19 [INFO] payload: {"repository":{"url":"127.0.0.1/repos"},"ref":"refs/tags/tag"} at /tmp/Ukigumo-Agent/master/t/../lib/Ukigumo/Agent/Dispatcher.pm line 51 _ 127.0.0.1 - - [05/Jun/2014:10:03:19 +0900] "POST /api/github_hook HTTP/1.1" 200 107 "-" "libwww-perl/6.06" _ ✓ L46: is $res->code, 200; _ ✓ L47: is decode_json($res->content)->{branch}, 'tag'; _ push tag but do nothing when github tags are ignored _ Twiggy: Accepting connections at http://127.0.0.1:50626/ _ 2014-06-05T10:03:19 [INFO] payload: {"repository":{"url":"127.0.0.1/repos"},"ref":"refs/tags/tag"} at /tmp/Ukigumo-Agent/master/t/../lib/Ukigumo/Agent/Dispatcher.pm line 51 _ 127.0.0.1 - - [05/Jun/2014:10:03:19 +0900] "POST /api/github_hook HTTP/1.1" 200 2 "-" "libwww-perl/6.06" _ ✓ L65: is $res->code, 200; _ ✓ L66: is_deeply decode_json($res->content), {}; _ do nothing when ref is not in the payload _ Twiggy: Accepting connections at http://127.0.0.1:50314/ _ 2014-06-05T10:03:20 [INFO] payload: {"repository":{"url":"127.0.0.1/repos"}} at /tmp/Ukigumo-Agent/master/t/../lib/Ukigumo/Agent/Dispatcher.pm line 51 _ 127.0.0.1 - - [05/Jun/2014:10:03:20 +0900] "POST /api/github_hook HTTP/1.1" 200 2 "-" "libwww-perl/6.06" _ ✓ L82: is $res->code, 200; _ ✓ L83: is_deeply decode_json($res->content), {}; _ do nothing when `deleted` is true _ Twiggy: Accepting connections at http://127.0.0.1:50840/ _ 2014-06-05T10:03:20 [INFO] payload: {"repository":{"url":"127.0.0.1/repos"},"ref":"refs/heads/branch","deleted":1} at /tmp/Ukigumo-Agent/master/t/../lib/Ukigumo/Agent/Dispatcher.pm line 51 _ 127.0.0.1 - - [05/Jun/2014:10:03:20 +0900] "POST /api/github_hook HTTP/1.1" 200 2 "-" "libwww-perl/6.06" _ ✓ L101: is $res->code, 200; _ ✓ L102: is_deeply decode_json($res->content), {}; _ _ ok _ ok 1487 ms _ _ [10:03:20] ==> t/03_enqueue.t <=================== _ _ Twiggy: Accepting connections at http://127.0.0.1:50515/ _ normal _ 127.0.0.1 - - [05/Jun/2014:10:03:21 +0900] "POST /api/v0/enqueue HTTP/1.1" 200 2 "-" "libwww-perl/6.06" _ ✓ L25: is $res->code, 200; _ validation error _ branch is missing _ 127.0.0.1 - - [05/Jun/2014:10:03:21 +0900] "POST /api/v0/enqueue HTTP/1.1" 400 96 "-" "libwww-perl/6.06" _ ✓ L36: is $res->code, 400; _ repository is missing _ 127.0.0.1 - - [05/Jun/2014:10:03:21 +0900] "POST /api/v0/enqueue HTTP/1.1" 400 104 "-" "libwww-perl/6.06" _ ✓ L46: is $res->code, 400; _ _ ok _ ok 568 ms _ _ [10:03:21] ==> t/manager/job_queue.t <============ _ _ register_job _ single child _ Attribute (config) is required at t/manager/job_queue.t line 25. _ main::__ANON__() called at /home/moznion/.plenv/versions/5.16.3/lib/perl5/site_perl/5.16.3/Test/Pretty.pm line 311 _ Test::Pretty::_subtest('Test::Builder=HASH(0x17b5230)', 'single child', 'CODE(0x2437830)') called at /home/moznion/.plenv/versions/5.16.3/lib/perl5/5.16.3/Test/More.pm line 747 _ Test::More::subtest('single child', 'CODE(0x2437830)') called at t/manager/job_queue.t line 36 _ main::__ANON__() called at /home/moznion/.plenv/versions/5.16.3/lib/perl5/site_perl/5.16.3/Test/Pretty.pm line 311 _ Test::Pretty::_subtest('Test::Builder=HASH(0x17b5230)', 'register_job', 'CODE(0x1a7bbb0)') called at /home/moznion/.plenv/versions/5.16.3/lib/perl5/5.16.3/Test/More.pm line 747 _ Test::More::subtest('register_job', 'CODE(0x1a7bbb0)') called at t/manager/job_queue.t line 51 _ _ not ok _ Dubious, test returned 255 (wstat 65280, 0xff00) _ Failed 1/1 subtests _ [10:03:21] ==> t/manager/run_job/exceptional.t <== _ _ exceptional _ Attribute (config) is required at t/manager/run_job/exceptional.t line 46. _ main::__ANON__() called at /home/moznion/.plenv/versions/5.16.3/lib/perl5/site_perl/5.16.3/Test/Pretty.pm line 311 _ Test::Pretty::_subtest('Test::Builder=HASH(0x1d63280)', 'exceptional', 'CODE(0x26fea78)') called at /home/moznion/.plenv/versions/5.16.3/lib/perl5/5.16.3/Test/More.pm line 747 _ Test::More::subtest('exceptional', 'CODE(0x26fea78)') called at t/manager/run_job/exceptional.t line 89 _ _ not ok _ Dubious, test returned 255 (wstat 65280, 0xff00) _ Failed 1/1 subtests _ [10:03:21] ==> t/manager/run_job/normal.t <======= _ _ normal case _ single child _ Attribute (config) is required at t/manager/run_job/normal.t line 52. _ main::__ANON__() called at /home/moznion/.plenv/versions/5.16.3/lib/perl5/site_perl/5.16.3/Test/Pretty.pm line 311 _ Test::Pretty::_subtest('Test::Builder=HASH(0x1434280)', 'single child', 'CODE(0x1fb0e18)') called at /home/moznion/.plenv/versions/5.16.3/lib/perl5/5.16.3/Test/More.pm line 747 _ Test::More::subtest('single child', 'CODE(0x1fb0e18)') called at t/manager/run_job/normal.t line 84 _ main::__ANON__() called at /home/moznion/.plenv/versions/5.16.3/lib/perl5/site_perl/5.16.3/Test/Pretty.pm line 311 _ Test::Pretty::_subtest('Test::Builder=HASH(0x1434280)', 'normal case', 'CODE(0x1dd0308)') called at /home/moznion/.plenv/versions/5.16.3/lib/perl5/5.16.3/Test/More.pm line 747 _ Test::More::subtest('normal case', 'CODE(0x1dd0308)') called at t/manager/run_job/normal.t line 150 _ _ not ok _ Dubious, test returned 25 (wstat 6400, 0x1900) _ Failed 1/1 subtests _ [10:03:21] ==> t/manager/run_job/timeout.t <====== _ _ timeout _ Attribute (config) is required at t/manager/run_job/timeout.t line 51. _ main::__ANON__() called at /home/moznion/.plenv/versions/5.16.3/lib/perl5/site_perl/5.16.3/Test/Pretty.pm line 311 _ Test::Pretty::_subtest('Test::Builder=HASH(0x2048280)', 'timeout', 'CODE(0x29e3b38)') called at /home/moznion/.plenv/versions/5.16.3/lib/perl5/5.16.3/Test/More.pm line 747 _ Test::More::subtest('timeout', 'CODE(0x29e3b38)') called at t/manager/run_job/timeout.t line 86 _ _ not ok _ Dubious, test returned 25 (wstat 6400, 0x1900) _ Failed 1/1 subtests [10:03:22] _ _ Test Summary Report _ ------------------- _ t/manager/job_queue.t (Wstat: 65280 Tests: 1 Failed: 1) _ Failed test: 1 _ Non-zero exit status: 255 _ t/manager/run_job/exceptional.t (Wstat: 65280 Tests: 1 Failed: 1) _ Failed test: 1 _ Non-zero exit status: 255 _ t/manager/run_job/normal.t (Wstat: 6400 Tests: 1 Failed: 1) _ Failed test: 1 _ Non-zero exit status: 25 _ t/manager/run_job/timeout.t (Wstat: 6400 Tests: 1 Failed: 1) _ Failed test: 1 _ Non-zero exit status: 25 _ Files=8, Tests=8, 6 wallclock secs ( 0.07 usr 0.01 sys + 2.69 cusr 0.55 csys = 3.32 CPU) _ Result: FAIL _ 2014-06-05T10:03:22 [INFO] [master] finished testing : 2