Problem generating coverage

When we try and build with code coverage enabled, we get the following exception in teamcity-agent.log:

[2013-07-23 22:05:51,038]  DEBUG -    jetbrains.buildServer.AGENT - Failed to generate coverage report: java.io.IOException: Error loading source names map from file '/Applications/buildAgent/temp/buildTmp/idea1548097309778607298coverage/coverage.ism' java.io.IOException: Error loading source names map from file '/Applications/buildAgent/temp/buildTmp/idea1548097309778607298coverage/coverage.ism'      at jetbrains.buildServer.coverage.idea.IDEACoverageArtifactsProvider.loadSourceNameMap(IDEACoverageArtifactsProvider.java:192)      at jetbrains.buildServer.coverage.idea.IDEACoverageArtifactsProvider.loadCoverageData(IDEACoverageArtifactsProvider.java:165)      at jetbrains.buildServer.coverage.idea.IDEACoverageArtifactsProvider.beforeBuildFinish(IDEACoverageArtifactsProvider.java:110)      at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)      at java.lang.reflect.Method.invoke(Method.java:606)      at jetbrains.buildServer.util.EventDispatcher.dispatch(EventDispatcher.java:115)      at jetbrains.buildServer.util.EventDispatcher$2.invoke(EventDispatcher.java:67)      at com.sun.proxy.$Proxy9.beforeBuildFinish(Unknown Source)      at jetbrains.buildServer.agent.impl.buildStages.finishStages.FireBeforeBuildFinishFStage.doFinishStage(FireBeforeBuildFinishFStage.java:32)      at jetbrains.buildServer.agent.impl.buildStages.BuildFinishStagesExecutor.runFinishStage(BuildFinishStagesExecutor.java:28)      at jetbrains.buildServer.agent.impl.buildStages.BuildFinishStagesExecutor.doBuildFinishStages(BuildFinishStagesExecutor.java:20)      at jetbrains.buildServer.agent.impl.BuildRunAction.runBuild(BuildRunAction.java:58)      at jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:247)      at jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:48)      at jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:220)      at java.lang.Thread.run(Thread.java:724) Caused by: java.io.EOFException      at java.io.DataInputStream.readByte(DataInputStream.java:267)      at com.intellij.rt.coverage.util.CoverageIOUtil.readUTFFast(CoverageIOUtil.java:84)      at jetbrains.buildServer.coverage.idea.IDEACoverageArtifactsProvider.loadSourceNameMap(IDEACoverageArtifactsProvider.java:184)      ... 16 more



We are running version 8.0.1
1 comment
Comment actions Permalink

We are also seeing this for some (but not all) build configurations under TC 8.0.2, build agents running on Linux.  I verified that it's not a disk space issue (the build running out of room to write the file).  It's consistently the same build configs that exhibit the problem.

0

Please sign in to leave a comment.