Ukigumo-Agent [master](6db83fd077) SUCCESS
Compare: https://github.com/ukigumo/Ukigumo-Agent/compare/fca4f62442bf...6db83fd0773f
Elapsed Time: 28 sec
- 6db83fd moznion: Change to use logger class of Ukigumo::Common
_ 2014-05-11T00:02:36 [INFO] [master] ukigumo-client 0.31 at /home/moznion/var/www/Ukigumo-Agent/local/lib/perl5/Ukigumo/Client.pm line 307 _ 2014-05-11T00:02:36 [INFO] [master] start testing : https://github.com/ukigumo/Ukigumo-Agent master at /home/moznion/var/www/Ukigumo-Agent/local/lib/perl5/Ukigumo/Client.pm line 307 _ 2014-05-11T00:02:36 [INFO] [master] working directory : /tmp/Ukigumo-Agent/master at /home/moznion/var/www/Ukigumo-Agent/local/lib/perl5/Ukigumo/Client.pm line 307 _ 2014-05-11T00:02:36 [INFO] [master] run vc : Ukigumo::Client::VC::Git at /home/moznion/var/www/Ukigumo-Agent/local/lib/perl5/Ukigumo/Client.pm line 307 _ 2014-05-11T00:02:36 [INFO] [master] workdir is /tmp/Ukigumo-Agent/master at /home/moznion/var/www/Ukigumo-Agent/local/lib/perl5/Ukigumo/Client.pm line 307 _ 2014-05-11T00:02:36 [INFO] [master] command: git clone --branch master https://github.com/ukigumo/Ukigumo-Agent ./ at /home/moznion/var/www/Ukigumo-Agent/local/lib/perl5/Ukigumo/Client.pm line 307 _ Cloning into '.'... _ 2014-05-11T00:02:39 [INFO] [master] command: git pull -f origin master at /home/moznion/var/www/Ukigumo-Agent/local/lib/perl5/Ukigumo/Client.pm line 307 _ From https://github.com/ukigumo/Ukigumo-Agent _ * branch master -> FETCH_HEAD _ Already up-to-date. _ 2014-05-11T00:02:40 [INFO] [master] command: git submodule init at /home/moznion/var/www/Ukigumo-Agent/local/lib/perl5/Ukigumo/Client.pm line 307 _ 2014-05-11T00:02:40 [INFO] [master] command: git submodule update at /home/moznion/var/www/Ukigumo-Agent/local/lib/perl5/Ukigumo/Client.pm line 307 _ 2014-05-11T00:02:40 [INFO] [master] command: git clean -dxf at /home/moznion/var/www/Ukigumo-Agent/local/lib/perl5/Ukigumo/Client.pm line 307 _ 2014-05-11T00:02:40 [INFO] [master] command: git status at /home/moznion/var/www/Ukigumo-Agent/local/lib/perl5/Ukigumo/Client.pm line 307 _ # On branch master _ nothing to commit, working directory clean _ 2014-05-11T00:02:44 [INFO] [master] run executor : Ukigumo::Client::Executor::Command at /home/moznion/var/www/Ukigumo-Agent/local/lib/perl5/Ukigumo/Client.pm line 307 _ 2014-05-11T00:02:44 [INFO] [master] command: prove -lrv -Iextlib/lib/perl5 t at /home/moznion/var/www/Ukigumo-Agent/local/lib/perl5/Ukigumo/Client.pm line 307 _ _ [00:02:44] ==> t/00_compile.t <=================== _ _ ✓ use Ukigumo::Agent; _ ✓ use Ukigumo::Agent::Dispatcher; _ ✓ use Ukigumo::Agent::View; _ ✓ use Ukigumo::Agent::Manager; _ _ ok _ ok 926 ms _ _ [00:02:45] ==> t/01_root.t <====================== _ _ http://127.0.0.1:50579/ _ 127.0.0.1 - - [11/May/2014:00:02:46 +0900] "GET / HTTP/1.1" 200 1771 "-" "libwww-perl/6.06" _ ✓ L11: is $res->code, 200; _ _ ok _ ok 979 ms _ _ [00:02:46] ==> t/02_github_hook_endpoint.t <====== _ _ Don't ignore github tags _ http://127.0.0.1:50530/ _ push branch and successful _ 2014-05-11T00:02:47 [INFO] playload: {"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 - - [11/May/2014:00:02:47 +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-05-11T00:02:47 [INFO] playload: {"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 - - [11/May/2014:00:02:47 +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 _ http://127.0.0.1:50565/ _ 2014-05-11T00:02:47 [INFO] playload: {"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 - - [11/May/2014:00:02:47 +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 _ http://127.0.0.1:50079/ _ 2014-05-11T00:02:47 [INFO] playload: {"repository":{"url":"127.0.0.1/repos"}} at /tmp/Ukigumo-Agent/master/t/../lib/Ukigumo/Agent/Dispatcher.pm line 51 _ 127.0.0.1 - - [11/May/2014:00:02:47 +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 _ http://127.0.0.1:50785/ _ 2014-05-11T00:02:48 [INFO] playload: {"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 - - [11/May/2014:00:02:48 +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 1531 ms _ _ [00:02:48] ==> t/03_enqueue.t <=================== _ _ http://127.0.0.1:50626/ _ normal _ 127.0.0.1 - - [11/May/2014:00:02:48 +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 - - [11/May/2014:00:02:48 +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 - - [11/May/2014:00:02:48 +0900] "POST /api/v0/enqueue HTTP/1.1" 400 104 "-" "libwww-perl/6.06" _ ✓ L46: is $res->code, 400; _ _ ok _ ok 598 ms _ _ [00:02:48] ==> t/manager/job_queue.t <============ _ _ register_job _ single child _ ✓ L31: is $manager->register_job('foo'), 'running'; _ ✓ L32: is $manager->register_job('bar'), 'pushed'; _ ✓ L33: is $manager->register_job('buz'), 'pushed'; _ ✓ L34: is_deeply $manager->{job_queue}, ['bar', 'buz']; _ multi children _ ✓ L45: is $manager->register_job('foo'), 'running'; _ ✓ L46: is $manager->register_job('bar'), 'running'; _ ✓ L47: is $manager->register_job('buz'), 'running'; _ ✓ L48: is $manager->register_job('qux'), 'pushed'; _ ✓ L49: is_deeply $manager->{job_queue}, ['qux']; _ _ ok _ ok 205 ms _ _ [00:02:48] ==> t/manager/run_job/exceptional.t <== _ _ exceptional _ client died _ ✓ L67: like $got, qr! _ lack arguments _ ✓ L81: ok $@; _ ✓ L84: ok $@; _ ✓ L87: ok $@; _ _ ok _ ok 1265 ms _ _ [00:02:50] ==> t/manager/run_job/normal.t <======= _ _ normal case _ single child _ ✓ L73: like $got, qr/ _ multi children _ ✓ L119: like $got, qr/(?: _ ✓ L148: ok 1; _ _ ok _ ok 7324 ms _ _ [00:02:57] ==> t/manager/run_job/timeout.t <====== _ _ timeout _ ✓ L76: like $got, qr/ _ _ ok _ ok 7272 ms _ [00:03:04] _ All tests successful. _ Files=8, Tests=8, 20 wallclock secs ( 0.06 usr 0.01 sys + 2.83 cusr 0.63 csys = 3.53 CPU) _ Result: PASS _ 2014-05-11T00:03:04 [INFO] [master] finished testing : 1 at /home/moznion/var/www/Ukigumo-Agent/local/lib/perl5/Ukigumo/Client.pm line 307