Started by user DIM Build 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/* > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10 Checking out Revision 345722e267fecdf85bd1036729f508ab16c494c2 (refs/remotes/origin/develop) > git config core.sparsecheckout # timeout=10 > git checkout -f 345722e267fecdf85bd1036729f508ab16c494c2 Commit message: "- Added REST for retrieving device info from mongoDB" > git rev-list --no-walk 50d73b18a3e2fbd78a663cdd3483e20cf48b61d5 # 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.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.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.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.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.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.queryparser/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/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/de/dim/trafficos/de.dim.trafficos.device.model/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.codecs/7.6.0-SNAPSHOT/org.apache.lucene.codecs-7.6.0-20190219.125744-6.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/de/dim/trafficos/de.dim.trafficos.device.model/1.0.0-SNAPSHOT/de.dim.trafficos.device.model-1.0.0-20190604.061340-2.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/de/dim/trafficos/de.dim.trafficos.device.model/1.0.0-SNAPSHOT/de.dim.trafficos.device.model-1.0.0-20190604.061340-2.jar.sha1 :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 07, 2019 1:15:18 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 07, 2019 1:15:18 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 07, 2019 1:15:18 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getActiveDevices WARNING: No active devices were found in DB. Jun 07, 2019 1:15:18 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 07, 2019 1:15:18 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 07, 2019 1:15:18 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getDataEntries WARNING: No data within the provided time range. Jun 07, 2019 1:15:18 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 07, 2019 1:15:18 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getDataEntries SEVERE: Start and End dates are not consistent. Jun 07, 2019 1:15:18 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 07, 2019 1:15:18 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 07, 2019 1:15:18 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 07, 2019 1:15:18 PM 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 bfd3c5baf8cf Removing intermediate container bfd3c5baf8cf ---> 8980a6e2b3a1 Step 3/14 : ENV GECKO_WORK /gecko-work ---> Running in 63c1adbc64b5 Removing intermediate container 63c1adbc64b5 ---> 6b424a0e8760 Step 4/14 : ENV GECKO_VERSION 2.0.0 ---> Running in 86f06d0ebd7c Removing intermediate container 86f06d0ebd7c ---> d1ad3cce5be0 Step 5/14 : RUN mkdir -p /opt/gecko/ && mkdir -p /opt/gecko/logs && mkdir -p /tmp ---> Running in 6be803f7442d Removing intermediate container 6be803f7442d ---> 3da305d1e0f8 Step 6/14 : COPY ./ /opt/gecko/ ---> 1e6be98a779a Step 7/14 : RUN useradd -r -u 200 -m -c "gecko account" -d ${GECKO_WORK} -s /bin/false gecko ---> Running in 252c35f766ed Removing intermediate container 252c35f766ed ---> f0fcbee8a5da 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 b01e6770ce82 Removing intermediate container b01e6770ce82 ---> 45eb2e3fe6b9 Step 9/14 : RUN cd /opt/gecko ---> Running in a73b608826d4 Removing intermediate container a73b608826d4 ---> 60b01347927f Step 10/14 : VOLUME ${GECKO_WORK} ---> Running in 34e43af14419 Removing intermediate container 34e43af14419 ---> ed1049e20f90 Step 11/14 : EXPOSE 8080 8081 8090 ---> Running in 62d4505c1397 Removing intermediate container 62d4505c1397 ---> a835881aa1ae Step 12/14 : WORKDIR /opt/gecko ---> Running in 41a2f027232e Removing intermediate container 41a2f027232e ---> 2c745c4fc0f8 Step 13/14 : USER gecko ---> Running in c38fbd09b9c6 Removing intermediate container c38fbd09b9c6 ---> 07beb2a344b5 Step 14/14 : CMD ["./bin/gecko.sh", "-data", "/gecko-work"] ---> Running in b54c12376b54 Removing intermediate container b54c12376b54 ---> 13b668c20bc7 Successfully built 13b668c20bc7 Tagging built image with devel.data-in-motion.biz:6000/trafficos/tim:7 Tagging built image with devel.data-in-motion.biz:6000/trafficos/tim:latest Docker Build Response : 13b668c20bc7 Pushing [devel.data-in-motion.biz:6000/trafficos/tim:7, devel.data-in-motion.biz:6000/trafficos/tim:latest] The push refers to repository [devel.data-in-motion.biz:6000/trafficos/tim] f888e17ca31e: Preparing 3bb6939e1d51: Preparing ce3ed6406b49: Preparing 2c92feaad463: Preparing 74572826057a: Preparing 3e35af6222b0: Preparing ba234b7fd328: Preparing 65f7d25bbf2d: Preparing 0b17f64af87b: Preparing 3e35af6222b0: Waiting 65f7d25bbf2d: Waiting ba234b7fd328: Waiting 0b17f64af87b: Waiting 3bb6939e1d51: Pushing [> ] 14.62kB/1.388MB 74572826057a: Layer already exists f888e17ca31e: Pushing [> ] 239.6kB/22.72MB 3e35af6222b0: Layer already exists ce3ed6406b49: Pushing [> ] 241.7kB/22.72MB ba234b7fd328: Layer already exists 65f7d25bbf2d: Layer already exists 0b17f64af87b: Layer already exists f888e17ca31e: Pushing [======> ] 2.771MB/22.72MB ce3ed6406b49: Pushing [======> ] 3.004MB/22.72MB f888e17ca31e: Pushing [===========> ] 5.295MB/22.72MB ce3ed6406b49: Pushing [============> ] 5.527MB/22.72MB f888e17ca31e: Pushing [=================> ] 7.818MB/22.72MB ce3ed6406b49: Pushing [=================> ] 8.05MB/22.72MB f888e17ca31e: Pushing [======================> ] 10.34MB/22.72MB ce3ed6406b49: Pushing [=======================> ] 10.57MB/22.72MB f888e17ca31e: Pushing [============================> ] 12.86MB/22.72MB ce3ed6406b49: Pushing [============================> ] 13.1MB/22.72MB f888e17ca31e: Pushing [=================================> ] 15.39MB/22.72MB ce3ed6406b49: Pushing [==================================> ] 15.62MB/22.72MB f888e17ca31e: Pushing [=======================================> ] 17.91MB/22.72MB ce3ed6406b49: Pushing [=======================================> ] 18.14MB/22.72MB 2c92feaad463: Pushing 3.072kB 3bb6939e1d51: Pushing [==================================================>] 1.405MB f888e17ca31e: Pushing [============================================> ] 20.43MB/22.72MB ce3ed6406b49: Pushing [=============================================> ] 20.67MB/22.72MB f888e17ca31e: Pushing [==================================================>] 22.76MB ce3ed6406b49: Pushing [==================================================>] 22.76MB 2c92feaad463: Pushed ce3ed6406b49: Pushed f888e17ca31e: Pushed 3bb6939e1d51: Pushed 7: digest: sha256:6728c6b2ea557188975b464fdea520c0f3dd5e6626e2c82a6d6fa294791f9a49 size: 2208 The push refers to repository [devel.data-in-motion.biz:6000/trafficos/tim] f888e17ca31e: Preparing 3bb6939e1d51: Preparing ce3ed6406b49: Preparing 2c92feaad463: Preparing 74572826057a: Preparing 3e35af6222b0: Preparing ba234b7fd328: Preparing 65f7d25bbf2d: Preparing 0b17f64af87b: Preparing 65f7d25bbf2d: Waiting 3e35af6222b0: Waiting 0b17f64af87b: Waiting 74572826057a: Layer already exists ce3ed6406b49: Layer already exists 3bb6939e1d51: Layer already exists 2c92feaad463: Layer already exists f888e17ca31e: Layer already exists ba234b7fd328: Layer already exists 65f7d25bbf2d: Layer already exists 3e35af6222b0: Layer already exists 0b17f64af87b: Layer already exists latest: digest: sha256:6728c6b2ea557188975b464fdea520c0f3dd5e6626e2c82a6d6fa294791f9a49 size: 2208 Cleaning local images [13b668c20bc7] Docker Build Done Archiving artifacts Recording fingerprints Finished: SUCCESS