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 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 345722e267fecdf85bd1036729f508ab16c494c2 # 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) :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:32:18 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 12, 2019 9:32:18 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 12, 2019 9:32:18 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getActiveDevices WARNING: No active devices were found in DB. Jun 12, 2019 9:32:18 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 12, 2019 9:32:18 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 12, 2019 9:32:18 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getDataEntries WARNING: No data within the provided time range. Jun 12, 2019 9:32:18 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 12, 2019 9:32:18 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getDataEntries SEVERE: Start and End dates are not consistent. Jun 12, 2019 9:32:18 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 12, 2019 9:32:18 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 12, 2019 9:32:18 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 12, 2019 9:32:18 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 247f4de867ef Removing intermediate container 247f4de867ef ---> 8e13451087f2 Step 3/14 : ENV GECKO_WORK /gecko-work ---> Running in 1b7913d090d9 Removing intermediate container 1b7913d090d9 ---> ae18968d9838 Step 4/14 : ENV GECKO_VERSION 2.0.0 ---> Running in 6831080c4aa6 Removing intermediate container 6831080c4aa6 ---> 078b138060f3 Step 5/14 : RUN mkdir -p /opt/gecko/ && mkdir -p /opt/gecko/logs && mkdir -p /tmp ---> Running in 347798b710fb Removing intermediate container 347798b710fb ---> 23c8e6916d2a Step 6/14 : COPY ./ /opt/gecko/ ---> 68957c25e654 Step 7/14 : RUN useradd -r -u 200 -m -c "gecko account" -d ${GECKO_WORK} -s /bin/false gecko ---> Running in 44bf04fdf9e7 Removing intermediate container 44bf04fdf9e7 ---> 0f1cc704d734 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 fbb92d2983dd Removing intermediate container fbb92d2983dd ---> 37d166ec1354 Step 9/14 : RUN cd /opt/gecko ---> Running in ea824d1b8ec8 Removing intermediate container ea824d1b8ec8 ---> a12c1c3be04c Step 10/14 : VOLUME ${GECKO_WORK} ---> Running in 8a193b0b5915 Removing intermediate container 8a193b0b5915 ---> 82faf2d5401c Step 11/14 : EXPOSE 8080 8081 8090 ---> Running in f6341e3727fe Removing intermediate container f6341e3727fe ---> 10707441ac80 Step 12/14 : WORKDIR /opt/gecko ---> Running in e0a3faabda39 Removing intermediate container e0a3faabda39 ---> 32ebc1fbcb9e Step 13/14 : USER gecko ---> Running in 89c1c6057e99 Removing intermediate container 89c1c6057e99 ---> 8c5caa18c97f Step 14/14 : CMD ["./bin/gecko.sh", "-data", "/gecko-work"] ---> Running in eed25d3c3a54 Removing intermediate container eed25d3c3a54 ---> a2fd71d27aef Successfully built a2fd71d27aef Tagging built image with devel.data-in-motion.biz:6000/trafficos/tim:8 Tagging built image with devel.data-in-motion.biz:6000/trafficos/tim:latest Docker Build Response : a2fd71d27aef Pushing [devel.data-in-motion.biz:6000/trafficos/tim:8, devel.data-in-motion.biz:6000/trafficos/tim:latest] The push refers to repository [devel.data-in-motion.biz:6000/trafficos/tim] 8d656b2ba4da: Preparing 31282490d361: Preparing ac73acda5cf7: Preparing 5bc06fba29ab: Preparing 74572826057a: Preparing 3e35af6222b0: Preparing ba234b7fd328: Preparing 65f7d25bbf2d: Preparing 0b17f64af87b: Preparing 3e35af6222b0: Waiting ba234b7fd328: Waiting 65f7d25bbf2d: Waiting 0b17f64af87b: Waiting 74572826057a: Layer already exists 31282490d361: Pushing [> ] 14.62kB/1.388MB 3e35af6222b0: Layer already exists 8d656b2ba4da: Pushing [> ] 239.6kB/22.74MB ac73acda5cf7: Pushing [> ] 241.7kB/22.74MB ba234b7fd328: Layer already exists 65f7d25bbf2d: Layer already exists 0b17f64af87b: Layer already exists 8d656b2ba4da: Pushing [======> ] 2.771MB/22.74MB ac73acda5cf7: Pushing [======> ] 2.775MB/22.74MB 8d656b2ba4da: Pushing [============> ] 5.524MB/22.74MB ac73acda5cf7: Pushing [============> ] 5.527MB/22.74MB 8d656b2ba4da: Pushing [==================> ] 8.276MB/22.74MB ac73acda5cf7: Pushing [==================> ] 8.28MB/22.74MB 8d656b2ba4da: Pushing [========================> ] 11.03MB/22.74MB ac73acda5cf7: Pushing [========================> ] 11.03MB/22.74MB 8d656b2ba4da: Pushing [==============================> ] 13.78MB/22.74MB ac73acda5cf7: Pushing [==============================> ] 13.78MB/22.74MB 8d656b2ba4da: Pushing [====================================> ] 16.76MB/22.74MB ac73acda5cf7: Pushing [====================================> ] 16.77MB/22.74MB 8d656b2ba4da: Pushing [==========================================> ] 19.52MB/22.74MB ac73acda5cf7: Pushing [==========================================> ] 19.52MB/22.74MB 8d656b2ba4da: Pushing [=================================================> ] 22.5MB/22.74MB ac73acda5cf7: Pushing [================================================> ] 22.27MB/22.74MB 31282490d361: Pushing [==================================================>] 1.405MB 5bc06fba29ab: Pushing 3.072kB 8d656b2ba4da: Pushing [==================================================>] 22.78MB ac73acda5cf7: Pushing [==================================================>] 22.78MB 31282490d361: Pushed 5bc06fba29ab: Pushed ac73acda5cf7: Pushed 8d656b2ba4da: Pushed 8: digest: sha256:3094b337f05ff8c0cb28242628beb788204ebdca965db14bb8229dbb817a627f size: 2208 The push refers to repository [devel.data-in-motion.biz:6000/trafficos/tim] 8d656b2ba4da: Preparing 31282490d361: Preparing ac73acda5cf7: Preparing 5bc06fba29ab: Preparing 74572826057a: Preparing 3e35af6222b0: Preparing ba234b7fd328: Preparing 65f7d25bbf2d: Preparing 0b17f64af87b: Preparing 3e35af6222b0: Waiting ba234b7fd328: Waiting 0b17f64af87b: Waiting 65f7d25bbf2d: Waiting 31282490d361: Layer already exists 8d656b2ba4da: Layer already exists 5bc06fba29ab: Layer already exists ac73acda5cf7: Layer already exists 74572826057a: Layer already exists 0b17f64af87b: Layer already exists ba234b7fd328: Layer already exists 65f7d25bbf2d: Layer already exists 3e35af6222b0: Layer already exists latest: digest: sha256:3094b337f05ff8c0cb28242628beb788204ebdca965db14bb8229dbb817a627f size: 2208 Cleaning local images [a2fd71d27aef] Docker Build Done Archiving artifacts Recording fingerprints Finished: SUCCESS