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

WARNING: Failed to load DLL from static location

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • remoting
    • None

      We are getting this error frequently for builds that run on windows agent. We are also seeing random disconnections for our windows agents configured on jenkins. Not sure if these error in any way cause the agent to disconnect. Any help on this would be appreciated. Our windows agent runs winsw v2.11.0 used to configure the service.

      Jenkins v2.263.2
      Remoting 4.5

      Feb 12, 2023 8:46:51 AM org.jvnet.winp.Native loadByUrl WARNING: Failed to load DLL from static location java.lang.UnsatisfiedLinkError: Native Library C:\XXXXX\remoting\jarCache\44\winp.x64.BFFE30B3B50581290B1866EF8D48C609.dll already loaded in another classloader                 at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1900)                 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)                 at java.lang.Runtime.load0(Runtime.java:810)                 at java.lang.System.load(System.java:1088)                 at org.jvnet.winp.Native.loadDll(Native.java:242)                 at org.jvnet.winp.Native.loadByUrl(Native.java:162)                 at org.jvnet.winp.Native.load(Native.java:124)                 at org.jvnet.winp.Native.<clinit>(Native.java:93)                 at org.jvnet.winp.WinProcess.enableDebugPrivilege(WinProcess.java:245)                 at hudson.util.ProcessTree$Windows.<clinit>(ProcessTree.java:701)                 at hudson.util.ProcessTree.get(ProcessTree.java:447)                 at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1164)                 at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1155)                 at hudson.remoting.UserRequest.perform(UserRequest.java:211)                 at hudson.remoting.UserRequest.perform(UserRequest.java:54)                 at hudson.remoting.Request$2.run(Request.java:375)                 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:73)                 at java.util.concurrent.FutureTask.run(FutureTask.java:266)                 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)                 at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:118)                 at java.lang.Thread.run(Thread.java:748)   Feb 13, 2023 4:03:12 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Read side closed Feb 13, 2023 4:03:12 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Terminated Feb 13, 2023 4:03:12 AM hudson.remoting.jnlp.Main$CuiListener status INFO: WebSocket connection open Feb 13, 2023 4:03:12 AM hudson.remoting.jnlp.Main$CuiListener status INFO: Connected Feb 13, 2023 4:03:18 AM jenkins.slaves.restarter.WinswSlaveRestarter exec INFO: C:\XXXXX\WinSW-x64.exe cmd: output: Active (running)

            jthompson Jeff Thompson
            mergeinto1 amit k
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: