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

Jenkins Remote: Missing dependency "servlet-api"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: remoting
    • Labels:
    • Environment:
      Jenkins LTS 2.222.4 on Windows Server 2019
      Adopt Open JRE 1.8.0_252-b09 with UTF-8 (file.encoding and sun.jnu.encoding)

      Appropriate Jenkins "agent.jar" on Windows 8.1-(non English: German)
    • Similar Issues:

      Description

      After my build steps are completet on my Windows-Jekins-Agent i got this exception:

             Can't find bundle for base name javax.servlet.LocalStrings, locale de_DE

       Hope this helps to fix this problem, let me know if you need more information.

       
      {{}}

      FATAL: Remote call on JNLP4-connect connection from 192.168.222.146/192.168.222.146:49161 failed
       java.util.zip.ZipException: zip END header not found
       at java.util.zip.ZipFile$Source.zerror(Unknown Source)
       at java.util.zip.ZipFile$Source.findEND(Unknown Source)
       at java.util.zip.ZipFile$Source.initCEN(Unknown Source)
       at java.util.zip.ZipFile$Source.<init>(Unknown Source)
       at java.util.zip.ZipFile$Source.get(Unknown Source)
       at java.util.zip.ZipFile$CleanableResource.<init>(Unknown Source)
       at java.util.zip.ZipFile$CleanableResource$FinalizableResource.<init>(Unknown Source)
       at java.util.zip.ZipFile$CleanableResource.get(Unknown Source)
       at java.util.zip.ZipFile.<init>(Unknown Source)
       at java.util.zip.ZipFile.<init>(Unknown Source)
       at java.util.jar.JarFile.<init>(Unknown Source)
       at sun.net.www.protocol.jar.URLJarFile.<init>(Unknown Source)
       at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
       at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
       at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
       at sun.net.www.protocol.jar.JarURLConnection.getInputStream(Unknown Source)
       at java.util.ResourceBundle$Control$1.run(Unknown Source)
       at java.util.ResourceBundle$Control$1.run(Unknown Source)
       at java.security.AccessController.doPrivileged(Unknown Source)
       at java.util.ResourceBundle$Control.newBundle(Unknown Source)
       at java.util.ResourceBundle.loadBundle(Unknown Source)
       at java.util.ResourceBundle.findBundle(Unknown Source)
       at java.util.ResourceBundle.findBundle(Unknown Source)
       at java.util.ResourceBundle.findBundle(Unknown Source)
       Caused: java.util.MissingResourceException: Can't find bundle for base name javax.servlet.LocalStrings, locale de_DE
       at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
       at java.util.ResourceBundle.getBundleImpl(Unknown Source)
       at java.util.ResourceBundle.getBundleImpl(Unknown Source)
       at java.util.ResourceBundle.getBundleImpl(Unknown Source)
       at java.util.ResourceBundle.getBundle(Unknown Source)
       at javax.servlet.GenericServlet.<clinit>(GenericServlet.java:95)
       Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 192.168.222.146/192.168.222.146:49161
       at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1788)
       at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
       at hudson.remoting.Channel.call(Channel.java:998)
       at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1083)
       at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510)
       at hudson.model.Run.execute(Run.java:1856)
       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
       at hudson.model.ResourceController.execute(ResourceController.java:97)
       at hudson.model.Executor.run(Executor.java:428)
       Caused: java.lang.ExceptionInInitializerError
       at java.lang.J9VMInternals.ensureError(Unknown Source)
       at java.lang.J9VMInternals.recordInitializationFailure(Unknown Source)
       at hudson.model.Node$Mode.<clinit>(Node.java:604)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at java.lang.Class.getEnumConstantsShared(Unknown Source)
       at java.lang.Class.getEnumConstants(Unknown Source)
       at jenkins.model.***.<clinit>(***.java:5338)
       at hudson.model.Computer.<clinit>(Computer.java:1803)
       at hudson.util.ProcessTree.get(ProcessTree.java:432)
       at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1100)
       at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1091)
       at hudson.remoting.UserRequest.perform(UserRequest.java:211)
       at hudson.remoting.UserRequest.perform(UserRequest.java:54)
       at hudson.remoting.Request$2.run(Request.java:369)
       at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
       at java.util.concurrent.FutureTask.run(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:117)
       at hudson.remoting.Engine$1$$Lambda$53/0000000000000000.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)
       Caused: java.io.IOException: Remote call on JNLP4-connect connection from 192.168.222.146/192.168.222.146:49161 failed
       at hudson.remoting.Channel.call(Channel.java:1004)
       at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1083)
       at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510)
       at hudson.model.Run.execute(Run.java:1856)
       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
       at hudson.model.ResourceController.execute(ResourceController.java:97)
       at hudson.model.Executor.run(Executor.java:428)

        Attachments

        1. config-Job-A.xml
          4 kB
        2. config-Job-B.xml
          1 kB
        3. JobA.png
          JobA.png
          199 kB
        4. JobB.png
          JobB.png
          142 kB
        5. Node.jpg
          Node.jpg
          79 kB
        6. remoting.zip.001
          10.00 MB
        7. remoting.zip.002
          10.00 MB
        8. remoting.zip.003
          708 kB

          Activity

          Hide
          martinbauer Martin Bauer added a comment -

          My last try that run over night with our full buildchain was able to reproduce the error.
          I tried to simplify as much as possible

          Job A:
           Build-step:
            1)Powershell: Start Hyper-V VM ( which  connect as Node to Jenkins Master on boot with "java -jar agent.jar -jnlpUrl ... -workDir C:\" )
            2) Start job B which can only run on the node and wait for completion of JobB
           Postbuild: Powershell: Stop VM

          Job B doesn't need to do anything, just an empty job

           

          Started by upstream project "JobA"
          Running as SYSTEM
          [EnvInject] - Loading node environment variables.
           Building remotely on Test-Win8 in workspace C:\workspace\Service\jobB
           FATAL: Remote call on JNLP4-connect connection from 192.168.222.146/192.168.222.146:49161 failed
           java.util.zip.ZipException: zip END header not found
           at java.util.zip.ZipFile$Source.zerror(Unknown Source)
           at java.util.zip.ZipFile$Source.findEND(Unknown Source)
           at java.util.zip.ZipFile$Source.initCEN(Unknown Source)
           at java.util.zip.ZipFile$Source.<init>(Unknown Source)
           at java.util.zip.ZipFile$Source.get(Unknown Source)
           at java.util.zip.ZipFile$CleanableResource.<init>(Unknown Source)
           at java.util.zip.ZipFile$CleanableResource$FinalizableResource.<init>(Unknown Source)
           at java.util.zip.ZipFile$CleanableResource.get(Unknown Source)
           at java.util.zip.ZipFile.<init>(Unknown Source)
           at java.util.zip.ZipFile.<init>(Unknown Source)
           at java.util.jar.JarFile.<init>(Unknown Source)
           at sun.net.www.protocol.jar.URLJarFile.<init>(Unknown Source)
           at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
           at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
           at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
           at sun.net.www.protocol.jar.JarURLConnection.getInputStream(Unknown Source)
           at java.util.ResourceBundle$Control$1.run(Unknown Source)
           at java.util.ResourceBundle$Control$1.run(Unknown Source)
           at java.security.AccessController.doPrivileged(Unknown Source)
           at java.util.ResourceBundle$Control.newBundle(Unknown Source)
           at java.util.ResourceBundle.loadBundle(Unknown Source)
           at java.util.ResourceBundle.findBundle(Unknown Source)
           at java.util.ResourceBundle.findBundle(Unknown Source)
           at java.util.ResourceBundle.findBundle(Unknown Source)
           Caused: java.util.MissingResourceException: Can't find bundle for base name javax.servlet.LocalStrings, locale de_DE
           at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
           at java.util.ResourceBundle.getBundleImpl(Unknown Source)
           at java.util.ResourceBundle.getBundleImpl(Unknown Source)
           at java.util.ResourceBundle.getBundleImpl(Unknown Source)
           at java.util.ResourceBundle.getBundle(Unknown Source)
           at javax.servlet.GenericServlet.<clinit>(GenericServlet.java:95)
           Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 192.168.222.146/192.168.222.146:49161
           at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1788)
           at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
           at hudson.remoting.Channel.call(Channel.java:998)
           at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1083)
           at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510)
           at hudson.model.Run.execute(Run.java:1856)
           at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
           at hudson.model.ResourceController.execute(ResourceController.java:97)
           at hudson.model.Executor.run(Executor.java:428)
           Caused: java.lang.ExceptionInInitializerError
           at java.lang.J9VMInternals.ensureError(Unknown Source)
           at java.lang.J9VMInternals.recordInitializationFailure(Unknown Source)
           at hudson.model.Node$Mode.<clinit>(Node.java:604)
           at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
           at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
           at java.lang.Class.getEnumConstantsShared(Unknown Source)
           at java.lang.Class.getEnumConstants(Unknown Source)
           at jenkins.model.Jenkins.<clinit>(Jenkins.java:5338)
           at hudson.model.Computer.<clinit>(Computer.java:1803)
           at hudson.util.ProcessTree.get(ProcessTree.java:432)
           at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1100)
           at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1091)
           at hudson.remoting.UserRequest.perform(UserRequest.java:211)
           at hudson.remoting.UserRequest.perform(UserRequest.java:54)
           at hudson.remoting.Request$2.run(Request.java:369)
           at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
           at java.util.concurrent.FutureTask.run(Unknown Source)
           at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
           at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:117)
           at hudson.remoting.Engine$1$$Lambda$53/0000000000000000.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
           Caused: java.io.IOException: Remote call on JNLP4-connect connection from 192.168.222.146/192.168.222.146:49161 failed
           at hudson.remoting.Channel.call(Channel.java:1004)
           at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1083)
           at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510)
           at hudson.model.Run.execute(Run.java:1856)
           at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
           at hudson.model.ResourceController.execute(ResourceController.java:97)
           at hudson.model.Executor.run(Executor.java:428)
           Finished: FAILURE

           

          But every second run i got this output:

          Started by upstream project "JobA"
           Running as SYSTEM
          [EnvInject] - Loading node environment variables.
           FATAL: java.nio.channels.ClosedChannelException
           java.nio.channels.ClosedChannelException
           Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 192.168.222.146/192.168.222.146:49161
           at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1788)
           at hudson.remoting.Request.call(Request.java:202)
           at hudson.remoting.Channel.call(Channel.java:997)
           at hudson.FilePath.act(FilePath.java:1159)
           at org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader.gatherEnvVarsForNode(EnvironmentVariablesNodeLoader.java:61)
           at org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:78)
           at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:42)
           at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:542)
           at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:462)
           at hudson.model.Run.execute(Run.java:1856)
           at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
           at hudson.model.ResourceController.execute(ResourceController.java:97)
           at hudson.model.Executor.run(Executor.java:428)
           Caused: hudson.remoting.RequestAbortedException
           at hudson.remoting.Request.abort(Request.java:340)
           at hudson.remoting.Channel.terminate(Channel.java:1081)
           at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed(ChannelApplicationLayer.java:209)
           at org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed(ApplicationLayer.java:221)
           at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:816)
           at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287)
           at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:172)
           at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:816)
           at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154)
           at org.jenkinsci.remoting.protocol.impl.NIONetworkLayer.ready(NIONetworkLayer.java:179)
           at org.jenkinsci.remoting.protocol.IOHub$OnReady.run(IOHub.java:795)
           at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
           at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
           at java.lang.Thread.run(Thread.java:748)
           Finished: FAILURE

          I do not use the plugin EnvInject inside JobA or B.

          I add configuration from JobA und B  as an attachment

          Show
          martinbauer Martin Bauer added a comment - My last try that run over night with our full buildchain was able to reproduce the error. I tried to simplify as much as possible Job A:  Build-step:   1)Powershell: Start Hyper-V VM ( which  connect as Node to Jenkins Master on boot with "java -jar agent.jar  -jnlpUrl ... -workDir C:\" )   2) Start job B which can only run on the node and wait for completion of JobB  Postbuild: Powershell: Stop VM Job B doesn't need to do anything, just an empty job   Started by upstream project "JobA" Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on Test-Win8 in workspace C:\workspace\Service\jobB FATAL: Remote call on JNLP4-connect connection from 192.168.222.146/192.168.222.146:49161 failed java.util.zip.ZipException: zip END header not found at java.util.zip.ZipFile$Source.zerror(Unknown Source) at java.util.zip.ZipFile$Source.findEND(Unknown Source) at java.util.zip.ZipFile$Source.initCEN(Unknown Source) at java.util.zip.ZipFile$Source.<init>(Unknown Source) at java.util.zip.ZipFile$Source.get(Unknown Source) at java.util.zip.ZipFile$CleanableResource.<init>(Unknown Source) at java.util.zip.ZipFile$CleanableResource$FinalizableResource.<init>(Unknown Source) at java.util.zip.ZipFile$CleanableResource.get(Unknown Source) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at sun.net.www.protocol.jar.URLJarFile.<init>(Unknown Source) at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source) at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source) at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source) at sun.net.www.protocol.jar.JarURLConnection.getInputStream(Unknown Source) at java.util.ResourceBundle$Control$1.run(Unknown Source) at java.util.ResourceBundle$Control$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Unknown Source) at java.util.ResourceBundle$Control.newBundle(Unknown Source) at java.util.ResourceBundle.loadBundle(Unknown Source) at java.util.ResourceBundle.findBundle(Unknown Source) at java.util.ResourceBundle.findBundle(Unknown Source) at java.util.ResourceBundle.findBundle(Unknown Source) Caused: java.util.MissingResourceException: Can't find bundle for base name javax.servlet.LocalStrings, locale de_DE at java.util.ResourceBundle.throwMissingResourceException(Unknown Source) at java.util.ResourceBundle.getBundleImpl(Unknown Source) at java.util.ResourceBundle.getBundleImpl(Unknown Source) at java.util.ResourceBundle.getBundleImpl(Unknown Source) at java.util.ResourceBundle.getBundle(Unknown Source) at javax.servlet.GenericServlet.<clinit>(GenericServlet.java:95) Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 192.168.222.146/192.168.222.146:49161 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1788) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356) at hudson.remoting.Channel.call(Channel.java:998) at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1083) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510) at hudson.model.Run.execute(Run.java:1856) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:428) Caused: java.lang.ExceptionInInitializerError at java.lang.J9VMInternals.ensureError(Unknown Source) at java.lang.J9VMInternals.recordInitializationFailure(Unknown Source) at hudson.model.Node$Mode.<clinit>(Node.java:604) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at java.lang. Class .getEnumConstantsShared(Unknown Source) at java.lang. Class .getEnumConstants(Unknown Source) at jenkins.model.Jenkins.<clinit>(Jenkins.java:5338) at hudson.model.Computer.<clinit>(Computer.java:1803) at hudson.util.ProcessTree.get(ProcessTree.java:432) at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1100) at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1091) at hudson.remoting.UserRequest.perform(UserRequest.java:211) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:369) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:117) at hudson.remoting.Engine$1$$Lambda$53/0000000000000000.run(Unknown Source) at java.lang. Thread .run(Unknown Source) Caused: java.io.IOException: Remote call on JNLP4-connect connection from 192.168.222.146/192.168.222.146:49161 failed at hudson.remoting.Channel.call(Channel.java:1004) at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1083) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510) at hudson.model.Run.execute(Run.java:1856) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:428) Finished: FAILURE   But every second run i got this output: Started by upstream project "JobA" Running as SYSTEM [EnvInject] - Loading node environment variables. FATAL: java.nio.channels.ClosedChannelException java.nio.channels.ClosedChannelException Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 192.168.222.146/192.168.222.146:49161 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1788) at hudson.remoting.Request.call(Request.java:202) at hudson.remoting.Channel.call(Channel.java:997) at hudson.FilePath.act(FilePath.java:1159) at org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader.gatherEnvVarsForNode(EnvironmentVariablesNodeLoader.java:61) at org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:78) at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:42) at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:542) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:462) at hudson.model.Run.execute(Run.java:1856) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:428) Caused: hudson.remoting.RequestAbortedException at hudson.remoting.Request.abort(Request.java:340) at hudson.remoting.Channel.terminate(Channel.java:1081) at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed(ChannelApplicationLayer.java:209) at org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed(ApplicationLayer.java:221) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:816) at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287) at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:172) at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:816) at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154) at org.jenkinsci.remoting.protocol.impl.NIONetworkLayer.ready(NIONetworkLayer.java:179) at org.jenkinsci.remoting.protocol.IOHub$OnReady.run(IOHub.java:795) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang. Thread .run( Thread .java:748) Finished: FAILURE I do not use the plugin EnvInject inside JobA or B. I add configuration from JobA und B  as an attachment
          Hide
          jthompson Jeff Thompson added a comment -

          That's an interesting situation. The fact that it disappeared from the standard jobs on your production system suggests something based on the state of the system or the server. That's going to make it harder to troubleshoot.

          It's interesting that you were able to reproduce it on a smaller configuration, but only on every second run.

          You have enough aspects of your situation that it would take me a while to set up something like it to reproduce. I don't know when I would have time to set up that environment. If it were something that showed up enough on a simple environment I could reproduce I would have a higher chance of trying it out.

          Show
          jthompson Jeff Thompson added a comment - That's an interesting situation. The fact that it disappeared from the standard jobs on your production system suggests something based on the state of the system or the server. That's going to make it harder to troubleshoot. It's interesting that you were able to reproduce it on a smaller configuration, but only on every second run. You have enough aspects of your situation that it would take me a while to set up something like it to reproduce. I don't know when I would have time to set up that environment. If it were something that showed up enough on a simple environment I could reproduce I would have a higher chance of trying it out.
          Hide
          martinbauer Martin Bauer added a comment -

          I think I found the cause:

          When I delete the remoting folder on the agent, everything works as intended.
          This might explain why the "Disable WorkDir" option fixed it for me. It just didn't use the old jar cache under remoting anymore but created a new one somewhere else.
          With the corrupted jarCache, a completely empty job that run on the agent fails with the reported error.

          This made it so hard for me to reproduce this error because only in a special VM in a special snapshot is the corrupted jarCache.

          I don't know if it helps in any way but I added the remoting folder.

           

           

          Show
          martinbauer Martin Bauer added a comment - I think I found the cause: When I delete the remoting folder on the agent, everything works as intended. This might explain why the "Disable WorkDir" option fixed it for me. It just didn't use the old jar cache under remoting anymore but created a new one somewhere else. With the corrupted jarCache, a completely empty job that run on the agent fails with the reported error. This made it so hard for me to reproduce this error because only in a special VM in a special snapshot is the corrupted jarCache. I don't know if it helps in any way but I added the remoting folder.    
          Hide
          jthompson Jeff Thompson added a comment -

          So, something to do with completing the build, maybe something about cleaning up and closing down, and something about a corrupted jar cache. Hmm ... there are possibilities for a number of weird things going on there. I don't have any immediate ideas. Anything more you find to help pinpoint will be helpful. It's an interesting one.

          Show
          jthompson Jeff Thompson added a comment - So, something to do with completing the build, maybe something about cleaning up and closing down, and something about a corrupted jar cache. Hmm ... there are possibilities for a number of weird things going on there. I don't have any immediate ideas. Anything more you find to help pinpoint will be helpful. It's an interesting one.
          Hide
          martinbauer Martin Bauer added a comment -

          Sorry, I don't think I can provide more information
          I don`t know when and during which actions the cache got into this state.

          Show
          martinbauer Martin Bauer added a comment - Sorry, I don't think I can provide more information I don`t know when and during which actions the cache got into this state.

            People

            Assignee:
            jthompson Jeff Thompson
            Reporter:
            martinbauer Martin Bauer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: