Started by GitLab push by Ilenia Salvadori Building in workspace /var/jenkins_home/workspace/DIM-TrafficOS-TIM using credential jenkins_gitlab > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://gitlab.com/datainmotion/trafficos/tim.git # timeout=10 Fetching upstream changes from https://gitlab.com/datainmotion/trafficos/tim.git > git --version # timeout=10 using GIT_ASKPASS to set credentials The Gitlab user for the jenkins > git fetch --tags --progress https://gitlab.com/datainmotion/trafficos/tim.git +refs/heads/*:refs/remotes/origin/* skipping resolution of commit dc2741fb079c233d57b452b82d5a54d8eb9b3eff, since it originates from another repository > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10 Checking out Revision dc2741fb079c233d57b452b82d5a54d8eb9b3eff (refs/remotes/origin/develop) > git config core.sparsecheckout # timeout=10 > git checkout -f dc2741fb079c233d57b452b82d5a54d8eb9b3eff Commit message: "- Updated with new snapshot release of tos-device" > git rev-list --no-walk d56c7e960f6980e353c0b789cb20b4b905affb2e # timeout=10 [Gradle] - Launching build. [DIM-TrafficOS-TIM] $ /var/jenkins_home/workspace/DIM-TrafficOS-TIM/gradlew clean build prepareDocker Starting a Gradle Daemon (subsequent builds will be faster) Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.discovery.config/1.0.2-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.discovery.ma/2.0.1-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.discovery.config/1.0.2-SNAPSHOT/org.gecko.rsa.discovery.config-1.0.2-20190712.094026-8.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.api/2.1.0-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.discovery.ma/2.0.1-SNAPSHOT/org.gecko.rsa.discovery.ma-2.0.1-20190717.081920-3.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.model/1.0.2-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/ma/org.gecko.adapter.amqp/2.0.2-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.api/2.1.0-SNAPSHOT/org.gecko.rsa.api-2.1.0-20190717.081914-2.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.core/2.0.0-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.model/1.0.2-SNAPSHOT/org.gecko.rsa.model-1.0.2-20190717.081934-10.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.core/2.0.0-SNAPSHOT/org.gecko.rsa.core-2.0.0-20190717.081911-11.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.discovery/1.0.0-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/ma/org.gecko.adapter.amqp/2.0.2-SNAPSHOT/org.gecko.adapter.amqp-2.0.2-20190717.144058-5.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.provider/1.1.4-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.discovery/1.0.0-SNAPSHOT/org.gecko.rsa.discovery-1.0.0-20190717.081916-11.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.provider/1.1.4-SNAPSHOT/org.gecko.rsa.provider-1.1.4-20190717.081937-3.jar :de.dim.trafficos.tim.configurator:clean :de.dim.trafficos.tim.device:clean :de.dim.trafficos.tim.mqtt:clean :de.dim.trafficos.tim.rest:clean :de.dim.trafficos.tim.rsa:clean :de.dim.trafficos.tim.runtime:clean :de.dim.trafficos.tim.web.ui:clean :de.dim.traffics.tim.rest.model:clean :de.dim.trafficos.tim.configurator:compileJava NO-SOURCE :de.dim.trafficos.tim.configurator:processResources NO-SOURCE :de.dim.trafficos.tim.configurator:classes UP-TO-DATE :de.dim.trafficos.tim.configurator:jar :de.dim.trafficos.tim.configurator:assemble :de.dim.trafficos.tim.configurator:compileTestJava NO-SOURCE :de.dim.trafficos.tim.configurator:processTestResources NO-SOURCE :de.dim.trafficos.tim.configurator:testClasses UP-TO-DATE :de.dim.trafficos.tim.configurator:test NO-SOURCE :de.dim.trafficos.tim.configurator:testOSGi SKIPPED :de.dim.trafficos.tim.configurator:check UP-TO-DATE :de.dim.trafficos.tim.configurator:build :de.dim.trafficos.tim.device:compileJava NO-SOURCE :de.dim.trafficos.tim.device:processResources NO-SOURCE :de.dim.trafficos.tim.device:classes UP-TO-DATE :de.dim.trafficos.tim.device:jar :de.dim.trafficos.tim.device:assemble :de.dim.trafficos.tim.device:compileTestJava NO-SOURCE :de.dim.trafficos.tim.device:processTestResources :de.dim.trafficos.tim.device:testClasses :de.dim.trafficos.tim.device:test :de.dim.trafficos.tim.device:testOSGi SKIPPED :de.dim.trafficos.tim.device:check :de.dim.trafficos.tim.device:build :de.dim.trafficos.tim.mqtt:compileJava :de.dim.trafficos.tim.mqtt:processResources NO-SOURCE :de.dim.trafficos.tim.mqtt:classes :de.dim.trafficos.tim.mqtt:jar :de.dim.trafficos.tim.mqtt:assemble :de.dim.trafficos.tim.mqtt:compileTestJava :de.dim.trafficos.tim.mqtt:processTestResources NO-SOURCE :de.dim.trafficos.tim.mqtt:testClasses :de.dim.trafficos.tim.mqtt:test :de.dim.trafficos.tim.mqtt:testOSGi SKIPPED :de.dim.trafficos.tim.mqtt:check :de.dim.trafficos.tim.mqtt:build :de.dim.trafficos.tim.runtime:compileJava :de.dim.trafficos.tim.runtime:processResources NO-SOURCE :de.dim.trafficos.tim.runtime:classes :de.dim.trafficos.tim.runtime:jar :de.dim.traffics.tim.rest.model:compileJava :de.dim.traffics.tim.rest.model:processResources NO-SOURCE :de.dim.traffics.tim.rest.model:classes :de.dim.traffics.tim.rest.model:jar :de.dim.trafficos.tim.rest:compileJava :de.dim.trafficos.tim.rest:processResources NO-SOURCE :de.dim.trafficos.tim.rest:classes :de.dim.trafficos.tim.rest:jar :de.dim.trafficos.tim.rest:assemble :de.dim.trafficos.tim.rest:compileTestJava NO-SOURCE :de.dim.trafficos.tim.rest:processTestResources NO-SOURCE :de.dim.trafficos.tim.rest:testClasses UP-TO-DATE :de.dim.trafficos.tim.rest:test NO-SOURCE :de.dim.trafficos.tim.rest:testOSGi SKIPPED :de.dim.trafficos.tim.rest:check UP-TO-DATE :de.dim.trafficos.tim.rest:build :de.dim.trafficos.tim.rsa:compileJava :de.dim.trafficos.tim.rsa:processResources NO-SOURCE :de.dim.trafficos.tim.rsa:classes :de.dim.trafficos.tim.rsa:jar :de.dim.trafficos.tim.rsa:assemble :de.dim.trafficos.tim.rsa:compileTestJava NO-SOURCE :de.dim.trafficos.tim.rsa:processTestResources NO-SOURCE :de.dim.trafficos.tim.rsa:testClasses UP-TO-DATE :de.dim.trafficos.tim.rsa:test NO-SOURCE :de.dim.trafficos.tim.rsa:testOSGi SKIPPED :de.dim.trafficos.tim.rsa:check UP-TO-DATE :de.dim.trafficos.tim.rsa:build :de.dim.trafficos.tim.runtime:assemble :de.dim.trafficos.tim.runtime:compileTestJava NO-SOURCE :de.dim.trafficos.tim.runtime:processTestResources NO-SOURCE :de.dim.trafficos.tim.runtime:testClasses UP-TO-DATE :de.dim.trafficos.tim.runtime:test NO-SOURCE :de.dim.trafficos.tim.runtime:testOSGi SKIPPED :de.dim.trafficos.tim.runtime:check UP-TO-DATE :de.dim.trafficos.tim.runtime:build :de.dim.trafficos.tim.web.ui:compileJava :de.dim.trafficos.tim.web.ui:processResources NO-SOURCE :de.dim.trafficos.tim.web.ui:classes :de.dim.trafficos.tim.web.ui:jar :de.dim.trafficos.tim.web.ui:assemble :de.dim.trafficos.tim.web.ui:compileTestJava :de.dim.trafficos.tim.web.ui:processTestResources NO-SOURCE :de.dim.trafficos.tim.web.ui:testClasses :de.dim.trafficos.tim.web.ui:test :de.dim.trafficos.tim.web.ui:testOSGi SKIPPED :de.dim.trafficos.tim.web.ui:check :de.dim.trafficos.tim.web.ui:build :de.dim.traffics.tim.rest.model:assemble :de.dim.traffics.tim.rest.model:compileTestJava NO-SOURCE :de.dim.traffics.tim.rest.model:processTestResources NO-SOURCE :de.dim.traffics.tim.rest.model:testClasses UP-TO-DATE :de.dim.traffics.tim.rest.model:test NO-SOURCE :de.dim.traffics.tim.rest.model:testOSGi SKIPPED :de.dim.traffics.tim.rest.model:check UP-TO-DATE :de.dim.traffics.tim.rest.model:build :de.dim.trafficos.tim.runtime:geckoExport :de.dim.trafficos.tim.runtime:prepareDocker Prepare for Docker build BUILD SUCCESSFUL in 16s 30 actionable tasks: 30 executed Build step 'Invoke Gradle script' changed build result to SUCCESS Docker Build Docker Build: building image at path /var/jenkins_home/workspace/DIM-TrafficOS-TIM/de.dim.trafficos.tim.runtime/generated/docker Step 1/14 : FROM airdock/oraclejdk:1.8 ---> 65ad2c43412b Step 2/14 : MAINTAINER Data In Motion Consulting GmbH ---> Running in 474f0d29388e Removing intermediate container 474f0d29388e ---> bef097e50650 Step 3/14 : ENV GECKO_WORK /gecko-work ---> Running in 721f3d2ff28c Removing intermediate container 721f3d2ff28c ---> c4bef2307661 Step 4/14 : ENV GECKO_VERSION 2.0.0 ---> Running in 1ed16e13e348 Removing intermediate container 1ed16e13e348 ---> b10fba37cf79 Step 5/14 : RUN mkdir -p /opt/gecko/ && mkdir -p /opt/gecko/logs && mkdir -p /tmp ---> Running in 7ec989743ba5 Removing intermediate container 7ec989743ba5 ---> 5ee57bd71f7f Step 6/14 : COPY ./ /opt/gecko/ ---> 8612bf1d8a91 Step 7/14 : RUN useradd -r -u 200 -m -c "gecko account" -d ${GECKO_WORK} -s /bin/false gecko ---> Running in 01f3a13a7ac8 Removing intermediate container 01f3a13a7ac8 ---> 6fb5a2cdaed8 Step 8/14 : RUN chown -R gecko /opt/gecko && chmod u+rwx -R /opt/gecko && chown -R gecko /tmp && chmod -R u+rw /tmp ---> Running in b85eb231d456 Removing intermediate container b85eb231d456 ---> b93c737269fa Step 9/14 : RUN cd /opt/gecko ---> Running in ffe4492013e3 Removing intermediate container ffe4492013e3 ---> f1139489cc67 Step 10/14 : VOLUME ${GECKO_WORK} ---> Running in 878360caad21 Removing intermediate container 878360caad21 ---> 27077413a5b8 Step 11/14 : EXPOSE 8080 8081 8090 ---> Running in 886615aef624 Removing intermediate container 886615aef624 ---> c50f6904bc06 Step 12/14 : WORKDIR /opt/gecko ---> Running in 14daa2e905c6 Removing intermediate container 14daa2e905c6 ---> 0f01eddac1d6 Step 13/14 : USER gecko ---> Running in 78f15d924aea Removing intermediate container 78f15d924aea ---> 9fb02dc2d1a0 Step 14/14 : CMD ["./bin/gecko.sh", "-data", "/gecko-work"] ---> Running in f2b28d3e8e8a Removing intermediate container f2b28d3e8e8a ---> 109df8931542 Successfully built 109df8931542 Tagging built image with devel.data-in-motion.biz:6000/trafficos/tim:23 Tagging built image with devel.data-in-motion.biz:6000/trafficos/tim:latest Docker Build Response : 109df8931542 Pushing [devel.data-in-motion.biz:6000/trafficos/tim:23, devel.data-in-motion.biz:6000/trafficos/tim:latest] The push refers to repository [devel.data-in-motion.biz:6000/trafficos/tim] 614367342c35: Preparing 68bfe3c8e4b7: Preparing ea853cbd8435: Preparing 4f4c7ae844fb: Preparing 74572826057a: Preparing 3e35af6222b0: Preparing ba234b7fd328: Preparing 65f7d25bbf2d: Preparing 0b17f64af87b: Preparing 3e35af6222b0: Waiting ba234b7fd328: Waiting 65f7d25bbf2d: Waiting 614367342c35: Pushing [> ] 272.4kB/25.87MB 74572826057a: Layer already exists 614367342c35: Pushing [======> ] 3.165MB/25.87MB 3e35af6222b0: Layer already exists 68bfe3c8e4b7: Pushing [> ] 14.62kB/1.388MB ea853cbd8435: Pushing [> ] 274.4kB/25.87MB 614367342c35: Pushing [==========> ] 5.524MB/25.87MB ba234b7fd328: Layer already exists ea853cbd8435: Pushing [====> ] 2.119MB/25.87MB 614367342c35: Pushing [================> ] 8.408MB/25.87MB ea853cbd8435: Pushing [=========> ] 4.741MB/25.87MB 614367342c35: Pushing [=====================> ] 11.03MB/25.87MB 65f7d25bbf2d: Layer already exists ea853cbd8435: Pushing [==============> ] 7.362MB/25.87MB 614367342c35: Pushing [==========================> ] 13.65MB/25.87MB ea853cbd8435: Pushing [===================> ] 9.983MB/25.87MB 614367342c35: Pushing [===============================> ] 16.27MB/25.87MB 0b17f64af87b: Layer already exists ea853cbd8435: Pushing [========================> ] 12.6MB/25.87MB 614367342c35: Pushing [====================================> ] 18.89MB/25.87MB ea853cbd8435: Pushing [=============================> ] 15.23MB/25.87MB 614367342c35: Pushing [=========================================> ] 21.51MB/25.87MB ea853cbd8435: Pushing [==================================> ] 17.85MB/25.87MB 614367342c35: Pushing [==============================================> ] 24.14MB/25.87MB ea853cbd8435: Pushing [=======================================> ] 20.47MB/25.87MB ea853cbd8435: Pushing [=============================================> ] 23.35MB/25.87MB ea853cbd8435: Pushing [==================================================>] 25.92MB 614367342c35: Pushing [==================================================>] 25.91MB 4f4c7ae844fb: Pushing 3.072kB 68bfe3c8e4b7: Pushing [==================================================>] 1.405MB 68bfe3c8e4b7: Pushed 4f4c7ae844fb: Pushed 614367342c35: Pushed ea853cbd8435: Pushed 23: digest: sha256:bbd32fa19d4fb8452c71cf6a32c5e32105c9ea9da2c24ed5d7522fd945799b05 size: 2208 The push refers to repository [devel.data-in-motion.biz:6000/trafficos/tim] 614367342c35: Preparing 68bfe3c8e4b7: Preparing ea853cbd8435: Preparing 4f4c7ae844fb: Preparing 74572826057a: Preparing 3e35af6222b0: Preparing ba234b7fd328: Preparing 65f7d25bbf2d: Preparing 0b17f64af87b: Preparing ba234b7fd328: Waiting 65f7d25bbf2d: Waiting 0b17f64af87b: Waiting 3e35af6222b0: Waiting 614367342c35: Layer already exists ea853cbd8435: Layer already exists 74572826057a: Layer already exists ba234b7fd328: Layer already exists 68bfe3c8e4b7: Layer already exists 4f4c7ae844fb: Layer already exists 0b17f64af87b: Layer already exists 65f7d25bbf2d: Layer already exists 3e35af6222b0: Layer already exists latest: digest: sha256:bbd32fa19d4fb8452c71cf6a32c5e32105c9ea9da2c24ed5d7522fd945799b05 size: 2208 Cleaning local images [109df8931542] Docker Build Done Archiving artifacts Recording fingerprints Finished: SUCCESS