Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-11581

weekly release w_2017_32 failed

    Details

      Description

      [run release/tarball py2] ERROR: Execution failed
      [run release/tarball py2] java.lang.UnsupportedOperationException: Undefined symbol ‘choiceParam’
      [run release/tarball py2] 	at org.jenkinsci.plugins.structs.describable.DescribableModel.resolveClass(DescribableModel.java:438)
      [run release/tarball py2] 	at org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable.instantiate(UninstantiatedDescribable.java:174)
      [run release/tarball py2] 	at org.jenkinsci.plugins.structs.describable.DescribableModel.coerce(DescribableModel.java:364)
      [run release/tarball py2] 	at org.jenkinsci.plugins.structs.describable.DescribableModel.coerceList(DescribableModel.java:453)
      [run release/tarball py2] 	at org.jenkinsci.plugins.structs.describable.DescribableModel.coerce(DescribableModel.java:357)
      [run release/tarball py2] 	at org.jenkinsci.plugins.structs.describable.DescribableModel.injectSetters(DescribableModel.java:333)
      [run release/tarball py2] 	at org.jenkinsci.plugins.structs.describable.DescribableModel.instantiate(DescribableModel.java:259)
      [run release/tarball py2] 	at org.jenkinsci.plugins.workflow.steps.StepDescriptor.newInstance(StepDescriptor.java:194)
      [run release/tarball py2] 	at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:181)
      [run release/tarball py2] 	at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:126)
      [run release/tarball py2] 	at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:108)
      [run release/tarball py2] 	at groovy.lang.GroovyObject$invokeMethod$86.call(Unknown Source)
      [run release/tarball py2] 	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      [run release/tarball py2] 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      [run release/tarball py2] 	at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:151)
      [run release/tarball py2] 	at org.kohsuke.groovy.sandbox.GroovyInterceptor.onMethodCall(GroovyInterceptor.java:21)
      [run release/tarball py2] 	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onMethodCall(SandboxInterceptor.java:115)
      [run release/tarball py2] 	at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:149)
      [run release/tarball py2] 	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:146)
      [run release/tarball py2] 	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:123)
      [run release/tarball py2] 	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:123)
      [run release/tarball py2] 	at org.kohsuke.groovy.sandbox.impl.Checker.checkedCall(Checker.java:123)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.methodCall(SandboxInvoker.java:16)
      [run release/tarball py2] 	at WorkflowScript.run(WorkflowScript:114)
      [run release/tarball py2] 	at ___cps.transform___(Native Method)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:57)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:109)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:82)
      [run release/tarball py2] 	at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)
      [run release/tarball py2] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [run release/tarball py2] 	at java.lang.reflect.Method.invoke(Method.java:498)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45)
      [run release/tarball py2] 	at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
      [run release/tarball py2] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [run release/tarball py2] 	at java.lang.reflect.Method.invoke(Method.java:498)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45)
      [run release/tarball py2] 	at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
      [run release/tarball py2] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [run release/tarball py2] 	at java.lang.reflect.Method.invoke(Method.java:498)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:60)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:109)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:82)
      [run release/tarball py2] 	at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)
      [run release/tarball py2] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [run release/tarball py2] 	at java.lang.reflect.Method.invoke(Method.java:498)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45)
      [run release/tarball py2] 	at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
      [run release/tarball py2] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [run release/tarball py2] 	at java.lang.reflect.Method.invoke(Method.java:498)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.LocalVariableBlock$LocalVariable.get(LocalVariableBlock.java:39)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.impl.LocalVariableBlock.evalLValue(LocalVariableBlock.java:28)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.LValueBlock$BlockImpl.eval(LValueBlock.java:55)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.LValueBlock.eval(LValueBlock.java:16)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.Next.step(Next.java:58)
      [run release/tarball py2] 	at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:154)
      [run release/tarball py2] 	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18)
      [run release/tarball py2] 	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:33)
      [run release/tarball py2] 	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:30)
      [run release/tarball py2] 	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108)
      [run release/tarball py2] 	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:30)
      [run release/tarball py2] 	at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:163)
      [run release/tarball py2] 	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:324)
      [run release/tarball py2] 	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:78)
      [run release/tarball py2] 	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:236)
      [run release/tarball
      

        Attachments

          Issue Links

            Activity

            Hide
            jhoblitt Joshua Hoblitt added a comment -

            This may be related to or the same failure as DM-11493.

            Show
            jhoblitt Joshua Hoblitt added a comment - This may be related to or the same failure as DM-11493 .
            Hide
            jhoblitt Joshua Hoblitt added a comment -

            The nightly-releaes job is not encountering the chioceParam symbol error even though it is also triggering a tarball build.

            weekly-release snippet:

                for (pyver in ['2', '3']) {
                  artifact["run release/tarball py${pyver}"] = {
                    retry(retries) {
                      build job: 'release/tarball',
                        parameters: [
                          string(name: 'PRODUCT', value: 'lsst_distrib'),
                          string(name: 'EUPS_TAG', value: eups_tag),
                          booleanParam(name: 'SMOKE', value: true),
                          booleanParam(name: 'RUN_DEMO', value: true),
                          booleanParam(name: 'PUBLISH', value: true),
                          choiceParam(name: 'PYVER', value: pyver)
                        ]
                    }
                  }
                }
            

            nightly-release snippet:

                retry(retries) {
                  build job: 'release/tarball',
                    parameters: [
                      string(name: 'PRODUCT', value: 'lsst_distrib'),
                      string(name: 'EUPS_TAG', value: eupsTag),
                      booleanParam(name: 'SMOKE', value: true),
                      booleanParam(name: 'RUN_DEMO', value: true),
                      booleanParam(name: 'PUBLISH', value: true)
                    ]
                }
            

            The main differences are that the nightly is relying on the default value for PYVER rather than setting one explicitly and the weekly is being setup in a continuation.

            Show
            jhoblitt Joshua Hoblitt added a comment - The nightly-releaes job is not encountering the chioceParam symbol error even though it is also triggering a tarball build. weekly-release snippet: for (pyver in [ '2' , '3' ]) { artifact[ "run release/tarball py${pyver}" ] = { retry(retries) { build job: 'release/tarball' , parameters: [ string(name: 'PRODUCT' , value: 'lsst_distrib' ), string(name: 'EUPS_TAG' , value: eups_tag), booleanParam(name: 'SMOKE' , value: true ), booleanParam(name: 'RUN_DEMO' , value: true ), booleanParam(name: 'PUBLISH' , value: true ), choiceParam(name: 'PYVER' , value: pyver) ] } } } nightly-release snippet: retry(retries) { build job: 'release/tarball' , parameters: [ string(name: 'PRODUCT' , value: 'lsst_distrib' ), string(name: 'EUPS_TAG' , value: eupsTag), booleanParam(name: 'SMOKE' , value: true ), booleanParam(name: 'RUN_DEMO' , value: true ), booleanParam(name: 'PUBLISH' , value: true ) ] } The main differences are that the nightly is relying on the default value for PYVER rather than setting one explicitly and the weekly is being setup in a continuation.
            Hide
            jhoblitt Joshua Hoblitt added a comment -

            The same error can be produced by adding the PYVER param into the nightly-release build trigger. The pipeline code snippet generator seems to be using a 'string' when calling a choiceParam:

            build job: 'release/tarball', parameters: [string(name: 'PRODUCT', value: 'lsst_distrib'), string(name: 'EUPS_TAG', value: ''), booleanParam(name: 'SMOKE', value: true), booleanParam(name: 'RUN_DEMO', value: true), booleanParam(name: 'PUBLISH', value: true), booleanParam(name: 'WIPEOUT', value: true), string(name: 'PYVER', value: '3')]
            

            The step reference is less than helpful: https://jenkins.io/doc/pipeline/steps/pipeline-build-step/#build-build-a-job

            Show
            jhoblitt Joshua Hoblitt added a comment - The same error can be produced by adding the PYVER param into the nightly-release build trigger. The pipeline code snippet generator seems to be using a 'string' when calling a choiceParam : build job: 'release/tarball' , parameters: [string(name: 'PRODUCT' , value: 'lsst_distrib' ), string(name: 'EUPS_TAG' , value: '' ), booleanParam(name: 'SMOKE' , value: true ), booleanParam(name: 'RUN_DEMO' , value: true ), booleanParam(name: 'PUBLISH' , value: true ), booleanParam(name: 'WIPEOUT' , value: true ), string(name: 'PYVER' , value: '3' )] The step reference is less than helpful: https://jenkins.io/doc/pipeline/steps/pipeline-build-step/#build-build-a-job
            Hide
            jhoblitt Joshua Hoblitt added a comment -

            In a test env, passing the PYVER parameter as a string resolved the error. A fix has been merged to master.

            Show
            jhoblitt Joshua Hoblitt added a comment - In a test env, passing the PYVER parameter as a string resolved the error. A fix has been merged to master.

              People

              • Assignee:
                jhoblitt Joshua Hoblitt
                Reporter:
                jhoblitt Joshua Hoblitt
                Watchers:
                Joshua Hoblitt
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel