Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/work/repos/docker-maven-plugin/samples/helloworld : $ mvn clean install docker:start
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building test 1.0.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ test ---
- [INFO]
- [INFO] --- docker-maven-plugin:0.24-SNAPSHOT:start (start-containers) @ test ---
- ContainerCreateConfig.environment() called...
- Env size: 1Env : {CONSUL_BIND_INTERFACE=eth0}
- =========================
- mavenProps : {docker.host.address=localhost}
- value : eth0
- entry.getKey() : CONSUL_BIND_INTERFACE
- StrSubstituror.replace(eth0, {docker.host.address=localhost}) : eth0
- [INFO] DOCKER> [consul:1.0.6] "consul": Start container bdbd02547d41
- consul> ==> Found address '172.17.0.2' for interface 'eth0', setting bind option...
- consul> ==> Starting Consul agent...
- consul> ==> Consul agent running!
- consul> Version: 'v1.0.6'
- consul> Node ID: '0c9a4064-337b-c29f-6b06-c024e712d6c6'
- consul> Node name: 'bdbd02547d41'
- consul> Datacenter: 'dc1' (Segment: '<all>')
- consul> Server: true (Bootstrap: false)
- consul> Client Addr: [0.0.0.0] (HTTP: 8500, HTTPS: -1, DNS: 8600)
- consul> Cluster Addr: 172.17.0.2 (LAN: 8301, WAN: 8302)
- consul> Encrypt: Gossip: false, TLS-Outgoing: false, TLS-Incoming: false
- consul> ==> Log data will now stream in as it occurs:
- consul> 2018/03/03 10:45:54 [DEBUG] Using random ID "0c9a4064-337b-c29f-6b06-c024e712d6c6" as node ID
- 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}]
- consul> 2018/03/03 10:45:54 [INFO] raft: Node at 172.17.0.2:8300 [Follower] entering Follower state (Leader: "")
- consul> 2018/03/03 10:45:54 [INFO] serf: EventMemberJoin: bdbd02547d41.dc1 172.17.0.2
- consul> 2018/03/03 10:45:54 [INFO] serf: EventMemberJoin: bdbd02547d41 172.17.0.2
- consul> 2018/03/03 10:45:54 [INFO] agent: Started DNS server 0.0.0.0:8600 (udp)
- consul> 2018/03/03 10:45:54 [INFO] consul: Adding LAN server bdbd02547d41 (Addr: tcp/172.17.0.2:8300) (DC: dc1)
- consul> 2018/03/03 10:45:54 [INFO] consul: Handled member-join event for server "bdbd02547d41.dc1" in area "wan"
- consul> 2018/03/03 10:45:54 [INFO] agent: Started DNS server 0.0.0.0:8600 (tcp)
- consul> 2018/03/03 10:45:54 [INFO] agent: Started HTTP server on [::]:8500 (tcp)
- consul> 2018/03/03 10:45:54 [INFO] agent: started state syncer
- consul> 2018/03/03 10:45:54 [WARN] raft: Heartbeat timeout from "" reached, starting election
- consul> 2018/03/03 10:45:54 [INFO] raft: Node at 172.17.0.2:8300 [Candidate] entering Candidate state in term 2
- consul> 2018/03/03 10:45:54 [DEBUG] raft: Votes needed: 1
- consul> 2018/03/03 10:45:54 [DEBUG] raft: Vote granted from 0c9a4064-337b-c29f-6b06-c024e712d6c6 in term 2. Tally: 1
- consul> 2018/03/03 10:45:54 [INFO] raft: Election won. Tally: 1
- consul> 2018/03/03 10:45:54 [INFO] raft: Node at 172.17.0.2:8300 [Leader] entering Leader state
- consul> 2018/03/03 10:45:54 [INFO] consul: cluster leadership acquired
- consul> 2018/03/03 10:45:54 [INFO] consul: New leader elected: bdbd02547d41
- consul> 2018/03/03 10:45:54 [DEBUG] consul: Skipping self join check for "bdbd02547d41" since the cluster is too small
- [INFO] DOCKER> Pattern 'consul: New leader elected' matched for container bdbd02547d41
- consul> 2018/03/03 10:45:54 [INFO] consul: member 'bdbd02547d41' joined, marking health alive
- [INFO] DOCKER> [consul:1.0.6] "consul": Waited on log out 'consul: New leader elected' 510 ms
- ContainerCreateConfig.environment() called...
- Env size: 1Env : {CONSUL_HTTP_ADDR=${docker.container.consul.ip}:8500}
- =========================
- mavenProps : {docker.host.address=localhost}
- value : ${docker.container.consul.ip}:8500
- entry.getKey() : CONSUL_HTTP_ADDR
- StrSubstituror.replace(${docker.container.consul.ip}:8500, {docker.host.address=localhost}) : ${docker.container.consul.ip}:8500
- [INFO] DOCKER> [consul:1.0.6] "consul-test": Start container 361e7c81bfdf
- consul> 2018/03/03 10:45:54 [DEBUG] Skipping remote check "serfHealth" since it is managed automatically
- consul> 2018/03/03 10:45:54 [INFO] agent: Synced node info
- consul> 2018/03/03 10:45:54 [DEBUG] agent: Node info in sync
- consul-test> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- consul-test> HOSTNAME=361e7c81bfdf
- consul-test> CONSUL_HTTP_ADDR=${docker.container.consul.ip}:8500
- consul-test> CONSUL_VERSION=1.0.6
- consul-test> HASHICORP_RELEASES=https://releases.hashicorp.com
- consul-test> HOME=/root
- consul> 2018/03/03 10:45:55 [DEBUG] Skipping remote check "serfHealth" since it is managed automatically
- consul> 2018/03/03 10:45:55 [DEBUG] agent: Node info in sync
- [INFO] DOCKER> [consul:1.0.6] "consul-test": Waited on exit code 0 517 ms
- [INFO]
- [INFO] --- docker-maven-plugin:0.24-SNAPSHOT:stop (stop-containers) @ test ---
- [INFO] DOCKER> [consul:1.0.6] "consul-test": Stop and removed container 361e7c81bfdf after 0 ms
- consul> 2018/03/03 10:45:55 [INFO] Caught signal: terminated
- consul> 2018/03/03 10:45:55 [INFO] Graceful shutdown disabled. Exiting
- consul> 2018/03/03 10:45:55 [INFO] agent: Requesting shutdown
- consul> 2018/03/03 10:45:55 [INFO] consul: shutting down server
- consul> 2018/03/03 10:45:55 [WARN] serf: Shutdown without a Leave
- consul> 2018/03/03 10:45:55 [WARN] serf: Shutdown without a Leave
- consul> 2018/03/03 10:45:55 [INFO] manager: shutting down
- consul> 2018/03/03 10:45:55 [INFO] agent: consul server down
- consul> 2018/03/03 10:45:55 [INFO] agent: shutdown complete
- consul> 2018/03/03 10:45:55 [INFO] agent: Stopping DNS server 0.0.0.0:8600 (tcp)
- consul> 2018/03/03 10:45:55 [INFO] agent: Stopping DNS server 0.0.0.0:8600 (udp)
- consul> 2018/03/03 10:45:55 [INFO] agent: Stopping HTTP server [::]:8500 (tcp)
- consul> 2018/03/03 10:45:55 [INFO] agent: Waiting for endpoints to shut down
- consul> 2018/03/03 10:45:55 [INFO] agent: Endpoints down
- consul> 2018/03/03 10:45:55 [INFO] Exit code: 1
- [INFO] DOCKER> [consul:1.0.6] "consul": Stop and removed container bdbd02547d41 after 0 ms
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ test ---
- [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
- [INFO]
- [INFO] --- docker-maven-plugin:0.24-SNAPSHOT:start (default-cli) @ test ---
- ContainerCreateConfig.environment() called...
- Env size: 1Env : {CONSUL_BIND_INTERFACE=eth0}
- =========================
- mavenProps : {docker.container.consul.id=bdbd02547d41, docker.host.address=localhost, docker.container.consul-test.id=361e7c81bfdf, docker.container.consul.ip=172.17.0.2}
- value : eth0
- entry.getKey() : CONSUL_BIND_INTERFACE
- 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
- [INFO] DOCKER> [consul:1.0.6] "consul": Start container 4104b3c14052
- consul> ==> Found address '172.17.0.2' for interface 'eth0', setting bind option...
- consul> ==> Starting Consul agent...
- consul> ==> Consul agent running!
- consul> Version: 'v1.0.6'
- consul> Node ID: '9a7b6f82-9409-ca8e-f4fb-10b9a022f612'
- consul> Node name: '4104b3c14052'
- consul> Datacenter: 'dc1' (Segment: '<all>')
- consul> Server: true (Bootstrap: false)
- consul> Client Addr: [0.0.0.0] (HTTP: 8500, HTTPS: -1, DNS: 8600)
- consul> Cluster Addr: 172.17.0.2 (LAN: 8301, WAN: 8302)
- consul> Encrypt: Gossip: false, TLS-Outgoing: false, TLS-Incoming: false
- consul> ==> Log data will now stream in as it occurs:
- consul> 2018/03/03 10:45:56 [DEBUG] Using random ID "9a7b6f82-9409-ca8e-f4fb-10b9a022f612" as node ID
- 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}]
- consul> 2018/03/03 10:45:56 [INFO] raft: Node at 172.17.0.2:8300 [Follower] entering Follower state (Leader: "")
- consul> 2018/03/03 10:45:56 [INFO] serf: EventMemberJoin: 4104b3c14052.dc1 172.17.0.2
- consul> 2018/03/03 10:45:56 [INFO] serf: EventMemberJoin: 4104b3c14052 172.17.0.2
- consul> 2018/03/03 10:45:56 [INFO] consul: Handled member-join event for server "4104b3c14052.dc1" in area "wan"
- consul> 2018/03/03 10:45:56 [INFO] consul: Adding LAN server 4104b3c14052 (Addr: tcp/172.17.0.2:8300) (DC: dc1)
- consul> 2018/03/03 10:45:56 [INFO] agent: Started DNS server 0.0.0.0:8600 (udp)
- consul> 2018/03/03 10:45:56 [INFO] agent: Started DNS server 0.0.0.0:8600 (tcp)
- consul> 2018/03/03 10:45:56 [INFO] agent: Started HTTP server on [::]:8500 (tcp)
- consul> 2018/03/03 10:45:56 [INFO] agent: started state syncer
- [INFO] DOCKER> Pattern 'consul: New leader elected' matched for container 4104b3c14052
- consul> 2018/03/03 10:45:56 [WARN] raft: Heartbeat timeout from "" reached, starting election
- consul> 2018/03/03 10:45:56 [INFO] raft: Node at 172.17.0.2:8300 [Candidate] entering Candidate state in term 2
- consul> 2018/03/03 10:45:56 [DEBUG] raft: Votes needed: 1
- consul> 2018/03/03 10:45:56 [DEBUG] raft: Vote granted from 9a7b6f82-9409-ca8e-f4fb-10b9a022f612 in term 2. Tally: 1
- consul> 2018/03/03 10:45:56 [INFO] raft: Election won. Tally: 1
- consul> 2018/03/03 10:45:56 [INFO] raft: Node at 172.17.0.2:8300 [Leader] entering Leader state
- consul> 2018/03/03 10:45:56 [INFO] consul: cluster leadership acquired
- consul> 2018/03/03 10:45:56 [INFO] consul: New leader elected: 4104b3c14052
- consul> 2018/03/03 10:45:56 [DEBUG] consul: Skipping self join check for "4104b3c14052" since the cluster is too small
- consul> 2018/03/03 10:45:56 [INFO] consul: member '4104b3c14052' joined, marking health alive
- consul> 2018/03/03 10:45:56 [DEBUG] Skipping remote check "serfHealth" since it is managed automatically
- consul> 2018/03/03 10:45:56 [INFO] agent: Synced node info
- consul> 2018/03/03 10:45:56 [DEBUG] agent: Node info in sync
- [INFO] DOCKER> [consul:1.0.6] "consul": Waited on log out 'consul: New leader elected' 507 ms
- ContainerCreateConfig.environment() called...
- Env size: 1Env : {CONSUL_HTTP_ADDR=172.17.0.2:8500}
- =========================
- mavenProps : {docker.container.consul.id=bdbd02547d41, docker.host.address=localhost, docker.container.consul-test.id=361e7c81bfdf, docker.container.consul.ip=172.17.0.2}
- value : 172.17.0.2:8500
- entry.getKey() : CONSUL_HTTP_ADDR
- 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
- [INFO] DOCKER> [consul:1.0.6] "consul-test": Start container 3d579117b5db
- consul-test> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- consul-test> HOSTNAME=3d579117b5db
- consul-test> CONSUL_HTTP_ADDR=172.17.0.2:8500
- consul-test> CONSUL_VERSION=1.0.6
- consul-test> HASHICORP_RELEASES=https://releases.hashicorp.com
- consul-test> HOME=/root
- [INFO] DOCKER> [consul:1.0.6] "consul-test": Waited on exit code 0 514 ms
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 4.614 s
- [INFO] Finished at: 2018-03-03T16:15:57+05:30
- [INFO] Final Memory: 17M/303M
- [INFO] ------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment