Perforce agent side checkout failure

Hello, I have setup a VCS root using Perforce. It's set to checkout automatically on the agent. The connection works fine, but when a build is triggered, it cannot checkout.
I get the following error:

Updating Sources: agent side checkout
     [Updating sources] Failed to perform checkout on agent: Usage: branches/clients/labels Invalid option: -u.

-u is the required user option....I know the user is correct in the settings, as is the password. I have no idea how to figure out what's going on, doesn't seem to be anything additional in the log files either.
Anybody seen this before or have an idea how to figure out what's going on?

Thank you!


Comment actions Permalink

Hello Ray,

  Sorry for delay with the answer. Please make sure that TeamCity uses the latest version of p4 client on build agent machine:
  - put latest p4 binary to PATH
  - or make sure that path to p4 specified in Perforce client settings is valid

  If the problem persists, please enable Perforce debug logs on build agent, and send them to us.


Comment actions Permalink

Thanks for the reply!

Yeah, I determined that the server we're using is too old. We'll be updating soon and will work then, thanks!


Please sign in to leave a comment.