Approximately once a month we experience a sporadic problem when checking out sources from Perforce. The problem is always gone on the following build.
The step that checks out from Perforce is always green, there are no errors in log (Checking out revision '224925' of repository 'SW08_P4_all_sources_folders'...) but after the step is finished, instead of the source files we find only one file SW08_P4_all_sources_folders_copy.revision in the workspace directory. The change list in Perforce that is to be checked out does contain changes.
Because the step is marked as successful, the build continues on to the following steps and detects the problem only when it is necessary to access the missing files.
The workspace directory is cleared before every build. The build is configured to run on a chron schedule but only if there are changes in the repo