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

tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • ws-cleanup-plugin
    • None

      Building in workspace /u01/app/oracle/product/fmw/Bulid_Deploy/Jenkins_Home/workspace/SOA_DEV_Build
      [WS-CLEANUP] Deleting project workspace...
      ERROR: [WS-CLEANUP] Cannot delete workspace: Unable to delete '/u01/app/oracle/product/fmw/Bulid_Deploy/Jenkins_Home/workspace/SOA_DEV_Build/UL_SyncProjectStatusEbizProvABCSImpl/target/sca_UL_SyncProjectStatusEbizProvABCSImpl_rev1.0.jar'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
      ERROR: Cannot delete workspace: Unable to delete '/u01/app/oracle/product/fmw/Bulid_Deploy/Jenkins_Home/workspace/SOA_DEV_Build/UL_SyncProjectStatusEbizProvABCSImpl/target/sca_UL_SyncProjectStatusEbizProvABCSImpl_rev1.0.jar'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
      Finished: FAILURE

          [JENKINS-48624] tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.

          I do not think this has anything to do with ws-cleanup plugin as those failures are coming from core routines for file deletion. Can these files be deleted from slave groovy console?

          new FilePath(null, "/u01/app/oracle/product/fmw/Bulid_Deploy/Jenkins_Home/workspace/SOA_DEV_Build/UL_SyncProjectStatusEbizProvABCSImpl/target/sca_UL_SyncProjectStatusEbizProvABCSImpl_rev1.0.jar").delete()
          

          Oliver Gondža added a comment - I do not think this has anything to do with ws-cleanup plugin as those failures are coming from core routines for file deletion. Can these files be deleted from slave groovy console? new FilePath(null, "/u01/app/oracle/product/fmw/Bulid_Deploy/Jenkins_Home/workspace/SOA_DEV_Build/UL_SyncProjectStatusEbizProvABCSImpl/target/sca_UL_SyncProjectStatusEbizProvABCSImpl_rev1.0.jar").delete()

          Arjun Gavini added a comment -

          I didn't get you.. what is slave groovy console?

           

          Arjun Gavini added a comment - I didn't get you.. what is slave groovy console?  

          Oliver Gondža added a comment - https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console#JenkinsScriptConsole-RunningScriptConsoleonthemaster

          Arjun Gavini added a comment -

          Through Jenkins build we are trying to delete the existing files which were check out from TFS and pulling the new code from TFS for fresh build..

          Jenkins is unable to delete the jar file which was created previously with the below error mention in the mail chain…

          Please see the attachment..

          jenkins.docx

          Arjun Gavini added a comment - Through Jenkins build we are trying to delete the existing files which were check out from TFS and pulling the new code from TFS for fresh build.. Jenkins is unable to delete the jar file which was created previously with the below error mention in the mail chain… Please see the attachment.. jenkins.docx

          Device or resource busy is the important part. It seems the file might still be used by some process.

          Oliver Gondža added a comment - Device or resource busy is the important part. It seems the file might still be used by some process.

            olivergondza Oliver Gondža
            arjun_gavini Arjun Gavini
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: