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

Windows agent goes offline with 'Connection was broken' and connects back for every 5-10 minutes

XMLWordPrintable

      ERROR: Failed to monitor for Free Swap Space
      Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from <some master ip>:55994
                      at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
                      at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
                      at hudson.remoting.Channel$2.adapt(Channel.java:1034)
                      at hudson.remoting.Channel$2.adapt(Channel.java:1030)
                      at hudson.remoting.FutureAdapter.get(FutureAdapter.java:66)
                      at hudson.node_monitors.AbstractAsyncNodeMonitorDescriptor.monitorDetailed(AbstractAsyncNodeMonitorDescriptor.java:112)
                      at hudson.node_monitors.AbstractAsyncNodeMonitorDescriptor.monitor(AbstractAsyncNodeMonitorDescriptor.java:76)
                      at hudson.node_monitors.AbstractNodeMonitorDescriptor$Record.run(AbstractNodeMonitorDescriptor.java:305)
      java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
              at com.sun.jna.Structure.setAlignType(Structure.java:291)
              at com.sun.jna.Structure.<init>(Structure.java:208)
              at com.sun.jna.Structure.<init>(Structure.java:204)
              at com.sun.jna.Structure.<init>(Structure.java:191)
              at com.sun.jna.Structure.<init>(Structure.java:183)
              at org.jvnet.hudson.Windows$MEMORYSTATUSEX.<init>(Windows.java:67)
              at org.jvnet.hudson.Windows.monitor(Windows.java:46)
              at hudson.node_monitors.SwapSpaceMonitor$MonitorTask.call(SwapSpaceMonitor.java:131)
              at hudson.node_monitors.SwapSpaceMonitor$MonitorTask.call(SwapSpaceMonitor.java:120)
              at hudson.remoting.UserRequest.perform(UserRequest.java:211)
              at hudson.remoting.UserRequest.perform(UserRequest.java:54)
              at hudson.remoting.Request$2.run(Request.java:377)
              at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
              at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
              at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:125)
              at java.base/java.lang.Thread.run(Thread.java:834)
      Caused: java.util.concurrent.ExecutionException
              at hudson.remoting.Channel$2.adapt(Channel.java:1036)
              at hudson.remoting.Channel$2.adapt(Channel.java:1030)
              at hudson.remoting.FutureAdapter.get(FutureAdapter.java:66)
              at hudson.node_monitors.AbstractAsyncNodeMonitorDescriptor.monitorDetailed(AbstractAsyncNodeMonitorDescriptor.java:112)
              at hudson.node_monitors.AbstractAsyncNodeMonitorDescriptor.monitor(AbstractAsyncNodeMonitorDescriptor.java:76)
              at hudson.node_monitors.AbstractNodeMonitorDescriptor$Record.run(AbstractNodeMonitorDescriptor.java:305)
      ERROR: Connection terminated

            Unassigned Unassigned
            muddukrishna muddukrishna
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: