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

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

    XMLWordPrintable

Details

    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

          bue Bue Petersen created issue -
          bue Bue Petersen made changes -
          Field Original Value New Value
          Summary Functional tests fails due to locked files on Windows Functional tests fails due to locked files on Windows (Praqma case 12882)
          bue Bue Petersen made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          bue Bue Petersen made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          bue Bue Petersen made changes -
          Assignee Praqma Support [ praqma ] Bue Petersen [ bue ]
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 162010 ] JNJira + In-Review [ 208592 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: