Checked out files aren't saved with Perforce 2000

Hi, folks!

I am trying to setup build with Perforce 2000.

Env:
WindowsXP - no user priveleges problems excepted here.
TeamCity Professional Version 4.0.2 (build 8222)
Perforce 2000.2/19882

When runing the build TeamCity checks out files from Perforce (checked by net sniffer, the files actually passed over the wire), but they never appear on the agent (the work directory is empty).
The .BuildServer\system\caches\sources directory contains empty .cache file (0kb size). The build fails, because TeamCity can't find the build.xml (no Perforce errors reported):

Checking for changes

[15:52:05]: Clearing temporary directory: D:\TeamCity\buildAgent\temp\buildTmp
[15:52:05]: Checkout directory: D:\TeamCity\buildAgent\work\dea55c8958990fc5
[15:52:05]: Getting project sources
[16:16:33]: Loading changed files from server...
[16:16:33]: Cannot find build file by path specified in build configuration settings: 'D:\TeamCity\buildAgent\work\dea55c8958990fc5\infrastructure\dev\build.xml' (absolute path on agent). Please check that specified path is correct.
[16:16:33]: jetbrains.buildServer.RunBuildException: Cannot find build file by path specified in build configuration settings: 'D:\TeamCity\buildAgent\work\dea55c8958990fc5\infrastructure\dev\build.xml' (absolute path on agent). Please check that specified path is correct.
jetbrains.buildServer.RunBuildException: Cannot find build file by path specified in build configuration settings: 'D:\TeamCity\buildAgent\work\dea55c8958990fc5\infrastructure\dev\build.xml' (absolute path on agent). Please check that specified path is correct.
at jetbrains.buildServer.runner.BuildFileRunnerUtil.getBuildFile(BuildFileRunnerUtil.java:61)
at jetbrains.buildServer.agent.ant.AntBuildRunner.getBuildFile(AntBuildRunner.java:150)
at jetbrains.buildServer.agent.ant.AntBuildRunner.getProgramParameters(AntBuildRunner.java:88)
at jetbrains.buildServer.agent.runner.JavaProgramRunner.buildCommandLine(JavaProgramRunner.java:81)
at jetbrains.buildServer.agent.runner.GenericProgramRunner.run(GenericProgramRunner.java:103)
at jetbrains.buildServer.agent.impl.runner.adapt.BuildProcessImpl$2.run(BuildProcessImpl.java:55)
at java.lang.Thread.run(Thread.java:595)

[16:16:34]: Build finished




Thanks in advance for the help.

3 comments
Comment actions Permalink

Agent log:


[2009-03-19 16:37:24,743]   INFO - impl.runStages.CallRunnerStage -
----------------------------------------- [ Schema Dev::Compile #17 (buildId = 6) ] -----------------------------------------
[2009-03-19 16:37:24,743]   INFO - er.agent.runner.PropertyFinder - Took value for target.jdk.home from env.JAVA_HOME, value: C:\Program Files\Java\jdk1.6.0_03
[2009-03-19 16:37:24,743]   INFO - agent.runner.JavaProgramRunner - Using java executable: C:\Program Files\Java\jdk1.6.0_03\bin\java.exe
[2009-03-19 16:37:24,743]   INFO - erver.agent.ant.AntBuildRunner - Runtime classpath:
D:/TeamCity/buildAgent/plugins/coveragePlugin/lib/coverageAgentRuntime.jar
D:/TeamCity/buildAgent/lib/xpp3_min-1.1.3.4.M.jar
D:/TeamCity/buildAgent/lib/xmlrpc-2.0.1.jar
D:/TeamCity/buildAgent/plugins/antPlugin/lib/buildServerAntServerLogging.jar
D:/TeamCity/buildAgent/lib/xstream-1.2.1.jar
D:/TeamCity/buildAgent/lib/commons-codec-1.3.jar
D:/TeamCity/buildAgent/lib/server-logging.jar
D:/TeamCity/buildAgent/plugins/testNGPlugin/lib/testNGAntExtension.jar
D:/TeamCity/buildAgent/lib/common-api.jar
D:/TeamCity/buildAgent/plugins/coveragePlugin/lib/emma.jar
[2009-03-19 16:37:24,743]   INFO - er.agent.runner.PropertyFinder - Taking default value for ant.home, value: d:\TeamCity\buildAgent\bin\..\plugins\ant
[2009-03-19 16:37:24,743]   INFO - erver.agent.ant.AntBuildRunner - Using Ant from: d:\TeamCity\buildAgent\bin\..\plugins\ant
[2009-03-19 16:37:24,743]   INFO - er.agent.runner.PropertyFinder - Taking default value for ant.home, value: d:\TeamCity\buildAgent\bin\..\plugins\ant
[2009-03-19 16:37:24,743]   INFO - .runner.adapt.BuildProcessImpl - jetbrains.buildServer.RunBuildException: Cannot find build file by path specified in build configuration settings: 'D:\TeamCity\buildAgent\work\dea55c8958990fc5\infrastructure\dev\build.xml' (absolute path on agent). Please check that specified path is correct.
jetbrains.buildServer.RunBuildException: Cannot find build file by path specified in build configuration settings: 'D:\TeamCity\buildAgent\work\dea55c8958990fc5\infrastructure\dev\build.xml' (absolute path on agent). Please check that specified path is correct.
at jetbrains.buildServer.runner.BuildFileRunnerUtil.getBuildFile(BuildFileRunnerUtil.java:61)
at jetbrains.buildServer.agent.ant.AntBuildRunner.getBuildFile(AntBuildRunner.java:150)
at jetbrains.buildServer.agent.ant.AntBuildRunner.getProgramParameters(AntBuildRunner.java:88)
at jetbrains.buildServer.agent.runner.JavaProgramRunner.buildCommandLine(JavaProgramRunner.java:81)
at jetbrains.buildServer.agent.runner.GenericProgramRunner.run(GenericProgramRunner.java:103)
at jetbrains.buildServer.agent.impl.runner.adapt.BuildProcessImpl$2.run(BuildProcessImpl.java:55)
at java.lang.Thread.run(Thread.java:595)
[2009-03-19 16:37:24,743]   INFO - rver.agent.impl.BuildRunAction - jetbrains.buildServer.RunBuildException: Cannot find build file by path specified in build configuration settings: 'D:\TeamCity\buildAgent\work\dea55c8958990fc5\infrastructure\dev\build.xml' (absolute path on agent). Please check that specified path is correct.
[2009-03-19 16:37:24,790]   INFO -    jetbrains.buildServer.AGENT - Publishing artifacts 'teamcity-info.xml' to root artifacts directory
[2009-03-19 16:37:24,790]   INFO -    jetbrains.buildServer.AGENT - Artifacts path teamcity-info.xml not found
[2009-03-19 16:37:24,790]   INFO -    jetbrains.buildServer.AGENT - Done publishing artifacts teamcity-info.xml, total files published: 0
[2009-03-19 16:37:24,790]   INFO -    jetbrains.buildServer.AGENT - Build finished: 6
[2009-03-19 16:37:29,493]   INFO - t.impl.directories.FileRemover - Deleting files from D:\TeamCity\buildAgent\temp\.old...
[2009-03-19 16:37:29,493]   INFO - t.impl.directories.FileRemover - Deleting files from D:\TeamCity\buildAgent\work\.old...

0
Comment actions Permalink
Version Control Settings - attached


Attachment(s):
vcs.JPG
0
Comment actions Permalink

Hello,

  I'm afraid, your version of Perforce is a bit too old for TeamCity. TeamCity uses newer Perforce API and must support Perforce servers starting from 2006.1.

  Sorry for that
  KIR

0

Please sign in to leave a comment.