čtvrtek 31. března 2011

TFS and UnitTests - QTagent32 crash & "data.coverage' because it is being used by another process"

I made a bug in my code which resulted in never-ending recursion which was produced only while UnitTesting.

When there is recursion in unit test than the QTAgent32 crashes down (this is described here).

But if you commit to TFS than and this commits launches the UnitTests than these will never finish (so if you do not check than you might just have builds running for couple days and new builds in the queue behind).

However when you cancel the build and run a new one, this one will fail, saying:

'data.coverage' because it is being used by another process.

So there is some process which has locked the "data.coverage".
To solve this issue log on the TFS and kill the process VSPerfMon.exe which runs under NT AUTHORITY\NETWORK SERVICE (that should be the account which is running your builds & unit tests on TFS).

Žádné komentáře:

Okomentovat