Skip to content
Failed

Console Output

Started by GitLab push by Ilenia Salvadori
Building in workspace /var/jenkins_home/workspace/DIM-Diamant-Backend
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/diamant/backend.git # timeout=10
Fetching upstream changes from https://gitlab.com/datainmotion/diamant/backend.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/diamant/backend.git +refs/heads/*:refs/remotes/origin/*
skipping resolution of commit 27f15dd305b6b6b3797e79a3e1e17cf0b7592c34, 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 27f15dd305b6b6b3797e79a3e1e17cf0b7592c34 (refs/remotes/origin/develop)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 27f15dd305b6b6b3797e79a3e1e17cf0b7592c34
Commit message: "- working version with ProcessStepService"
 > git rev-list --no-walk b6cefacdb3eb9e763ba0dc298cffc8661381798f # timeout=10
[Gradle] - Launching build.
[DIM-Diamant-Backend] $ /var/jenkins_home/workspace/DIM-Diamant-Backend/gradlew clean build release
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/rsa/org.gecko.rsa.discovery.config/1.0.2-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/runtime/org.gecko.templates/1.0.23-SNAPSHOT/maven-metadata.xml
Download https://devel.data-in-motion.biz/nexus/repository/maven-releases/org/apache/aries/rsa/org.apache.aries.rsa.core/1.13.0/org.apache.aries.rsa.core-1.13.0.jar
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/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/runtime/org.gecko.templates/1.0.23-SNAPSHOT/org.gecko.templates-1.0.23-20190604.074814-1.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/rsa/org.gecko.rsa.discovery.config/1.0.2-SNAPSHOT/org.gecko.rsa.discovery.config-1.0.2-20190712.094026-8.jar
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-20190717.144123-5.jar
Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.discovery.ma/2.0.1-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/rsa/org.gecko.rsa.api/2.1.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/rsa/org.gecko.rsa.discovery.ma/2.0.1-SNAPSHOT/org.gecko.rsa.discovery.ma-2.0.1-20190806.114216-6.jar
Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.api/2.1.0-SNAPSHOT/org.gecko.rsa.api-2.1.0-20190806.114210-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.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/rsa/org.gecko.rsa.model/1.0.2-SNAPSHOT/maven-metadata.xml
Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/ma/org.gecko.adapter.amqp/2.0.2-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.gecko.search.document.impl/1.0.0-SNAPSHOT/maven-metadata.xml
Download https://devel.data-in-motion.biz/nexus/repository/maven-releases/org/apache/aries/rsa/org.apache.aries.rsa.topology-manager/1.13.0/org.apache.aries.rsa.topology-manager-1.13.0.jar
Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.provider/1.1.4-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-releases/org/apache/aries/rsa/org.apache.aries.rsa.spi/1.13.0/org.apache.aries.rsa.spi-1.13.0.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/rsa/org.gecko.rsa.model/1.0.2-SNAPSHOT/org.gecko.rsa.model-1.0.2-20190806.114236-13.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/rsa/org.gecko.rsa.core/2.0.0-SNAPSHOT/maven-metadata.xml
Download https://devel.data-in-motion.biz/nexus/repository/maven-releases/org/gecko/emf/mongo/org.gecko.emf.pushstreams/1.0.7/org.gecko.emf.pushstreams-1.0.7.jar
Download https://devel.data-in-motion.biz/nexus/repository/maven-snapshots/org/gecko/rsa/org.gecko.rsa.discovery/1.0.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/rsa/org.gecko.rsa.provider/1.1.4-SNAPSHOT/org.gecko.rsa.provider-1.1.4-20190719.113954-4.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/ma/org.gecko.adapter.amqp/2.0.2-SNAPSHOT/org.gecko.adapter.amqp-2.0.2-20190717.144058-5.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/rsa/org.gecko.rsa.core/2.0.0-SNAPSHOT/org.gecko.rsa.core-2.0.0-20190806.114206-14.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/rsa/org.gecko.rsa.discovery/1.0.0-SNAPSHOT/org.gecko.rsa.discovery-1.0.0-20190806.114213-14.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-20190717.111245-4.jar
:de.dim.diamant.product:clean
:de.dim.diamant.product.model:clean
:de.dim.diamant.product.tests:clean
:de.dim.diamant.rest:clean
:de.dim.diamant.rest.model:clean
:de.dim.diamant.runtime:clean
:de.dim.diamant.product.model:compileJava
:de.dim.diamant.product.model:processResources NO-SOURCE
:de.dim.diamant.product.model:classes
:de.dim.diamant.product.model:jar
:de.dim.diamant.product:compileJava
:de.dim.diamant.product:processResources NO-SOURCE
:de.dim.diamant.product:classes
:de.dim.diamant.product:jar
warning: de.dim.diamant.product.sample: The servicefactory:=true directive is set but no service is provided, ignoring it
/var/jenkins_home/workspace/DIM-Diamant-Backend/de.dim.diamant.product/bnd.bnd:18: error: de.dim.diamant.product.impl: The bundle version (1.0.0/1.0.0) is too low, must be at least 1.0.1
CHANGED              BUNDLE     de.dim.diamant.product.impl
  CHANGED            MANIFEST   <manifest>
    ADDED            HEADER     Provide-Capability:osgi.service;objectClass:List<String>="de.dim.diamant.product.api.ContextService",osgi.service;objectClass:List<String>="de.dim.diamant.product.api.ProcessStepService",osgi.service;objectClass:List<String>="de.dim.diamant.product.api.ProductService"
    REMOVED          HEADER     Provide-Capability:osgi.service;objectClass:List<String>="de.dim.diamant.product.api.ContextService",osgi.service;objectClass:List<String>="de.dim.diamant.product.api.ProductService"
    ADDED            HEADER     Service-Component:OSGI-INF/de.dim.diamant.product.impl.ContextServiceImpl.xml,OSGI-INF/de.dim.diamant.product.impl.ProcessStepServiceImpl.xml,OSGI-INF/de.dim.diamant.product.impl.ProductServiceImpl.xml
    REMOVED          HEADER     Service-Component:OSGI-INF/de.dim.diamant.product.impl.ContextServiceImpl.xml,OSGI-INF/de.dim.diamant.product.impl.ProductServiceImpl.xml
