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 bc86cd72ba42bea280d4fc3b0c75db6b57f5df2a, 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 bc86cd72ba42bea280d4fc3b0c75db6b57f5df2a (refs/remotes/origin/develop)
> git config core.sparsecheckout # timeout=10
> git checkout -f bc86cd72ba42bea280d4fc3b0c75db6b57f5df2a
Commit message: "- CSV import bear option added"
> git rev-list --no-walk 4e8b1de6989b290a62abf0342e38f5b44175c623 # 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/de/dim/trafficos/de.dim.trafficos.device.model/1.0.1-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.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.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.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.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.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.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.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/de/dim/trafficos/de.dim.trafficos.device.model/1.0.1-SNAPSHOT/de.dim.trafficos.device.model-1.0.1-20190612.084725-1.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/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/search/org.apache.lucene.queryparser/7.6.0-SNAPSHOT/org.apache.lucene.queryparser-7.6.0-20190219.125809-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 19, 2019 11:12:04 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate
INFO: Activated DeviceHandler Service repository
Jun 19, 2019 11:12:04 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate
INFO: Activated DeviceHandler Service repository
Jun 19, 2019 11:12:04 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getActiveDevices
WARNING: No active devices were found in DB.
Jun 19, 2019 11:12:04 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate
INFO: Activated DeviceHandler Service repository
Jun 19, 2019 11:12:04 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate
INFO: Activated DeviceHandler Service repository
Jun 19, 2019 11:12:04 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getDataEntries
WARNING: No data within the provided time range.
Jun 19, 2019 11:12:04 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate
INFO: Activated DeviceHandler Service repository
Jun 19, 2019 11:12:04 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl getDataEntries
SEVERE: Start and End dates are not consistent.
Jun 19, 2019 11:12:04 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate
INFO: Activated DeviceHandler Service repository
Jun 19, 2019 11:12:04 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate
INFO: Activated DeviceHandler Service repository
Jun 19, 2019 11:12:04 AM de.dim.trafficos.tim.device.impl.DeviceHandlerImpl activate
INFO: Activated DeviceHandler Service repository
Jun 19, 2019 11:12:04 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 16s
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 45d11855f1e8
Removing intermediate container 45d11855f1e8
---> c3967b9251bd
Step 3/14 : ENV GECKO_WORK /gecko-work
---> Running in 1cb0f0fc92d5
Removing intermediate container 1cb0f0fc92d5
---> daac9c41b576
Step 4/14 : ENV GECKO_VERSION 2.0.0
---> Running in ec0795cb05c2
Removing intermediate container ec0795cb05c2
---> 398731307af1
Step 5/14 : RUN mkdir -p /opt/gecko/ && mkdir -p /opt/gecko/logs && mkdir -p /tmp
---> Running in 70a8e5a1417f
Removing intermediate container 70a8e5a1417f
---> b992e23cd5ed
Step 6/14 : COPY ./ /opt/gecko/
---> f77a27d60d7a
Step 7/14 : RUN useradd -r -u 200 -m -c "gecko account" -d ${GECKO_WORK} -s /bin/false gecko
---> Running in d6045250ea20
Removing intermediate container d6045250ea20
---> 41c0daf6ea55
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 a6fa8731feaa
Removing intermediate container a6fa8731feaa
---> b666bc2333d5
Step 9/14 : RUN cd /opt/gecko
---> Running in 770e5d4d6678
Removing intermediate container 770e5d4d6678
---> dccb0ba2b765
Step 10/14 : VOLUME ${GECKO_WORK}
---> Running in a470ebbf764a
Removing intermediate container a470ebbf764a
---> 4c11d00f5514
Step 11/14 : EXPOSE 8080 8081 8090
---> Running in ca3c95ff4316
Removing intermediate container ca3c95ff4316
---> 568e657fc6f9
Step 12/14 : WORKDIR /opt/gecko
---> Running in 098d063caea2
Removing intermediate container 098d063caea2
---> f245c0168acd
Step 13/14 : USER gecko
---> Running in 0bb60a59a4a1
Removing intermediate container 0bb60a59a4a1
---> f1a3d4ac7f46
Step 14/14 : CMD ["./bin/gecko.sh", "-data", "/gecko-work"]
---> Running in 2d66278b7f87
Removing intermediate container 2d66278b7f87
---> 48edaf0633a8
Successfully built 48edaf0633a8
Tagging built image with devel.data-in-motion.biz:6000/trafficos/tim:18
Tagging built image with devel.data-in-motion.biz:6000/trafficos/tim:latest
Docker Build Response : 48edaf0633a8
Pushing [devel.data-in-motion.biz:6000/trafficos/tim:18, devel.data-in-motion.biz:6000/trafficos/tim:latest]
The push refers to repository [devel.data-in-motion.biz:6000/trafficos/tim]
40947c66f70c: Preparing
f8b9b648bc62: Preparing
77535ce25983: Preparing
2c81cf81de8d: Preparing
74572826057a: Preparing
3e35af6222b0: Preparing
ba234b7fd328: Preparing
65f7d25bbf2d: Preparing
0b17f64af87b: Preparing
3e35af6222b0: Waiting
65f7d25bbf2d: Waiting
0b17f64af87b: Waiting
f8b9b648bc62: Pushing [> ] 14.62kB/1.388MB
77535ce25983: Pushing [> ] 241.7kB/23.05MB
74572826057a: Layer already exists
40947c66f70c: Pushing [> ] 239.6kB/23.05MB
77535ce25983: Pushing [======> ] 2.84MB/23.05MB
3e35af6222b0: Layer already exists
40947c66f70c: Pushing [======> ] 2.837MB/23.05MB
40947c66f70c: Pushing [===========> ] 5.458MB/23.05MB
77535ce25983: Pushing [===========> ] 5.462MB/23.05MB
40947c66f70c: Pushing [=================> ] 8.08MB/23.05MB
77535ce25983: Pushing [=================> ] 8.083MB/23.05MB
ba234b7fd328: Layer already exists
40947c66f70c: Pushing [=======================> ] 10.7MB/23.05MB
77535ce25983: Pushing [=======================> ] 10.7MB/23.05MB
40947c66f70c: Pushing [=============================> ] 13.58MB/23.05MB
77535ce25983: Pushing [=============================> ] 13.59MB/23.05MB
40947c66f70c: Pushing [====================================> ] 16.73MB/23.05MB
77535ce25983: Pushing [====================================> ] 16.73MB/23.05MB
65f7d25bbf2d: Layer already exists
40947c66f70c: Pushing [=========================================> ] 19.35MB/23.05MB
77535ce25983: Pushing [=========================================> ] 19.09MB/23.05MB
0b17f64af87b: Layer already exists
77535ce25983: Pushing [==============================================> ] 21.45MB/23.05MB
40947c66f70c: Pushing [===============================================> ] 21.97MB/23.05MB
f8b9b648bc62: Pushing [==================================================>] 1.405MB
2c81cf81de8d: Pushing 3.072kB
77535ce25983: Pushing [==================================================>] 23.09MB
40947c66f70c: Pushing [==================================================>] 23.09MB
77535ce25983: Pushed
2c81cf81de8d: Pushed
40947c66f70c: Pushed
f8b9b648bc62: Pushed
18: digest: sha256:1b177812337998eaaffcd2665759e02777a8650d015d185db31278a93c087861 size: 2208
The push refers to repository [devel.data-in-motion.biz:6000/trafficos/tim]
40947c66f70c: Preparing
f8b9b648bc62: Preparing
77535ce25983: Preparing
2c81cf81de8d: Preparing
74572826057a: Preparing
3e35af6222b0: Preparing
ba234b7fd328: Preparing
65f7d25bbf2d: Preparing
0b17f64af87b: Preparing
3e35af6222b0: Waiting
65f7d25bbf2d: Waiting
ba234b7fd328: Waiting
0b17f64af87b: Waiting
77535ce25983: Layer already exists
74572826057a: Layer already exists
40947c66f70c: Layer already exists
f8b9b648bc62: Layer already exists
2c81cf81de8d: Layer already exists
65f7d25bbf2d: Layer already exists
3e35af6222b0: Layer already exists
0b17f64af87b: Layer already exists
ba234b7fd328: Layer already exists
latest: digest: sha256:1b177812337998eaaffcd2665759e02777a8650d015d185db31278a93c087861 size: 2208
Cleaning local images [48edaf0633a8]
Docker Build Done
Archiving artifacts
Recording fingerprints
Finished: SUCCESS