Do Personal Builds affect Artifact Dependencies of a normal build?


Hi,

Suppose that I have build configs setup like this:

Compilation
     Functional Tests A
     Functional Tests B

The Functional Test configs have both artifact and snapshot dependencies on the Compilation config.

The artifact dependency is set to use: Last Finished Build

The snapshot dependency is set to use: Do not run new build if there is a suitable one & Only use successful builds from suitable ones


For the most part, everything works fine.  However, I get "[Resolving artifact dependencies] Failed to download 1 of 1 artifact dependencies" errors sometimes...

And when that error happens I have to manually run the Compilation config and then I can run the Functional Test configs manually and they work.

If I don't force the Compilation config to run, I can sit there all day forcing the Functional Tests to run and they keep getting that artifact error.


What seems to be the cause of this is when a Personal Build is running at the same time a normal build is running.

I don't know if the Functional Tests are trying to pull artifacts from the Personal Build or what "Last Finished Build" means to a Personal Build (or normal build in that scenario)

I am pretty sure that the problem only occurs when Personal Builds are in the mix; I can't nail down the exact timing that causes the error though.


What am I doing wrong?


Thanks,
Mark.

6 comments
Comment actions Permalink

Sorry for delay.

What version of TeamCity do you use?

0
Comment actions Permalink

HI,

I am on Version 4.5.1 (build 8975)

This problem has been happening to me ever since the first 4.0 TC release.

Thanks,
Mark.

0
Comment actions Permalink

Could you please submit a bug to our tracker (http://jetbrains.net/tracker) with build log attached?

0
Comment actions Permalink

Hi Pavel,

Are they are any logs from TeamCity itself that would be helpful to attach to my Issuse (aside from the normal Build Log)?

Like a setting to get more verbose debug logs from TC that aren't part of that the normal stuff ?

If not, I will just give you what I have.

Thanks,
Mark.

0
Comment actions Permalink

It would be fine if you can enable debug logging on server (see http://www.jetbrains.net/confluence/display/TCD4/Reporting+Issues), reproduce this bug and attach server logs, agent logs where build ran and build log. If you can't do this right now, please attach build log only.

0
Comment actions Permalink

Hi,

Here is a link to the Issues that I created for this problem:


http://jetbrains.net/tracker/issue2/TW-8256


Thanks,
Mark

0

Please sign in to leave a comment.