{"action":"created","issue":{"url":"https://api.github.com/repos/fabric8io/docker-maven-plugin/issues/458","repository_url":"https://api.github.com/repos/fabric8io/docker-maven-plugin","labels_url":"https://api.github.com/repos/fabric8io/docker-maven-plugin/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/fabric8io/docker-maven-plugin/issues/458/comments","events_url":"https://api.github.com/repos/fabric8io/docker-maven-plugin/issues/458/events","html_url":"https://github.com/fabric8io/docker-maven-plugin/issues/458","id":156791018,"number":458,"title":"docker-maven-plugin hangs when starting a container","user":{"login":"jimmidyson","id":464659,"avatar_url":"https://avatars.githubusercontent.com/u/464659?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmidyson","html_url":"https://github.com/jimmidyson","followers_url":"https://api.github.com/users/jimmidyson/followers","following_url":"https://api.github.com/users/jimmidyson/following{/other_user}","gists_url":"https://api.github.com/users/jimmidyson/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmidyson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmidyson/subscriptions","organizations_url":"https://api.github.com/users/jimmidyson/orgs","repos_url":"https://api.github.com/users/jimmidyson/repos","events_url":"https://api.github.com/users/jimmidyson/events{/privacy}","received_events_url":"https://api.github.com/users/jimmidyson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-05-25T16:13:10Z","updated_at":"2016-07-04T18:33:39Z","closed_at":null,"body":"@sebastiankirsch commented on [Wed May 25 2016](https://github.com/fabric8io/kubernetes-client/issues/416)\n\nHi there!\r\n\r\nWe've configured our application like this\r\n\r\n    <image>\r\n      <!--  bla bla-->\r\n      <run>\r\n        <!--  bla bla-->\r\n        <wait>\r\n          <url>http://${docker.host.address}:${app.port}/revision</url>\r\n          <time>180000</time>\r\n        </wait>\r\n      </run>\r\n    </image>\r\n\r\nNow for some cases calling docker:start fails with a timeout on our build server. In the log files we see\r\n\r\n    [16:41:47][INFO] DOCKER> [is24-comm-service/comm-service] \"app\": Start container 64ccf13a7d7b\r\n    [16:50:24]The build ... has been running for more than 10 minutes. Terminating...\r\n\r\nfollowed by a thread dump\r\n\r\n    2016-05-25 16:50:24\r\n    Full thread dump OpenJDK 64-Bit Server VM (25.91-b14 mixed mode):\r\n    ...\r\n\r\n    \"main\" #1 prio=5 os_prio=0 tid=0x00007fcc3000c000 nid=0x731 runnable [0x00007fcc3925f000]\r\n    java.lang.Thread.State: RUNNABLE\r\n\tat com.kenai.jffi.Foreign.invokeN3O1(Native Method)\r\n\tat com.kenai.jffi.Invoker.invokeN3(Invoker.java:1061)\r\n\tat jnr.enxio.channels.Native$LibC$jnr$ffi$1.read(Unknown Source)\r\n\tat jnr.enxio.channels.Native.read(Native.java:95)\r\n\tat jnr.enxio.channels.NativeSocketChannel.read(NativeSocketChannel.java:70)\r\n\tat sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:59)\r\n\t- locked <0x0000000705320d48> (a java.lang.Object)\r\n\tat sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:109)\r\n\tat sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103)\r\n\t- locked <0x0000000705321158> (a sun.nio.ch.ChannelInputStream)\r\n\tat java.io.FilterInputStream.read(FilterInputStream.java:133)\r\n\tat org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:136)\r\n\tat org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:152)\r\n\tat org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:270)\r\n\tat org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)\r\n\tat org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)\r\n\tat org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)\r\n\tat org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:161)\r\n\tat org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:153)\r\n\tat org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)\r\n\tat org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)\r\n\tat org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:254)\r\n\tat org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)\r\n\tat org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)\r\n\tat org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)\r\n\tat org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)\r\n\tat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)\r\n\tat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:214)\r\n\tat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:160)\r\n\tat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:136)\r\n\tat io.fabric8.maven.docker.access.hc.ApacheHttpClientDelegate.post(ApacheHttpClientDelegate.java:83)\r\n\tat io.fabric8.maven.docker.access.hc.ApacheHttpClientDelegate.post(ApacheHttpClientDelegate.java:89)\r\n\tat io.fabric8.maven.docker.access.hc.DockerAccessWithHcClient.startContainer(DockerAccessWithHcClient.java:178)\r\n\tat io.fabric8.maven.docker.service.RunService.startContainer(RunService.java:363)\r\n\tat io.fabric8.maven.docker.service.RunService.createAndStartContainer(RunService.java:99)\r\n\tat io.fabric8.maven.docker.StartMojo.executeInternal(StartMojo.java:85)\r\n\t- locked <0x0000000705008ff0> (a io.fabric8.maven.docker.StartMojo)\r\n\tat io.fabric8.maven.docker.AbstractDockerMojo.execute(AbstractDockerMojo.java:164)\r\n\tat org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)\r\n\tat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)\r\n\tat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)\r\n\tat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)\r\n\tat org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)\r\n\tat org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)\r\n\tat org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)\r\n\tat org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)\r\n\tat org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)\r\n\tat org.apache.maven.cli.MavenCli.main(MavenCli.java:160)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)\r\n\r\nNow, for whatever the reason this hangs (the application ususally starts in ~30s), it should at least be interrupted by the configured `wait` condition.\n\n---\n\n@rhuss commented on [Wed May 25 2016](https://github.com/fabric8io/kubernetes-client/issues/416#issuecomment-221610153)\n\nwrong project ;-) Could you please reopen it at fabric8io/docker-maven-plugin ?\n\n"},"comment":{"url":"https://api.github.com/repos/fabric8io/docker-maven-plugin/issues/comments/230339353","html_url":"https://github.com/fabric8io/docker-maven-plugin/issues/458#issuecomment-230339353","issue_url":"https://api.github.com/repos/fabric8io/docker-maven-plugin/issues/458","id":230339353,"user":{"login":"sebastiankirsch","id":1285210,"avatar_url":"https://avatars.githubusercontent.com/u/1285210?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastiankirsch","html_url":"https://github.com/sebastiankirsch","followers_url":"https://api.github.com/users/sebastiankirsch/followers","following_url":"https://api.github.com/users/sebastiankirsch/following{/other_user}","gists_url":"https://api.github.com/users/sebastiankirsch/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastiankirsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastiankirsch/subscriptions","organizations_url":"https://api.github.com/users/sebastiankirsch/orgs","repos_url":"https://api.github.com/users/sebastiankirsch/repos","events_url":"https://api.github.com/users/sebastiankirsch/events{/privacy}","received_events_url":"https://api.github.com/users/sebastiankirsch/received_events","type":"User","site_admin":false},"created_at":"2016-07-04T18:33:39Z","updated_at":"2016-07-04T18:33:39Z","body":"So since upgrading, it seems we didn't face the issue anymore. Feel free to close this one.\r\nThank you."}}
{"actor":{"display_login":"sebastiankirsch"}}