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