org.jvnet.winp.WinpException: Failed to enumerate processes error=8 at .\enumProcess.cpp:12

Jenkins JIRA | lkishalmi | 7 years ago
  1. 0

    I have a Windows 2008 Slave machine. As a workaround of issue #3973 I've created a periodically scheduled dummy build on the slave as "ping". Unfortunately it seems after a some time this dummy build makes the slave unusable. FATAL: Failed to enumerate processes error=8 at .\enumProcess.cpp:12 org.jvnet.winp.WinpException: Failed to enumerate processes error=8 at .\enumProcess.cpp:12 at org.jvnet.winp.Native.enumProcesses(Native Method) at org.jvnet.winp.WinProcess$2$1.<init>(WinProcess.java:160) at org.jvnet.winp.WinProcess$2.iterator(WinProcess.java:153) at hudson.util.ProcessTreeKiller$Windows.kill(ProcessTreeKiller.java:192) at hudson.util.ProcessTreeKiller.kill(ProcessTreeKiller.java:109) at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:706) at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:698) at hudson.remoting.UserRequest.perform(UserRequest.java:103) at hudson.remoting.UserRequest.perform(UserRequest.java:47) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:54) at java.lang.Thread.run(Unknown Source) The dummy build contains no build steps and no publishers. and it is tied to the slave. I've tested with a not so dummy build when I've just executed a Windows batch command: time /t At this case the slave went unusable with OOME as it couldn't create more NativeThreads.

    Jenkins JIRA | 7 years ago | lkishalmi
    org.jvnet.winp.WinpException: Failed to enumerate processes error=8 at .\enumProcess.cpp:12
  2. 0

    I have a Windows 2008 Slave machine. As a workaround of issue #3973 I've created a periodically scheduled dummy build on the slave as "ping". Unfortunately it seems after a some time this dummy build makes the slave unusable. FATAL: Failed to enumerate processes error=8 at .\enumProcess.cpp:12 org.jvnet.winp.WinpException: Failed to enumerate processes error=8 at .\enumProcess.cpp:12 at org.jvnet.winp.Native.enumProcesses(Native Method) at org.jvnet.winp.WinProcess$2$1.<init>(WinProcess.java:160) at org.jvnet.winp.WinProcess$2.iterator(WinProcess.java:153) at hudson.util.ProcessTreeKiller$Windows.kill(ProcessTreeKiller.java:192) at hudson.util.ProcessTreeKiller.kill(ProcessTreeKiller.java:109) at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:706) at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:698) at hudson.remoting.UserRequest.perform(UserRequest.java:103) at hudson.remoting.UserRequest.perform(UserRequest.java:47) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:54) at java.lang.Thread.run(Unknown Source) The dummy build contains no build steps and no publishers. and it is tied to the slave. I've tested with a not so dummy build when I've just executed a Windows batch command: time /t At this case the slave went unusable with OOME as it couldn't create more NativeThreads.

    Jenkins JIRA | 7 years ago | lkishalmi
    org.jvnet.winp.WinpException: Failed to enumerate processes error=8 at .\enumProcess.cpp:12
  3. 0

    org.jvnet.winp.WinpException: Failed to read environment variable table when killing a job in Jenkins?

    Stack Overflow | 1 year ago | apellantmani
    org.jvnet.winp.WinpException: Failed to read environment variable table error=299 at .\envvar-cmdline.cpp:201
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to resolve Git checkout issue with jenkins job?

    Stack Overflow | 1 month ago | VADIVEL NATARAJAN user2505309
    org.jvnet.winp.WinpException: Failed to read RT_USER_PROCESS_PARAMETERS error=299 at .\envvar-cmdline.cpp:151
  6. 0

    [JENKINS-30782] Failed to read environment variable table error - Jenkins JIRA

    jenkins-ci.org | 5 months ago
    org.jvnet.winp.WinpException: Failed to read environment variable table error=299 at .\envvar-cmdline.cpp:201

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jvnet.winp.WinpException

      Failed to enumerate processes error=8 at .\enumProcess.cpp:12

      at org.jvnet.winp.Native.enumProcesses()
    2. org.jvnet.winp
      WinProcess$2.iterator
      1. org.jvnet.winp.Native.enumProcesses(Native Method)
      2. org.jvnet.winp.WinProcess$2$1.<init>(WinProcess.java:160)
      3. org.jvnet.winp.WinProcess$2.iterator(WinProcess.java:153)
      3 frames
    3. Hudson
      Launcher$RemoteLauncher$KillTask.call
      1. hudson.util.ProcessTreeKiller$Windows.kill(ProcessTreeKiller.java:192)
      2. hudson.util.ProcessTreeKiller.kill(ProcessTreeKiller.java:109)
      3. hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:706)
      4. hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:698)
      4 frames
    4. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest.perform(UserRequest.java:103)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:47)
      3. hudson.remoting.Request$2.run(Request.java:236)
      3 frames
    5. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      2. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      3. java.util.concurrent.FutureTask.run(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      5 frames
    6. Hudson :: Remoting Layer
      Engine$1$1.run
      1. hudson.remoting.Engine$1$1.run(Engine.java:54)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame