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

Cancelling p4 sync results in locked files

    XMLWordPrintable

Details

    Description

      Hello,

       

      When cancelling a p4 sync, the files are locked and it is not possible to run another build until restarting Jenkins service.

      Tested with latest P4 plugin (1.11.4) and the issue is reproducible 100% in our environment.

      This issue seems very similar to https://issues.jenkins.io/browse/JENKINS-37487 which has been marked as resolved.

       

      Could you please help fixing the issue?

       

      [Pipeline] End of Pipeline
      ERROR: P4: Task Exception: java.io.IOException: Unable to delete file: C:\Jenkins\workspace\Vulcan\1.7\Unity_2
      Finished: FAILURE
      

      thanks a lot,

      Marius

      Attachments

        Activity

          p4karl Karl Wirth added a comment -

          Note - have seen a new case of this. In that case the sync was still running in the background so overlapped the new sync when the job was rerun.

          p4karl Karl Wirth added a comment - Note - have seen a new case of this. In that case the sync was still running in the background so overlapped the new sync when the job was rerun.
          p4karl Karl Wirth added a comment -

          Please consider this as a top priority when planning next sprint.

          p4karl Karl Wirth added a comment - Please consider this as a top priority when planning next sprint.
          maneamarius Marius added a comment -

          hey guys, I appreciate your help and I look forward for the fix!

          Please keep us posted

          maneamarius Marius added a comment - hey guys, I appreciate your help and I look forward for the fix! Please keep us posted
          maneamarius Marius added a comment -

          hello,

          Just checking to see if you have any updates regarding this issue?

          thanks a lot,

          maneamarius Marius added a comment - hello, Just checking to see if you have any updates regarding this issue? thanks a lot,
          p4karl Karl Wirth added a comment -

          Requested that this is investigated in upcoming sprint.

          p4karl Karl Wirth added a comment - Requested that this is investigated in upcoming sprint.

          People

            Unassigned Unassigned
            maneamarius Marius
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: