Recently we are having random failures in our maven projects / builds; There are similar failures like:
06:49:01 Started by timer 06:49:01 [EnvInject] - Loading node environment variables. 06:49:01 Building remotely on backendux01 (BACKEND) in workspace /space/jenkins_slave/workspace/Backend-BCU-production 06:49:01 ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com 06:49:01 java.lang.IllegalStateException: zip file closed 06:49:01 at java.util.zip.ZipFile.ensureOpen(ZipFile.java:669) 06:49:01 at java.util.zip.ZipFile.getEntry(ZipFile.java:309) 06:49:01 at java.util.jar.JarFile.getEntry(JarFile.java:240) 06:49:01 at sun.net.www.protocol.jar.URLJarFile.getEntry(URLJarFile.java:128) 06:49:01 at java.util.jar.JarFile.getJarEntry(JarFile.java:223) 06:49:01 at hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:213) 06:49:01 at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:69) 06:49:01 at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:41) 06:49:01 at hudson.remoting.UserRequest.perform(UserRequest.java:153) 06:49:01 at hudson.remoting.UserRequest.perform(UserRequest.java:50) 06:49:01 at hudson.remoting.Request$2.run(Request.java:336) 06:49:01 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 06:49:01 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 06:49:01 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 06:49:01 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 06:49:01 at java.lang.Thread.run(Thread.java:745) 06:49:01 at ......remote call to backendux01(Native Method) 06:49:01 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1537) 06:49:01 at hudson.remoting.UserResponse.retrieve(UserRequest.java:253) 06:49:01 at hudson.remoting.Channel.call(Channel.java:822) 06:49:01 at hudson.FilePath.act(FilePath.java:1080) 06:49:01 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:642) 06:49:01 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) 06:49:01 at hudson.model.Run.execute(Run.java:1728) 06:49:01 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544) 06:49:01 at hudson.model.ResourceController.execute(ResourceController.java:98) 06:49:01 at hudson.model.Executor.run(Executor.java:404) 06:49:01 project=hudson.maven.MavenModuleSet@7f6b3540[Backend-BCU-production] 06:49:01 project.getModules()=[hudson.maven.MavenModule@5ea4e0af[Backend-BCU-production/com.avast.browsercleanup:nursebcu][Backend-BCU-production/com.avast.browsercleanup:nursebcu][relativePath:nursebcu]] 06:49:01 project.getRootModule()=hudson.maven.MavenModule@5ea4e0af[Backend-BCU-production/com.avast.browsercleanup:nursebcu][Backend-BCU-production/com.avast.browsercleanup:nursebcu][relativePath:nursebcu] 06:49:01 FATAL: zip file closed 06:49:01 java.lang.IllegalStateException: zip file closed 06:49:01 at java.util.zip.ZipFile.ensureOpen(ZipFile.java:669) 06:49:01 at java.util.zip.ZipFile.getEntry(ZipFile.java:309) 06:49:01 at java.util.jar.JarFile.getEntry(JarFile.java:240) 06:49:01 at sun.net.www.protocol.jar.URLJarFile.getEntry(URLJarFile.java:128) 06:49:01 at java.util.jar.JarFile.getJarEntry(JarFile.java:223) 06:49:01 at hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:213) 06:49:01 at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:69) 06:49:01 at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:41) 06:49:01 at hudson.remoting.UserRequest.perform(UserRequest.java:153) 06:49:01 at hudson.remoting.UserRequest.perform(UserRequest.java:50) 06:49:01 at hudson.remoting.Request$2.run(Request.java:336) 06:49:01 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 06:49:01 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 06:49:01 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 06:49:01 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 06:49:01 at java.lang.Thread.run(Thread.java:745) 06:49:01 at ......remote call to backendux01(Native Method) 06:49:01 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1537) 06:49:01 at hudson.remoting.UserResponse.retrieve(UserRequest.java:253) 06:49:01 at hudson.remoting.Channel.call(Channel.java:822) 06:49:01 at hudson.FilePath.act(FilePath.java:1080) 06:49:01 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:642) 06:49:01 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) 06:49:01 at hudson.model.Run.execute(Run.java:1728) 06:49:01 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544) 06:49:01 at hudson.model.ResourceController.execute(ResourceController.java:98) 06:49:01 at hudson.model.Executor.run(Executor.java:404) 06:49:01 Finished: FAILURE Any idea how to get rid of this? We tried reinstalling slave server, updating Maven/Java on slave, updating plugin,... Our configuration: Maven plugin 2.15.1 Jenkins 2.32.2 Slave: jdk: 1.8.0_121 maven: Maven home: /opt/apache-maven-3.3.9 Java version: 1.8.0_121, vendor: Oracle Corporation Java home: /opt/jdk1.8.0_121/jre Default locale: en_US, platform encoding: ANSI_X3.4-1968 OS name: "linux", version: "3.10.0-514.10.2.el7.x86_64", arch: "amd64", family: "unix" -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/fdf11fb6-6f82-4478-b92e-a1ec6016610a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.