java.lang.InterruptedException: Locked files? Failed to delete directory 'E:\jslave\workspace\pretested-integration-plugin_integrationtest_master-Windows\mergeCommitContainsOnlyMessagesFromCorrectBranch' for 30 seconds (100 tries)

Jenkins JIRA | Bue Petersen | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    If running the integration-test goal on Windows, the following tests fails: {code} 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 {code} The common problem is: {code} 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) {code} We would like the tests to run without fails on Windows.

    Jenkins JIRA | 2 years ago | Bue Petersen
    java.lang.InterruptedException: Locked files? Failed to delete directory 'E:\jslave\workspace\pretested-integration-plugin_integrationtest_master-Windows\mergeCommitContainsOnlyMessagesFromCorrectBranch' for 30 seconds (100 tries)
  2. 0

    If running the integration-test goal on Windows, the following tests fails: {code} 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 {code} The common problem is: {code} 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) {code} We would like the tests to run without fails on Windows.

    Jenkins JIRA | 2 years ago | Bue Petersen
    java.lang.InterruptedException: Locked files? Failed to delete directory 'E:\jslave\workspace\pretested-integration-plugin_integrationtest_master-Windows\mergeCommitContainsOnlyMessagesFromCorrectBranch' for 30 seconds (100 tries)

    Root Cause Analysis

    1. 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()
    2. org.jenkinsci.plugins
      AccumulatedCommitMessageIT.tearDown
      1. org.jenkinsci.plugins.pretestedintegration.integration.scm.git.TestUtilsFactory.destroyDirectory(TestUtilsFactory.java:147)
      2. org.jenkinsci.plugins.pretestedintegration.integration.scm.git.TestUtilsFactory.destroyRepo(TestUtilsFactory.java:190)
      3. org.jenkinsci.plugins.pretestedintegration.integration.scm.git.AccumulatedCommitMessageIT.tearDown(AccumulatedCommitMessageIT.java:112)
      3 frames