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

Functional tests fails due to locked files on Windows (Praqma case 12882)

    Details

    • Similar Issues:

      Description

      If running the integration-test goal on Windows, the following tests fails:

          org.jenkinsci.plugins.pretestedintegration.integration.scm.git.AccumulatedCommitMessageIT.mergeCommitContainsOnlyMessagesFromCorrectBranch
          org.jenkinsci.plugins.pretestedintegration.integration.scm.git.AccumulatedCommitMessageIT.mergeCommitContainsAllMessagesFromTheFeatureBranch
          org.jenkinsci.plugins.pretestedintegration.integration.scm.git.AccumulatedCommitMessageIT.commitMessageShouldOnlyCollectFromOwnBranch
          org.jenkinsci.plugins.pretestedintegration.integration.scm.git.AccumulatedCommitMessageIT.mergeCommitContainsAllMessagesFromTheFeatureBranchButNotTheNewestOnMaster
          org.jenkinsci.plugins.pretestedintegration.integration.scm.git.AccumulatedCommitMessageIT.commitMessageShouldOnCollectFromConnectedBranches
      

      The common problem is:

      Error Message
      
      Locked files? Failed to delete directory 'E:\jslave\workspace\pretested-integration-plugin_integrationtest_master-Windows\mergeCommitContainsOnlyMessagesFromCorrectBranch' for 30 seconds (100 tries)
      
      Stacktrace
      
      java.lang.InterruptedException: Locked files? Failed to delete directory 'E:\jslave\workspace\pretested-integration-plugin_integrationtest_master-Windows\mergeCommitContainsOnlyMessagesFromCorrectBranch' for 30 seconds (100 tries)
      	at org.jenkinsci.plugins.pretestedintegration.integration.scm.git.TestUtilsFactory.destroyDirectory(TestUtilsFactory.java:147)
      	at org.jenkinsci.plugins.pretestedintegration.integration.scm.git.TestUtilsFactory.destroyRepo(TestUtilsFactory.java:190)
      	at org.jenkinsci.plugins.pretestedintegration.integration.scm.git.AccumulatedCommitMessageIT.tearDown(AccumulatedCommitMessageIT.java:112)
      
      

      We would like the tests to run without fails on Windows.

        Attachments

          Activity

            People

            • Assignee:
              bue Bue Petersen
              Reporter:
              bue Bue Petersen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: