[JIRA] (JENKINS-56320) Job DSL 1.71 unable to process DSLs

2 views
Skip to first unread message

likeanyotheronlymoreso@gmail.com (JIRA)

unread,
Feb 27, 2019, 9:48:02 PM2/27/19
to jenkinsc...@googlegroups.com
Joe Roberts created an issue
 
Jenkins / Bug JENKINS-56320
Job DSL 1.71 unable to process DSLs
Issue Type: Bug Bug
Assignee: Daniel Spilker
Attachments: image-2019-02-27-20-46-38-417.png
Components: job-dsl-plugin
Created: 2019-02-28 02:47
Environment: JNLP slave running on Kubernetes
Priority: Minor Minor
Reporter: Joe Roberts

Jenkins ver. 2.150.3

Upgraded to Jobs DSL 1.71 and all attempts to process dsl scripts from a freestyle job failed. Reverting to 1.70 resolved the issue.

groovy.lang.GroovyRuntimeException: Could not find matching constructor for: javaposse.jobdsl.dsl.ScriptRequest(java.lang.String, [Ljava.net.URL;, java.lang.Boolean, java.lang.String, java.lang.String)
	at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1732)
	at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1532)
	at org.codehaus.groovy.runtime.callsite.MetaClassConstructorSite.callConstructor(MetaClassConstructorSite.java:49)
	at javaposse.jobdsl.plugin.ScriptRequestGenerator$_getScriptRequests_closure2.doCall(ScriptRequestGenerator.groovy:53)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
	at groovy.lang.Closure.call(Closure.java:414)
	at groovy.lang.Closure.call(Closure.java:430)
	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2040)
	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1895)
	at org.codehaus.groovy.runtime.dgm$160.invoke(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)
	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
	at javaposse.jobdsl.plugin.ScriptRequestGenerator.getScriptRequests(ScriptRequestGenerator.groovy:42)
	at javaposse.jobdsl.plugin.ExecuteDslScripts.perform(ExecuteDslScripts.java:326)
	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
	at hudson.model.Build$BuildExecution.build(Build.java:206)
	at hudson.model.Build$BuildExecution.doRun(Build.java:163)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
	at hudson.model.Run.execute(Run.java:1810)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
ERROR: Could not find matching constructor for: javaposse.jobdsl.dsl.ScriptRequest(java.lang.String, [Ljava.net.URL;, java.lang.Boolean, java.lang.String, java.lang.String)
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

mail@daniel-spilker.com (JIRA)

unread,
Mar 9, 2019, 4:24:02 PM3/9/19
to jenkinsc...@googlegroups.com
Daniel Spilker assigned an issue to Joe Roberts
 

I can not reproduce the problem using the offical Jenkins 2.150.3 docker image and Job DSL 1.72.

Can you provide a reproducer?

Change By: Daniel Spilker
Assignee: Daniel Spilker Joe Roberts

likeanyotheronlymoreso@gmail.com (JIRA)

unread,
Mar 11, 2019, 9:48:02 AM3/11/19
to jenkinsc...@googlegroups.com
Joe Roberts commented on Bug JENKINS-56320
 
Re: Job DSL 1.71 unable to process DSLs

I've upgraded to Job DSL 1.72 and am also unable to reproduce.

mail@daniel-spilker.com (JIRA)

unread,
Mar 12, 2019, 8:56:01 AM3/12/19
to jenkinsc...@googlegroups.com
Daniel Spilker resolved as Cannot Reproduce
 
Change By: Daniel Spilker
Status: Open Resolved
Resolution: Cannot Reproduce

claudio.ariel.lara@gmail.com (JIRA)

unread,
Apr 29, 2019, 9:59:04 AM4/29/19
to jenkinsc...@googlegroups.com
Claudio Lara commented on Bug JENKINS-56320
 
Re: Job DSL 1.71 unable to process DSLs

We have the same issue running Jenkins 2.150.1, Job DSL plugin 1.72, on Kubernetes. After upgrading from version Job DSL 1.68 we are facing the same output error. The same image with the same version of Job DSL is running in parallel and that instance is working fine. The only difference that we see is the Java version of both instances:

Instance not working: Java version 1.8.0_212

Instance working: Java version 1.8.0_201

mail@daniel-spilker.com (JIRA)

unread,
Sep 2, 2019, 4:32:01 PM9/2/19
to jenkinsc...@googlegroups.com

I still can not reproduce the problem using the offical Jenkins 2.176.2 docker image and Job DSL 1.76. The image runs on OpenJDK 1.8.0_212.

mail@daniel-spilker.com (JIRA)

unread,
Mar 11, 2020, 8:57:03 AM3/11/20
to jenkinsc...@googlegroups.com
Daniel Spilker closed an issue as Cannot Reproduce
 
Change By: Daniel Spilker
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages