加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

angularjs – 从teamcity运行业力. Chrome Testrunner无法启动

发布时间:2020-12-17 09:42:07 所属栏目:安全 来源:网络整理
导读:我们在我们的构建服务器上与teamcity记者安装了业力.它是通过Chrome,Firefox和IE运行单元测试,一切都很好.昨天我注意到Chrome没有报告. IE和Firefox仍然连接并运行所有单元测试,但由于某种原因,业力无法打开与Chrome的连接,因此在60秒后超时,构建步骤失败.
我们在我们的构建服务器上与teamcity记者安装了业力.它是通过Chrome,Firefox和IE运行单元测试,一切都很好.昨天我注意到Chrome没有报告. IE和Firefox仍然连接并运行所有单元测试,但由于某种原因,业力无法打开与Chrome的连接,因此在60秒后超时,构建步骤失败.

真奇怪的是,我可以登录到构建服务器,并从命令行运行它没有任何问题.测试运行(它们非常快).

业务开始 – 客户teamcity – 单一运行–log级别错误–browsers = IE,Firefox,Chrome

这是来自teamcity的构建日志.有没有人知道发生了什么?正如你可以看到firefox,即报告不错,但Chrome每次都在其脸上.我感谢您能提供的任何帮助.

[16:16:39][Step 2/5]  [36mDEBUG [config]:  [39mLoading config C:TCBuildConf1-OpSuiteDev2-codebaseWebsiteOpSuite.MobileWebClientunit_testskarma.conf.js
[16:16:39][Step 2/5]  [36mDEBUG [config]:  [39mautoWatch set to false,because of singleRun
[16:16:39][Step 2/5]  [36mDEBUG [plugin]:  [39mLoading karma-* from C:Usersadministrator.OPSUITEAppDataRoamingnpmnode_modules
[16:16:39][Step 2/5]  [36mDEBUG [plugin]:  [39mLoading plugin C:Usersadministrator.OPSUITEAppDataRoamingnpmnode_modules/karma-chrome-launcher.
[16:16:39][Step 2/5]  [36mDEBUG [plugin]:  [39mLoading plugin C:Usersadministrator.OPSUITEAppDataRoamingnpmnode_modules/karma-firefox-launcher.
[16:16:39][Step 2/5]  [36mDEBUG [plugin]:  [39mLoading plugin C:Usersadministrator.OPSUITEAppDataRoamingnpmnode_modules/karma-ie-launcher.
[16:16:39][Step 2/5]  [36mDEBUG [plugin]:  [39mLoading plugin C:Usersadministrator.OPSUITEAppDataRoamingnpmnode_modules/karma-jasmine.
[16:16:39][Step 2/5]  [36mDEBUG [plugin]:  [39mLoading plugin C:Usersadministrator.OPSUITEAppDataRoamingnpmnode_modules/karma-teamcity-reporter.
[16:16:39][Step 2/5]  [32mINFO [karma]:  [39mKarma v0.12.16 server started at http://localhost:7357/
[16:16:39][Step 2/5]  [32mINFO [launcher]:  [39mStarting browser IE
[16:16:39][Step 2/5]  [36mDEBUG [temp-dir]:  [39mCreating temp dir at C:TeamCitybuildAgenttempbuildTmpkarma-43795558
[16:16:39][Step 2/5]  [36mDEBUG [launcher]:  [39mC:Program FilesInternet Exploreriexplore.exe -extoff http://localhost:7357/?id=43795558
[16:16:39][Step 2/5]  [32mINFO [launcher]:  [39mStarting browser Firefox
[16:16:39][Step 2/5]  [36mDEBUG [temp-dir]:  [39mCreating temp dir at C:TeamCitybuildAgenttempbuildTmpkarma-44455821
[16:16:39][Step 2/5]  [36mDEBUG [launcher]:  [39mC:Program Files (x86)Mozilla Firefoxfirefox.exe http://localhost:7357/?id=44455821 -profile C:TeamCitybuildAgenttempbuildTmpkarma-44455821 -no-remote
[16:16:39][Step 2/5]  [32mINFO [launcher]:  [39mStarting browser Chrome
[16:16:39][Step 2/5]  [36mDEBUG [temp-dir]:  [39mCreating temp dir at C:TeamCitybuildAgenttempbuildTmpkarma-28976911
[16:16:39][Step 2/5]  [36mDEBUG [launcher]:  [39mC:Program Files (x86)GoogleChromeApplicationchrome.exe --user-data-dir=C:TeamCitybuildAgenttempbuildTmpkarma-28976911 --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate http://localhost:7357/?id=28976911
[16:16:39][Step 2/5]  [36mDEBUG [watcher]:  [39mResolved files:
[16:16:42][Step 2/5]  [36mDEBUG [karma]:  [39mA browser has connected on socket WNLvjHxwETp4In9uP7A6
[16:16:42][Step 2/5]  [32mINFO [IE 11.0.0 (Windows 7)]:  [39mConnected on socket WNLvjHxwETp4In9uP7A6 with id 43795558
[16:16:42][Step 2/5]  [36mDEBUG [launcher]:  [39mIE (id 43795558) captured in 2.943 secs
[16:16:42][Step 2/5]  [36mDEBUG [launcher]:  [39mKilled extra IE process 652
[16:16:42][Step 2/5]  [36mDEBUG [launcher]:  [39mProcess IE exited with code 0
[16:16:42][Step 2/5]  [36mDEBUG [temp-dir]:  [39mCleaning temp dir C:TeamCitybuildAgenttempbuildTmpkarma-43795558
[16:16:59][Step 2/5]  [36mDEBUG [karma]:  [39mA browser has connected on socket 4O99QMVW24pEsJBGP7A7
[16:16:59][Step 2/5]  [32mINFO [Firefox 32.0.0 (Windows 7)]:  [39mConnected on socket 4O99QMVW24pEsJBGP7A7 with id 44455821
[16:16:59][Step 2/5]  [36mDEBUG [launcher]:  [39mFirefox (id 44455821) captured in 20.586 secs
[16:17:00][Step 2/5]  [36mDEBUG [launcher]:  [39mProcess Firefox exited with code 0
[16:17:00][Step 2/5]  [36mDEBUG [temp-dir]:  [39mCleaning temp dir C:TeamCitybuildAgenttempbuildTmpkarma-44455821
[16:17:39][Step 2/5]  [33mWARN [launcher]:  [39mChrome have not captured in 60000 ms,killing.
[16:17:39][Step 2/5]  [36mDEBUG [launcher]:  [39mProcess Chrome exited with code 0
[16:17:39][Step 2/5]  [36mDEBUG [temp-dir]:  [39mCleaning temp dir C:TeamCitybuildAgenttempbuildTmpkarma-28976911
[16:17:39][Step 2/5]  [32mINFO [launcher]:  [39mTrying to start Chrome again (1/2).
[16:17:39][Step 2/5]  [36mDEBUG [launcher]:  [39mRestarting Chrome
[16:17:39][Step 2/5]  [36mDEBUG [temp-dir]:  [39mCreating temp dir at C:TeamCitybuildAgenttempbuildTmpkarma-28976911
[16:17:39][Step 2/5]  [36mDEBUG [launcher]:  [39mC:Program Files (x86)GoogleChromeApplicationchrome.exe --user-data-dir=C:TeamCitybuildAgenttempbuildTmpkarma-28976911 --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate http://localhost:7357/?id=28976911
[16:18:39][Step 2/5]  [33mWARN [launcher]:  [39mChrome have not captured in 60000 ms,killing.
[16:18:39][Step 2/5]  [36mDEBUG [launcher]:  [39mProcess Chrome exited with code 0
[16:18:39][Step 2/5]  [36mDEBUG [temp-dir]:  [39mCleaning temp dir C:TeamCitybuildAgenttempbuildTmpkarma-28976911
[16:18:40][Step 2/5]  [32mINFO [launcher]:  [39mTrying to start Chrome again (2/2).
[16:18:40][Step 2/5]  [36mDEBUG [launcher]:  [39mRestarting Chrome
[16:18:40][Step 2/5]  [36mDEBUG [temp-dir]:  [39mCreating temp dir at C:TeamCitybuildAgenttempbuildTmpkarma-28976911
[16:18:40][Step 2/5]  [36mDEBUG [launcher]:  [39mC:Program Files (x86)GoogleChromeApplicationchrome.exe --user-data-dir=C:TeamCitybuildAgenttempbuildTmpkarma-28976911 --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate http://localhost:7357/?id=28976911
[16:19:40][Step 2/5]  [33mWARN [launcher]:  [39mChrome have not captured in 60000 ms,killing.
[16:19:40][Step 2/5]  [36mDEBUG [launcher]:  [39mProcess Chrome exited with code 0
[16:19:40][Step 2/5]  [36mDEBUG [temp-dir]:  [39mCleaning temp dir C:TeamCitybuildAgenttempbuildTmpkarma-28976911
[16:19:40][Step 2/5] Process exited with code 1
这是Chrome最新版本的chrome bug.
问题似乎是从服务启动chrome.
铬团队解决了这个问题,并将在2014年11月20日左右的下一个版本中加入

issue tracker

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读