Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48569

Groovy script failure: zip file closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Jenkins version 2.125

      Maven Integration 3.0
      Groovy Postbuild 2.3.1

      Several jobs that run on different nodes. Happens occasionally at the conclusion of jobs that contain scripts in Groovy Postbuild Plugin. Restarting the affected jobs fixes the issue temporarily until it resurfaces again.

       

      Groovy script failed:
      java.lang.IllegalStateException: zip file closed
      	at java.util.zip.ZipFile.ensureOpen(ZipFile.java:669)
      	at java.util.zip.ZipFile.getEntry(ZipFile.java:309)
      	at java.util.jar.JarFile.getEntry(JarFile.java:240)
      	at sun.net.www.protocol.jar.URLJarFile.getEntry(URLJarFile.java:128)
      	at java.util.jar.JarFile.getJarEntry(JarFile.java:223)
      	at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:1042)
      	at sun.misc.URLClassPath.getResource(URLClassPath.java:239)
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:365)
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	at PostbuildActions.showCommittersInBuild(PostbuildActions.groovy:14)
      	at PostbuildActions$showCommittersInBuild$0.call(Unknown Source)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
      	at Script1.run(Script1.groovy:3)
      	at groovy.lang.GroovyShell.evaluate(GroovyShell.java:585)
      	at groovy.lang.GroovyShell.evaluate(GroovyShell.java:623)
      	at groovy.lang.GroovyShell.evaluate(GroovyShell.java:594)
      	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript.evaluate(SecureGroovyScript.java:343)
      	at org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder.perform(GroovyPostbuildRecorder.java:362)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
      	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1073)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      	at hudson.model.Run.execute(Run.java:1752)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)

            wolfs Stefan Wolf
            jakub_dosoudil Jakub Dosoudil
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: