[JIRA] (JENKINS-53211) Can't run the simplest pipeline as of this morning (CEST)

43 views
Skip to first unread message

rsandell@cloudbees.com (JIRA)

unread,
Aug 23, 2018, 9:51:03 AM8/23/18
to jenkinsc...@googlegroups.com
rsandell created an issue
 
Jenkins / Bug JENKINS-53211
Can't run the simplest pipeline as of this morning (CEST)
Issue Type: Bug Bug
Assignee: R. Tyler Croy
Components: evergreen
Created: 2018-08-23 13:50
Priority: Blocker Blocker
Reporter: rsandell

Running a "echo 'Hello'" pipeline with the sandbox enabled causes the following build error

 

Started by user admin
Running in Durability level: PERFORMANCE_OPTIMIZED
java.lang.ClassNotFoundException: org.kohsuke.groovy.sandbox.GroovyInterceptor
	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1374)
	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1327)
	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1080)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Caused: java.lang.NoClassDefFoundError: org/kohsuke/groovy/sandbox/GroovyInterceptor
	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShellFactory.makeClassLoader(CpsGroovyShellFactory.java:113)
	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShellFactory.build(CpsGroovyShellFactory.java:119)
	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:557)
	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:521)
	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:330)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Finished: FAILURE
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

tyler@monkeypox.org (JIRA)

unread,
Aug 23, 2018, 9:53:01 AM8/23/18
to jenkinsc...@googlegroups.com
R. Tyler Croy updated an issue
Change By: R. Tyler Croy
Sprint: Evergreen - Milestone 1

rsandell@cloudbees.com (JIRA)

unread,
Aug 23, 2018, 10:43:01 AM8/23/18
to jenkinsc...@googlegroups.com
rsandell commented on Bug JENKINS-53211
 
Re: Can't run the simplest pipeline as of this morning (CEST)

IIRC that class is in script-security plugin, and version 1.44 is reported as installed with an option to downgrade to 1.42.
Interesting note though is that the .jpi and the .hpi in the plugin directory seems to be of different versions:

   159943 aug 22 17:12 script-security.bak
   159943 aug 23 15:16 script-security.hpi
   160284 aug 22 17:34 script-security.jpi

rsandell@cloudbees.com (JIRA)

unread,
Aug 23, 2018, 11:01:03 AM8/23/18
to jenkinsc...@googlegroups.com
rsandell commented on Bug JENKINS-53211

OK, this is starting to look like user error, as in "stupid user didn't know he couldn't install plugins without severe consequence".

Shutting down the docker container, wiping the plugins directory and starting the container again solved the issue.

Though I know evergreen has updated itself at least two times since I touched the plugin manager

tyler@monkeypox.org (JIRA)

unread,
Sep 7, 2018, 3:13:01 PM9/7/18
to jenkinsc...@googlegroups.com
R. Tyler Croy started work on Bug JENKINS-53211
 
Change By: R. Tyler Croy
Status: Open In Progress
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

tyler@monkeypox.org (JIRA)

unread,
Sep 7, 2018, 3:50:03 PM9/7/18
to jenkinsc...@googlegroups.com
R. Tyler Croy resolved as Fixed
 
Change By: R. Tyler Croy
Status: In Progress Resolved
Resolution: Fixed
Reply all
Reply to author
Forward
0 new messages