Ukigumo-Agent [master](2237a52f96) SUCCESS
Compare: https://github.com/ukigumo/Ukigumo-Agent/compare/a22bc47c1d95...2237a52f960d
Elapsed Time: 27 sec
- 2237a52 Taiki Kawakami: Merge pull request #13 from masaki/topic/force_git_url
- a708901 moznion: Fix the contradiction of version description of perl runtime
- e0ecb0f moznion: Fix the tests #12 has failed due
- 0a90179 ikasam_a: simplify test
- 5793ca0 ikasam_a: force_git_url test
- 428611d ikasam_a: revert version
- 5ac2617 ikasam_a: force_git_url as configurable option
- 8a590ff Masaki Nakagawa: Merge pull request #1 from masaki/topic/config_file
_ 2014-06-10T13:04:57 [INFO] [master] ukigumo-client 0.34 _ 2014-06-10T13:04:57 [INFO] [master] start testing : https://github.com/ukigumo/Ukigumo-Agent master _ 2014-06-10T13:04:57 [INFO] [master] working directory : /tmp/Ukigumo-Agent/master _ 2014-06-10T13:04:57 [INFO] [master] run vc : Ukigumo::Client::VC::Git _ 2014-06-10T13:04:57 [INFO] [master] workdir is /tmp/Ukigumo-Agent/master _ 2014-06-10T13:04:57 [INFO] [master] command: git pull -f origin master _ From https://github.com/ukigumo/Ukigumo-Agent _ * branch master -> FETCH_HEAD _ a22bc47..2237a52 master -> origin/master _ Updating a22bc47..2237a52 _ Fast-forward _ lib/Ukigumo/Agent/Dispatcher.pm | 16 ++++++++-------- _ lib/Ukigumo/Agent/Manager.pm | 7 +++++++ _ script/ukigumo-agent | 3 +++ _ share/tmpl/index.tt | 1 + _ t/02_github_hook_endpoint.t | 18 ++++++++++++++++++ _ 5 files changed, 37 insertions(+), 8 deletions(-) _ 2014-06-10T13:05:00 [INFO] [master] command: git submodule init _ 2014-06-10T13:05:00 [INFO] [master] command: git submodule update _ 2014-06-10T13:05:00 [INFO] [master] command: git clean -dxf _ Removing extlib _ 2014-06-10T13:05:00 [INFO] [master] command: git status _ # On branch master _ nothing to commit, working directory clean _ 2014-06-10T13:05:00 [INFO] [master] [before_install] cpanm -L $HOME/.ukigumo/ukigumo-agent/extlib --installdeps -n . _ 2014-06-10T13:05:02 [INFO] [master] [install] ln -s $HOME/.ukigumo/ukigumo-agent/extlib ./extlib _ 2014-06-10T13:05:02 [INFO] [master] run executor : Ukigumo::Client::Executor::Command _ 2014-06-10T13:05:02 [INFO] [master] command: prove -lrv -Iextlib/lib/perl5 t _ _ [13:05:02] ==> t/00_compile.t <=================== _ _ ✓ use Ukigumo::Agent; _ ✓ use Ukigumo::Agent::Dispatcher; _ ✓ use Ukigumo::Agent::View; _ ✓ use Ukigumo::Agent::Manager; _ _ ok _ ok 1432 ms _ _ [13:05:04] ==> t/01_root.t <====================== _ _ Twiggy: Accepting connections at http://127.0.0.1:50099/ _ 127.0.0.1 - - [10/Jun/2014:13:05:05 +0900] "GET / HTTP/1.1" 200 1841 "-" "libwww-perl/6.06" _ ✓ L11: is $res->code, 200; _ _ ok _ ok 1310 ms _ _ [13:05:05] ==> t/02_github_hook_endpoint.t <====== _ _ Don't ignore github tags _ Twiggy: Accepting connections at http://127.0.0.1:50843/ _ push branch and successful _ 2014-06-10T13:05:06 [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 52 _ 127.0.0.1 - - [10/Jun/2014:13:05:06 +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-10T13:05:06 [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 52 _ 127.0.0.1 - - [10/Jun/2014:13:05:06 +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:50170/ _ 2014-06-10T13:05:06 [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 52 _ 127.0.0.1 - - [10/Jun/2014:13:05:06 +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:50694/ _ 2014-06-10T13:05:06 [INFO] payload: {"repository":{"url":"127.0.0.1/repos"}} at /tmp/Ukigumo-Agent/master/t/../lib/Ukigumo/Agent/Dispatcher.pm line 52 _ 127.0.0.1 - - [10/Jun/2014:13:05:06 +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:50563/ _ 2014-06-10T13:05:07 [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 52 _ 127.0.0.1 - - [10/Jun/2014:13:05:07 +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), {}; _ replace http URL to git-URL when `--force_git_url` is enabled _ Twiggy: Accepting connections at http://127.0.0.1:50466/ _ 2014-06-10T13:05:07 [INFO] payload: {"repository":{"url":"https://github.com/ukigumo/Ukigumo-Agent.git"},"ref":"refs/heads/branch"} at /tmp/Ukigumo-Agent/master/t/../lib/Ukigumo/Agent/Dispatcher.pm line 52 _ 127.0.0.1 - - [10/Jun/2014:13:05:07 +0900] "POST /api/github_hook HTTP/1.1" 200 135 "-" "libwww-perl/6.06" _ ✓ L119: is $res->code, 200; _ ✓ L120: is decode_json($res->content)->{repository}, 'git@github.com:ukigumo/Ukigumo-Agent.git'; _ _ ok _ ok 1896 ms _ _ [13:05:07] ==> t/03_enqueue.t <=================== _ _ Twiggy: Accepting connections at http://127.0.0.1:50317/ _ normal _ 127.0.0.1 - - [10/Jun/2014:13:05:08 +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 - - [10/Jun/2014:13:05:08 +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 - - [10/Jun/2014:13:05:08 +0900] "POST /api/v0/enqueue HTTP/1.1" 400 104 "-" "libwww-perl/6.06" _ ✓ L46: is $res->code, 400; _ _ ok _ ok 629 ms _ _ [13:05:08] ==> t/manager/job_queue.t <============ _ _ register_job _ single child _ ✓ L32: is $manager->register_job('foo'), 'running'; _ ✓ L33: is $manager->register_job('bar'), 'pushed'; _ ✓ L34: is $manager->register_job('buz'), 'pushed'; _ ✓ L35: is_deeply $manager->{job_queue}, ['bar', 'buz']; _ multi children _ ✓ L47: is $manager->register_job('foo'), 'running'; _ ✓ L48: is $manager->register_job('bar'), 'running'; _ ✓ L49: is $manager->register_job('buz'), 'running'; _ ✓ L50: is $manager->register_job('qux'), 'pushed'; _ ✓ L51: is_deeply $manager->{job_queue}, ['qux']; _ _ ok _ ok 198 ms _ _ [13:05:08] ==> t/manager/run_job/exceptional.t <== _ _ exceptional _ client died _ ✓ L68: like $got, qr! _ lack arguments _ ✓ L82: ok $@; _ ✓ L85: ok $@; _ ✓ L88: ok $@; _ _ ok _ ok 1278 ms _ _ [13:05:09] ==> t/manager/run_job/normal.t <======= _ _ normal case _ single child _ ✓ L74: like $got, qr/ _ multi children _ ✓ L121: like $got, qr/(?: _ ✓ L150: ok 1; _ _ ok _ ok 7314 ms _ _ [13:05:16] ==> t/manager/run_job/timeout.t <====== _ _ timeout _ ✓ L77: like $got, qr/ _ _ ok _ ok 7356 ms _ [13:05:24] _ All tests successful. _ Files=8, Tests=8, 22 wallclock secs ( 0.07 usr 0.03 sys + 3.25 cusr 0.75 csys = 4.10 CPU) _ Result: PASS _ 2014-06-10T13:05:24 [INFO] [master] finished testing : 1