problem about teamcity-Collection of common programming errors


  • Will Hartung
    api teamcity
    Currently when our software is out of date, the following call is made to queue a deploy in TeamCity./httpAuth/action.html?add2Queue={0}&system.name=TargetMachine&system.value={1}Argument 0 being the buildTypeId and argument 1 being the hostname of the targetMachine.We are trying to setup a way to give the client feedback on the status of their build in TeamCity. Our idea was to create a website that would popup on a clients computer to show the status of their deployment in TeamCity, b

  • romaintaz
    internet-explorer testing teamcity watin
    We are using Team City and I noticed problem during running Watin test. Sometimes some instance of IE randomly just don’t stop in task manager on build server, even if test closes all opened instances. This causes failure of all tests that follows. We tried with script that kills all instances of ie before this test starts runing, but that can’t prevent random unstopped instances of ie that crashes all tests.

  • Al G
    windows-server-2003 teamcity build-agent
    Environment: TeamCity 6.5.1 on Win2k3, BuildAgent(s) on Win2k3, Visual Studio 2k10, .NET v4, Nant 0.91I’m completing the setup of TeamCity and am trying to lock down the BuildAgent account on the build machine(s) per our security guidelines. The build is crashing the first time “devenv.exe /build” is called via the Nant script:Faulting application devenv.exe, version 10.0.30319.1, stamp 4ba1fab3,faulting module msenv.dll, version 10.0.30319.1, stamp 4ba1fd94,debug? 0, fault address 0x0000c36b.I

  • Joseph
    linux amazon-ec2 tomcat teamcity
    I’m standing up a TeamCity server that’s running it’s own embedded Tomcat instance on Amazon EC2.I have successfully gotten the instance to respond on port 8111 or 8080, but when I try to change the port to 80 I can’t get it to respond on that port.I have my security group set up to allow port 80, and verified that that’s not the problem.I’m not running anything else on my linux instance, just the TeamCity distro, so I don’t have an apache server or anything running.What seems odd to me is that

  • Lasse V. Karlsen
    .net continuous-integration teamcity
    I have a nant build file set up which works fine from the cmd line but not in TeamCity.I’ve checked that the comand I execute is run from the same directory TC is working in and checked all the references but it still fails with the following error:[build] Compile the project using Debug configuration… [10:30:05]: [build] msbuild (1m:18s) [10:30:06]: [msbuild] Starting MSBuild… [10:30:07]: [msbuild] Starting ‘C:\WINDOWS\Microsoft.NET\Framework\v3.5\msbuild.exe (@”G:\TeamCity\buildAgent\work\

  • theHaggis
    c# wpf teamcity caliburn.micro fxcop
    Having troubles with FXCOP on our buildagent ONLY and only through the command line tool ONLY.I am using the Caliburn.Mirco framework and added a custom trigger so i can use the delete button. this class implements the ICommand interfacethe error is : “The following error was encountered while reading module ‘MyProject.UI’: Could not resolve type reference: [System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]System.Windows.Input.ICommand”the full error log<?xml version

  • skaffman
    visual-studio teamcity
    Our buildserver (TeamCity, much recommended), runs our a whole bunch of testsuites on our finished c++ program.Once in a whole, a test causes our program to crash, often bringing up a VisualStudio dialog offering me to JustInTime debug the crash. The dialog stops the buildserver from progressing. Instead of the build marked as failed, it just hangs. I’ve turned off the Just In Time debugging feature in VisualStudio, but when it’s turned off, you still get a message “Couldn’t JustinTime Debug t

  • Stanislav
    .net unit-testing nunit teamcity nunit-2.5.9
    We just switched our test station from Windows XP to Windows 7 and unexpected problem appeared. We run tests using NUnit 2.5.9 and at some point during running on Windows XP we were getting warnings from TeamCity:[16:05:27][Step 2/16] 2013-09-20 16:05:28,181 [watchDog] WARN JetBrains.Container.Log4netDefaultLoggerInitializer – Unhandled exception in current domain: System.AppDomainUnloadedException: Attempted to access an unloaded AppDomain., , (null) [16:05:27][Step 2/16] 2013-09-20 16:05:28,18

  • Chase Florell
    powershell teamcity exit-code
    I’ve got a powershell script as follows##teamcity[progressMessage ‘Beginning build’] # If the build computer is not running the appropriate version of .NET, then the build will not run. Throw an error immediately. if( (ls “$env:windir\Microsoft.NET\Framework\v4.0*”) -eq $null ) {throw “This project requires .NET 4.0 to compile. Unfortunatly .NET 4.0 doesn’t appear to be installed on this machine.”##teamcity[buildStatus status=’FAILURE’ ] }##teamcity[progressMessage ‘Setting up variables’] # Set

  • Stanislav
    .net unit-testing nunit teamcity
    I am trying to find workaround that I am facing with TeamCity/NUnit testing. JetBrains.TeamCity.PlatformProcessRunner.v4.0.x86.exe crashes during NUnit startup. It throws 4-5 times Unhandled exception in current domain: System.AppDomainUnloadedException: Attempted to access an unloaded AppDomainand then start working, in its configuration file I found:<runtime><!– Don’t kill application on first uncaught exception. –><legacyUnhandledExceptionPolicy enabled=”1″ /></runtime

  • sockmonk
    ruby-on-rails continuous-integration teamcity
    I’m testing my rails app using rspec-rails and, especially for models, shoulda-matchers. The tests all run fine when I run them locally, but when I deploy to our Team City server, every test that uses shoulda-matchers fails because it can’t find a method that should be provided by shoulda-matchers. For instance, one spec starts with:require ‘spec_helper’ describe Availability doit { should belong_to(:user) } endThis spec fails with the error:NoMethodError: undefined method `belong_to’ for #<R

  • steve
    teamcity karma-runner
    I am able to run tests via Karma in TeamCity since you can run anything that’s accessible via command line. But, TeamCity only reports overall pass/fail — does not report details of any failed tests. If it fails, I just get “Process exited with code 1”.The karma homepage says there is a teamcity integration, but the teamcity link says “Not available yet”.There seems to be a GIT project with npm install package. But, the npm install failed with messages that don’t mean much to me.> npm htt

  • Per Erik Gransøe
    android ant teamcity code-coverage emma
    I’m working on a project consisting of both .NET code and android java projects. We’re trying to get both types of projects working in one TeamCity environment.The .NET projects are being tested through some NUnit projects, and we use DotCover to produce coverage reports and all seems swell. Now, the android/java projects are being built using ant runners, and we’ve got some build-scripts both for the production and for the test projects, and the problem is, it seems, the creation of the java c

  • redstapler
    selenium teamcity selenium-webdriver cucumber-jvm
    My team is looking into using Selenium 2 for our UI testing. Our UI development is being done by an external vendor (a topic for another time) and using the RemoteDriver(server/client) would be require more maintenance than productivity on our end.My test project is a simple maven project where I try to launch a new IE(v8 – 64bit)/Firefox/and Chrome browser and see if it will successfully navigate to some arbitrary url. It runs locally on my machine and on remotely on TeamCity build-agent user

  • javaG
    teamcity gradle artifactory teamcity-7.0
    I’m new to artifactory and teamcity. I tried using the gradle-artifactory plugin. but It is throwing me the following error.. can anybody pls tell what this error is about and help me with some solution.Error is Caused by: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object ‘org.jfrog.gradle.plugin.artifactory.dsl.ArtifactoryPluginConvention@9bb457’ with class ‘org.jfrog.gradle.plugin.artifactory.dsl.ArtifactoryPluginConvention’ to class ‘org.jfrog.gradle.plugin.arti

  • biozinc
    teamcity
    I’m using Teamcity 5 for our CI environment. It’s a great tool, but I’ve been struggling with one thing: the stdout_yyyyMMdd.log file in the \TeamCity\logs folder grows to ridiculous sizes. Is there a way to turn it off?Places I’ve looked so far:Jetbrains: Nothing on stdout; Google for “tomcat stdout logs”: the first few links don’t really address the issue.Edit:At KIR’s suggestion, I actually looked to see what’s in stdout. It’s the same exception message repeated over and over again:[2010-12-0

  • mezoid
    nant teamcity try-catch build-script
    Our team recently upgraded to TeamCity 4.5.4 but we’re having trouble with TeamCity running our nant build scripts.We now get an error message saying: Invalid element <trycatch>. Unknown task or datatype.We haven’t changed our build script during or after the upgrade so I’m wondering what, if any, change do we need to make to get this working again.The part of the script that is causing problems is as follows:<trycatch><try> <ncover><snip>this does ncover stuff</

  • Randy Klingelheber
    mercurial build teamcity
    I recently needed to strip some changesets from my Mercurial repository. I then tried to run a build from TeamCity but got the following error message:[09:44:25]: Updating sources: agent side checkout… (16s)[09:44:42]: [Updating sources: agent side checkout…] Failed to perform checkout on agent: ‘cmd /c hg update -C -r 507b8c8f4cdb’ command failed. stderr: abort: unknown revision ‘507b8c8f4cdb’! The error makes sense since the changeset no longer exists in the repo, but I don’t know how to r

  • George Mauer
    teamcity
    I am VERY new with teamcity so please bear with meI set up an email notifier to let me know when a build has failed, but TeamCity is reporting the following error:Failed to send email notification viaSMTP server mail, due to error:Unknown SMTP host: mail; nestedexception is:java.net.UnknownHostException: mailFor the life of me, I cannot find where to configure the mail server settings. I don’t even want it to use an SMTP server, but I don’t see any options for this anywhere.

  • user460025
    git teamcity
    I am trying to access my git repo hosted under IIS with Windows Authentication enabled. When i specify the username like domain\username the connection fails. From the stack trace it looks like the error is due to the way the network username is given. How else can we give the windows auth user which has domain in them.This works fine from the console when i do a git clone ( https:/domain\[email protected]/xyz/)Error detailsTest connection failed in Git Repo:: Git Repo. List remote refs failed

  • moutonc
    c# sql asp.net-mvc-3 teamcity
    My problem is that I have to somehow grab the username of the last person who built a select build. With this information I would then place the username into a database. Is this possible? Below is my Json call method.public JsonResult AllStatuses() //from the json called in the _client view{var buildStatuses = new List<BuildStatus>();var projects = Client.AllProjects();var user = Client.AllUsers();foreach (var project in projects){ try {var buildConfigs = Client.BuildConf

  • Paulo Santos
    svn teamcity labeling
    I’ve read all the TeamCity, SVN and labeling questions in S.O. but none seams to apply to my specific problem.Here we have the following structure on the SVN:svn://server/root/projectA/trunk/tags/projectB/trunk/tagsOn the TeamCity I’ve configured a SVN root for the project A like this:svn://server/root/ProjectA/trunkAnd the build process works like a charm.However now I want to add labeling, but even setting the labeling rules as specified in the documentation or any other setting I know of, as

  • PlTaylor
    git github teamcity git-submodules
    I have a git project that has a submodule. This submodule is used in two repositories that are both being built on a Teamcity server. Teamcity is able to build the first project but the the second project has the following error (details have been qouted out to protect the guilty)Error collecting changes for VCS repository ‘TirePlotter’Collecting changes failed: org.eclipse.jgit.errors.CorruptObjectException: Object ‘git hash here’ is corrupt: ‘git fetch’ command failed.stderr: ‘project submod

  • sam
    svn msbuild teamcity checkout
    Getting the following error while trying to do checkoutBuild errors #[11:27:20]Failed to start build [11:27:20]Failed to collect changes, error: Error collecting changes for VCS repository ‘ibtis’ org.tmatesoft.svn.core.SVNException: svn: E175002: Externals problem: processExternalsChanges, externals URL: http://server1/svn/ibtis/trunk/UserControls, version: -1, path:UserControls, original error: svn: E175002: unknown host svn: E175002: OPTIONS request failed on ‘/svn/ibtis/trunk/UserControls’ s