TFS 인프라에서 일부 빌드 컨트롤러 및 에이전트를 설정하려고합니다. 우리의 TFS 서버는 빌드 컨트롤러로 설정되어 있으며 몇 가지 빌드 에이전트도 설정되어 있습니다.빌드가 TFS2012에서 시작되지 않습니다.
시스템에 새 빌드를 대기열에 추가하면 모두 정상적으로 처리됩니다. 오류 메시지가 나타나지 않고 빌드가 시스템의 대기열에 나타납니다. 그러나 그 모든 것이 이제까지 발생합니다. Visual Studio에서 빌드 페이지로 이동하면 "0 초 동안 실행 중"이라고 표시됩니다. 관리자는 TFS 서버의 관리 콘솔을보고 "준비 상태"라고 표시하지만 그 이상은 없습니다. 모든 에이전트는 마찬가지로 '준비'로 나열됩니다.
이 문제를 진단하는 데 사용할 수있는 로그가 없습니다. Logging Verbosity를 'Diagnostic'으로 설정했지만 Diagnostics 드롭 다운의 옵션은 회색으로 표시됩니다. 활동도 완전히 비어 있습니다.
빌드 컨트롤러에서 데이터베이스를 보면 dbo.tbl_BuildController 테이블에 빌드가 나열됩니다. 이상한 점은 시작 시간이 NULL
이라는 것입니다. VS에서 빌드를 중지하면 시작 시간과 종료 시간이 데이터베이스에서 동일한 것으로 설정됩니다.
그래서 빌드가 빌드 컨트롤러에 등록 중이며 통신 문제가 없다는 것을 알고 있습니다. 빌드가 결코 시작되지 않으며 오류가 발생하지 않습니다. 이 문제를 어떻게 해결할 수 있습니까? (또는 적어도 내가 쫓아 갈 수있는 오류를 얻는다).
편집 :이 문제는 TFS 서버와 관련된 것으로 보입니다. 다음은 이벤트 로그에서 밝혀낸 내용입니다.
WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/10411892
Exception: System.ServiceModel.ServiceActivationException: The service '/tfs/queue/GPA/Services/v4.0/MessageQueueService2.svc' cannot be activated due to an exception during compilation. The exception message is: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.
Parameter name: item. ---> System.ArgumentException: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.
Parameter name: item
at System.ServiceModel.UriSchemeKeyedCollection.InsertItem(Int32 index, Uri item)
at System.Collections.Generic.SynchronizedCollection1.Add(T item)
at System.ServiceModel.UriSchemeKeyedCollection..ctor(Uri[] addresses)
at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses)
at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
--- End of inner exception stack trace ---
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)
Process Name: w3wp
Process ID: 3756
당신을 버전 4.1으로 재설정 다른 포트 번호
여기를 참고하십시오 : http : //stackoverflow.com/questions/15378001/tfs2012-build-service-offline/15378482#15378482 – gregpakes
여러 바인딩을 허용하기보다는 이전에 추가 된 잘못된 바인딩을 제거했습니다. 이 문제는 해결 된 것으로 보입니다. 고마워요! – Andrew