PerfMon tab not showing up on builds

Hi, I have added the Performance Monitor feature to my projects, but the result tab "PerfMon" never shows up, when I go to the page for the finished build. I do seem to have a problem registered in the logs, that could be related:

[13:19:28]Publishing artifacts
[13:19:28][Publishing artifacts] Collecting files to publish: [D:\TeamCityBuilds\temp\agentTmp\build_stages.txt=>.teamcity/perfmon/]
[13:19:28][Publishing artifacts] Publishing using [WebPublisher]
[13:19:28][Publishing artifacts] Publishing using [ArtifactsCachePublisher]
[13:19:28][Publishing artifacts] Artifacts path 'D:/TeamCityBuilds/temp/agentTmp/build_stages.txt' not found
[13:19:28]Publishing artifacts
[13:19:28][Publishing artifacts] Collecting files to publish: [D:\TeamCityBuilds\temp\buildTmp\nuget2454732967200598943packages\nuget.xml => .teamcity/nuget]
[13:19:28][Publishing artifacts] Publishing using [WebPublisher]
[13:19:28][Publishing artifacts] Publishing using [ArtifactsCachePublisher]

[13:19:28][Publishing artifacts] Artifacts path 'D:/TeamCityBuilds/temp/buildTmp/nuget2454732967200598943packages/nuget.xml' not found


The first error specifically mentions a perfmon directory. Weird thing is, I can navigate to the folders on the build server and both mentioned files are there. So the error message seems to be wrong.

The build_stages.txt file have these contents:

1428664762142:sourcesUpdated
1428664762629:runnerFinished:NuGet Installer
1428664768013:runnerFinished:Visual Studio (sln)


Maybe I am missing something in the "Artifact paths" setting? The documentation for Performance Monitor doesn't mention anything about that though...
Oh and this is a Visual Studio solution in case it matters.
4 comments
Comment actions Permalink

Hi Soren,

What TeamCity version do you use? What OS is used on the agent?
Besides the build_stages.txt file the perfmon.csv file containing CPU/memory usage data should be published as artifact. Please attach teamcity-agent.log file.

>Maybe I am missing something in the "Artifact paths" setting? The documentation for Performance Monitor doesn't mention anything about that though...
No additional configurations are needed.

>Artifacts path 'D:/TeamCityBuilds/temp/agentTmp/build_stages.txt' not foun
These warnings should be fixed in scope of this issue https://youtrack.jetbrains.com/issue/TW-37898.

0
Comment actions Permalink

Hi Alina,

We use TeamCity Professional 9.0.3 build 32334.
The agent is running on the TC server. The OS is Windows Server 2012 R2.
I will attach the agent log. It was getting quite big, so I started a fresh one and built one of the projects that I have PerfMon configured for.

The linked issue is closed, but the problem doesn't appear to be fixed, so I wrote that in a comment on the issue :-)

Best Regards
Søren



Attachment(s):
teamcity-agent.log.zip
0
Comment actions Permalink

Soren,

There is a warning in the agent log:
[2015-04-14 18:06:12,976]   WARN -    jetbrains.buildServer.AGENT - Failed to start Performance monitor, error: Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

Is PerfMon tab not showing for all builds running on diffeerent agents?
Do you have several parallel builds on one PC? Could you please check is this issue https://youtrack.jetbrains.com/issue/TW-40214 related to your case?
If not, then please create new issue in our tracker.

0
Comment actions Permalink

Arh, missed that warning, thanks.

We only have 1 agent right now and the Perf Monitor does not show for any of the 6 builds we have configured so far.
No parallel builds yet, we are still in the setup phase for the projects, so I'm pretty sure it is unrelated to TW-40214.

I will create a new issue. The mention of Windows Scripting Host immediately makes me think of permissions. Perhaps Windows Server has default security settings that prevent Scripting Host from executing whatever script PerfMon requires.

0

Please sign in to leave a comment.