Team Foundation Server构建失败“信号量超时期限已过期”

时间:2010-07-29 09:54:18

标签: tfs tfs2008 tfsbuild team-build

我在TFS 2008中设置了几个构建任务。间歇性地(并且当前不断)构建失败并显示消息:

TF209011:无法创建放置位置\ server \ share \ BuildName_20100729.6:信号量超时期限已过期。

TFS和丢弃位置服务器都是虚拟机,不确定这是否可能是问题的一部分。我可以毫无问题地从构建服务器连续ping服务器,我可以使用Windows资源管理器手动创建目录,没有任何问题。

我们的基础设施人员声称没有网络问题,但我已经准备好相信有。

有时构建工作的事实似乎表明这不是TFSSERVICE帐户或类似内容的权限问题。

BuildLog.txt尾部的完整错误是:

Build FAILED.


"C:\Users\TFSSERVICE\AppData\Local\Temp\projdir\teambuildtypedir\BuildType  \TFSBuild.proj" (EndToEndIteration target) (1) ->

(InitializeEndToEndIteration target) -> 

C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(407,5,407,5): error : TF209011: Could not create drop location \\server\share\BuildName_20100729.6: The semaphore timeout period has expired.

C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(407,5,407,5): error : .

C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(407,5): error MSB4018: The "UpdateBuildNumberDropLocation" task failed unexpectedly.

C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(407,5): error MSB4018: System.IO.IOException: TF209011: Could not create drop location \\server\share\BuildName_20100729.6: The semaphore timeout period has expired.

C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(407,5): error MSB4018: . ---> System.IO.IOException: The semaphore timeout period has expired.

C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(407,5): error MSB4018: 

C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(407,5): error MSB4018:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(407,5): error MSB4018:    at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)

C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(407,5): error MSB4018:    at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)

C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(407,5): error MSB4018:    at Microsoft.TeamFoundation.Build.Common.BuildCommonUtil.CreateAndPermissionDropDirectory(String dropDirectory, TeamFoundationServer tfs)

C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(407,5): error MSB4018:    --- End of inner exception stack trace ---

C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(407,5): error MSB4018:    at Microsoft.TeamFoundation.Build.Common.BuildCommonUtil.CreateAndPermissionDropDirectory(String dropDirectory, TeamFoundationServer tfs)

C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(407,5): error MSB4018:    at Microsoft.TeamFoundation.Build.UpdateBuildNumberDropLocation.ExecuteInternal()

C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(407,5): error MSB4018:    at Microsoft.TeamFoundation.Build.Tasks.Task.Execute()

C:\Program Files\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets(407,5): error MSB4018:    at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult)

0 Warning(s)

2 Error(s)

Time Elapsed 00:00:19.49

1 个答案:

答案 0 :(得分:0)

这个问题在几个月内就消失了。

我无法证明任何事情,但我认为这与我们在VMWare安装时遇到的设置问题有关,导致机器意外地从网络中掉落。我们通过升级Dell Bladecenter中每个刀片上的固件来解决此问题。

不是软件问题,无论如何......