Closed mteodor closed 5 years ago
Can you please post the output of mvn -f assembly -Pdocker
?
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua/assembly/console/docker# pwd
/root/kapua/assembly/console/docker
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua/assembly/console/docker#
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua/assembly/console/docker#
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua/assembly/console/docker#
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua/assembly/console/docker#
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua/assembly/console/docker#
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua/assembly/console/docker# cd ~/kapua/
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua# mvn -f assembly -Pdocker
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] kapua-assembly [pom]
[INFO] kapua-assembly-java-base [pom]
[INFO] kapua-assembly-jetty-base [pom]
[INFO] kapua-assembly-sql [pom]
[INFO] kapua-assembly-events-broker [pom]
[INFO] kapua-assembly-broker [pom]
[INFO] kapua-assembly-api [pom]
[INFO]
[INFO] ------------------< org.eclipse.kapua:kapua-assembly >------------------
[INFO] Building kapua-assembly 1.1.0-SNAPSHOT [1/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kapua-assembly ---
[INFO] Deleting /root/kapua/assembly/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/target/jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:report (default-report) @ kapua-assembly ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ kapua-assembly >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/target/jacoco.exec
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ kapua-assembly <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ kapua-assembly ---
[INFO]
[INFO] --- jacoco-extras:0.1.1:xml (default) @ kapua-assembly ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ kapua-assembly ---
[INFO] Installing /root/kapua/assembly/pom.xml to /root/.m2/repository/org/eclipse/kapua/kapua-assembly/1.1.0-SNAPSHOT/kapua-assembly-1.1.0-SNAPSHOT.pom
[INFO]
[INFO] -------------< org.eclipse.kapua:kapua-assembly-java-base >-------------
[INFO] Building kapua-assembly-java-base 1.1.0-SNAPSHOT [2/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kapua-assembly-java-base ---
[INFO] Deleting /root/kapua/assembly/java-base/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-java-base ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-java-base ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/java-base/target/jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:report (default-report) @ kapua-assembly-java-base ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ kapua-assembly-java-base >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-java-base ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-java-base ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/java-base/target/jacoco.exec
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ kapua-assembly-java-base <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ kapua-assembly-java-base ---
[INFO]
[INFO] --- jacoco-extras:0.1.1:xml (default) @ kapua-assembly-java-base ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ kapua-assembly-java-base ---
[INFO] Installing /root/kapua/assembly/java-base/pom.xml to /root/.m2/repository/org/eclipse/kapua/kapua-assembly-java-base/1.1.0-SNAPSHOT/kapua-assembly-java-base-1.1.0-SNAPSHOT.pom
[INFO]
[INFO] --- docker-maven-plugin:0.24.0:build (build) @ kapua-assembly-java-base ---
[INFO] Building tar: /root/kapua/assembly/java-base/target/docker/kapua/java-base/tmp/docker-build.tar
[INFO] DOCKER> [kapua/java-base:latest]: Created docker-build.tar in 50 milliseconds
[INFO] DOCKER> [kapua/java-base:latest]: Built image sha256:5f247
[INFO] DOCKER> [kapua/java-base:latest]: Tag with 1.1.0-SNAPSHOT,2019-04-12
[INFO]
[INFO] ------------< org.eclipse.kapua:kapua-assembly-jetty-base >-------------
[INFO] Building kapua-assembly-jetty-base 1.1.0-SNAPSHOT [3/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kapua-assembly-jetty-base ---
[INFO] Deleting /root/kapua/assembly/jetty-base/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-jetty-base ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-jetty-base ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/jetty-base/target/jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:report (default-report) @ kapua-assembly-jetty-base ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ kapua-assembly-jetty-base >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-jetty-base ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-jetty-base ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/jetty-base/target/jacoco.exec
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ kapua-assembly-jetty-base <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ kapua-assembly-jetty-base ---
[INFO]
[INFO] --- jacoco-extras:0.1.1:xml (default) @ kapua-assembly-jetty-base ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ kapua-assembly-jetty-base ---
[INFO] Installing /root/kapua/assembly/jetty-base/pom.xml to /root/.m2/repository/org/eclipse/kapua/kapua-assembly-jetty-base/1.1.0-SNAPSHOT/kapua-assembly-jetty-base-1.1.0-SNAPSHOT.pom
[INFO]
[INFO] --- docker-maven-plugin:0.24.0:build (build) @ kapua-assembly-jetty-base ---
[INFO] Reading assembly descriptor: /root/kapua/assembly/jetty-base/descriptors/jetty-base.xml
[INFO] Copying files to /root/kapua/assembly/jetty-base/target/docker/kapua/jetty-base/build/maven
[INFO] Building tar: /root/kapua/assembly/jetty-base/target/docker/kapua/jetty-base/tmp/docker-build.tar
[INFO] DOCKER> [kapua/jetty-base:latest]: Created docker-build.tar in 111 milliseconds
[INFO] DOCKER> [kapua/jetty-base:latest]: Built image sha256:cdd37
[INFO] DOCKER> [kapua/jetty-base:latest]: Tag with 1.1.0-SNAPSHOT,2019-04-12
[INFO]
[INFO] ----------------< org.eclipse.kapua:kapua-assembly-sql >----------------
[INFO] Building kapua-assembly-sql 1.1.0-SNAPSHOT [4/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kapua-assembly-sql ---
[INFO] Deleting /root/kapua/assembly/sql/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-sql ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-sql ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/sql/target/jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:report (default-report) @ kapua-assembly-sql ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ kapua-assembly-sql >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-sql ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-sql ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/sql/target/jacoco.exec
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ kapua-assembly-sql <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ kapua-assembly-sql ---
[INFO]
[INFO] --- jacoco-extras:0.1.1:xml (default) @ kapua-assembly-sql ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ kapua-assembly-sql ---
[INFO] Installing /root/kapua/assembly/sql/pom.xml to /root/.m2/repository/org/eclipse/kapua/kapua-assembly-sql/1.1.0-SNAPSHOT/kapua-assembly-sql-1.1.0-SNAPSHOT.pom
[INFO]
[INFO] --- docker-maven-plugin:0.24.0:build (build) @ kapua-assembly-sql ---
[INFO] Reading assembly descriptor: /root/kapua/assembly/sql/descriptors/kapua-sql.xml
[INFO] Copying files to /root/kapua/assembly/sql/target/docker/kapua/kapua-sql/build/maven
[INFO] Building tar: /root/kapua/assembly/sql/target/docker/kapua/kapua-sql/tmp/docker-build.tar
[INFO] DOCKER> [kapua/kapua-sql:latest]: Created docker-build.tar in 8 milliseconds
[INFO] DOCKER> [kapua/kapua-sql:latest]: Built image sha256:e87e8
[INFO] DOCKER> [kapua/kapua-sql:latest]: Tag with 1.1.0-SNAPSHOT,2019-04-12
[INFO]
[INFO] -----------< org.eclipse.kapua:kapua-assembly-events-broker >-----------
[INFO] Building kapua-assembly-events-broker 1.1.0-SNAPSHOT [5/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kapua-assembly-events-broker ---
[INFO] Deleting /root/kapua/assembly/events-broker/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-events-broker ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-events-broker ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/events-broker/target/jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:report (default-report) @ kapua-assembly-events-broker ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ kapua-assembly-events-broker >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-events-broker ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-events-broker ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/events-broker/target/jacoco.exec
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ kapua-assembly-events-broker <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ kapua-assembly-events-broker ---
[INFO]
[INFO] --- jacoco-extras:0.1.1:xml (default) @ kapua-assembly-events-broker ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ kapua-assembly-events-broker ---
[INFO] Installing /root/kapua/assembly/events-broker/pom.xml to /root/.m2/repository/org/eclipse/kapua/kapua-assembly-events-broker/1.1.0-SNAPSHOT/kapua-assembly-events-broker-1.1.0-SNAPSHOT.pom
[INFO]
[INFO] --- docker-maven-plugin:0.24.0:build (build) @ kapua-assembly-events-broker ---
[INFO] Reading assembly descriptor: /root/kapua/assembly/events-broker/descriptors/events-broker.xml
[INFO] Copying files to /root/kapua/assembly/events-broker/target/docker/kapua/kapua-events-broker/build/maven
[INFO] Building tar: /root/kapua/assembly/events-broker/target/docker/kapua/kapua-events-broker/tmp/docker-build.tar
[INFO] DOCKER> [kapua/kapua-events-broker:latest]: Created docker-build.tar in 17 milliseconds
[INFO] DOCKER> [kapua/kapua-events-broker:latest]: Built image sha256:7729e
[INFO] DOCKER> [kapua/kapua-events-broker:latest]: Tag with 1.1.0-SNAPSHOT,2019-04-12
[INFO]
[INFO] --------------< org.eclipse.kapua:kapua-assembly-broker >---------------
[INFO] Building kapua-assembly-broker 1.1.0-SNAPSHOT [6/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kapua-assembly-broker ---
[INFO] Deleting /root/kapua/assembly/broker/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-broker ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-broker ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/broker/target/jacoco.exec
[INFO]
[INFO] --- maven-dependency-plugin:3.0.1:unpack (unpack-activemq) @ kapua-assembly-broker ---
[INFO] Configured Artifact: org.apache.activemq:apache-activemq:bin:?:tar.gz
[INFO] Unpacking /root/.m2/repository/org/apache/activemq/apache-activemq/5.14.5/apache-activemq-5.14.5-bin.tar.gz to /root/kapua/assembly/broker/target/dependencies/activemq with includes "" and excludes ""
[INFO] Expanding: /root/.m2/repository/org/apache/activemq/apache-activemq/5.14.5/apache-activemq-5.14.5-bin.tar.gz into /root/kapua/assembly/broker/target/dependencies/activemq
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:report (default-report) @ kapua-assembly-broker ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ kapua-assembly-broker >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-broker ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-broker ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/broker/target/jacoco.exec
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ kapua-assembly-broker <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ kapua-assembly-broker ---
[INFO]
[INFO] --- maven-assembly-plugin:3.0.0:single (kapua-broker) @ kapua-assembly-broker ---
[INFO] Reading assembly descriptor: descriptors/kapua-broker.xml
[INFO] Building tar: /root/kapua/assembly/broker/target/kapua-broker-1.1.0-SNAPSHOT.tar.gz
[INFO]
[INFO] --- maven-dependency-plugin:3.0.1:copy (copy) @ kapua-assembly-broker ---
[INFO] Configured Artifact: com.google.guava:guava:?:jar
[INFO] Configured Artifact: com.google.inject:guice:?:jar
[INFO] Configured Artifact: javax.inject:javax.inject:1:jar
[INFO] Configured Artifact: aopalliance:aopalliance:?:jar
[INFO] Configured Artifact: org.eclipse.persistence:javax.persistence:?:jar
[INFO] Configured Artifact: org.eclipse.persistence:org.eclipse.persistence.jpa:?:jar
[INFO] Configured Artifact: org.eclipse.persistence:org.eclipse.persistence.core:?:jar
[INFO] Configured Artifact: org.eclipse.persistence:org.eclipse.persistence.asm:?:jar
[INFO] Configured Artifact: org.eclipse.persistence:org.eclipse.persistence.jpa.jpql:?:jar
[INFO] Configured Artifact: org.eclipse.persistence:org.eclipse.persistence.moxy:?:jar
[INFO] Configured Artifact: commons-configuration:commons-configuration:?:jar
[INFO] Configured Artifact: org.springframework.security:spring-security-core:?:jar
[INFO] Configured Artifact: io.dropwizard.metrics:metrics-core:?:jar
[INFO] Configured Artifact: com.h2database:h2:?:jar
[INFO] Configured Artifact: com.google.protobuf:protobuf-java:?:jar
[INFO] Configured Artifact: org.apache.shiro:shiro-core:1.3.2:jar
[INFO] Configured Artifact: org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.1.0:jar
[INFO] Configured Artifact: org.apache.qpid:qpid-jms-client:0.24.0:jar
[INFO] Configured Artifact: org.apache.qpid:proton-j:0.20.0:jar
[INFO] Configured Artifact: org.apache.commons:commons-pool2:2.3:jar
[INFO] Configured Artifact: org.bitbucket.b_c:jose4j:0.5.2:jar
[INFO] Configured Artifact: org.elasticsearch:elasticsearch:5.3.0:jar
[INFO] Configured Artifact: org.reflections:reflections:0.9.10:jar
[INFO] Configured Artifact: org.javassist:javassist:3.19.0-GA:jar
[INFO] Configured Artifact: commons-io:commons-io:2.4:jar
[INFO] Configured Artifact: org.apache.commons:commons-lang3:3.4:jar
[INFO] Configured Artifact: org.liquibase:liquibase-core:3.0.5:jar
[INFO] Configured Artifact: org.yaml:snakeyaml:1.15:jar
[INFO] Copying guava-19.0.jar to /root/kapua/assembly/broker/target/broker_dependency/guava-19.0.jar
[INFO] Copying guice-4.1.0.jar to /root/kapua/assembly/broker/target/broker_dependency/guice-4.1.0.jar
[INFO] Copying javax.inject-1.jar to /root/kapua/assembly/broker/target/broker_dependency/javax.inject-1.jar
[INFO] Copying aopalliance-1.0.jar to /root/kapua/assembly/broker/target/broker_dependency/aopalliance-1.0.jar
[INFO] Copying javax.persistence-2.1.1.jar to /root/kapua/assembly/broker/target/broker_dependency/javax.persistence-2.1.1.jar
[INFO] Copying org.eclipse.persistence.jpa-2.6.3.jar to /root/kapua/assembly/broker/target/broker_dependency/org.eclipse.persistence.jpa-2.6.3.jar
[INFO] Copying org.eclipse.persistence.core-2.6.3.jar to /root/kapua/assembly/broker/target/broker_dependency/org.eclipse.persistence.core-2.6.3.jar
[INFO] Copying org.eclipse.persistence.asm-2.6.3.jar to /root/kapua/assembly/broker/target/broker_dependency/org.eclipse.persistence.asm-2.6.3.jar
[INFO] Copying org.eclipse.persistence.jpa.jpql-2.6.3.jar to /root/kapua/assembly/broker/target/broker_dependency/org.eclipse.persistence.jpa.jpql-2.6.3.jar
[INFO] Copying org.eclipse.persistence.moxy-2.6.3.jar to /root/kapua/assembly/broker/target/broker_dependency/org.eclipse.persistence.moxy-2.6.3.jar
[INFO] Copying commons-configuration-1.9.jar to /root/kapua/assembly/broker/target/broker_dependency/commons-configuration-1.9.jar
[INFO] Copying spring-security-core-4.1.3.RELEASE.jar to /root/kapua/assembly/broker/target/broker_dependency/spring-security-core-4.1.3.RELEASE.jar
[INFO] Copying metrics-core-3.2.2.jar to /root/kapua/assembly/broker/target/broker_dependency/metrics-core-3.2.2.jar
[INFO] Copying h2-1.4.192.jar to /root/kapua/assembly/broker/target/broker_dependency/h2-1.4.192.jar
[INFO] Copying protobuf-java-2.6.1.jar to /root/kapua/assembly/broker/target/broker_dependency/protobuf-java-2.6.1.jar
[INFO] Copying shiro-core-1.3.2.jar to /root/kapua/assembly/broker/target/broker_dependency/shiro-core-1.3.2.jar
[INFO] Copying org.eclipse.paho.client.mqttv3-1.1.0.jar to /root/kapua/assembly/broker/target/broker_dependency/org.eclipse.paho.client.mqttv3-1.1.0.jar
[INFO] Copying qpid-jms-client-0.24.0.jar to /root/kapua/assembly/broker/target/broker_dependency/qpid-jms-client-0.24.0.jar
[INFO] Copying proton-j-0.20.0.jar to /root/kapua/assembly/broker/target/broker_dependency/proton-j-0.20.0.jar
[INFO] Copying commons-pool2-2.3.jar to /root/kapua/assembly/broker/target/broker_dependency/commons-pool2-2.3.jar
[INFO] Copying jose4j-0.5.2.jar to /root/kapua/assembly/broker/target/broker_dependency/jose4j-0.5.2.jar
[INFO] Copying elasticsearch-5.3.0.jar to /root/kapua/assembly/broker/target/broker_dependency/elasticsearch-5.3.0.jar
[INFO] Copying reflections-0.9.10.jar to /root/kapua/assembly/broker/target/broker_dependency/reflections-0.9.10.jar
[INFO] Copying javassist-3.19.0-GA.jar to /root/kapua/assembly/broker/target/broker_dependency/javassist-3.19.0-GA.jar
[INFO] Copying commons-io-2.4.jar to /root/kapua/assembly/broker/target/broker_dependency/commons-io-2.4.jar
[INFO] Copying commons-lang3-3.4.jar to /root/kapua/assembly/broker/target/broker_dependency/commons-lang3-3.4.jar
[INFO] Copying liquibase-core-3.0.5.jar to /root/kapua/assembly/broker/target/broker_dependency/liquibase-core-3.0.5.jar
[INFO] Copying snakeyaml-1.15.jar to /root/kapua/assembly/broker/target/broker_dependency/snakeyaml-1.15.jar
[INFO]
[INFO] --- jacoco-extras:0.1.1:xml (default) @ kapua-assembly-broker ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ kapua-assembly-broker ---
[INFO] Installing /root/kapua/assembly/broker/pom.xml to /root/.m2/repository/org/eclipse/kapua/kapua-assembly-broker/1.1.0-SNAPSHOT/kapua-assembly-broker-1.1.0-SNAPSHOT.pom
[INFO] Installing /root/kapua/assembly/broker/target/kapua-broker-1.1.0-SNAPSHOT.tar.gz to /root/.m2/repository/org/eclipse/kapua/kapua-assembly-broker/1.1.0-SNAPSHOT/kapua-assembly-broker-1.1.0-SNAPSHOT.tar.gz
[INFO]
[INFO] --- docker-maven-plugin:0.24.0:build (build) @ kapua-assembly-broker ---
[INFO] Reading assembly descriptor: /root/kapua/assembly/broker/descriptors/kapua-broker.xml
[INFO] Copying files to /root/kapua/assembly/broker/target/docker/kapua/kapua-broker/build/maven
[INFO] Building tar: /root/kapua/assembly/broker/target/docker/kapua/kapua-broker/tmp/docker-build.tar
[INFO] DOCKER> [kapua/kapua-broker:latest]: Created docker-build.tar in 2 seconds
[INFO] DOCKER> [kapua/kapua-broker:latest]: Built image sha256:f3773
[INFO] DOCKER> [kapua/kapua-broker:latest]: Tag with 1.1.0-SNAPSHOT,2019-04-12
[INFO]
[INFO] ----------------< org.eclipse.kapua:kapua-assembly-api >----------------
[INFO] Building kapua-assembly-api 1.1.0-SNAPSHOT [7/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kapua-assembly-api ---
[INFO] Deleting /root/kapua/assembly/api/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-api ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-api ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/api/target/jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:report (default-report) @ kapua-assembly-api ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ kapua-assembly-api >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-api ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-api ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/api/target/jacoco.exec
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ kapua-assembly-api <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ kapua-assembly-api ---
[INFO]
[INFO] --- maven-assembly-plugin:3.0.0:single (kapua-api) @ kapua-assembly-api ---
[INFO] Reading assembly descriptor: /root/kapua/assembly/api/descriptors/kapua-api-jetty.xml
[INFO] Building tar: /root/kapua/assembly/api/target/kapua-api-1.1.0-SNAPSHOT.tar.gz
[INFO]
[INFO] --- jacoco-extras:0.1.1:xml (default) @ kapua-assembly-api ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ kapua-assembly-api ---
[INFO] Installing /root/kapua/assembly/api/pom.xml to /root/.m2/repository/org/eclipse/kapua/kapua-assembly-api/1.1.0-SNAPSHOT/kapua-assembly-api-1.1.0-SNAPSHOT.pom
[INFO] Installing /root/kapua/assembly/api/target/kapua-api-1.1.0-SNAPSHOT.tar.gz to /root/.m2/repository/org/eclipse/kapua/kapua-assembly-api/1.1.0-SNAPSHOT/kapua-assembly-api-1.1.0-SNAPSHOT.tar.gz
[INFO]
[INFO] --- docker-maven-plugin:0.24.0:build (build) @ kapua-assembly-api ---
[INFO] Reading assembly descriptor: /root/kapua/assembly/api/descriptors/kapua-api-jetty.xml
[INFO] Copying files to /root/kapua/assembly/api/target/docker/kapua/kapua-api/build/maven
[INFO] Building tar: /root/kapua/assembly/api/target/docker/kapua/kapua-api/tmp/docker-build.tar
[INFO] DOCKER> [kapua/kapua-api:latest]: Created docker-build.tar in 818 milliseconds
[INFO] DOCKER> [kapua/kapua-api:latest]: Built image sha256:35bf2
[INFO] DOCKER> [kapua/kapua-api:latest]: Tag with 1.1.0-SNAPSHOT,2019-04-12
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] kapua-assembly 1.1.0-SNAPSHOT ...................... SUCCESS [ 2.375 s]
[INFO] kapua-assembly-java-base ........................... SUCCESS [ 1.346 s]
[INFO] kapua-assembly-jetty-base .......................... SUCCESS [ 0.368 s]
[INFO] kapua-assembly-sql ................................. SUCCESS [ 0.253 s]
[INFO] kapua-assembly-events-broker ....................... SUCCESS [ 0.373 s]
[INFO] kapua-assembly-broker .............................. SUCCESS [ 17.784 s]
[INFO] kapua-assembly-api 1.1.0-SNAPSHOT .................. SUCCESS [ 5.597 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28.379 s
[INFO] Finished at: 2019-04-12T11:27:44Z
[INFO] ------------------------------------------------------------------------
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua# mvn -f assembly -Pdocker
According to the log the Docker images are correctly built. So, unless you're forcing a specific Kapua version via the IMAGE_VERSION
environment variable, the docker-compose.sh
script should start the correct images.
Could you please post the output of both the commands docker ps
and docker images
after you launch docker-deploy.sh
?
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua# docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua# docker ps -all
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua# mvn -f assembly -Pdocker
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] kapua-assembly [pom]
[INFO] kapua-assembly-java-base [pom]
[INFO] kapua-assembly-jetty-base [pom]
[INFO] kapua-assembly-sql [pom]
[INFO] kapua-assembly-events-broker [pom]
[INFO] kapua-assembly-broker [pom]
[INFO] kapua-assembly-api [pom]
[INFO]
[INFO] ------------------< org.eclipse.kapua:kapua-assembly >------------------
[INFO] Building kapua-assembly 1.1.0-SNAPSHOT [1/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kapua-assembly ---
[INFO] Deleting /root/kapua/assembly/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/target/jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:report (default-report) @ kapua-assembly ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ kapua-assembly >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/target/jacoco.exec
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ kapua-assembly <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ kapua-assembly ---
[INFO]
[INFO] --- jacoco-extras:0.1.1:xml (default) @ kapua-assembly ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ kapua-assembly ---
[INFO] Installing /root/kapua/assembly/pom.xml to /root/.m2/repository/org/eclipse/kapua/kapua-assembly/1.1.0-SNAPSHOT/kapua-assembly-1.1.0-SNAPSHOT.pom
[INFO]
[INFO] -------------< org.eclipse.kapua:kapua-assembly-java-base >-------------
[INFO] Building kapua-assembly-java-base 1.1.0-SNAPSHOT [2/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kapua-assembly-java-base ---
[INFO] Deleting /root/kapua/assembly/java-base/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-java-base ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-java-base ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/java-base/target/jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:report (default-report) @ kapua-assembly-java-base ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ kapua-assembly-java-base >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-java-base ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-java-base ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/java-base/target/jacoco.exec
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ kapua-assembly-java-base <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ kapua-assembly-java-base ---
[INFO]
[INFO] --- jacoco-extras:0.1.1:xml (default) @ kapua-assembly-java-base ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ kapua-assembly-java-base ---
[INFO] Installing /root/kapua/assembly/java-base/pom.xml to /root/.m2/repository/org/eclipse/kapua/kapua-assembly-java-base/1.1.0-SNAPSHOT/kapua-assembly-java-base-1.1.0-SNAPSHOT.pom
[INFO]
[INFO] --- docker-maven-plugin:0.24.0:build (build) @ kapua-assembly-java-base ---
[INFO] DOCKER> Pulling from library/centos
8ba884070f61: Pull complete
[INFO] DOCKER> Digest: sha256:8d487d68857f5bc9595793279b33d082b03713341ddec91054382641d14db861
[INFO] DOCKER> Status: Downloaded newer image for centos:7
[INFO] DOCKER> Pulled centos:7 in 6 seconds
[INFO] Building tar: /root/kapua/assembly/java-base/target/docker/kapua/java-base/tmp/docker-build.tar
[INFO] DOCKER> [kapua/java-base:latest]: Created docker-build.tar in 45 milliseconds
[INFO] DOCKER> [kapua/java-base:latest]: Built image sha256:e1407
[INFO] DOCKER> [kapua/java-base:latest]: Tag with 1.1.0-SNAPSHOT,2019-04-12
[INFO]
[INFO] ------------< org.eclipse.kapua:kapua-assembly-jetty-base >-------------
[INFO] Building kapua-assembly-jetty-base 1.1.0-SNAPSHOT [3/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kapua-assembly-jetty-base ---
[INFO] Deleting /root/kapua/assembly/jetty-base/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-jetty-base ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-jetty-base ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/jetty-base/target/jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:report (default-report) @ kapua-assembly-jetty-base ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ kapua-assembly-jetty-base >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-jetty-base ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-jetty-base ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/jetty-base/target/jacoco.exec
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ kapua-assembly-jetty-base <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ kapua-assembly-jetty-base ---
[INFO]
[INFO] --- jacoco-extras:0.1.1:xml (default) @ kapua-assembly-jetty-base ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ kapua-assembly-jetty-base ---
[INFO] Installing /root/kapua/assembly/jetty-base/pom.xml to /root/.m2/repository/org/eclipse/kapua/kapua-assembly-jetty-base/1.1.0-SNAPSHOT/kapua-assembly-jetty-base-1.1.0-SNAPSHOT.pom
[INFO]
[INFO] --- docker-maven-plugin:0.24.0:build (build) @ kapua-assembly-jetty-base ---
[INFO] Reading assembly descriptor: /root/kapua/assembly/jetty-base/descriptors/jetty-base.xml
[INFO] Copying files to /root/kapua/assembly/jetty-base/target/docker/kapua/jetty-base/build/maven
[INFO] Building tar: /root/kapua/assembly/jetty-base/target/docker/kapua/jetty-base/tmp/docker-build.tar
[INFO] DOCKER> [kapua/jetty-base:latest]: Created docker-build.tar in 199 milliseconds
[INFO] DOCKER> [kapua/jetty-base:latest]: Built image sha256:815e0
[INFO] DOCKER> [kapua/jetty-base:latest]: Tag with 1.1.0-SNAPSHOT,2019-04-12
[INFO]
[INFO] ----------------< org.eclipse.kapua:kapua-assembly-sql >----------------
[INFO] Building kapua-assembly-sql 1.1.0-SNAPSHOT [4/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kapua-assembly-sql ---
[INFO] Deleting /root/kapua/assembly/sql/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-sql ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-sql ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/sql/target/jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:report (default-report) @ kapua-assembly-sql ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ kapua-assembly-sql >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-sql ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-sql ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/sql/target/jacoco.exec
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ kapua-assembly-sql <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ kapua-assembly-sql ---
[INFO]
[INFO] --- jacoco-extras:0.1.1:xml (default) @ kapua-assembly-sql ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ kapua-assembly-sql ---
[INFO] Installing /root/kapua/assembly/sql/pom.xml to /root/.m2/repository/org/eclipse/kapua/kapua-assembly-sql/1.1.0-SNAPSHOT/kapua-assembly-sql-1.1.0-SNAPSHOT.pom
[INFO]
[INFO] --- docker-maven-plugin:0.24.0:build (build) @ kapua-assembly-sql ---
[INFO] Reading assembly descriptor: /root/kapua/assembly/sql/descriptors/kapua-sql.xml
[INFO] Copying files to /root/kapua/assembly/sql/target/docker/kapua/kapua-sql/build/maven
[INFO] Building tar: /root/kapua/assembly/sql/target/docker/kapua/kapua-sql/tmp/docker-build.tar
[INFO] DOCKER> [kapua/kapua-sql:latest]: Created docker-build.tar in 6 milliseconds
[INFO] DOCKER> [kapua/kapua-sql:latest]: Built image sha256:68963
[INFO] DOCKER> [kapua/kapua-sql:latest]: Tag with 1.1.0-SNAPSHOT,2019-04-12
[INFO]
[INFO] -----------< org.eclipse.kapua:kapua-assembly-events-broker >-----------
[INFO] Building kapua-assembly-events-broker 1.1.0-SNAPSHOT [5/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kapua-assembly-events-broker ---
[INFO] Deleting /root/kapua/assembly/events-broker/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-events-broker ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-events-broker ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/events-broker/target/jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:report (default-report) @ kapua-assembly-events-broker ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ kapua-assembly-events-broker >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-events-broker ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-events-broker ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/events-broker/target/jacoco.exec
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ kapua-assembly-events-broker <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ kapua-assembly-events-broker ---
[INFO]
[INFO] --- jacoco-extras:0.1.1:xml (default) @ kapua-assembly-events-broker ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ kapua-assembly-events-broker ---
[INFO] Installing /root/kapua/assembly/events-broker/pom.xml to /root/.m2/repository/org/eclipse/kapua/kapua-assembly-events-broker/1.1.0-SNAPSHOT/kapua-assembly-events-broker-1.1.0-SNAPSHOT.pom
[INFO]
[INFO] --- docker-maven-plugin:0.24.0:build (build) @ kapua-assembly-events-broker ---
[INFO] DOCKER> Pulling from enmasseproject/activemq-artemis
280aca6ddce2: Pull complete
9f4a845b22e3: Pull complete
ae7b00265614: Pull complete
159e299f42f4: Pull complete
4cfcabc0f177: Pull complete
999fb730d465: Pull complete
a68c59938b2d: Pull complete
dccefc964f60: Pull complete
adf7f1ddd45a: Pull complete
5163cacf5134: Pull complete
[INFO] DOCKER> Digest: sha256:fd779afa235ff01165328a78b2523faf46cc04a24b5d693d61b57293f2a0e78a
[INFO] DOCKER> Status: Downloaded newer image for enmasseproject/activemq-artemis:2.2.0-1
[INFO] DOCKER> Pulled enmasseproject/activemq-artemis:2.2.0-1 in 7 seconds
[INFO] Reading assembly descriptor: /root/kapua/assembly/events-broker/descriptors/events-broker.xml
[INFO] Copying files to /root/kapua/assembly/events-broker/target/docker/kapua/kapua-events-broker/build/maven
[INFO] Building tar: /root/kapua/assembly/events-broker/target/docker/kapua/kapua-events-broker/tmp/docker-build.tar
[INFO] DOCKER> [kapua/kapua-events-broker:latest]: Created docker-build.tar in 17 milliseconds
[INFO] DOCKER> [kapua/kapua-events-broker:latest]: Built image sha256:b58cd
[INFO] DOCKER> [kapua/kapua-events-broker:latest]: Tag with 1.1.0-SNAPSHOT,2019-04-12
[INFO]
[INFO] --------------< org.eclipse.kapua:kapua-assembly-broker >---------------
[INFO] Building kapua-assembly-broker 1.1.0-SNAPSHOT [6/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kapua-assembly-broker ---
[INFO] Deleting /root/kapua/assembly/broker/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-broker ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-broker ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/broker/target/jacoco.exec
[INFO]
[INFO] --- maven-dependency-plugin:3.0.1:unpack (unpack-activemq) @ kapua-assembly-broker ---
[INFO] Configured Artifact: org.apache.activemq:apache-activemq:bin:?:tar.gz
[INFO] Unpacking /root/.m2/repository/org/apache/activemq/apache-activemq/5.14.5/apache-activemq-5.14.5-bin.tar.gz to /root/kapua/assembly/broker/target/dependencies/activemq with includes "" and excludes ""
[INFO] Expanding: /root/.m2/repository/org/apache/activemq/apache-activemq/5.14.5/apache-activemq-5.14.5-bin.tar.gz into /root/kapua/assembly/broker/target/dependencies/activemq
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:report (default-report) @ kapua-assembly-broker ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ kapua-assembly-broker >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-broker ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-broker ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/broker/target/jacoco.exec
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ kapua-assembly-broker <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ kapua-assembly-broker ---
[INFO]
[INFO] --- maven-assembly-plugin:3.0.0:single (kapua-broker) @ kapua-assembly-broker ---
[INFO] Reading assembly descriptor: descriptors/kapua-broker.xml
[INFO] Building tar: /root/kapua/assembly/broker/target/kapua-broker-1.1.0-SNAPSHOT.tar.gz
[INFO]
[INFO] --- maven-dependency-plugin:3.0.1:copy (copy) @ kapua-assembly-broker ---
[INFO] Configured Artifact: com.google.guava:guava:?:jar
[INFO] Configured Artifact: com.google.inject:guice:?:jar
[INFO] Configured Artifact: javax.inject:javax.inject:1:jar
[INFO] Configured Artifact: aopalliance:aopalliance:?:jar
[INFO] Configured Artifact: org.eclipse.persistence:javax.persistence:?:jar
[INFO] Configured Artifact: org.eclipse.persistence:org.eclipse.persistence.jpa:?:jar
[INFO] Configured Artifact: org.eclipse.persistence:org.eclipse.persistence.core:?:jar
[INFO] Configured Artifact: org.eclipse.persistence:org.eclipse.persistence.asm:?:jar
[INFO] Configured Artifact: org.eclipse.persistence:org.eclipse.persistence.jpa.jpql:?:jar
[INFO] Configured Artifact: org.eclipse.persistence:org.eclipse.persistence.moxy:?:jar
[INFO] Configured Artifact: commons-configuration:commons-configuration:?:jar
[INFO] Configured Artifact: org.springframework.security:spring-security-core:?:jar
[INFO] Configured Artifact: io.dropwizard.metrics:metrics-core:?:jar
[INFO] Configured Artifact: com.h2database:h2:?:jar
[INFO] Configured Artifact: com.google.protobuf:protobuf-java:?:jar
[INFO] Configured Artifact: org.apache.shiro:shiro-core:1.3.2:jar
[INFO] Configured Artifact: org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.1.0:jar
[INFO] Configured Artifact: org.apache.qpid:qpid-jms-client:0.24.0:jar
[INFO] Configured Artifact: org.apache.qpid:proton-j:0.20.0:jar
[INFO] Configured Artifact: org.apache.commons:commons-pool2:2.3:jar
[INFO] Configured Artifact: org.bitbucket.b_c:jose4j:0.5.2:jar
[INFO] Configured Artifact: org.elasticsearch:elasticsearch:5.3.0:jar
[INFO] Configured Artifact: org.reflections:reflections:0.9.10:jar
[INFO] Configured Artifact: org.javassist:javassist:3.19.0-GA:jar
[INFO] Configured Artifact: commons-io:commons-io:2.4:jar
[INFO] Configured Artifact: org.apache.commons:commons-lang3:3.4:jar
[INFO] Configured Artifact: org.liquibase:liquibase-core:3.0.5:jar
[INFO] Configured Artifact: org.yaml:snakeyaml:1.15:jar
[INFO] Copying guava-19.0.jar to /root/kapua/assembly/broker/target/broker_dependency/guava-19.0.jar
[INFO] Copying guice-4.1.0.jar to /root/kapua/assembly/broker/target/broker_dependency/guice-4.1.0.jar
[INFO] Copying javax.inject-1.jar to /root/kapua/assembly/broker/target/broker_dependency/javax.inject-1.jar
[INFO] Copying aopalliance-1.0.jar to /root/kapua/assembly/broker/target/broker_dependency/aopalliance-1.0.jar
[INFO] Copying javax.persistence-2.1.1.jar to /root/kapua/assembly/broker/target/broker_dependency/javax.persistence-2.1.1.jar
[INFO] Copying org.eclipse.persistence.jpa-2.6.3.jar to /root/kapua/assembly/broker/target/broker_dependency/org.eclipse.persistence.jpa-2.6.3.jar
[INFO] Copying org.eclipse.persistence.core-2.6.3.jar to /root/kapua/assembly/broker/target/broker_dependency/org.eclipse.persistence.core-2.6.3.jar
[INFO] Copying org.eclipse.persistence.asm-2.6.3.jar to /root/kapua/assembly/broker/target/broker_dependency/org.eclipse.persistence.asm-2.6.3.jar
[INFO] Copying org.eclipse.persistence.jpa.jpql-2.6.3.jar to /root/kapua/assembly/broker/target/broker_dependency/org.eclipse.persistence.jpa.jpql-2.6.3.jar
[INFO] Copying org.eclipse.persistence.moxy-2.6.3.jar to /root/kapua/assembly/broker/target/broker_dependency/org.eclipse.persistence.moxy-2.6.3.jar
[INFO] Copying commons-configuration-1.9.jar to /root/kapua/assembly/broker/target/broker_dependency/commons-configuration-1.9.jar
[INFO] Copying spring-security-core-4.1.3.RELEASE.jar to /root/kapua/assembly/broker/target/broker_dependency/spring-security-core-4.1.3.RELEASE.jar
[INFO] Copying metrics-core-3.2.2.jar to /root/kapua/assembly/broker/target/broker_dependency/metrics-core-3.2.2.jar
[INFO] Copying h2-1.4.192.jar to /root/kapua/assembly/broker/target/broker_dependency/h2-1.4.192.jar
[INFO] Copying protobuf-java-2.6.1.jar to /root/kapua/assembly/broker/target/broker_dependency/protobuf-java-2.6.1.jar
[INFO] Copying shiro-core-1.3.2.jar to /root/kapua/assembly/broker/target/broker_dependency/shiro-core-1.3.2.jar
[INFO] Copying org.eclipse.paho.client.mqttv3-1.1.0.jar to /root/kapua/assembly/broker/target/broker_dependency/org.eclipse.paho.client.mqttv3-1.1.0.jar
[INFO] Copying qpid-jms-client-0.24.0.jar to /root/kapua/assembly/broker/target/broker_dependency/qpid-jms-client-0.24.0.jar
[INFO] Copying proton-j-0.20.0.jar to /root/kapua/assembly/broker/target/broker_dependency/proton-j-0.20.0.jar
[INFO] Copying commons-pool2-2.3.jar to /root/kapua/assembly/broker/target/broker_dependency/commons-pool2-2.3.jar
[INFO] Copying jose4j-0.5.2.jar to /root/kapua/assembly/broker/target/broker_dependency/jose4j-0.5.2.jar
[INFO] Copying elasticsearch-5.3.0.jar to /root/kapua/assembly/broker/target/broker_dependency/elasticsearch-5.3.0.jar
[INFO] Copying reflections-0.9.10.jar to /root/kapua/assembly/broker/target/broker_dependency/reflections-0.9.10.jar
[INFO] Copying javassist-3.19.0-GA.jar to /root/kapua/assembly/broker/target/broker_dependency/javassist-3.19.0-GA.jar
[INFO] Copying commons-io-2.4.jar to /root/kapua/assembly/broker/target/broker_dependency/commons-io-2.4.jar
[INFO] Copying commons-lang3-3.4.jar to /root/kapua/assembly/broker/target/broker_dependency/commons-lang3-3.4.jar
[INFO] Copying liquibase-core-3.0.5.jar to /root/kapua/assembly/broker/target/broker_dependency/liquibase-core-3.0.5.jar
[INFO] Copying snakeyaml-1.15.jar to /root/kapua/assembly/broker/target/broker_dependency/snakeyaml-1.15.jar
[INFO]
[INFO] --- jacoco-extras:0.1.1:xml (default) @ kapua-assembly-broker ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ kapua-assembly-broker ---
[INFO] Installing /root/kapua/assembly/broker/pom.xml to /root/.m2/repository/org/eclipse/kapua/kapua-assembly-broker/1.1.0-SNAPSHOT/kapua-assembly-broker-1.1.0-SNAPSHOT.pom
[INFO] Installing /root/kapua/assembly/broker/target/kapua-broker-1.1.0-SNAPSHOT.tar.gz to /root/.m2/repository/org/eclipse/kapua/kapua-assembly-broker/1.1.0-SNAPSHOT/kapua-assembly-broker-1.1.0-SNAPSHOT.tar.gz
[INFO]
[INFO] --- docker-maven-plugin:0.24.0:build (build) @ kapua-assembly-broker ---
[INFO] Reading assembly descriptor: /root/kapua/assembly/broker/descriptors/kapua-broker.xml
[INFO] Copying files to /root/kapua/assembly/broker/target/docker/kapua/kapua-broker/build/maven
[INFO] Building tar: /root/kapua/assembly/broker/target/docker/kapua/kapua-broker/tmp/docker-build.tar
[INFO] DOCKER> [kapua/kapua-broker:latest]: Created docker-build.tar in 2 seconds
[INFO] DOCKER> [kapua/kapua-broker:latest]: Built image sha256:bbbaf
[INFO] DOCKER> [kapua/kapua-broker:latest]: Tag with 1.1.0-SNAPSHOT,2019-04-12
[INFO]
[INFO] ----------------< org.eclipse.kapua:kapua-assembly-api >----------------
[INFO] Building kapua-assembly-api 1.1.0-SNAPSHOT [7/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kapua-assembly-api ---
[INFO] Deleting /root/kapua/assembly/api/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-api ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-api ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/api/target/jacoco.exec
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:report (default-report) @ kapua-assembly-api ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] >>> maven-source-plugin:2.4:jar (attach-sources) > generate-sources @ kapua-assembly-api >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle-check) @ kapua-assembly-api ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ kapua-assembly-api ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/root/kapua/assembly/api/target/jacoco.exec
[INFO]
[INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ kapua-assembly-api <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ kapua-assembly-api ---
[INFO]
[INFO] --- maven-assembly-plugin:3.0.0:single (kapua-api) @ kapua-assembly-api ---
[INFO] Reading assembly descriptor: /root/kapua/assembly/api/descriptors/kapua-api-jetty.xml
[INFO] Building tar: /root/kapua/assembly/api/target/kapua-api-1.1.0-SNAPSHOT.tar.gz
[INFO]
[INFO] --- jacoco-extras:0.1.1:xml (default) @ kapua-assembly-api ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ kapua-assembly-api ---
[INFO] Installing /root/kapua/assembly/api/pom.xml to /root/.m2/repository/org/eclipse/kapua/kapua-assembly-api/1.1.0-SNAPSHOT/kapua-assembly-api-1.1.0-SNAPSHOT.pom
[INFO] Installing /root/kapua/assembly/api/target/kapua-api-1.1.0-SNAPSHOT.tar.gz to /root/.m2/repository/org/eclipse/kapua/kapua-assembly-api/1.1.0-SNAPSHOT/kapua-assembly-api-1.1.0-SNAPSHOT.tar.gz
[INFO]
[INFO] --- docker-maven-plugin:0.24.0:build (build) @ kapua-assembly-api ---
[INFO] Reading assembly descriptor: /root/kapua/assembly/api/descriptors/kapua-api-jetty.xml
[INFO] Copying files to /root/kapua/assembly/api/target/docker/kapua/kapua-api/build/maven
[INFO] Building tar: /root/kapua/assembly/api/target/docker/kapua/kapua-api/tmp/docker-build.tar
[INFO] DOCKER> [kapua/kapua-api:latest]: Created docker-build.tar in 866 milliseconds
[INFO] DOCKER> [kapua/kapua-api:latest]: Built image sha256:f7775
[INFO] DOCKER> [kapua/kapua-api:latest]: Tag with 1.1.0-SNAPSHOT,2019-04-12
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] kapua-assembly 1.1.0-SNAPSHOT ...................... SUCCESS [ 2.558 s]
[INFO] kapua-assembly-java-base ........................... SUCCESS [01:00 min]
[INFO] kapua-assembly-jetty-base .......................... SUCCESS [ 4.646 s]
[INFO] kapua-assembly-sql ................................. SUCCESS [ 2.490 s]
[INFO] kapua-assembly-events-broker ....................... SUCCESS [ 9.810 s]
[INFO] kapua-assembly-broker .............................. SUCCESS [ 24.018 s]
[INFO] kapua-assembly-api 1.1.0-SNAPSHOT .................. SUCCESS [ 11.482 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:55 min
[INFO] Finished at: 2019-04-12T11:49:56Z
[INFO] ------------------------------------------------------------------------
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua#
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua# cd deployment/docker/
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua/deployment/docker# ls
README.md compose docker-common.sh docker-deploy.sh docker-undeploy.sh pom.xml target
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua/deployment/docker# docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
kapua/kapua-api 1.1.0-SNAPSHOT f7775a512d2f 39 seconds ago 660MB
kapua/kapua-api 2019-04-12 f7775a512d2f 39 seconds ago 660MB
kapua/kapua-api latest f7775a512d2f 39 seconds ago 660MB
kapua/kapua-broker 1.1.0-SNAPSHOT bbbaff838213 50 seconds ago 613MB
kapua/kapua-broker 2019-04-12 bbbaff838213 50 seconds ago 613MB
kapua/kapua-broker latest bbbaff838213 50 seconds ago 613MB
kapua/kapua-events-broker 1.1.0-SNAPSHOT b58cdd32ba58 About a minute ago 130MB
kapua/kapua-events-broker 2019-04-12 b58cdd32ba58 About a minute ago 130MB
kapua/kapua-events-broker latest b58cdd32ba58 About a minute ago 130MB
kapua/kapua-sql 1.1.0-SNAPSHOT 68963a03c0a5 About a minute ago 480MB
kapua/kapua-sql 2019-04-12 68963a03c0a5 About a minute ago 480MB
kapua/kapua-sql latest 68963a03c0a5 About a minute ago 480MB
kapua/jetty-base 1.1.0-SNAPSHOT 815e0580de72 About a minute ago 504MB
kapua/jetty-base 2019-04-12 815e0580de72 About a minute ago 504MB
kapua/jetty-base latest 815e0580de72 About a minute ago 504MB
kapua/java-base 1.1.0-SNAPSHOT e14070eec927 About a minute ago 478MB
kapua/java-base 2019-04-12 e14070eec927 About a minute ago 478MB
kapua/java-base latest e14070eec927 About a minute ago 478MB
centos 7 9f38484d220f 4 weeks ago 202MB
enmasseproject/activemq-artemis 2.2.0-1 8365ce0c73d6 20 months ago 130MB
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua/deployment/docker# docker ps -all
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua/deployment/docker# ./docker-deploy.sh
Deploying Eclipse Kapua...
Creating network "compose_default" with the default driver
Pulling es (elasticsearch:5.4.0)...
5.4.0: Pulling from library/elasticsearch
10a267c67f42: Pull complete
fb5937da9414: Pull complete
f131c9b3ecc4: Pull complete
f59cc3b26f35: Pull complete
63df868a0518: Pull complete
83282147e192: Pull complete
b9595cab9382: Pull complete
df2d57cc0364: Pull complete
eb968d8ad5ed: Pull complete
17d104994ea4: Pull complete
3fe4649beeb6: Pull complete
a8ce1c2b87a5: Pull complete
425d32b8d20b: Pull complete
89fa7bafc1e2: Pull complete
66bf462fa606: Pull complete
Digest: sha256:b8697c807aa65316714a5074ef039c42e6c4b400a6986c18b9a88ef37636acbc
Status: Downloaded newer image for elasticsearch:5.4.0
Pulling kapua-console (kapua/kapua-console:latest)...
latest: Pulling from kapua/kapua-console
256b176beaff: Pull complete
328418f94551: Pull complete
a06a7aaf469d: Pull complete
79c2a4bb64c4: Pull complete
e20b0a971919: Pull complete
a3e10b2d4fc3: Pull complete
Digest: sha256:c923dc955d73490860ebb2a3508135cbc551e7a3f27a687da72de9484576fdef
Status: Downloaded newer image for kapua/kapua-console:latest
Creating compose_db_1 ... done
Creating compose_events-broker_1 ... done
Creating compose_es_1 ... done
Creating compose_broker_1 ... done
Creating compose_kapua-console_1 ... done
Creating compose_kapua-api_1 ... done
Deploying Eclipse Kapua... DONE!
Run "docker-compose -f /root/kapua/deployment/docker/compose/docker-compose.yml logs -f" for container logs
t@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua/deployment/docker# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1fae18fa59bf kapua/kapua-console:latest "/bin/sh -c /var/opt…" 5 seconds ago Up 3 seconds 0.0.0.0:8080->8080/tcp, 0.0.0.0:8443->8443/tcp, 8778/tcp compose_kapua-console_1
44d66acf369c kapua/kapua-api:latest "/bin/sh -c /var/opt…" 5 seconds ago Up 3 seconds 8778/tcp, 0.0.0.0:8081->8080/tcp, 0.0.0.0:8444->8443/tcp compose_kapua-api_1
8d483870d090 kapua/kapua-broker:latest "/bin/sh -c /var/opt…" 6 seconds ago Up 4 seconds 8161/tcp, 0.0.0.0:1883->1883/tcp, 0.0.0.0:8883->8883/tcp, 8778/tcp, 0.0.0.0:61614->61614/tcp, 61615/tcp compose_broker_1
768ac9bcdb9f elasticsearch:5.4.0 "/docker-entrypoint.…" 9 seconds ago Up 7 seconds 0.0.0.0:9200->9200/tcp, 0.0.0.0:9300->9300/tcp compose_es_1
28389ca15fbd kapua/kapua-sql:latest "/bin/sh -c /var/opt…" 9 seconds ago Up 5 seconds 0.0.0.0:3306->3306/tcp, 0.0.0.0:8181->8181/tcp, 8778/tcp compose_db_1
2025901f2b8b kapua/kapua-events-broker:latest "/run-artemis" 9 seconds ago Up 6 seconds 0.0.0.0:5672->5672/tcp compose_events-broker_1
root@ubuntu-s-4vcpu-8gb-fra1-01:~/kapua/deployment/docker# docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
kapua/kapua-api 1.1.0-SNAPSHOT f7775a512d2f 9 minutes ago 660MB
kapua/kapua-api 2019-04-12 f7775a512d2f 9 minutes ago 660MB
kapua/kapua-api latest f7775a512d2f 9 minutes ago 660MB
kapua/kapua-broker 1.1.0-SNAPSHOT bbbaff838213 9 minutes ago 613MB
kapua/kapua-broker 2019-04-12 bbbaff838213 9 minutes ago 613MB
kapua/kapua-broker latest bbbaff838213 9 minutes ago 613MB
kapua/kapua-events-broker 1.1.0-SNAPSHOT b58cdd32ba58 10 minutes ago 130MB
kapua/kapua-events-broker 2019-04-12 b58cdd32ba58 10 minutes ago 130MB
kapua/kapua-events-broker latest b58cdd32ba58 10 minutes ago 130MB
kapua/kapua-sql 1.1.0-SNAPSHOT 68963a03c0a5 10 minutes ago 480MB
kapua/kapua-sql 2019-04-12 68963a03c0a5 10 minutes ago 480MB
kapua/kapua-sql latest 68963a03c0a5 10 minutes ago 480MB
kapua/jetty-base 1.1.0-SNAPSHOT 815e0580de72 10 minutes ago 504MB
kapua/jetty-base 2019-04-12 815e0580de72 10 minutes ago 504MB
kapua/jetty-base latest 815e0580de72 10 minutes ago 504MB
kapua/java-base 1.1.0-SNAPSHOT e14070eec927 10 minutes ago 478MB
kapua/java-base 2019-04-12 e14070eec927 10 minutes ago 478MB
kapua/java-base latest e14070eec927 10 minutes ago 478MB
centos 7 9f38484d220f 4 weeks ago 202MB
kapua/kapua-console latest c1fb728b0be8 8 weeks ago 680MB
enmasseproject/activemq-artemis 2.2.0-1 8365ce0c73d6 20 months ago 130MB
elasticsearch 5.4.0 d781cd4e3228 23 months ago 352MB:
Everything in the logs is telling me that the correct images are running... Do you have a fork I can clone so I can test this myself?
it doesnt look ok to me you see that console has only the latest tag image and that it is 8 weeks ago while all other have three diffrently tagged versions
While the three versions are ok (they're just tags to the same image), you're right about the console: I completely missed that. It's indeed not built along the other assemblies, and this is definitely wrong. I'm going to check this right away.
EDIT: Ok, there's a missing part in the docs. When you build both Kapua (the first mvn clean install -Pdev -DskipTests=true
) and the Docker images (mvn -f assembly -Pdocker
) you have to add the console
Maven profile. So the commands should be:
mvn clean install -Pdev,console -DskipTests=true
mvn -f assembly -Pdocker,console
Or you can use a single command to do both:
mvn clean install -Pconsole,dev,docker -DskipTests
I'm going to fix the doc right away. Thanks for spotting this!
OK, thanks, maybe adding info that java 8 is needed also, I'm using develop branch and I'm getting some errors
in the browser
int console log
Caused by: org.h2.jdbc.JdbcSQLException: Table "SCHDL_QRTZ_TRIGGERS" not found; SQL statement:
SELECT TRIGGER_NAME, TRIGGER_GROUP, NEXT_FIRE_TIME, PRIORITY FROM SCHDL_QRTZ_TRIGGERS WHERE SCHED_NAME = 'KapuaQuartzScheduler' AND TRIGGER_STATE = ? AND NEXT_FIRE_TIME <= ? AND (MISFIRE_INSTR = -1 OR (MISFIRE_INSTR != -1 AND NEXT_FIRE_TIME >= ?)) ORDER BY NEXT_FIRE_TIME ASC, PRIORITY DESC [42102-192]
at org.h2.engine.SessionRemote.done(SessionRemote.java:624)
at org.h2.command.CommandRemote.prepare(CommandRemote.java:68)
at org.h2.command.CommandRemote.<init>(CommandRemote.java:45)
at org.h2.engine.SessionRemote.prepareCommand(SessionRemote.java:494)
at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:1202)
at org.h2.jdbc.JdbcPreparedStatement.<init>(JdbcPreparedStatement.java:73)
at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:290)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.quartz.impl.jdbcjobstore.AttributeRestoringConnectionInvocationHandler.invoke(AttributeRestoringConnectionInvocationHandler.java:73)
at com.sun.proxy.$Proxy36.prepareStatement(Unknown Source)
at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTriggerToAcquire(StdJDBCDelegate.java:2599)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2798)
am I suppose to use some other branch?
You can safely skip the one in the browser: it's because GWT is only compiling the Web Console for Firefox to save time, but the console will work just fine in Chrome as well regardless of the error. Anyway, if it bothers you, you have to remove the dev
profile when building Kapua, but it will take a couple minutes more every build.
As per the error about the tables, it doesn't ring any bell in this moment. Is there something interesting in the Console container log about Liquibase and table creations? Perhaps you could post that log as well?
this is first error in the log concerning databas
15:21:09.581 [main] ERROR o.q.impl.jdbcjobstore.JobStoreTX - ClusterManager: Error managing cluster: Failure obtaining db row lock: Table "SCHDL_QRTZ_LOCKS" not found; SQL statement:
SELECT * FROM SCHDL_QRTZ_LOCKS WHERE SCHED_NAME = 'KapuaQuartzScheduler' AND LOCK_NAME = ? FOR UPDATE [42102-192]
org.quartz.impl.jdbcjobstore.LockException: Failure obtaining db row lock: Table "SCHDL_QRTZ_LOCKS" not found; SQL statement:
SELECT * FROM SCHDL_QRTZ_LOCKS WHERE SCHED_NAME = 'KapuaQuartzScheduler' AND LOCK_NAME = ? FOR UPDATE [42102-192]
at org.quartz.impl.jdbcjobstore.StdRowLockSemaphore.executeSQL(StdRowLockSemaphore.java:157)
at org.quartz.impl.jdbcjobstore.DBSemaphore.obtainLock(DBSemaphore.java:113)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.doCheckin(JobStoreSupport.java:3274)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3874)
at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.initialize(JobStoreSupport.java:3859)
at org.quartz.impl.jdbcjobstore.JobStoreSupport.schedulerStarted(JobStoreSupport.java:687)
at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:567)
at org.quartz.impl.StdScheduler.start(StdScheduler.java:142)
at org.eclipse.kapua.service.scheduler.quartz.SchedulerServiceInit.initialize(SchedulerServiceInit.java:32)
at org.eclipse.kapua.app.console.server.util.ConsoleListener.contextInitialized(ConsoleListener.java:74)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:952)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:558)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:917)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:370)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:847)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:287)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:168)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:108)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.handler.StatisticsHandler.doStart(StatisticsHandler.java:256)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
at org.eclipse.jetty.server.Server.start(Server.java:416)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:108)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.Server.doStart(Server.java:383)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1572)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1512)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1511)
Caused by: org.h2.jdbc.JdbcSQLException: Table "SCHDL_QRTZ_LOCKS" not found; SQL statement:
SELECT * FROM SCHDL_QRTZ_LOCKS WHERE SCHED_NAME = 'KapuaQuartzScheduler' AND LOCK_NAME = ? FOR UPDATE [42102-192]
at org.h2.engine.SessionRemote.done(SessionRemote.java:624)
at org.h2.command.CommandRemote.prepare(CommandRemote.java:68)
at org.h2.command.CommandRemote.<init>(CommandRemote.java:45)
at org.h2.engine.SessionRemote.prepareCommand(SessionRemote.java:494)
Let me ping @Coduz on this!
Hi @mteodor,
From which container that log comes from? It always shows even after a container restart? (without bringing down other containers)
Regards,
Alberto
I was trying to make some changes to the code and dockerfile for the console and build and run in the docker. I've stopped all containers, and did a docker system prune I've built a project following dev guide ( I made some changes to ConsoleListener.java )
mvn clean install -f external/pom.xml
mvn clean install
also tried withmvn clean install -Pdev -DskipTests=true
Ithen I've tried to build and run dockers
I've added some additional logging in the ConsoleListenere which didnt appear in the docker logs
It looks like docker didnt incoroprate my changes when I removed Dockerfile from assembly/console/docker and tried to build no error was reported how does this docker build work here?