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 f18b7fd09835680846bb8cb9ee36c0e3e5b6847c, 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 f18b7fd09835680846bb8cb9ee36c0e3e5b6847c (refs/remotes/origin/develop) > git config core.sparsecheckout # timeout=10 > git checkout -f f18b7fd09835680846bb8cb9ee36c0e3e5b6847c Commit message: "- UI improvements with form for new Device" > git rev-list --no-walk bc86cd72ba42bea280d4fc3b0c75db6b57f5df2a # 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-releases/org/gecko/addons/org.gecko.emf.osgi.rest/1.2.4/org.gecko.emf.osgi.rest-1.2.4.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-releases/org/gecko/addons/org.gecko.emf.osgi.json/1.3.1/org.gecko.emf.osgi.json-1.3.1.jar 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/ma/org.gecko.osgi.messaging/3.1.0-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/ma/org.gecko.osgi.messaging/3.1.0-SNAPSHOT/org.gecko.osgi.messaging-3.1.0-20190703.180105-1.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-releases/org/gecko/addons/org.gecko.emf.osgi.json/1.3.1/org.gecko.emf.osgi.json-1.3.1.jar.sha1 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.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-releases/org/gecko/addons/org.gecko.emf.osgi.rest/1.2.4/org.gecko.emf.osgi.rest-1.2.4.jar.sha1 Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/ma/org.gecko.osgi.messaging/3.1.0-SNAPSHOT/org.gecko.osgi.messaging-3.1.0-20190703.180105-1.jar.sha1 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.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/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.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.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/org.apache.lucene.queryparser-7.6.0-20190219.125809-6.jar Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/ma/org.gecko.adapter.mqtt/1.0.3-SNAPSHOT/maven-metadata.xml Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/ma/org.gecko.adapter.mqtt/1.0.3-SNAPSHOT/org.gecko.adapter.mqtt-1.0.3-20190703.180057-1.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/org/gecko/ma/org.gecko.adapter.mqtt/1.0.3-SNAPSHOT/org.gecko.adapter.mqtt-1.0.3-20190703.180057-1.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:testOSGiJul 10, 2019 1:45:15 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jul 10, 2019 1:45:15 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jul 10, 2019 1:45:15 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getActiveDevices WARNING: No active devices were found in DB. Jul 10, 2019 1:45:15 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jul 10, 2019 1:45:15 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jul 10, 2019 1:45:15 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getDataEntries WARNING: No data within the provided time range. Jul 10, 2019 1:45:15 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jul 10, 2019 1:45:15 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getDataEntries SEVERE: Start and End dates are not consistent. Jul 10, 2019 1:45:15 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jul 10, 2019 1:45:15 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jul 10, 2019 1:45:15 PM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate INFO: Activated DeviceHandler Service repository Jul 10, 2019 1:45:15 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 17s 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 aa8cd5ce94ca Removing intermediate container aa8cd5ce94ca ---> 7f6453cba13a Step 3/14 : ENV GECKO_WORK /gecko-work ---> Running in 0a17564e79f3 Removing intermediate container 0a17564e79f3 ---> f20895290450 Step 4/14 : ENV GECKO_VERSION 2.0.0 ---> Running in 60c87a0f80bb Removing intermediate container 60c87a0f80bb ---> 19320178dd5e Step 5/14 : RUN mkdir -p /opt/gecko/ && mkdir -p /opt/gecko/logs && mkdir -p /tmp ---> Running in 2c84671a2028 Removing intermediate container 2c84671a2028 ---> caca8aa3c986 Step 6/14 : COPY ./ /opt/gecko/ ---> c1657ef5ce67 Step 7/14 : RUN useradd -r -u 200 -m -c "gecko account" -d ${GECKO_WORK} -s /bin/false gecko ---> Running in 755403a17b50 Removing intermediate container 755403a17b50 ---> b8da09e349b5 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 93c4292dc879 Removing intermediate container 93c4292dc879 ---> e431ce779fbb Step 9/14 : RUN cd /opt/gecko ---> Running in fbbbcf0edcf4 Removing intermediate container fbbbcf0edcf4 ---> a25cd8287d76 Step 10/14 : VOLUME ${GECKO_WORK} ---> Running in 8d6b7731476e Removing intermediate container 8d6b7731476e ---> 4694beae231a Step 11/14 : EXPOSE 8080 8081 8090 ---> Running in d6db83cd9921 Removing intermediate container d6db83cd9921 ---> 203ab6a75175 Step 12/14 : WORKDIR /opt/gecko ---> Running in a5098cb81bba Removing intermediate container a5098cb81bba ---> 14df5f330f31 Step 13/14 : USER gecko ---> Running in e18642f40712 Removing intermediate container e18642f40712 ---> ba634f35faf4 Step 14/14 : CMD ["./bin/gecko.sh", "-data", "/gecko-work"] ---> Running in f8417efcf034 Removing intermediate container f8417efcf034 ---> e77b8528c0ca Successfully built e77b8528c0ca Tagging built image with devel.data-in-motion.biz:6000/trafficos/tim:19 Tagging built image with devel.data-in-motion.biz:6000/trafficos/tim:latest Docker Build Response : e77b8528c0ca Pushing [devel.data-in-motion.biz:6000/trafficos/tim:19, devel.data-in-motion.biz:6000/trafficos/tim:latest] The push refers to repository [devel.data-in-motion.biz:6000/trafficos/tim] f594f013c98d: Preparing fe154e0cb467: Preparing d00c1cb00ecb: Preparing 4d88dec1407a: Preparing 74572826057a: Preparing 3e35af6222b0: Preparing ba234b7fd328: Preparing 65f7d25bbf2d: Preparing 0b17f64af87b: Preparing ba234b7fd328: Waiting 3e35af6222b0: Waiting 65f7d25bbf2d: Waiting 0b17f64af87b: Waiting fe154e0cb467: Pushing [> ] 14.62kB/1.388MB 74572826057a: Layer already exists f594f013c98d: Pushing [> ] 272.4kB/25.26MB d00c1cb00ecb: Pushing [> ] 274.4kB/25.26MB 3e35af6222b0: Layer already exists ba234b7fd328: Layer already exists 65f7d25bbf2d: Layer already exists f594f013c98d: Pushing [=====> ] 2.903MB/25.26MB d00c1cb00ecb: Pushing [=====> ] 2.906MB/25.26MB 0b17f64af87b: Layer already exists f594f013c98d: Pushing [==========> ] 5.262MB/25.26MB d00c1cb00ecb: Pushing [==========> ] 5.265MB/25.26MB f594f013c98d: Pushing [================> ] 8.145MB/25.26MB d00c1cb00ecb: Pushing [================> ] 8.148MB/25.26MB d00c1cb00ecb: Pushing [=====================> ] 10.77MB/25.26MB f594f013c98d: Pushing [=====================> ] 10.77MB/25.26MB f594f013c98d: Pushing [==========================> ] 13.39MB/25.26MB d00c1cb00ecb: Pushing [==========================> ] 13.39MB/25.26MB d00c1cb00ecb: Pushing [===============================> ] 16.01MB/25.26MB f594f013c98d: Pushing [===============================> ] 16.01MB/25.26MB d00c1cb00ecb: Pushing [=====================================> ] 18.9MB/25.26MB f594f013c98d: Pushing [=====================================> ] 18.89MB/25.26MB d00c1cb00ecb: Pushing [===========================================> ] 21.78MB/25.26MB f594f013c98d: Pushing [===========================================> ] 21.78MB/25.26MB d00c1cb00ecb: Pushing [================================================> ] 24.4MB/25.26MB f594f013c98d: Pushing [================================================> ] 24.4MB/25.26MB fe154e0cb467: Pushing [==================================================>] 1.405MB d00c1cb00ecb: Pushing [==================================================>] 25.3MB 4d88dec1407a: Pushing 3.072kB f594f013c98d: Pushing [==================================================>] 25.3MB fe154e0cb467: Pushed 4d88dec1407a: Pushed d00c1cb00ecb: Pushed f594f013c98d: Pushed 19: digest: sha256:1db9ee1263951f44aa66d57c1481117bda0447801293c262caecbb726eece048 size: 2208 The push refers to repository [devel.data-in-motion.biz:6000/trafficos/tim] f594f013c98d: Preparing fe154e0cb467: Preparing d00c1cb00ecb: Preparing 4d88dec1407a: Preparing 74572826057a: Preparing 3e35af6222b0: Preparing ba234b7fd328: Preparing 65f7d25bbf2d: Preparing 0b17f64af87b: Preparing 65f7d25bbf2d: Waiting 0b17f64af87b: Waiting 3e35af6222b0: Waiting ba234b7fd328: Waiting 74572826057a: Layer already exists d00c1cb00ecb: Layer already exists 4d88dec1407a: Layer already exists f594f013c98d: Layer already exists fe154e0cb467: Layer already exists ba234b7fd328: Layer already exists 65f7d25bbf2d: Layer already exists 3e35af6222b0: Layer already exists 0b17f64af87b: Layer already exists latest: digest: sha256:1db9ee1263951f44aa66d57c1481117bda0447801293c262caecbb726eece048 size: 2208 Cleaning local images [e77b8528c0ca] Docker Build Done Archiving artifacts Recording fingerprints Finished: SUCCESS