-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
Perforce plugin v1.3.27, Jenkins v1.547
An error occurred during workspace sync which caused an exception in the plugin. Better exception handling would be required in such a case.
PERFORCE OUTPUT
---------------
Started by timer
Building on master in workspace WORKSPACE_DIRECTORY
Using master perforce client: JOB_NAME [workspace] $ p4 workspace -o JOB_NAME [workspace] $ p4 login -a -p [workspace] $ p4 -P F9151DF0014D48B57633865E55EDD343 workspace -o JOB_NAME Changing P4 Client Root to: WORKSPACE_DIRECTORY
Saving modified client JOB_NAME [workspace] $ p4 -P F9151DF0014D48B57633865E55EDD343 -s client -i
Note: .repository directory in workspace (if exists) is skipped during clean.
Wiping workspace...
Wiped workspace.
Clean complete, took 0 ms
Last build changeset: 289943
[workspace] $ p4 -P F9151DF0014D48B57633865E55EDD343 changes -s submitted -m 1 //JOB_NAME/...
[workspace] $ p4 -P F9151DF0014D48B57633865E55EDD343 -s changes -s submitted //JOB_NAME/...@289944,@289943
Sync'ing workspace to changelist 289943 (forcing sync of unchanged files).
[workspace] $ p4 -P F9151DF0014D48B57633865E55EDD343 -s sync -f //JOB_NAME/...@289943 Caught exception communicating with perforce. Errors encountered while force syncing: error: chmod: FILE_TO_SYNC: The system cannot find the file specified.
com.tek42.perforce.PerforceException: Errors encountered while force syncing: error: chmod: FILE_TO_SYNC: The system cannot find the file specified.
at com.tek42.perforce.parse.Workspaces.syncTo(Workspaces.java:167)
at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:1111)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1415)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561)
at hudson.model.Run.execute(Run.java:1678)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)
ERROR: Unable to communicate with perforce. Errors encountered while force syncing: error: chmod: FILE_TO_SYNC: The system cannot find the file specified.