Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11995

7.9 test release is failing in groovy script

    XMLWordPrintable

Details

    Description

      16:46:54 [7.9-TEST-RELEASE-camunda-bpm] $ /tmp/groovy-2.2.1/bin/groovy /home/work/workspace/7.9/7.9-TEST-RELEASE-camunda-bpm/helpers/checkFiles.groovy --comparisonfile test/maintenance/test-release-camunda-bpm.log --nexusurl https://app.camunda.com/nexus --username ${NEXUS_USERNAME} --password ${NEXUS_PASSWORD} --repository camunda-bpm-ee --version 7.9.99 --dry-run --ignore-snapshots
      16:46:56 org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
      16:46:56 General error during conversion: Error grabbing Grapes -- [unresolved dependency: org.codehaus.groovy.modules.http-builder#http-builder;0.7.1: not found]
      16:46:56 
      16:46:56 java.lang.RuntimeException: Error grabbing Grapes -- [unresolved dependency: org.codehaus.groovy.modules.http-builder#http-builder;0.7.1: not found]
      16:46:56 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      16:46:56 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      16:46:56 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      16:46:56 	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      16:46:56 	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
      16:46:56 	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71)
      16:46:56 	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81)
      16:46:56 	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57)
      16:46:56 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
      16:46:56 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
      16:46:56 	at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:420)
      16:46:56 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      16:46:56 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      16:46:56 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      16:46:56 	at java.lang.reflect.Method.invoke(Method.java:606)
      16:46:56 	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:231)
      16:46:56 	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
      16:46:56 	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
      16:46:56 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
      16:46:56 	at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:555)
      16:46:56 	at groovy.grape.GrapeIvy$resolve$3.callCurrent(Unknown Source)
      16:46:56 	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
      16:46:56 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
      16:46:56 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:153)
      16:46:56 	at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:524)
      16:46:56 	at groovy.grape.GrapeIvy$resolve$2.callCurrent(Unknown Source)
      16:46:56 	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
      16:46:56 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
      16:46:56 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
      16:46:56 	at groovy.grape.GrapeIvy.grab(GrapeIvy.groovy:251)
      16:46:56 	at groovy.grape.Grape.grab(Grape.java:163)
      16:46:56 	at groovy.grape.GrabAnnotationTransformation.visit(GrabAnnotationTransformation.java:322)
      16:46:56 	at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:319)
      16:46:56 	at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:912)
      16:46:56 	at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:574)
      16:46:56 	at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:550)
      16:46:56 	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:527)
      16:46:56 	at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:279)
      16:46:56 	at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:258)
      16:46:56 	at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:244)
      16:46:56 	at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:185)
      16:46:56 	at groovy.lang.GroovyShell$2.run(GroovyShell.java:206)
      16:46:56 	at groovy.lang.GroovyShell$2.run(GroovyShell.java:204)
      16:46:56 	at java.security.AccessController.doPrivileged(Native Method)
      16:46:56 	at groovy.lang.GroovyShell.run(GroovyShell.java:204)
      16:46:56 	at groovy.lang.GroovyShell.run(GroovyShell.java:150)
      16:46:56 	at groovy.ui.GroovyMain.processOnce(GroovyMain.java:588)
      16:46:56 	at groovy.ui.GroovyMain.run(GroovyMain.java:375)
      16:46:56 	at groovy.ui.GroovyMain.process(GroovyMain.java:361)
      16:46:56 	at groovy.ui.GroovyMain.processArgs(GroovyMain.java:120)
      16:46:56 	at groovy.ui.GroovyMain.main(GroovyMain.java:100)
      16:46:56 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      16:46:56 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      16:46:56 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      16:46:56 	at java.lang.reflect.Method.invoke(Method.java:606)
      16:46:56 	at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:106)
      16:46:56 	at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:128)
      16:46:56 
      16:46:56 1 error
      16:46:56 
      16:46:56 Build step 'Execute Groovy script' marked build as failure
      

      An actual release job will fail as well, however, that will not prevent us to build and release the artifacts as this is an assertion as last step in this job
      we did remove that step in 7.13 pipeline as it was outdated.

      Options:

      • consider removing the groovy assertion similar to what we did in 7.13 (this is a workaround to do an actual release as well)
      • find the root cause and try to resolve it in time manner

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              nikola.koevski Nikola Koevski
              yana.vasileva Yana Vasileva
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce