SirenOfShame
SirenOfShame copied to clipboard
TFS has builds that have long since completed as running
Apparently SoS thinks that we have builds that have been running for over a year now. The image shows what SoS thinks are (some of) our running builds. The first two builds were indeed running according to TFS, the other ones were not.
Sorry for the delay. Do you see anything suspicious in the logs (see screenshot here http://sirenofshame.blogspot.com/2012/01/how-to-report-errors.html)?
I think those logs were eaten when I was trying to figure out what was causing #38. I've turned of SoS until there's a fix for that issue. I might have some time this week to start it up again and see if I can reproduce the issue / attach a debugger / grab the logs etc.
Looking at the debugger trying for issue #38 I just spotted this. One of the builds is 10 months old. I got this information from a breakpoint at the end of MyBuildServer.GetBuildStatuses
{SirenOfShame.Lib.Watcher.BuildStatus}
BallIndex Green
BuildDefinitionId "321"
BuildId "216612"
BuildStatusDescription "Passing"
BuildStatusEnum Working
BuildStatusMessage null
Comment "Manual"
FinishedTime {6/03/2014 01:18:13}
LocalStartTime {23/09/2014 15:14:47}
Name "MyProj"
RequestedBy "Somebody"
StartedTime {6/03/2014 01:10:53}
It looks like there is a start and finish time but somehow the buildstatus is working?