/var/jenkins_home/workspace/DIM-Diamant-Backend/de.dim.diamant.product/api.bnd:0: error: de.dim.diamant.product.api: Baseline mismatch for package de.dim.diamant.product.api, MAJOR change. Current is 1.0.0, repo is 1.0.0, suggest 2.0.0 or 1.1.0
MAJOR                PACKAGE    de.dim.diamant.product.api
  ADDED              INTERFACE  de.dim.diamant.product.api.ProcessStepService
    ADDED            ACCESS     abstract
    ADDED            METHOD     addProcessStep(java.lang.String,java.lang.String,de.dim.diamant.product.model.diamantProduct.ProcessStepType)
      ADDED          ACCESS     abstract
      ADDED          RETURN     de.dim.diamant.product.model.diamantProduct.ProcessStep
    ADDED            METHOD     getProcessSteps(java.lang.String)
      ADDED          ACCESS     abstract
      ADDED          RETURN     java.util.List
    ADDED            METHOD     getProcessStepsByType(java.lang.String,java.lang.String)
      ADDED          ACCESS     abstract
      ADDED          RETURN     java.util.List
    ADDED            ANNOTATED  org.osgi.annotation.versioning.ProviderType
  MAJOR              INTERFACE  de.dim.diamant.product.api.ProductService
    REMOVED          METHOD     getProcessSteps(java.lang.String)
      REMOVED        ACCESS     abstract
      REMOVED        RETURN     java.util.List
    REMOVED          METHOD     getProcessStepsByType(java.lang.String,java.lang.String)
      REMOVED        ACCESS     abstract
      REMOVED        RETURN     java.util.List
