TFS(vNext)+噶+鍍鉻:鉻在60000毫秒都沒有捕獲,殺死
我處所試圖建立通過TFS 2015年(vNext)我們團隊的UI版本。 我在vNext中使用Grunt構建步驟調用gruntjs文件,該文件將構建所有grunt任務。
目前,構建失敗,因爲任務無法啓動chrome,並且超時「Chrome在60000毫秒內未捕獲,正在查殺」。 我發現它能夠爲一些咕嚕任務啓動chrome,但對某些任務卻失敗。當我運行grunt命令,直接從構建服務器上的cmdline或powershell控制檯調用gruntjs文件時,它可以很好地工作,但它無法通過vNext構建。
我從「52.0.2743.116 m」回滾了鍍鉻版本到「51.0.2704.103 m」並試過但仍然沒有成功。
我經歷了討論同一問題的鏈接。但我不確定這是否是一個鉻問題,因爲它適用於一些咕嚕的任務。
自上週以來,我一直堅持這一點,在放棄的邊緣,任何幫助都將非常棒。
感謝
錯誤
[32m31 08 2016 11:27:53.800:INFO [karma]: [39mKarma v0.13.22 server started at http://localhost:8888/
[32m31 08 2016 11:27:53.815:INFO [launcher]: [39mStarting browser Chrome
[33m31 08 2016 11:28:49.663:WARN [launcher]: [39mChrome have not captured in 60000 ms, killing.
[32m31 08 2016 11:28:49.757:INFO [launcher]: [39mTrying to start Chrome again (1/2).
[33m31 08 2016 11:28:53.834:WARN [launcher]: [39mChrome have not captured in 60000 ms, killing.
[32m31 08 2016 11:28:53.912:INFO [launcher]: [39mTrying to start Chrome again (1/2).
[33m31 08 2016 11:29:49.779:WARN [launcher]: [39mChrome have not captured in 60000 ms, killing.
[32m31 08 2016 11:29:49.842:INFO [launcher]: [39mTrying to start Chrome again (2/2).
[33m31 08 2016 11:29:53.931:WARN [launcher]: [39mChrome have not captured in 60000 ms, killing.
[32m31 08 2016 11:29:53.993:INFO [launcher]: [39mTrying to start Chrome again (2/2).
[33m31 08 2016 11:30:49.852:WARN [launcher]: [39mChrome have not captured in 60000 ms, killing.
[31m31 08 2016 11:30:49.930:ERROR [launcher]: [39mChrome failed 2 times (timeout). Giving up.
[33mWarning: Task "karma:ci" failed. Use --force to continue.[39m
[31mAborted due to warnings.[39m
[33mWarning: Use --force to continue.[39m
[31mAborted due to warnings.[39m
Grunt failed with error: C:\Users\user1\AppData\Roaming\npm\grunt.cmd failed with return code: 6
您是否使用了最新版本的TFS 2015年的UPDATE3?分享您的構建定義和任務設置的屏幕截圖,瞭解如何重現您的問題。 –
您是否將您的構建代理配置爲以交互模式運行? –
@ Cece-MSFT - 我已將屏幕截圖添加到原始問題中。在UI構建之前,我正在使用npm install獲取包... – CKS