Preventing fallback to ServerSide checkout due to perforce timeout

Hey all!

So on teamcity we user perforce, and lately we are seeing timeouts at the start of a job due to p4 info timing out

Will use server side checkout: Agent checkout is not possible for vcs root '<ROOTNAME_REMOVED>'.  Details: Error running p4 <DETAILS_REMOVED> info: Timeout exception: the process did not produce output longer than 10 seconds;

As seen in the message this is causing teamcity to fallback to server side checkout. This is very bad for us as this is a Unity project and we maintain the imported project state across job runs, so this server side checkout time is just a waste (and also puts pressure on the server for hard drive space).

I would rather it either retry this p4 info call (as it is mostly likely a network blip) or to simply error out and allow us to kick off the job ourselves. Is this possible?

Also related to this the timeout is 10 seconds. I tried to increase it by using

teamcity.perforce.info.timeout=150000

both in the server internal settings and in the agent parameters and nether seems to effect the time out value.

Any Advice?

Cheers,
Chris

0

Please sign in to leave a comment.