{"action":"created","issue":{"url":"https://api.github.com/repos/openwhisk/openwhisk/issues/152","repository_url":"https://api.github.com/repos/openwhisk/openwhisk","labels_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/152/comments","events_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/152/events","html_url":"https://github.com/openwhisk/openwhisk/issues/152","id":145135864,"number":152,"title":"deploy failed","user":{"login":"lzbj","id":17563447,"avatar_url":"https://avatars.githubusercontent.com/u/17563447?v=3","gravatar_id":"","url":"https://api.github.com/users/lzbj","html_url":"https://github.com/lzbj","followers_url":"https://api.github.com/users/lzbj/followers","following_url":"https://api.github.com/users/lzbj/following{/other_user}","gists_url":"https://api.github.com/users/lzbj/gists{/gist_id}","starred_url":"https://api.github.com/users/lzbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzbj/subscriptions","organizations_url":"https://api.github.com/users/lzbj/orgs","repos_url":"https://api.github.com/users/lzbj/repos","events_url":"https://api.github.com/users/lzbj/events{/privacy}","received_events_url":"https://api.github.com/users/lzbj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openwhisk/openwhisk/labels/documentation","name":"documentation","color":"c5def5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-04-01T09:43:34Z","updated_at":"2016-05-24T13:44:36Z","closed_at":null,"body":"Hi,\r\n\r\nI succcessfully build the openwhisk docker images according to READme, but when I try ant deploy, I got the following error.\r\n\r\n```\r\nhe ' characters around the executable and arguments are\r\nnot part of the command.\r\n     [exec] The invoker hosts are [(0, '172.17.0.1', False)]\r\n     [exec] Removing invoker0        at 172.17.0.1:4243     0.0 sec   did nothing\r\n     [exec] Skipping pull\r\n     [exec] Starting invoker0        at 172.17.0.1:4243     0.4 sec   SUCCEEDED\r\n     [exec] Container 6918e6898fab8349 at 172.17.0.1:4243     0.1 sec   SUCCEEDED\r\n     [exec]   has imageId   fb184548770d4b3bbe6647f26d1e7a7f84b76fd11a562a802978fe801368fcdf\r\n     [exec] Checking invoker0                                               63.3 sec   FAILED\r\n     [exec] return code = 7 \r\n     [exec] 172.17.0.1:12001\r\n     [exec] invoker0 is not responding\r\n     [exec] \r\n     [exec] Tried to deploy 1 invokers. Failed to process 1 invokers in 63.8 sec.\r\n  [antcall] Exiting /home/vagrant/openwhisk/core/build.xml.\r\n      [ant] Exiting /home/vagrant/openwhisk/core/build.xml.\r\n\r\nBUILD FAILED\r\n/home/vagrant/openwhisk/build.xml:51: The following error occurred while executing this line:\r\n/home/vagrant/openwhisk/core/build.xml:14: The following error occurred while executing this line:\r\n/home/vagrant/openwhisk/core/build.xml:26: exec returned: 1\r\n        at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)\r\n        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)\r\n        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)\r\n        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)\r\n        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:498)\r\n        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)\r\n        at org.apache.tools.ant.Task.perform(Task.java:348)\r\n        at org.apache.tools.ant.Target.execute(Target.java:435)\r\n        at org.apache.tools.ant.Target.performTasks(Target.java:456)\r\n        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)\r\n        at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)\r\n        at org.apache.tools.ant.Project.executeTargets(Project.java:1248)\r\n        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:440)\r\n        at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)\r\n        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)\r\n        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:498)\r\n        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)\r\n        at org.apache.tools.ant.Task.perform(Task.java:348)\r\n        at org.apache.tools.ant.taskdefs.Parallel$TaskRunnable.run(Parallel.java:453)\r\n        at java.lang.Thread.run(Thread.java:745)\r\n```\r\n\r\nwhat might be the issue, is any anyone else encountered the same issue?\r\n\r\n\r\nThanks\r\ndliu"},"comment":{"url":"https://api.github.com/repos/openwhisk/openwhisk/issues/comments/221273687","html_url":"https://github.com/openwhisk/openwhisk/issues/152#issuecomment-221273687","issue_url":"https://api.github.com/repos/openwhisk/openwhisk/issues/152","id":221273687,"user":{"login":"perryibm","id":14339749,"avatar_url":"https://avatars.githubusercontent.com/u/14339749?v=3","gravatar_id":"","url":"https://api.github.com/users/perryibm","html_url":"https://github.com/perryibm","followers_url":"https://api.github.com/users/perryibm/followers","following_url":"https://api.github.com/users/perryibm/following{/other_user}","gists_url":"https://api.github.com/users/perryibm/gists{/gist_id}","starred_url":"https://api.github.com/users/perryibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perryibm/subscriptions","organizations_url":"https://api.github.com/users/perryibm/orgs","repos_url":"https://api.github.com/users/perryibm/repos","events_url":"https://api.github.com/users/perryibm/events{/privacy}","received_events_url":"https://api.github.com/users/perryibm/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T13:44:36Z","updated_at":"2016-05-24T13:44:36Z","body":"@rabbah The bug could be that the invoker came up too slowly.  If you look at the log, you see that the second time, it took 10 seconds for it to come up.  The invoker lifecycle PR 495 will help with that.  Another thing is to increase the allowed check time because a local deploy on a loaded machine might just take longer.\r\n\r\n```\r\n[2016-05-24T10:45:13.992Z] [INFO] Slf4jLogger started [akka.event.slf4j.Slf4jLogger:80] \r\n[2016-05-24T10:45:38.660Z] [INFO] Slf4jLogger started [akka.event.slf4j.Slf4jLogger:80] \r\n[2016-05-24T10:45:39.672Z] [INFO] [#sid_101] [WhiskContainer] [marker:invoker_docker.run_start:7927] runDockerCmd: transid = #sid_101\r\n[2016-05-24T10:45:39.661Z] [INFO] [#sid_100] [ContainerPool] [marker:invoker_docker.ps_start:7916] runDockerCmd: transid = #sid_100\r\n[2016-05-24T10:45:42.837Z] [INFO] [#sid_100] [ContainerPool] [marker:invoker_docker.ps_finish:11092] \r\n[2016-05-24T10:45:42.991Z] [INFO] [??] [SimpleExec] Done running command: hostname -f\r\n[2016-05-24T10:45:43.869Z] [INFO] Slf4jLogger started [akka.event.slf4j.Slf4jLogger:80] \r\n[2016-05-24T10:45:44.963Z] [INFO] [#sid_101] [SimpleExec] Done running command: /usr/bin/docker --host tcp://172.17.0.1:4243 run -e EDGE_HOST=172.17.0.1:443 -e WHISK_VERSION_NAME=local:2016-05-24T10:39:58+00:00 -e SERVICE_IGNORE=true --name wsk0_1_warmJsContainer_20160524T104539624Z -m 256m --cap-drop NET_RAW --cap-drop NET_ADMIN --ulimit nofile=64:64 --ulimit nproc=512:512 --net bridge -d whisk/nodejsaction\r\n[2016-05-24T10:45:44.963Z] [INFO] [#sid_101] [WhiskContainer] [marker:invoker_docker.run_finish:13218] \r\n[2016-05-24T10:45:45.334Z] [INFO] [#sid_101] [WhiskContainer] [marker:invoker_docker.inspect_start:13589] runDockerCmd: transid = #sid_101\r\n[2016-05-24T10:45:45.408Z] [INFO] [#sid_101] [SimpleExec] Running command: /usr/bin/docker --host tcp://172.17.0.1:4243 inspect --format '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' wsk0_1_warmJsContainer_20160524T104539624Z\r\n[2016-05-24T10:45:46.026Z] [INFO] [#sid_101] [SimpleExec] Done running command: /usr/bin/docker --host tcp://172.17.0.1:4243 inspect --format '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' wsk0_1_warmJsContainer_20160524T104539624Z\r\n[2016-05-24T10:45:46.027Z] [INFO] [#sid_101] [WhiskContainer] [marker:invoker_docker.inspect_finish:14282] \r\n[2016-05-24T10:45:46.033Z] [INFO] [#sid_101] [WhiskContainer] [marker:invoker_docker.pause_start:14288] runDockerCmd: transid = #sid_101\r\n[2016-05-24T10:45:46.033Z] [INFO] [#sid_101] [SimpleExec] Running command: /usr/bin/docker --host tcp://172.17.0.1:4243 pause 9cfff28f875d500ef3459e8c6abbbd400a736f3418fb6477af6151bc09dac242\r\n[2016-05-24T10:45:47.206Z] [INFO] Bound to /0.0.0.0:8080 [spray.can.server.HttpListener:74] \r\n```"}}
{"actor":{"display_login":"perryibm"}}