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 0f62aeed66676d78562fce2def6c076fef5dd769, 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 0f62aeed66676d78562fce2def6c076fef5dd769 (refs/remotes/origin/develop) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f62aeed66676d78562fce2def6c076fef5dd769 Commit message: "Merge branch 'develop' of git@gitlab.com:datainmotion/trafficos/tim.git into develop" > git rev-list --no-walk d04c6061705afebd98584d043d43cd4f91d566ae # 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 14, 2019 11:25:23 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 14, 2019 11:25:23 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 14, 2019 11:25:23 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getActiveDevices WARNING: No active devices were found in DB. Jun 14, 2019 11:25:23 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 14, 2019 11:25:23 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 14, 2019 11:25:23 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getDataEntries WARNING: No data within the provided time range. Jun 14, 2019 11:25:23 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 14, 2019 11:25:23 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getDataEntries SEVERE: Start and End dates are not consistent. Jun 14, 2019 11:25:23 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 14, 2019 11:25:23 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 14, 2019 11:25:23 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jun 14, 2019 11:25:23 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 ac70a829e6b3 Removing intermediate container ac70a829e6b3 ---> a5bc885d5ec2 Step 3/14 : ENV GECKO_WORK /gecko-work ---> Running in 69cb54ad1438 Removing intermediate container 69cb54ad1438 ---> a41aec191b65 Step 4/14 : ENV GECKO_VERSION 2.0.0 ---> Running in c12d13cc42e1 Removing intermediate container c12d13cc42e1 ---> 0440501b23cc Step 5/14 : RUN mkdir -p /opt/gecko/ && mkdir -p /opt/gecko/logs && mkdir -p /tmp ---> Running in 96d90ff4a1b9 Removing intermediate container 96d90ff4a1b9 ---> 0d55d0f7ae11 Step 6/14 : COPY ./ /opt/gecko/ ---> 233a532f0fb3 Step 7/14 : RUN useradd -r -u 200 -m -c "gecko account" -d ${GECKO_WORK} -s /bin/false gecko ---> Running in 7a8d486ac7eb Removing intermediate container 7a8d486ac7eb ---> 95182cd8a2c6 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 f92beddd3318 Removing intermediate container f92beddd3318 ---> 61d498d02025 Step 9/14 : RUN cd /opt/gecko ---> Running in c16485212d00 Removing intermediate container c16485212d00 ---> 57ed08c5e591 Step 10/14 : VOLUME ${GECKO_WORK} ---> Running in 60fc4deafffe Removing intermediate container 60fc4deafffe ---> 394a0e3e7d7b Step 11/14 : EXPOSE 8080 8081 8090 ---> Running in 4809478ea390 Removing intermediate container 4809478ea390 ---> 21b28e55c09a Step 12/14 : WORKDIR /opt/gecko ---> Running in fb9f84712271 Removing intermediate container fb9f84712271 ---> 05d496e5cfdc Step 13/14 : USER gecko ---> Running in 955816c9f904 Removing intermediate container 955816c9f904 ---> 6de3c4298b08 Step 14/14 : CMD ["./bin/gecko.sh", "-data", "/gecko-work"] ---> Running in 880401aaea27 Removing intermediate container 880401aaea27 ---> 3a5ae6411c1b Successfully built 3a5ae6411c1b Tagging built image with devel.data-in-motion.biz:6000/trafficos/tim:12 Tagging built image with devel.data-in-motion.biz:6000/trafficos/tim:latest Docker Build Response : 3a5ae6411c1b Pushing [devel.data-in-motion.biz:6000/trafficos/tim:12, devel.data-in-motion.biz:6000/trafficos/tim:latest] The push refers to repository [devel.data-in-motion.biz:6000/trafficos/tim] 5d0953a92b57: Preparing d2dcbd7c419f: Preparing 4b208735b04f: Preparing 10032ed9456b: Preparing 74572826057a: Preparing 3e35af6222b0: Preparing ba234b7fd328: Preparing 65f7d25bbf2d: Preparing 0b17f64af87b: Preparing ba234b7fd328: Waiting 3e35af6222b0: Waiting 65f7d25bbf2d: Waiting 0b17f64af87b: Waiting 74572826057a: Layer already exists 3e35af6222b0: Layer already exists 4b208735b04f: Pushing [> ] 241.7kB/23.05MB ba234b7fd328: Layer already exists 65f7d25bbf2d: Layer already exists d2dcbd7c419f: Pushing [> ] 14.62kB/1.388MB 5d0953a92b57: Pushing [> ] 239.6kB/23.05MB 0b17f64af87b: Layer already exists 4b208735b04f: Pushing [======> ] 2.84MB/23.05MB 5d0953a92b57: Pushing [======> ] 3.099MB/23.05MB 4b208735b04f: Pushing [============> ] 5.724MB/23.05MB 5d0953a92b57: Pushing [============> ] 5.721MB/23.05MB 4b208735b04f: Pushing [==================> ] 8.607MB/23.05MB 5d0953a92b57: Pushing [==================> ] 8.342MB/23.05MB 4b208735b04f: Pushing [========================> ] 11.49MB/23.05MB 5d0953a92b57: Pushing [=======================> ] 10.96MB/23.05MB 4b208735b04f: Pushing [==============================> ] 13.85MB/23.05MB 5d0953a92b57: Pushing [============================> ] 13.32MB/23.05MB 4b208735b04f: Pushing [===================================> ] 16.47MB/23.05MB 5d0953a92b57: Pushing [==================================> ] 15.94MB/23.05MB d2dcbd7c419f: Pushing [==================================================>] 1.405MB 10032ed9456b: Pushing 3.072kB 4b208735b04f: Pushing [=========================================> ] 19.09MB/23.05MB 5d0953a92b57: Pushing [========================================> ] 18.57MB/23.05MB 4b208735b04f: Pushing [===============================================> ] 21.71MB/23.05MB 5d0953a92b57: Pushing [=============================================> ] 21.19MB/23.05MB 4b208735b04f: Pushing [==================================================>] 23.09MB 5d0953a92b57: Pushing [==================================================>] 23.08MB 10032ed9456b: Pushed d2dcbd7c419f: Pushed 5d0953a92b57: Pushed 4b208735b04f: Pushed 12: digest: sha256:0559eefada356b559c8950c7b288703b6a1db1769d71e7d0d477498970393862 size: 2208 The push refers to repository [devel.data-in-motion.biz:6000/trafficos/tim] 5d0953a92b57: Preparing d2dcbd7c419f: Preparing 4b208735b04f: Preparing 10032ed9456b: Preparing 74572826057a: Preparing 3e35af6222b0: Preparing ba234b7fd328: Preparing 65f7d25bbf2d: Preparing 0b17f64af87b: Preparing 3e35af6222b0: Waiting ba234b7fd328: Waiting 65f7d25bbf2d: Waiting 5d0953a92b57: Layer already exists 10032ed9456b: Layer already exists 74572826057a: Layer already exists 4b208735b04f: Layer already exists d2dcbd7c419f: Layer already exists 3e35af6222b0: Layer already exists ba234b7fd328: Layer already exists 65f7d25bbf2d: Layer already exists 0b17f64af87b: Layer already exists latest: digest: sha256:0559eefada356b559c8950c7b288703b6a1db1769d71e7d0d477498970393862 size: 2208 Cleaning local images [3a5ae6411c1b] Docker Build Done Archiving artifacts Recording fingerprints Finished: SUCCESS