/var/jenkins_home/workspace/DIM-Diamant-Backend/de.dim.diamant.product/bnd.bnd:18: error: de.dim.diamant.product.api: The bundle version (1.0.0/1.0.0) is too low, must be at least 2.0.0
MAJOR                BUNDLE     de.dim.diamant.product.api
  MAJOR              API        <api>
    MAJOR            PACKAGE    de.dim.diamant.product.api
      ADDED          INTERFACE  de.dim.diamant.product.api.ProcessStepService
        ADDED        ACCESS     abstract
        ADDED        METHOD     addProcessStep(java.lang.String,java.lang.String,de.dim.diamant.product.model.diamantProduct.ProcessStepType)
          ADDED      ACCESS     abstract
          ADDED      RETURN     de.dim.diamant.product.model.diamantProduct.ProcessStep
        ADDED        METHOD     getProcessSteps(java.lang.String)
          ADDED      ACCESS     abstract
          ADDED      RETURN     java.util.List
        ADDED        METHOD     getProcessStepsByType(java.lang.String,java.lang.String)
          ADDED      ACCESS     abstract
          ADDED      RETURN     java.util.List
        ADDED        ANNOTATED  org.osgi.annotation.versioning.ProviderType
      MAJOR          INTERFACE  de.dim.diamant.product.api.ProductService
        REMOVED      METHOD     getProcessSteps(java.lang.String)
          REMOVED    ACCESS     abstract
          REMOVED    RETURN     java.util.List
        REMOVED      METHOD     getProcessStepsByType(java.lang.String,java.lang.String)
          REMOVED    ACCESS     abstract
          REMOVED    RETURN     java.util.List
/var/jenkins_home/workspace/DIM-Diamant-Backend/de.dim.diamant.product/sample.bnd:0: error: de.dim.diamant.product.sample: Baseline mismatch for package de.dim.diamant.product.api, MAJOR change. Current is 1.0.0, repo is 1.0.0, suggest 2.0.0 or 1.1.0
MAJOR                PACKAGE    de.dim.diamant.product.api
  ADDED              INTERFACE  de.dim.diamant.product.api.ProcessStepService
    ADDED            ACCESS     abstract
    ADDED            METHOD     addProcessStep(java.lang.String,java.lang.String,de.dim.diamant.product.model.diamantProduct.ProcessStepType)
      ADDED          ACCESS     abstract
      ADDED          RETURN     de.dim.diamant.product.model.diamantProduct.ProcessStep
    ADDED            METHOD     getProcessSteps(java.lang.String)
      ADDED          ACCESS     abstract
      ADDED          RETURN     java.util.List
    ADDED            METHOD     getProcessStepsByType(java.lang.String,java.lang.String)
      ADDED          ACCESS     abstract
      ADDED          RETURN     java.util.List
    ADDED            ANNOTATED  org.osgi.annotation.versioning.ProviderType
  MAJOR              INTERFACE  de.dim.diamant.product.api.ProductService
    REMOVED          METHOD     getProcessSteps(java.lang.String)
      REMOVED        ACCESS     abstract
      REMOVED        RETURN     java.util.List
    REMOVED          METHOD     getProcessStepsByType(java.lang.String,java.lang.String)
      REMOVED        ACCESS     abstract
      REMOVED        RETURN     java.util.List
