Rohan_Kanojia

Untitled

Mar 3rd, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.67 KB | None | 0 0
  1. ~/work/repos/docker-maven-plugin/samples/helloworld : $ mvn clean install docker:start
  2. [INFO] Scanning for projects...
  3. [INFO]
  4. [INFO] ------------------------------------------------------------------------
  5. [INFO] Building test 1.0.0-SNAPSHOT
  6. [INFO] ------------------------------------------------------------------------
  7. [INFO]
  8. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ test ---
  9. [INFO]
  10. [INFO] --- docker-maven-plugin:0.24-SNAPSHOT:start (start-containers) @ test ---
  11. ContainerCreateConfig.environment() called...
  12. Env size: 1Env : {CONSUL_BIND_INTERFACE=eth0}
  13. =========================
  14. mavenProps : {docker.host.address=localhost}
  15. value : eth0
  16. entry.getKey() : CONSUL_BIND_INTERFACE
  17. StrSubstituror.replace(eth0, {docker.host.address=localhost}) : eth0
  18. [INFO] DOCKER> [consul:1.0.6] "consul": Start container bdbd02547d41
  19. consul> ==> Found address '172.17.0.2' for interface 'eth0', setting bind option...
  20. consul> ==> Starting Consul agent...
  21. consul> ==> Consul agent running!
  22. consul> Version: 'v1.0.6'
  23. consul> Node ID: '0c9a4064-337b-c29f-6b06-c024e712d6c6'
  24. consul> Node name: 'bdbd02547d41'
  25. consul> Datacenter: 'dc1' (Segment: '<all>')
  26. consul> Server: true (Bootstrap: false)
  27. consul> Client Addr: [0.0.0.0] (HTTP: 8500, HTTPS: -1, DNS: 8600)
  28. consul> Cluster Addr: 172.17.0.2 (LAN: 8301, WAN: 8302)
  29. consul> Encrypt: Gossip: false, TLS-Outgoing: false, TLS-Incoming: false
  30. consul> ==> Log data will now stream in as it occurs:
  31. consul> 2018/03/03 10:45:54 [DEBUG] Using random ID "0c9a4064-337b-c29f-6b06-c024e712d6c6" as node ID
  32. consul> 2018/03/03 10:45:54 [INFO] raft: Initial configuration (index=1): [{Suffrage:Voter ID:0c9a4064-337b-c29f-6b06-c024e712d6c6 Address:172.17.0.2:8300}]
  33. consul> 2018/03/03 10:45:54 [INFO] raft: Node at 172.17.0.2:8300 [Follower] entering Follower state (Leader: "")
  34. consul> 2018/03/03 10:45:54 [INFO] serf: EventMemberJoin: bdbd02547d41.dc1 172.17.0.2
  35. consul> 2018/03/03 10:45:54 [INFO] serf: EventMemberJoin: bdbd02547d41 172.17.0.2
  36. consul> 2018/03/03 10:45:54 [INFO] agent: Started DNS server 0.0.0.0:8600 (udp)
  37. consul> 2018/03/03 10:45:54 [INFO] consul: Adding LAN server bdbd02547d41 (Addr: tcp/172.17.0.2:8300) (DC: dc1)
  38. consul> 2018/03/03 10:45:54 [INFO] consul: Handled member-join event for server "bdbd02547d41.dc1" in area "wan"
  39. consul> 2018/03/03 10:45:54 [INFO] agent: Started DNS server 0.0.0.0:8600 (tcp)
  40. consul> 2018/03/03 10:45:54 [INFO] agent: Started HTTP server on [::]:8500 (tcp)
  41. consul> 2018/03/03 10:45:54 [INFO] agent: started state syncer
  42. consul> 2018/03/03 10:45:54 [WARN] raft: Heartbeat timeout from "" reached, starting election
  43. consul> 2018/03/03 10:45:54 [INFO] raft: Node at 172.17.0.2:8300 [Candidate] entering Candidate state in term 2
  44. consul> 2018/03/03 10:45:54 [DEBUG] raft: Votes needed: 1
  45. consul> 2018/03/03 10:45:54 [DEBUG] raft: Vote granted from 0c9a4064-337b-c29f-6b06-c024e712d6c6 in term 2. Tally: 1
  46. consul> 2018/03/03 10:45:54 [INFO] raft: Election won. Tally: 1
  47. consul> 2018/03/03 10:45:54 [INFO] raft: Node at 172.17.0.2:8300 [Leader] entering Leader state
  48. consul> 2018/03/03 10:45:54 [INFO] consul: cluster leadership acquired
  49. consul> 2018/03/03 10:45:54 [INFO] consul: New leader elected: bdbd02547d41
  50. consul> 2018/03/03 10:45:54 [DEBUG] consul: Skipping self join check for "bdbd02547d41" since the cluster is too small
  51. [INFO] DOCKER> Pattern 'consul: New leader elected' matched for container bdbd02547d41
  52. consul> 2018/03/03 10:45:54 [INFO] consul: member 'bdbd02547d41' joined, marking health alive
  53. [INFO] DOCKER> [consul:1.0.6] "consul": Waited on log out 'consul: New leader elected' 510 ms
  54. ContainerCreateConfig.environment() called...
  55. Env size: 1Env : {CONSUL_HTTP_ADDR=${docker.container.consul.ip}:8500}
  56. =========================
  57. mavenProps : {docker.host.address=localhost}
  58. value : ${docker.container.consul.ip}:8500
  59. entry.getKey() : CONSUL_HTTP_ADDR
  60. StrSubstituror.replace(${docker.container.consul.ip}:8500, {docker.host.address=localhost}) : ${docker.container.consul.ip}:8500
  61. [INFO] DOCKER> [consul:1.0.6] "consul-test": Start container 361e7c81bfdf
  62. consul> 2018/03/03 10:45:54 [DEBUG] Skipping remote check "serfHealth" since it is managed automatically
  63. consul> 2018/03/03 10:45:54 [INFO] agent: Synced node info
  64. consul> 2018/03/03 10:45:54 [DEBUG] agent: Node info in sync
  65. consul-test> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  66. consul-test> HOSTNAME=361e7c81bfdf
  67. consul-test> CONSUL_HTTP_ADDR=${docker.container.consul.ip}:8500
  68. consul-test> CONSUL_VERSION=1.0.6
  69. consul-test> HASHICORP_RELEASES=https://releases.hashicorp.com
  70. consul-test> HOME=/root
  71. consul> 2018/03/03 10:45:55 [DEBUG] Skipping remote check "serfHealth" since it is managed automatically
  72. consul> 2018/03/03 10:45:55 [DEBUG] agent: Node info in sync
  73. [INFO] DOCKER> [consul:1.0.6] "consul-test": Waited on exit code 0 517 ms
  74. [INFO]
  75. [INFO] --- docker-maven-plugin:0.24-SNAPSHOT:stop (stop-containers) @ test ---
  76. [INFO] DOCKER> [consul:1.0.6] "consul-test": Stop and removed container 361e7c81bfdf after 0 ms
  77. consul> 2018/03/03 10:45:55 [INFO] Caught signal: terminated
  78. consul> 2018/03/03 10:45:55 [INFO] Graceful shutdown disabled. Exiting
  79. consul> 2018/03/03 10:45:55 [INFO] agent: Requesting shutdown
  80. consul> 2018/03/03 10:45:55 [INFO] consul: shutting down server
  81. consul> 2018/03/03 10:45:55 [WARN] serf: Shutdown without a Leave
  82. consul> 2018/03/03 10:45:55 [WARN] serf: Shutdown without a Leave
  83. consul> 2018/03/03 10:45:55 [INFO] manager: shutting down
  84. consul> 2018/03/03 10:45:55 [INFO] agent: consul server down
  85. consul> 2018/03/03 10:45:55 [INFO] agent: shutdown complete
  86. consul> 2018/03/03 10:45:55 [INFO] agent: Stopping DNS server 0.0.0.0:8600 (tcp)
  87. consul> 2018/03/03 10:45:55 [INFO] agent: Stopping DNS server 0.0.0.0:8600 (udp)
  88. consul> 2018/03/03 10:45:55 [INFO] agent: Stopping HTTP server [::]:8500 (tcp)
  89. consul> 2018/03/03 10:45:55 [INFO] agent: Waiting for endpoints to shut down
  90. consul> 2018/03/03 10:45:55 [INFO] agent: Endpoints down
  91. consul> 2018/03/03 10:45:55 [INFO] Exit code: 1
  92. [INFO] DOCKER> [consul:1.0.6] "consul": Stop and removed container bdbd02547d41 after 0 ms
  93. [INFO]
  94. [INFO] --- maven-install-plugin:2.4:install (default-install) @ test ---
  95. [INFO] Installing /home/rohan/work/repos/docker-maven-plugin/samples/helloworld/pom.xml to /home/rohan/.m2/repository/test/test/1.0.0-SNAPSHOT/test-1.0.0-SNAPSHOT.pom
  96. [INFO]
  97. [INFO] --- docker-maven-plugin:0.24-SNAPSHOT:start (default-cli) @ test ---
  98. ContainerCreateConfig.environment() called...
  99. Env size: 1Env : {CONSUL_BIND_INTERFACE=eth0}
  100. =========================
  101. mavenProps : {docker.container.consul.id=bdbd02547d41, docker.host.address=localhost, docker.container.consul-test.id=361e7c81bfdf, docker.container.consul.ip=172.17.0.2}
  102. value : eth0
  103. entry.getKey() : CONSUL_BIND_INTERFACE
  104. StrSubstituror.replace(eth0, {docker.container.consul.id=bdbd02547d41, docker.host.address=localhost, docker.container.consul-test.id=361e7c81bfdf, docker.container.consul.ip=172.17.0.2}) : eth0
  105. [INFO] DOCKER> [consul:1.0.6] "consul": Start container 4104b3c14052
  106. consul> ==> Found address '172.17.0.2' for interface 'eth0', setting bind option...
  107. consul> ==> Starting Consul agent...
  108. consul> ==> Consul agent running!
  109. consul> Version: 'v1.0.6'
  110. consul> Node ID: '9a7b6f82-9409-ca8e-f4fb-10b9a022f612'
  111. consul> Node name: '4104b3c14052'
  112. consul> Datacenter: 'dc1' (Segment: '<all>')
  113. consul> Server: true (Bootstrap: false)
  114. consul> Client Addr: [0.0.0.0] (HTTP: 8500, HTTPS: -1, DNS: 8600)
  115. consul> Cluster Addr: 172.17.0.2 (LAN: 8301, WAN: 8302)
  116. consul> Encrypt: Gossip: false, TLS-Outgoing: false, TLS-Incoming: false
  117. consul> ==> Log data will now stream in as it occurs:
  118. consul> 2018/03/03 10:45:56 [DEBUG] Using random ID "9a7b6f82-9409-ca8e-f4fb-10b9a022f612" as node ID
  119. consul> 2018/03/03 10:45:56 [INFO] raft: Initial configuration (index=1): [{Suffrage:Voter ID:9a7b6f82-9409-ca8e-f4fb-10b9a022f612 Address:172.17.0.2:8300}]
  120. consul> 2018/03/03 10:45:56 [INFO] raft: Node at 172.17.0.2:8300 [Follower] entering Follower state (Leader: "")
  121. consul> 2018/03/03 10:45:56 [INFO] serf: EventMemberJoin: 4104b3c14052.dc1 172.17.0.2
  122. consul> 2018/03/03 10:45:56 [INFO] serf: EventMemberJoin: 4104b3c14052 172.17.0.2
  123. consul> 2018/03/03 10:45:56 [INFO] consul: Handled member-join event for server "4104b3c14052.dc1" in area "wan"
  124. consul> 2018/03/03 10:45:56 [INFO] consul: Adding LAN server 4104b3c14052 (Addr: tcp/172.17.0.2:8300) (DC: dc1)
  125. consul> 2018/03/03 10:45:56 [INFO] agent: Started DNS server 0.0.0.0:8600 (udp)
  126. consul> 2018/03/03 10:45:56 [INFO] agent: Started DNS server 0.0.0.0:8600 (tcp)
  127. consul> 2018/03/03 10:45:56 [INFO] agent: Started HTTP server on [::]:8500 (tcp)
  128. consul> 2018/03/03 10:45:56 [INFO] agent: started state syncer
  129. [INFO] DOCKER> Pattern 'consul: New leader elected' matched for container 4104b3c14052
  130. consul> 2018/03/03 10:45:56 [WARN] raft: Heartbeat timeout from "" reached, starting election
  131. consul> 2018/03/03 10:45:56 [INFO] raft: Node at 172.17.0.2:8300 [Candidate] entering Candidate state in term 2
  132. consul> 2018/03/03 10:45:56 [DEBUG] raft: Votes needed: 1
  133. consul> 2018/03/03 10:45:56 [DEBUG] raft: Vote granted from 9a7b6f82-9409-ca8e-f4fb-10b9a022f612 in term 2. Tally: 1
  134. consul> 2018/03/03 10:45:56 [INFO] raft: Election won. Tally: 1
  135. consul> 2018/03/03 10:45:56 [INFO] raft: Node at 172.17.0.2:8300 [Leader] entering Leader state
  136. consul> 2018/03/03 10:45:56 [INFO] consul: cluster leadership acquired
  137. consul> 2018/03/03 10:45:56 [INFO] consul: New leader elected: 4104b3c14052
  138. consul> 2018/03/03 10:45:56 [DEBUG] consul: Skipping self join check for "4104b3c14052" since the cluster is too small
  139. consul> 2018/03/03 10:45:56 [INFO] consul: member '4104b3c14052' joined, marking health alive
  140. consul> 2018/03/03 10:45:56 [DEBUG] Skipping remote check "serfHealth" since it is managed automatically
  141. consul> 2018/03/03 10:45:56 [INFO] agent: Synced node info
  142. consul> 2018/03/03 10:45:56 [DEBUG] agent: Node info in sync
  143. [INFO] DOCKER> [consul:1.0.6] "consul": Waited on log out 'consul: New leader elected' 507 ms
  144. ContainerCreateConfig.environment() called...
  145. Env size: 1Env : {CONSUL_HTTP_ADDR=172.17.0.2:8500}
  146. =========================
  147. mavenProps : {docker.container.consul.id=bdbd02547d41, docker.host.address=localhost, docker.container.consul-test.id=361e7c81bfdf, docker.container.consul.ip=172.17.0.2}
  148. value : 172.17.0.2:8500
  149. entry.getKey() : CONSUL_HTTP_ADDR
  150. StrSubstituror.replace(172.17.0.2:8500, {docker.container.consul.id=bdbd02547d41, docker.host.address=localhost, docker.container.consul-test.id=361e7c81bfdf, docker.container.consul.ip=172.17.0.2}) : 172.17.0.2:8500
  151. [INFO] DOCKER> [consul:1.0.6] "consul-test": Start container 3d579117b5db
  152. consul-test> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  153. consul-test> HOSTNAME=3d579117b5db
  154. consul-test> CONSUL_HTTP_ADDR=172.17.0.2:8500
  155. consul-test> CONSUL_VERSION=1.0.6
  156. consul-test> HASHICORP_RELEASES=https://releases.hashicorp.com
  157. consul-test> HOME=/root
  158. [INFO] DOCKER> [consul:1.0.6] "consul-test": Waited on exit code 0 514 ms
  159. [INFO] ------------------------------------------------------------------------
  160. [INFO] BUILD SUCCESS
  161. [INFO] ------------------------------------------------------------------------
  162. [INFO] Total time: 4.614 s
  163. [INFO] Finished at: 2018-03-03T16:15:57+05:30
  164. [INFO] Final Memory: 17M/303M
  165. [INFO] ------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment