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 90c9b222c85fa25fe0dff920ba70d37d4bf3dfd5, 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 ebcca79540e9b53df8f6e476924853cd8ccca845 (refs/remotes/origin/develop) > git config core.sparsecheckout # timeout=10 > git checkout -f ebcca79540e9b53df8f6e476924853cd8ccca845 Commit message: "- Added dependencies on the new version of device model" > git rev-list --no-walk ebcca79540e9b53df8f6e476924853cd8ccca845 # 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/search/org.gecko.search.document.api/1.0.0-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/search/org.gecko.search.api/1.0.0-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/search/org.gecko.search.document.api/1.0.0-SNAPSHOT/org.gecko.search.document.api-1.0.0-20190219.125822-5.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/search/org.gecko.search.api/1.0.0-SNAPSHOT/org.gecko.search.api-1.0.0-20190219.125818-8.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/search/org.apache.lucene.core/7.6.0-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/search/org.apache.lucene.queries/7.6.0-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/search/org.apache.lucene.core/7.6.0-SNAPSHOT/org.apache.lucene.core-7.6.0-20190219.125747-6.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/search/org.apache.lucene.queries/7.6.0-SNAPSHOT/org.apache.lucene.queries-7.6.0-20190219.125805-6.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/search/org.apache.lucene.memory/7.6.0-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/search/org.gecko.search.document.impl/1.0.0-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/search/org.apache.lucene.memory/7.6.0-SNAPSHOT/org.apache.lucene.memory-7.6.0-20190219.125802-6.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/search/org.apache.lucene.queryparser/7.6.0-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/search/org.apache.lucene.codecs/7.6.0-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/search/org.gecko.search.document.impl/1.0.0-SNAPSHOT/org.gecko.search.document.impl-1.0.0-20190219.125824-5.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/search/org.apache.lucene.queryparser/7.6.0-SNAPSHOT/org.apache.lucene.queryparser-7.6.0-20190219.125809-6.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/search/org.apache.lucene.codecs/7.6.0-SNAPSHOT/org.apache.lucene.codecs-7.6.0-20190219.125744-6.jar :de.dim.trafficos.tim.device:clean :de.dim.trafficos.tim.device.tests:clean :de.dim.trafficos.tim.rest: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.device:compileJava :de.dim.trafficos.tim.device:processResources NO-SOURCE :de.dim.trafficos.tim.device:classes :de.dim.trafficos.tim.device:jar :de.dim.trafficos.tim.device:assemble :de.dim.trafficos.tim.device:compileTestJava :de.dim.trafficos.tim.device:processTestResources NO-SOURCE :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.device.tests:compileJava :de.dim.trafficos.tim.device.tests:processResources NO-SOURCE :de.dim.trafficos.tim.device.tests:classes :de.dim.trafficos.tim.device.tests:jar :de.dim.trafficos.tim.device.tests:assemble :de.dim.trafficos.tim.device.tests:compileTestJava NO-SOURCE :de.dim.trafficos.tim.device.tests:processTestResources NO-SOURCE :de.dim.trafficos.tim.device.tests:testClasses UP-TO-DATE :de.dim.trafficos.tim.device.tests:test NO-SOURCE :de.dim.trafficos.tim.device.tests:testOSGiJun 12, 2019 9:36:30 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 12, 2019 9:36:30 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 12, 2019 9:36:30 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getActiveDevices WARNING: No active devices were found in DB. Jun 12, 2019 9:36:30 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 12, 2019 9:36:30 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 12, 2019 9:36:30 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getDataEntries WARNING: No data within the provided time range. Jun 12, 2019 9:36:30 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 12, 2019 9:36:30 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getDataEntries SEVERE: Start and End dates are not consistent. Jun 12, 2019 9:36:30 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 12, 2019 9:36:30 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 12, 2019 9:36:30 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 12, 2019 9:36:30 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getElementsByDeviceId SEVERE: Cannot retrieve elements associated with a device of null id. Tests run : 8 Passed : 8 Errors : 0 Failures : 0 :de.dim.trafficos.tim.device.tests:check :de.dim.trafficos.tim.device.tests: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.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 15s 25 actionable tasks: 25 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 e3b9abea671b Removing intermediate container e3b9abea671b ---> 5331ff1e0029 Step 3/14 : ENV GECKO_WORK /gecko-work ---> Running in 0bbe1b7ff50b Removing intermediate container 0bbe1b7ff50b ---> 5703ed7fc67d Step 4/14 : ENV GECKO_VERSION 2.0.0 ---> Running in 19cd6e7b536c Removing intermediate container 19cd6e7b536c ---> 617d3b051374 Step 5/14 : RUN mkdir -p /opt/gecko/ && mkdir -p /opt/gecko/logs && mkdir -p /tmp ---> Running in 97d40ff0d176 Removing intermediate container 97d40ff0d176 ---> 2449713e16a0 Step 6/14 : COPY ./ /opt/gecko/ ---> f05023c4133b Step 7/14 : RUN useradd -r -u 200 -m -c "gecko account" -d ${GECKO_WORK} -s /bin/false gecko ---> Running in 2bcae144193c Removing intermediate container 2bcae144193c ---> 051ad930f43c 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 ff6e33e2971b Removing intermediate container ff6e33e2971b ---> b824c061c06c Step 9/14 : RUN cd /opt/gecko ---> Running in 4c826705c7b0 Removing intermediate container 4c826705c7b0 ---> 2d8e54043a9f Step 10/14 : VOLUME ${GECKO_WORK} ---> Running in 25b11b3ebe9b Removing intermediate container 25b11b3ebe9b ---> 5492af5fccc0 Step 11/14 : EXPOSE 8080 8081 8090 ---> Running in 39ec1d3c6caa Removing intermediate container 39ec1d3c6caa ---> 329cdf5c768b Step 12/14 : WORKDIR /opt/gecko ---> Running in 86c55b8e2471 Removing intermediate container 86c55b8e2471 ---> 72ab9d0aa665 Step 13/14 : USER gecko ---> Running in c5c84409c839 Removing intermediate container c5c84409c839 ---> 2bde9677135c Step 14/14 : CMD ["./bin/gecko.sh", "-data", "/gecko-work"] ---> Running in b1bd99b9ee42 Removing intermediate container b1bd99b9ee42 ---> 47399631b87a Successfully built 47399631b87a Tagging built image with devel.data-in-motion.biz:6000/trafficos/tim:9 Tagging built image with devel.data-in-motion.biz:6000/trafficos/tim:latest Docker Build Response : 47399631b87a Pushing [devel.data-in-motion.biz:6000/trafficos/tim:9, devel.data-in-motion.biz:6000/trafficos/tim:latest] The push refers to repository [devel.data-in-motion.biz:6000/trafficos/tim] c0aa84b9fc32: Preparing 2131583912a4: Preparing 7b2f4ec0c64a: Preparing 9ad82c355847: Preparing 74572826057a: Preparing 3e35af6222b0: Preparing ba234b7fd328: Preparing 65f7d25bbf2d: Preparing 0b17f64af87b: Preparing 3e35af6222b0: Waiting ba234b7fd328: Waiting 0b17f64af87b: Waiting 65f7d25bbf2d: Waiting 74572826057a: Layer already exists 7b2f4ec0c64a: Pushing [> ] 241.7kB/22.74MB c0aa84b9fc32: Pushing [> ] 239.6kB/22.74MB 3e35af6222b0: Layer already exists ba234b7fd328: Layer already exists 65f7d25bbf2d: Layer already exists 0b17f64af87b: Layer already exists 2131583912a4: Pushing [> ] 14.62kB/1.388MB 7b2f4ec0c64a: Pushing [=====> ] 2.545MB/22.74MB c0aa84b9fc32: Pushing [======> ] 2.771MB/22.74MB 7b2f4ec0c64a: Pushing [===========> ] 5.298MB/22.74MB c0aa84b9fc32: Pushing [============> ] 5.524MB/22.74MB 7b2f4ec0c64a: Pushing [=================> ] 7.821MB/22.74MB c0aa84b9fc32: Pushing [=================> ] 8.047MB/22.74MB c0aa84b9fc32: Pushing [=======================> ] 10.57MB/22.74MB 7b2f4ec0c64a: Pushing [======================> ] 10.34MB/22.74MB 9ad82c355847: Pushing 3.072kB 2131583912a4: Pushing [==================================================>] 1.405MB c0aa84b9fc32: Pushing [============================> ] 13.09MB/22.74MB 7b2f4ec0c64a: Pushing [============================> ] 12.87MB/22.74MB c0aa84b9fc32: Pushing [==================================> ] 15.85MB/22.74MB 7b2f4ec0c64a: Pushing [==================================> ] 15.62MB/22.74MB c0aa84b9fc32: Pushing [========================================> ] 18.6MB/22.74MB 7b2f4ec0c64a: Pushing [========================================> ] 18.37MB/22.74MB c0aa84b9fc32: Pushing [==============================================> ] 21.35MB/22.74MB 7b2f4ec0c64a: Pushing [==============================================> ] 21.12MB/22.74MB 2131583912a4: Pushed 9ad82c355847: Pushed 7b2f4ec0c64a: Pushing [==================================================>] 22.78MB c0aa84b9fc32: Pushing [==================================================>] 22.78MB 7b2f4ec0c64a: Pushed c0aa84b9fc32: Pushed 9: digest: sha256:8b6e1f5d00aeb5227c13656eb1a891f69a3513b68c3a7c29cab3991557bff628 size: 2208 The push refers to repository [devel.data-in-motion.biz:6000/trafficos/tim] c0aa84b9fc32: Preparing 2131583912a4: Preparing 7b2f4ec0c64a: Preparing 9ad82c355847: Preparing 74572826057a: Preparing 3e35af6222b0: Preparing ba234b7fd328: Preparing 65f7d25bbf2d: Preparing 0b17f64af87b: Preparing ba234b7fd328: Waiting 3e35af6222b0: Waiting 65f7d25bbf2d: Waiting 0b17f64af87b: Waiting 74572826057a: Layer already exists 9ad82c355847: Layer already exists 2131583912a4: Layer already exists 7b2f4ec0c64a: Layer already exists 3e35af6222b0: Layer already exists c0aa84b9fc32: Layer already exists 0b17f64af87b: Layer already exists ba234b7fd328: Layer already exists 65f7d25bbf2d: Layer already exists latest: digest: sha256:8b6e1f5d00aeb5227c13656eb1a891f69a3513b68c3a7c29cab3991557bff628 size: 2208 Cleaning local images [47399631b87a] Docker Build Done Archiving artifacts Recording fingerprints Finished: SUCCESS