/var/jenkins_home/workspace/DIM-Diamant-Backend/de.dim.diamant.product/bnd.bnd:18: error: de.dim.diamant.product.sample: The bundle version (1.0.0/1.0.0) is too low, must be at least 2.0.0
MAJOR                BUNDLE     de.dim.diamant.product.sample
  MAJOR              API        <api>
    MAJOR            PACKAGE    de.dim.diamant.product.api
      ADDED          INTERFACE  de.dim.diamant.product.api.ProcessStepService
        ADDED        ACCESS     abstract
        ADDED        METHOD     addProcessStep(java.lang.String,java.lang.String,de.dim.diamant.product.model.diamantProduct.ProcessStepType)
          ADDED      ACCESS     abstract
          ADDED      RETURN     de.dim.diamant.product.model.diamantProduct.ProcessStep
        ADDED        METHOD     getProcessSteps(java.lang.String)
          ADDED      ACCESS     abstract
          ADDED      RETURN     java.util.List
        ADDED        METHOD     getProcessStepsByType(java.lang.String,java.lang.String)
          ADDED      ACCESS     abstract
          ADDED      RETURN     java.util.List
        ADDED        ANNOTATED  org.osgi.annotation.versioning.ProviderType
      MAJOR          INTERFACE  de.dim.diamant.product.api.ProductService
        REMOVED      METHOD     getProcessSteps(java.lang.String)
          REMOVED    ACCESS     abstract
          REMOVED    RETURN     java.util.List
        REMOVED      METHOD     getProcessStepsByType(java.lang.String,java.lang.String)
          REMOVED    ACCESS     abstract
          REMOVED    RETURN     java.util.List
  CHANGED            MANIFEST   <manifest>
    ADDED            HEADER     Provide-Capability:osgi.service;objectClass:List<String>="de.dim.diamant.product.api.ContextService",osgi.service;objectClass:List<String>="de.dim.diamant.product.api.ProcessStepService",osgi.service;objectClass:List<String>="de.dim.diamant.product.api.ProductService"
    REMOVED          HEADER     Provide-Capability:osgi.service;objectClass:List<String>="de.dim.diamant.product.api.ContextService",osgi.service;objectClass:List<String>="de.dim.diamant.product.api.ProductService"
    ADDED            HEADER     Require-Capability:osgi.service;filter:="(objectClass=de.dim.diamant.decoders.api.UDIDecoderProvider)";effective:=active,osgi.service;filter:="(objectClass=de.dim.diamant.product.api.ContextService)";effective:=active,osgi.service;filter:="(objectClass=de.dim.diamant.product.api.ProcessStepService)";effective:=active,osgi.service;filter:="(objectClass=de.dim.diamant.product.api.ProductService)";effective:=active,osgi.service;filter:="(objectClass=org.gecko.emf.repository.EMFRepository)";effective:=active,osgi.extender;filter:="(&(osgi.extender=osgi.component)(version>=1.4.0)(!(version>=2.0.0)))",osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"
    REMOVED          HEADER     Require-Capability:osgi.service;filter:="(objectClass=de.dim.diamant.decoders.api.UDIDecoderProvider)";effective:=active,osgi.service;filter:="(objectClass=de.dim.diamant.product.api.ContextService)";effective:=active,osgi.service;filter:="(objectClass=org.gecko.emf.repository.EMFRepository)";effective:=active,osgi.extender;filter:="(&(osgi.extender=osgi.component)(version>=1.4.0)(!(version>=2.0.0)))",osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"
    ADDED            HEADER     Service-Component:OSGI-INF/de.dim.diamant.product.impl.ContextServiceImpl.xml,OSGI-INF/de.dim.diamant.product.impl.ProcessStepServiceImpl.xml,OSGI-INF/de.dim.diamant.product.impl.ProductServiceImpl.xml,OSGI-INF/de.dim.diamant.product.sample.TestComponent.xml
    REMOVED          HEADER     Service-Component:OSGI-INF/de.dim.diamant.product.impl.ContextServiceImpl.xml,OSGI-INF/de.dim.diamant.product.impl.ProductServiceImpl.xml
:de.dim.diamant.product:jar FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':de.dim.diamant.product:jar'.
> de.dim.diamant.product has errors, 5 errors were reported

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 11s
10 actionable tasks: 10 executed
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Sending e-mails to: i.salvadori@data-in-motion.biz
ERROR: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8  https://support.google.com/mail/?p=BadCredentials z2sm3275413wmi.2 - gsmtp

javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8  https://support.google.com/mail/?p=BadCredentials z2sm3275413wmi.2 - gsmtp

	at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:809)
	at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:752)
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:669)
	at javax.mail.Service.connect(Service.java:317)
	at javax.mail.Service.connect(Service.java:176)
	at javax.mail.Service.connect(Service.java:125)
	at javax.mail.Transport.send0(Transport.java:194)
	at javax.mail.Transport.send(Transport.java:124)
	at hudson.tasks.MailSender.run(MailSender.java:131)
	at hudson.tasks.Mailer.perform(Mailer.java:173)
	at hudson.tasks.Mailer.perform(Mailer.java:136)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
	at hudson.model.Build$BuildExecution.post2(Build.java:186)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
	at hudson.model.Run.execute(Run.java:1841)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Finished: FAILURE