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
[JENKINS-65418] Cancelling p4 sync results in locked files
Description |
Original:
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 |
New:
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 |
Assignee | New: Karl Wirth [ p4karl ] |
Labels | Original: p4 p4-plugin p4plugin plugin | New: P4_SUPPORT p4 p4-plugin p4plugin plugin |
Attachment | New: HangingLock.png [ 54657 ] |
Hi maneamarius - Thanks for highlighting this. How did you test the cancelling the job? Do you abort the job during a sync of a big file?
Whats the organic reason that this occurs in your environment? For example do you need to abort jobs in certain circumstances?