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

Cancelling p4 sync results in locked files

    XMLWordPrintable

    Details

    • Similar Issues:

      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

          maneamarius Marius created issue -
          maneamarius Marius made changes -
          Field Original Value New Value
          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.

          Could you please help fixing the issue?

           
          {code:java}
          [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
          {code}
          thanks a lot,

          Marius
          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?

           
          {code:java}
          [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
          {code}
          thanks a lot,

          Marius
          p4karl Karl Wirth made changes -
          Assignee Karl Wirth [ p4karl ]
          p4karl Karl Wirth made changes -
          Labels p4 p4-plugin p4plugin plugin P4_SUPPORT p4 p4-plugin p4plugin plugin
          p4karl Karl Wirth made changes -
          Attachment HangingLock.png [ 54657 ]
          p4karl Karl Wirth made changes -
          Assignee Karl Wirth [ p4karl ]
          p4karl Karl Wirth made changes -
          Labels P4_SUPPORT p4 p4-plugin p4plugin plugin P4_A P4_VERIFY p4 p4-plugin p4plugin plugin
          p4karl Karl Wirth made changes -
          Priority Major [ 3 ] Blocker [ 1 ]

            People

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

              Dates

              Created:
              Updated: