Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
16 kB
1
Indexable
Never
/squad-api-filipostojic/01-ops$ ./01-deploy-core-infra.sh 
/usr/local/bin/docker-compose
38c3f313b813eb34cf4cc406f0febb21dd8f7d9419e77cf833ab03081b0de0af
Creating volume "01-ops_kafka-logs-volume" with default driver
Creating volume "01-ops_kafka-service-volume" with default driver
Pulling zookeeper (zookeeper:3.4.11)...
3.4.11: Pulling from library/zookeeper
ff3a5c916c92: Pull complete
5de5f69f42d7: Pull complete
fa7536dd895a: Pull complete
644150d38454: Pull complete
8dd71e256b49: Pull complete
4e4fe0f19772: Pull complete
61f4a08b4d27: Pull complete
Digest: sha256:b7f6fda20bee82b13abf65d760e5cbeb4c202fc1d0840d0d9fd09bac83adb181
Status: Downloaded newer image for zookeeper:3.4.11
Building docker-proxy
Sending build context to Docker daemon  2.048kB
Step 1/5 : FROM alpine:3.7
3.7: Pulling from library/alpine
5d20c808ce19: Pull complete 
Digest: sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10
Status: Downloaded newer image for alpine:3.7
 ---> 6d1ef012b567
Step 2/5 : LABEL maintainer="tomislav.rajakovic@gmail.com"
 ---> Running in 3ec4c5f101a2
Removing intermediate container 3ec4c5f101a2
 ---> 0e8e86908d2e
Step 3/5 : RUN apk --update --no-cache --purge add socat
 ---> Running in d050d2e29672
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
(1/5) Installing ncurses-terminfo-base (6.0_p20171125-r1)
(2/5) Installing ncurses-terminfo (6.0_p20171125-r1)
(3/5) Installing ncurses-libs (6.0_p20171125-r1)
(4/5) Installing readline (7.0.003-r0)
(5/5) Installing socat (1.7.3.2-r3)
Executing busybox-1.27.2-r11.trigger
OK: 12 MiB in 18 packages
Removing intermediate container d050d2e29672
 ---> 4ee1b8736a76
Step 4/5 : EXPOSE 2375
 ---> Running in 980dfe07c9f6
Removing intermediate container 980dfe07c9f6
 ---> ab657f8a01cd
Step 5/5 : CMD ["socat","-d -d","TCP-L:2375,fork","UNIX:/var/run/docker.sock"]
 ---> Running in 36e1abbd123c
Removing intermediate container 36e1abbd123c
 ---> 0ff8004e0ed5
Successfully built 0ff8004e0ed5
Successfully tagged com.scorealarm/docker-proxy:latest
Building kafka
Sending build context to Docker daemon  20.99kB
Step 1/24 : FROM openjdk:8-jdk-alpine as builder
8-jdk-alpine: Pulling from library/openjdk
e7c96db7181b: Pull complete 
f910a506b6cb: Pull complete 
c2274a1a0e27: Pull complete 
Digest: sha256:94792824df2df33402f201713f932b58cb9de94a0cd524164a0f2283343547b3
Status: Downloaded newer image for openjdk:8-jdk-alpine
 ---> a3562aa0b991
Step 2/24 : LABEL maintainer="tomislav.rajakovic@gmail.com"
 ---> Running in c6a4cdfe82ca
Removing intermediate container c6a4cdfe82ca
 ---> 21b6fdafbe70
Step 3/24 : WORKDIR /build
 ---> Running in 7092d01ff370
Removing intermediate container 7092d01ff370
 ---> 37805f93138e
Step 4/24 : RUN     apk add --update --upgrade --no-cache git     && mkdir -p /build/kafka-property-merger && cd /build/kafka-property-merger     && git clone -b "v2.0.0" --single-branch --depth=1 https://github.com/trajakovic/environment-to-property-merger.git .     && ./gradlew assemble bootRepackage
 ---> Running in ef5ee7e48841
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
(1/10) Upgrading libcrypto1.1 (1.1.1b-r1 -> 1.1.1k-r0)
(2/10) Upgrading libssl1.1 (1.1.1b-r1 -> 1.1.1k-r0)
(3/10) Upgrading ca-certificates-cacert (20190108-r0 -> 20191127-r2)
(4/10) Upgrading ca-certificates (20190108-r0 -> 20191127-r2)
(5/10) Installing nghttp2-libs (1.35.1-r2)
(6/10) Installing libssh2 (1.9.0-r1)
(7/10) Installing libcurl (7.64.0-r5)
(8/10) Installing expat (2.2.8-r0)
(9/10) Installing pcre2 (10.32-r1)
(10/10) Installing git (2.20.4-r0)
Executing busybox-1.29.3-r10.trigger
Executing ca-certificates-20191127-r2.trigger
OK: 117 MiB in 60 packages
Cloning into '.'...
Note: checking out '40ddb8103625cbc5f0aae2582dc5d8abc8e52045'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

Downloading https://services.gradle.org/distributions/gradle-4.4.1-all.zip
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Unzipping /root/.gradle/wrapper/dists/gradle-4.4.1-all/2kpyt0ea6hyxavvt21uml23gd/gradle-4.4.1-all.zip to /root/.gradle/wrapper/dists/gradle-4.4.1-all/2kpyt0ea6hyxavvt21uml23gd
Set executable permissions for: /root/.gradle/wrapper/dists/gradle-4.4.1-all/2kpyt0ea6hyxavvt21uml23gd/gradle-4.4.1/bin/gradle
Starting a Gradle Daemon (subsequent builds will be faster)
Download https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-gradle-plugin/1.5.9.RELEASE/spring-boot-gradle-plugin-1.5.9.RELEASE.pom
Download https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-tools/1.5.9.RELEASE/spring-boot-tools-1.5.9.RELEASE.pom
Download https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-parent/1.5.9.RELEASE/spring-boot-parent-1.5.9.RELEASE.pom
Download https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-dependencies/1.5.9.RELEASE/spring-boot-dependencies-1.5.9.RELEASE.pom
Download https://repo.maven.apache.org/maven2/com/fasterxml/jackson/jackson-bom/2.8.10/jackson-bom-2.8.10.pom
Download https://repo.maven.apache.org/maven2/com/fasterxml/jackson/jackson-parent/2.8/jackson-parent-2.8.pom
Download https://repo.maven.apache.org/maven2/com/fasterxml/oss-parent/27/oss-parent-27.pom
Download https://repo.maven.apache.org/maven2/org/apache/logging/log4j/log4j-bom/2.7/log4j-bom-2.7.pom
Download https://repo.maven.apache.org/maven2/org/apache/apache/9/apache-9.pom
Download https://repo.maven.apache.org/maven2/org/springframework/spring-framework-bom/4.3.13.RELEASE/spring-framework-bom-4.3.13.RELEASE.pom
Download https://repo.maven.apache.org/maven2/org/springframework/data/spring-data-releasetrain/Ingalls-SR9/spring-data-releasetrain-Ingalls-SR9.pom
Download https://repo.maven.apache.org/maven2/org/springframework/data/build/spring-data-build/1.9.9.RELEASE/spring-data-build-1.9.9.RELEASE.pom
Download https://repo.maven.apache.org/maven2/org/springframework/integration/spring-integration-bom/4.3.12.RELEASE/spring-integration-bom-4.3.12.RELEASE.pom
Download https://repo.maven.apache.org/maven2/org/springframework/security/spring-security-bom/4.2.3.RELEASE/spring-security-bom-4.2.3.RELEASE.pom
Download https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-loader-tools/1.5.9.RELEASE/spring-boot-loader-tools-1.5.9.RELEASE.pom
Download https://repo.maven.apache.org/maven2/io/spring/gradle/dependency-management-plugin/1.0.3.RELEASE/dependency-management-plugin-1.0.3.RELEASE.pom
Download https://repo.maven.apache.org/maven2/org/springframework/spring-core/4.3.13.RELEASE/spring-core-4.3.13.RELEASE.pom
Download https://repo.maven.apache.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.pom
Download https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/34/commons-parent-34.pom
Download https://repo.maven.apache.org/maven2/org/apache/apache/13/apache-13.pom
Download https://repo.maven.apache.org/maven2/org/springframework/spring-core/4.3.13.RELEASE/spring-core-4.3.13.RELEASE.jar
Download https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-loader-tools/1.5.9.RELEASE/spring-boot-loader-tools-1.5.9.RELEASE.jar
Download https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-gradle-plugin/1.5.9.RELEASE/spring-boot-gradle-plugin-1.5.9.RELEASE.jar
Download https://repo.maven.apache.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
Download https://repo.maven.apache.org/maven2/io/spring/gradle/dependency-management-plugin/1.0.3.RELEASE/dependency-management-plugin-1.0.3.RELEASE.jar
:compileJava
:processResources NO-SOURCE
:classes
:findMainClass
:jar
:bootRepackage
:assemble

BUILD SUCCESSFUL in 19s
4 actionable tasks: 4 executed
Removing intermediate container ef5ee7e48841
 ---> 18230a5248bd
Step 5/24 : FROM openjdk:8-jre-alpine
8-jre-alpine: Pulling from library/openjdk
e7c96db7181b: Already exists 
f910a506b6cb: Already exists 
b6abafe80f63: Pull complete 
Digest: sha256:f362b165b870ef129cbe730f29065ff37399c0aa8bcab3e44b51c302938c9193
Status: Downloaded newer image for openjdk:8-jre-alpine
 ---> f7a292bbb70c
Step 6/24 : LABEL maintainer="tomislav.rajakovic@gmail.com"
 ---> Running in 7e206a01f34c
Removing intermediate container 7e206a01f34c
 ---> 43c0ec3c4a9a
Step 7/24 : ARG KAFKA_URL="http://ftp.carnet.hr/misc/apache/kafka/2.0.0/kafka_2.12-2.0.0.tgz"
 ---> Running in f98785d72108
Removing intermediate container f98785d72108
 ---> aa9e0448269d
Step 8/24 : ENV KAFKA_URL ${KAFKA_URL}
 ---> Running in 53b6e7226667
Removing intermediate container 53b6e7226667
 ---> ddb9e784e3a9
Step 9/24 : RUN     addgroup kafka     && adduser -s /bin/bash -H -D -Gkafka kafka     && apk add --update --upgrade --no-cache --purge bash docker
 ---> Running in 1f2b7b5a4e8a
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
(1/18) Upgrading libcrypto1.1 (1.1.1b-r1 -> 1.1.1k-r0)
(2/18) Upgrading ca-certificates-cacert (20190108-r0 -> 20191127-r2)
(3/18) Installing ncurses-terminfo-base (6.1_p20190105-r0)
(4/18) Installing ncurses-terminfo (6.1_p20190105-r0)
(5/18) Installing ncurses-libs (6.1_p20190105-r0)
(6/18) Installing readline (7.0.003-r1)
(7/18) Installing bash (4.4.19-r1)
Executing bash-4.4.19-r1.post-install
(8/18) Upgrading ca-certificates (20190108-r0 -> 20191127-r2)
(9/18) Installing libseccomp (2.4.2-r2)
(10/18) Installing runc (1.0.0_rc8-r0)
(11/18) Installing containerd (1.2.7-r0)
(12/18) Installing libmnl (1.0.4-r0)
(13/18) Installing jansson (2.11-r0)
(14/18) Installing libnftnl-libs (1.1.1-r0)
(15/18) Installing iptables (1.6.2-r1)
(16/18) Installing tini-static (0.18.0-r0)
(17/18) Installing device-mapper-libs (2.02.182-r0)
(18/18) Installing docker (18.09.8-r0)
Executing docker-18.09.8-r0.pre-install
Executing busybox-1.29.3-r10.trigger
Executing ca-certificates-20191127-r2.trigger
OK: 347 MiB in 68 packages
Removing intermediate container 1f2b7b5a4e8a
 ---> 6057c7310045
Step 10/24 : RUN cd /usr/local/lib     && wget -O kafka.tgz ${KAFKA_URL}     && mkdir kafka     && tar xf kafka.tgz -C ./kafka --strip-components=1     && rm -f ./kafka.tgz     && echo "export PATH=\$PATH:/usr/local/lib/kafka/bin" >> /etc/profile
 ---> Running in e367601e5c8f
Connecting to ftp.carnet.hr (161.53.160.21:80)
wget: server returned error: HTTP/1.1 404 Not Found
The command '/bin/sh -c cd /usr/local/lib     && wget -O kafka.tgz ${KAFKA_URL}     && mkdir kafka     && tar xf kafka.tgz -C ./kafka --strip-components=1     && rm -f ./kafka.tgz     && echo "export PATH=\$PATH:/usr/local/lib/kafka/bin" >> /etc/profile' returned a non-zero code: 1
ERROR: Service 'kafka' failed to build : Build failed