build triggering seems to not be working

I'm using teamcity 5.1.1 build 13398

After updating to this build, my configuration running with "VCS Trigger" do not trigger automatically after a checkin, I've removed the Trigger rules filtering folders in the VCS to be sure it wasn't related to them (they were working ok previously). Pending checkin counter is correctly updated after each checkin though

The settings looks like this:

Build trigger: VCS Trigger
[ ] Trigger on changes in snapshot dependencies
Quiet period mode: Do not use
Trigger rules: empty

Any idea if this is a problem related to this particular teamcity build? any idea how I should diagnose further or if I should try to upgrade (I don't like to do that too often)?

Thanks for your help!

15 comments

Hello Gauthier,

Please  try  to install TeamCity 5.1.2, it has some build trigger related fixes.

Kind regards,
Marina

0

Hello Marina,

I just updated the install with latest build: 5.1.2 (build 13430), but the automatic triggering is still not happening.

Is there any place I might look for further diagnostic or specific log messages?

Thanks for your help.

0

Hello Gauthier,

Can you please enable debug mode for the server (see how at http://confluence.jetbrains.net/display/TCD5/Reporting+Issues#ReportingIssues-LoggingEvents) and attach teamcity agent and server log files.

Thanks,
Marina

0

Hello Marina,

here are the logs with debug output.

a configuration where build triggering should have trigged is called " (emission type refactor) build visual studio solution with msbuild runner (unit tests only) " within " uplan 8 - simple build " project.

It currently shows Pending (1), and it has empty VCS Trigger rule as described in the first post.



Attachment(s):
buildagentlogs.7z.zip
serverlogs.7z.zip
0

Hello Gauthier,

Sorry for the delay in replying.
According to the logs there is an issue appears after triggering build configuration "ace :: ACE x86". Could you please attach project-config.xml of this project (you could find it  .BuildServer/config/<project name>/project-config.xml).

Thanks,
Marina

0

Hello Marina, thanks for getting back at me.

The problem is still here so anything I can do to investigate further is helpful, I've attached the build configuration that you asked for.



Attachment(s):
project-config.xml
0

Hello Gauthier,

We found that there was not enough logging provided. Can you please try a new TeamCity build with more logging added? You can get the build at ftp://ftp.intellij.net/pub/.teamcity/TeamCity-13466.war.
Please repeat the commit with debug logging enabled and send us all the logs.

Just in case, please backup your data before upgrading.

Thanks,
Marina

0

Hello Marina,

I just updated with new version (BTW first trial at war deployment, why don't we have nwar for .net!)

I've attached the logs, to clear up, I've not done any commit but the same project should trig because there are pending commits, two build settings should be triggered within "uplan 8 - simple build" project.

Thanks for investigating further my issue.



Attachment(s):
2.buildserverlogs.7z.zip
2.serverlogs.7z.zip
0

Gauthier,

Did you change anything under .BuildServer folder (edit files)?
According to the log looks like property file can not be loaded.

Thanks,
Marina

0

Hello Marina,

There is no change that I could remember of besides removing the comment for DEBUG log.

What is the exact file path or log message that you are referring to?

Thanks for your help

0

Gauthier,

It is still not clear why does it not work for you. How did you set the property?
It should be defined as system property on Properties and environment variables page in build configuration settings.

Thanks,
Marina.

0

I was mixing your question as related to properties file that I don't remember changing.

Now I look from teamcity web application, I don't remember changing any of these recently

at the build settings:

Configuration parameters:
build.vcs.number.*: 1
System properties:
ncover.v1.path: D:\dev\bin\ncover
Environment variables: none defined

And here is what is define for the build agent:

Properties defined in the agent configuration file or determined based on the OS environment

DotNetFramework2.0
DotNetFramework2.0_Path   C:\Windows\Microsoft.NET\Framework\v2.0.50727
DotNetFramework2.0_x86
DotNetFramework2.0_x86_Path   C:\Windows\Microsoft.NET\Framework\v2.0.50727
DotNetFramework3.0
DotNetFramework3.0_Path   C:\Windows\Microsoft.NET\Framework\v3.0
DotNetFramework3.0_x86
DotNetFramework3.0_x86_Path   C:\Windows\Microsoft.NET\Framework\v3.0
DotNetFramework3.5
DotNetFramework3.5_Path   C:\Windows\Microsoft.NET\Framework\v3.5
DotNetFramework3.5_x86
DotNetFramework3.5_x86_Path   C:\Windows\Microsoft.NET\Framework\v3.5
WindowsSDK6.0A
WindowsSDK6.0A_Path   C:\Program Files\Microsoft SDKs\Windows\v7.0
teamcity.agent.cpuBenchmark   388
teamcity.dotnet.coveragelauncher   D:\programs\teamcity\buildAgent\plugins\dotnetPlugin\bin\TeamCityRunners\JetBrains.dotTrace.TeamCity.CoverageRunner.exe
teamcity.dotnet.nunitaddin   D:\programs\teamcity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.TeamCity.NUnitAddin-NUnit
teamcity.dotnet.nunitlauncher   D:\programs\teamcity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NUnitLauncher.exe
teamcity.dotnet.nunitlauncher.msbuild.task   D:\programs\teamcity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.MSBuildLoggers.dll
teamcity.dotnet.nunitlauncher1.1   D:\programs\teamcity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NUnitLauncher1.1.exe
teamcity.dotnet.nunitlauncher2.0   D:\programs\teamcity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NUnitLauncher2.0.exe
teamcity.dotnet.nunitlauncher2.0.vsts   D:\programs\teamcity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NUnitLauncher2.0.VSTS.exe
teamcity.dotnet.platform   D:\programs\teamcity\buildAgent\plugins\dotnetPlugin\bin\JetBrains.TeamCity.PlatformProcessRunner.1.1.exe

Additional properties defined by JVM and agent runtime

agent.home.dir D:\programs\teamcity\buildAgent
agent.name Dev08Server
agent.work.dir D:\tmp\teamcitybuildagent\workdir
file.encoding Cp1252
file.separator \
os.arch x86
os.name Windows Server 2008
os.version 6.0
path.separator ;
teamcity.build.tempDir D:\tmp\teamcitybuildagent\tmp\buildTmp
user.country US
user.home C:\
user.language en
user.name SYSTEM
user.timezone America/Los_Angeles
user.variant


Is that what we are looking for?

Thanks
0

Gauthier,

Marina is on vacation right now so I will take over the issue.

To try a workaroundfor the issue, cn you pelase backup all the files under .BuildServer\system\pluginData\customDataStorage\buildTypes\bt3 and then delete the directory?

This will make the trigger information reset for the build configuration.
I would appreciate if you can send the backup of the files to us to investigate.

0

Hello Yegor, removing the files has trigged the builds that had pendings, I'll report back by editing this message.

Good news is that after deleting, the build is now triggering automatically as expected on subsequent commits

I've attached the files that you asked for.

Thanks



Attachment(s):
backup.teamcity.customDataStorage.7z.zip
0

Gauthier,

Thank you for the files. It seems that the entire customDataStorage\buildTypes directory might need to be cleaned as the files look corrupted. So far I cannot explain why they have losts of "\u0000\u0000"...

Please let us know if the issue reproduces after you clean the directory

0

Please sign in to leave a comment.