2017-04-20 67 views
0

與TFS 2015年lauched構建步驟「運行功能測試」與此錯誤消息結束:TFS 2015年建設 - 運行功能測試 - 無法獲得durationInMs場

DistributedTests: Test run is aborted. Logging details of the run logs. 
DistributedTests: Une nouvelle série de tests a été créée. 
Série de tests mise en file d\'attente pour Project Collection Build Service (TEAM FOUNDATION). 
DistributedTests: Test discovery started. 
DistributedTests: Test Run Discovery Completed . Test run id : 14886 
DistributedTests: 2 test cases discovered. 
DistributedTests: Test execution started. Test run id : 14886 
DistributedTests: UnExpected error occured during test execution. Try again. 
DistributedTests: Error : Une ou plusieurs erreurs se sont produites.--->Failed to obtain durationInMs field. 
DistributedTests: Test run aborted. Test run id: 14886 

任何想法解決它?

+0

請將system.debug變量設置爲true以再次構建,如果有更詳細的錯誤日誌?還可以在測試中心頁面下找到測試運行並查找是否有一些錯誤消息?順便說一句,你可以發佈英文日誌 –

+0

system.debug = true沒有更多的細節,也沒有在測試頁面上。 – Persnow

回答

0
  1. 有上vsts-tasks github一個已知的問題,請檢查你是不是有以下幾點:

系統應該拋出「無法獲得durationInMs」的錯誤,如果TFS /生成代理是更新1 ,但是測試代理高於更新1即更新2.原因是我們在測試代理2015更新2和TFS 2015更新2中的durationInMs周圍進行了更改,因此測試代理2015更新2和更高版本不是向後兼容的與更低版本的TFS。

  • 另外兩個從鏈接的問題和從here似乎原因可以是,該系統是法語。