使用Visual Studio團隊服務在線與內部構建代理。運行作業時的構建代理將隨機凍結,作業仍處於活動狀態,但控制檯沒有更新,沒有事件日誌中的錯誤等。如果打開代理的_diag文件夾,然後看它會重複以下內容它決定繼續工作。VSTS構建作業不時凍結
17:02:19.850546 LogFileTimer_Callback - enter (20)
17:02:19.850546 LogFileTimer_Callback - processing job 7b9229d0-524e-4138-b6b3-33f630d109c6
17:02:19.850546 LogFileTimer_Callback - found 0 records for job 7b9229d0-524e-4138-b6b3-33f630d109c6
17:02:19.850546 LogFileTimer_Callback - leave
17:02:20.100159 StatusTimer_Callback - enter (27)
17:02:20.100159 StatusTimer_Callback - processing job 7b9229d0-524e-4138-b6b3-33f630d109c6
17:02:20.100159 StatusTimer_Callback - leave
17:02:20.240566 ConsoleTimer_Callback - enter (17)
17:02:20.240566 ConsoleTimer_Callback - Inside Lock
17:02:20.240566 ConsoleTimer_Callback - processing job 7b9229d0-524e-4138-b6b3-33f630d109c6
17:02:20.240566 ConsoleTimer_Callback - leave
17:02:20.755392 ConsoleTimer_Callback - enter (22)
17:02:20.755392 ConsoleTimer_Callback - Inside Lock
17:02:20.755392 ConsoleTimer_Callback - processing job 7b9229d0-524e-4138-b6b3-33f630d109c6
17:02:20.755392 ConsoleTimer_Callback - leave
17:02:20.864598 StatusTimer_Callback - enter (18)
17:02:20.864598 StatusTimer_Callback - processing job 7b9229d0-524e-4138-b6b3-33f630d109c6
17:02:20.864598 StatusTimer_Callback - leave
我們試圖刪除文件夾的工作,卸載代理和重新安裝,它仍然只是似乎凍結隨意的工作。任何想法我可以看看爲什麼會發生這種情況?
當這種現象發生時,你的構建會失敗嗎?什麼樣的任務會有這種現象? –
如果我們等待它,構建會很好...有時甚至在發佈時也會發生。所以,通常需要3分鐘的構建作業...如果我們等待15天,它將完成 –