java.io.IOException: Unable to delete /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/el5/ib_stack/inkernel

Jenkins JIRA | Brian Murrell | 5 years ago
  1. 0

    We are using Jenkins 1.406 here (until now, 1.406 has been working fine -- so better to use something you know works rather than risking upgrading to something that might not) we have started seeing this randomly on our builders: {code} Started by upstream project "lustre-reviews" build number 920 Building remotely on rhel5-64-build Checkout:inkernel / /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/el5/ib_stack/inkernel - hudson.remoting.Channel@9b72734:rhel5-64-build Using strategy: Gerrit Trigger Last Built Revision: Revision aa2ff9e8ecb9bf44f3ba06fa159812587fb4a86b (null) Checkout:inkernel / /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/el5/ib_stack/inkernel - hudson.remoting.LocalChannel@6c1f6177 Cloning the remote Git repository Cloning repository origin ERROR: Failed to clean the workspace java.io.IOException: Unable to delete /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/el5/ib_stack/inkernel at hudson.Util.deleteFile(Util.java:263) at hudson.Util.deleteRecursive(Util.java:305) at hudson.FilePath$9.invoke(FilePath.java:825) at hudson.FilePath$9.invoke(FilePath.java:823) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.FilePath.deleteRecursive(FilePath.java:823) at hudson.plugins.git.GitAPI.clone(GitAPI.java:168) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:864) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:812) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1944) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at hudson.remoting.Engine$1$1.run(Engine.java:59) at java.lang.Thread.run(Thread.java:636) ERROR: Error cloning remote repo 'origin' : Failed to delete workspace ERROR: Cause: Unable to delete /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/el5/ib_stack/inkernel Trying next repository ERROR: Could not clone repository FATAL: Could not clone hudson.plugins.git.GitException: Could not clone at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:880) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:812) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1944) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at hudson.remoting.Engine$1$1.run(Engine.java:59) at java.lang.Thread.run(Thread.java:636) {code} When I examine the workspace, it's an empty directory and yet there are previous builds in this same workspace. Any ideas as to what is going wrong?

    Jenkins JIRA | 5 years ago | Brian Murrell
    java.io.IOException: Unable to delete /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/el5/ib_stack/inkernel
  2. 0

    We are using Jenkins 1.406 here (until now, 1.406 has been working fine -- so better to use something you know works rather than risking upgrading to something that might not) we have started seeing this randomly on our builders: {code} Started by upstream project "lustre-reviews" build number 920 Building remotely on rhel5-64-build Checkout:inkernel / /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/el5/ib_stack/inkernel - hudson.remoting.Channel@9b72734:rhel5-64-build Using strategy: Gerrit Trigger Last Built Revision: Revision aa2ff9e8ecb9bf44f3ba06fa159812587fb4a86b (null) Checkout:inkernel / /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/el5/ib_stack/inkernel - hudson.remoting.LocalChannel@6c1f6177 Cloning the remote Git repository Cloning repository origin ERROR: Failed to clean the workspace java.io.IOException: Unable to delete /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/el5/ib_stack/inkernel at hudson.Util.deleteFile(Util.java:263) at hudson.Util.deleteRecursive(Util.java:305) at hudson.FilePath$9.invoke(FilePath.java:825) at hudson.FilePath$9.invoke(FilePath.java:823) at hudson.FilePath.act(FilePath.java:757) at hudson.FilePath.act(FilePath.java:739) at hudson.FilePath.deleteRecursive(FilePath.java:823) at hudson.plugins.git.GitAPI.clone(GitAPI.java:168) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:864) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:812) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1944) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at hudson.remoting.Engine$1$1.run(Engine.java:59) at java.lang.Thread.run(Thread.java:636) ERROR: Error cloning remote repo 'origin' : Failed to delete workspace ERROR: Cause: Unable to delete /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/el5/ib_stack/inkernel Trying next repository ERROR: Could not clone repository FATAL: Could not clone hudson.plugins.git.GitException: Could not clone at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:880) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:812) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1944) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at hudson.remoting.Engine$1$1.run(Engine.java:59) at java.lang.Thread.run(Thread.java:636) {code} When I examine the workspace, it's an empty directory and yet there are previous builds in this same workspace. Any ideas as to what is going wrong?

    Jenkins JIRA | 5 years ago | Brian Murrell
    java.io.IOException: Unable to delete /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/el5/ib_stack/inkernel
  3. 0

    Build failed in Hudson: Grid Functionals - Linux - Firefox #104

    Google Groups | 7 years ago | hudson
    java.io.IOException: Unable to delete http://xserve.openqa.org:8080/job/Grid%20Functionals%20-%20Linux%20-%20Firefox/ws/trunk/.svn/format
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Build failed in Hudson: Grid Demo - Ubuntu - Firefox #282

    Google Groups | 7 years ago | hudson
    java.io.IOException: Unable to delete http://xserve.openqa.org:8080/job/Grid%20Demo%20-%20Ubuntu%20-%20Firefox/ws/trunk/.svn/format
  6. 0

    Build failed in Hudson: OpenEngSB #576

    Google Groups | 6 years ago | Unknown author
    java.io.IOException: Unable to delete <http://build.openengsb.org/hudson/job/OpenEngSB/ws/.repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar>

    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. java.io.IOException

      Unable to delete /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/el5/ib_stack/inkernel

      at hudson.Util.deleteFile()
    2. Hudson
      FilePath.deleteRecursive
      1. hudson.Util.deleteFile(Util.java:263)
      2. hudson.Util.deleteRecursive(Util.java:305)
      3. hudson.FilePath$9.invoke(FilePath.java:825)
      4. hudson.FilePath$9.invoke(FilePath.java:823)
      5. hudson.FilePath.act(FilePath.java:757)
      6. hudson.FilePath.act(FilePath.java:739)
      7. hudson.FilePath.deleteRecursive(FilePath.java:823)
      7 frames
    3. Hudson GIT plugin
      GitSCM$2.invoke
      1. hudson.plugins.git.GitAPI.clone(GitAPI.java:168)
      2. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:864)
      3. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:812)
      3 frames
    4. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:1944)
      1 frame
    5. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:270)
      3 frames
    6. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      5 frames
    7. Hudson :: Remoting Layer
      Engine$1$1.run
      1. hudson.remoting.Engine$1$1.run(Engine.java:59)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:636)
      1 frame