-
Bug
-
Resolution: Fixed
-
Critical
-
None
Hi,
I upgraded a jenkins installation to 1.562 today, which made all matrix jobs disappear from the front page, i.e. they can no longer be viewed or run.
Here's a snippet from the logs:
May 04, 2014 6:19:43 PM SEVERE jenkins.InitReactorRunner$1 onTaskFailed
Failed Loading job foo
groovy.lang.MissingPropertyException: No such property: hudson for class: Script1
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)
at Script1.run(Script1.groovy:1)
at hudson.matrix.FilterScript.evaluate(FilterScript.java:36)
at hudson.matrix.FilterScript.apply(FilterScript.java:73)
at hudson.matrix.Combination.evalGroovyExpression(Combination.java:101)
at hudson.matrix.Combination.evalGroovyExpression(Combination.java:91)
at hudson.matrix.MatrixProject.rebuildConfigurations(MatrixProject.java:637)
at hudson.matrix.MatrixProject.onLoad(MatrixProject.java:504)
at hudson.model.Items.load(Items.java:273)
at jenkins.model.Jenkins$18.run(Jenkins.java:2594)
at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
at jenkins.model.Jenkins$7.runTask(Jenkins.java:905)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
This is with jenkins 1.562 (from the Debian package from jenkins-ci.org). The new Matrix Project Plugin (version 1.0) is installed and enabled.
Please let me know if there is a temporary workaround to make the jobs accessible again and/or what the proper fix for this is.
The job files are still there (/var/lib/jenkins/jobs/foo/config.xml etc).
- duplicates
-
JENKINS-22697 Matrix (touch stone) combination broken
-
- Resolved
-
-
JENKINS-22879 Fail to load Matrix Project
-
- Resolved
-
- is related to
-
JENKINS-22837 Default Matrix combination filter incompatibility with latest Jenkins update (1.561)
-
- Closed
-
[JENKINS-22863] All matrix jobs disappeared after upgrade to 1.562
Link |
New:
This issue is related to |
Link |
New:
This issue is related to |
Link |
New:
This issue is related to |
What version have you used before?
The temporary "workaround" is to remove configuration filters from project configurations. Then the Groovy script evaluation will be skipped.
BTW, evaluation failures should not break the jobs loading...