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

Unable to delete workspace due to locked git .pack file

      In our Jenkins site, all builds which are run on a windows Jenkins client and which do not delete their working direktory prior to run the job will fail with a message like:

      [WS-CLEANUP] Deleting project workspace...
      [WS-CLEANUP] Deferred wipeout is used...
      ERROR: [WS-CLEANUP] Cannot delete workspace: Unable to delete 'C:\Entw\Jenkins\workspace\Testautomatisierung\01_Smoketest\UFT\UFT_A_Smoketest_Master\.git\objects\pack\pack-5e75a4a1a37fced205964f0aeaadd0b304e779f8.pack'. Tried 3 times (of a maximum of 3) waiting 0,1 Sekunden between attempts.
      ERROR: Cannot delete workspace: Unable to delete 'C:\Entw\Jenkins\workspace\Testautomatisierung\01_Smoketest\UFT\UFT_A_Smoketest_Master\.git\objects\pack\pack-5e75a4a1a37fced205964f0aeaadd0b304e779f8.pack'. Tried 3 times (of a maximum of 3) waiting 0,1 Sekunden between attempts.
      Recording test results
      ERROR: Step ‘Publish JUnit test result report’ failed: Test reports were found but none of them are new. Did leafNodes run? 
      For example, C:\Entw\Jenkins\workspace\Testautomatisierung\01_Smoketest\UFT\UFT_A_Smoketest_Master\Results29012019125534536.xml is 3 Minuten 34 Sekunden old
      
      Recording test results
      ERROR: Step ‘Publish Micro Focus tests result’ failed: Test reports were found but none of them are new. Did leafNodes run? 
      For example, C:\Entw\Jenkins\workspace\Testautomatisierung\01_Smoketest\UFT\UFT_A_Smoketest_Master\Results29012019125534536.xml is 3 Minuten 34 Sekunden old
      ...
      Sucessfully imported JUnit XML results from Results29012019125534536.xml
      Finished: FAILURE
      

          [JENKINS-55836] Unable to delete workspace due to locked git .pack file

          Carsten Hilber created issue -
          Carsten Hilber made changes -
          Component/s New: git-plugin [ 15543 ]
          Component/s Original: github [ 18925 ]
          Key Original: INFRA-1988 New: JENKINS-55836
          Workflow Original: classic default workflow [ 234632 ] New: JNJira + In-Review [ 234633 ]
          Project Original: Infrastructure [ 10301 ] New: Jenkins [ 10172 ]
          Daniel Beck made changes -
          Assignee Original: Daniel Beck [ danielbeck ]
          Carsten Hilber made changes -
          Priority Original: Minor [ 4 ] New: Critical [ 2 ]
          Idan Bidani made changes -
          Component/s New: hp-application-automation-tools-plugin [ 17322 ]
          Component/s Original: git-plugin [ 15543 ]
          Ben Ptacek made changes -
          Attachment New: image-2019-03-21-15-40-39-729.png [ 46538 ]
          Daniel Gront made changes -
          Assignee New: Radi Berkovich [ radislavb ]
          Daniel Gront made changes -
          Labels Original: git git-plugin New: git git-plugin octane
          Daniel Gront made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Radi Berkovich made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]

            radislavb Radi Berkovich
            carsten_hilber Carsten Hilber
            Votes:
            24 Vote for this issue
            Watchers:
            25 Start watching this issue

              Created:
              Updated:
              Resolved: