Java Chrome Selenium CItesting随机挂起3个小时

Java Chrome Selenium CItesting随机挂起3个小时,第1张

概述Java Chrome Selenium CItesting随机挂起3个小时 @H_403_0@我们的CI Java-Chrome-Seleniumtesting在套接字超时之前随机挂起3个小时。 我们得到的错误是:

@H_403_0@2015-08-31 10:18:47 INFO Util:343 - Chrome driver path :/mnt/jenkins/.jenkins/jobs/automation_Tests_disCERN_REVEAL/workspace/HfUiRegressionTests/lib/Chromedriverlinux Starting ChromeDriver 2.16.333243 (0bfa1d3575fc1044244f21ddb82bf870944ef961) on port 19727 Only local connections are allowed. Aug 31,2015 1:18:50 PM org.openqa.selenium.os.UnixProcess$SeleniumWatchDog destroyHarder INFO: Command Failed to close cleanly. Destroying forcefully (v2). org.openqa.selenium.os.UnixProcess$SeleniumWatchDog@aaf5002 Aug 31,2015 1:18:51 PM org.openqa.selenium.os.UnixProcess destroy SEVERE: Unable to kill process with PID 7268 2015-08-31 13:18:51 ERROR Util:355 - Error in creating browser org.openqa.selenium.remote.UnreachablebrowserException: Could not start a new session. Possible causes are invalID address of the Remote Server or browser start-up failure. Build info: version: '2.46.0',revision: '61506a4624b13675f24581e453592342b7485d71',time: '2015-06-04 10:22:50' System info: host: 'ip-10-234-60-163',ip: '10.234.60.163',os.name: 'linux',os.arch: 'amd64',os.version: '3.2.0-67-virtual',java.version: '1.6.0_26' Driver info: driver.version: ChromeDriver at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:242) at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:128) at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:141) at org.openqa.selenium.Chrome.ChromeDriver.<init>(ChromeDriver.java:170) at org.openqa.selenium.Chrome.ChromeDriver.<init>(ChromeDriver.java:159) at org.openqa.selenium.Chrome.ChromeDriver.<init>(ChromeDriver.java:148) at com.healthfIDelity.automation.util.Util.getDriver(Util.java:346) at com.healthfIDelity.automation.core.ApplicationFactory.getApplication(ApplicationFactory.java:49) at com.healthfIDelity.automation.commonstepdeFinition.reveal.RevealCommonSteps.navigatetoREVEAL(RevealCommonSteps.java:38) at sun.reflect.GeneratedMethodAccessor42.invoke(UnkNown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at @R_403_4126@.reflect.Method.invoke(Method.java:597) at cucumber.runtime.Utils$1.call(Utils.java:37) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.Utils.invoke(Utils.java:31) at cucumber.runtime.java.JavaStepDeFinition.execute(JavaStepDeFinition.java:38) at cucumber.runtime.StepDeFinitionMatch.runStep(StepDeFinitionMatch.java:37) at cucumber.runtime.Runtime.runStep(Runtime.java:299) at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) at cucumber.runtime.model.CucumberScenario.runBackground(CucumberScenario.java:59) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:42) at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91) at org.junit.runners.Suite.runchild(Suite.java:127) at org.junit.runners.Suite.runchild(Suite.java:26) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runchildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.runtime.junit.ExamplesRunner.run(ExamplesRunner.java:59) at org.junit.runners.Suite.runchild(Suite.java:127) at org.junit.runners.Suite.runchild(Suite.java:26) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runchildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.runtime.junit.ScenarioOutlineRunner.run(ScenarioOutlineRunner.java:53) at cucumber.runtime.junit.FeatureRunner.runchild(FeatureRunner.java:63) at cucumber.runtime.junit.FeatureRunner.runchild(FeatureRunner.java:18) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runchildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70) at cucumber.API.junit.Cucumber.runchild(Cucumber.java:93) at cucumber.API.junit.Cucumber.runchild(Cucumber.java:37) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runchildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.API.junit.Cucumber.run(Cucumber.java:98) at org.apache.maven.surefire.junit4.JUnit4ProvIDer.execute(JUnit4ProvIDer.java:283) at org.apache.maven.surefire.junit4.JUnit4ProvIDer.executeWithRerun(JUnit4ProvIDer.java:173) at org.apache.maven.surefire.junit4.JUnit4ProvIDer.executeTestSet(JUnit4ProvIDer.java:153) at org.apache.maven.surefire.junit4.JUnit4ProvIDer.invoke(JUnit4ProvIDer.java:128) at org.apache.maven.surefire.booter.ForkedBooter.invokeProvIDerInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: org.openqa.selenium.WebDriverException: java.net.socketTimeoutException: Read timed out Build info: version: '2.46.0',java.version: '1.6.0_26' Driver info: driver.version: ChromeDriver at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:76) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:578) ... 66 more Caused by: java.net.socketTimeoutException: Read timed out at java.net.socketinputStream.socketRead0(Native Method) at java.net.socketinputStream.read(SocketinputStream.java:129) at org.apache.http.impl.io.SessioninputBufferImpl.streamRead(SessioninputBufferImpl.java:136) at org.apache.http.impl.io.SessioninputBufferImpl.fillBuffer(SessioninputBufferImpl.java:152) at org.apache.http.impl.io.SessioninputBufferImpl.readline(SessioninputBufferImpl.java:270) at org.apache.http.impl.conn.DefaulthttpResponseParser.parsehead(DefaulthttpResponseParser.java:140) at org.apache.http.impl.conn.DefaulthttpResponseParser.parsehead(DefaulthttpResponseParser.java:57) at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260) at org.apache.http.impl.DefaultBhttpClIEntConnection.receiveResponseheader(DefaultBhttpClIEntConnection.java:161) at sun.reflect.GeneratedMethodAccessor16.invoke(UnkNown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at @R_403_4126@.reflect.Method.invoke(Method.java:597) at org.apache.http.impl.conn.CPoolProxy.invoke(CPoolProxy.java:138) at $Proxy15.receiveResponseheader(UnkNown Source) at org.apache.http.protocol.httpRequestExecutor.doReceiveResponse(httpRequestExecutor.java:271) at org.apache.http.protocol.httpRequestExecutor.execute(httpRequestExecutor.java:123) at org.apache.http.impl.execchain.MainClIEntExec.execute(MainClIEntExec.java:253) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:194) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:85) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108) at org.apache.http.impl.clIEnt.InternalhttpClIEnt.doExecute(InternalhttpClIEnt.java:186) at org.apache.http.impl.clIEnt.CloseablehttpClIEnt.execute(CloseablehttpClIEnt.java:72) at org.apache.http.impl.clIEnt.CloseablehttpClIEnt.execute(CloseablehttpClIEnt.java:57) at org.openqa.selenium.remote.internal.ApachehttpClIEnt.fallBackExecute(ApachehttpClIEnt.java:143) at org.openqa.selenium.remote.internal.ApachehttpClIEnt.execute(ApachehttpClIEnt.java:89) at org.openqa.selenium.remote.httpCommandExecutor.execute(httpCommandExecutor.java:134) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:67) ... 67 more

@H_403_0@底层套接字/端口的低级deBUGging消息是:

@H_403_0@[1:1:0826/201038:ERROR:image_Metadata_extractor.cc(111)] Couldn't load libexif. [32030:32030:0826/201038:INFO:audio_manager_pulse.cc(258)] Failed to connect to the context. Error: Connection refused [32065:32065:0826/201038:ERROR:sandBox_linux.cc(345)] InitializeSandBox() called with multiple threads in process gpu-process [32030:32030:0826/201038:WARNING:password_store_factory.cc(346)] Using basic (unencrypted) store for password storage. See http://code.Google.com/p/chromium/wiki/linuxPasswordStorage for more information about password storage options. [7:7:0826/201053:INFO:child_thread_impl.cc(666)] ChildThreadImpl::EnsureConnected()

@H_403_0@当以非分叉模式运行CItesting时,我们用尽了PermGen空间:

@H_403_0@Caught an exception while logging the end of the build. Exception was: @R_403_4126@.OutOfMemoryError: PermGen space @R_403_4126@.OutOfMemoryError: PermGen space PermGen space

@H_403_0@我们目前正在运行JVM:

@H_403_0@如何从Bamboo脚本发送竹子variables到docker集装箱?

@H_403_0@寻找针对特定场景的持续集成解决scheme

@H_403_0@如何使用ssh与Travis CI进行自定义部署?

@H_403_0@Jenkins在windows – Matlab不退出

@H_403_0@停止MSVC ++deBUGging错误阻止当前进程?

@H_403_0@-XX:MaxPermSize=6144 -Xmx12288m

@H_403_0@如何设置jenkinsHA?

@H_403_0@安装Jenkins之后,不能su用户jenkins

@H_403_0@我如何发布一个Subversion版本库到本地IIS?

@H_403_0@jenkins不能启动seleniumtesting(超时等待configuration文件被创build)

@H_403_0@在windows XP上设置Hudson从站

@H_403_0@你可以尝试码头硒,这个想法是码头运行一个容器,开始你的测试,然后摧毁容器,所以全部清理

@H_403_0@https://github.com/elgalu/docker-selenium#usage

总结

以上是内存溢出为你收集整理的Java Chrome Selenium CItesting随机挂起3个小时全部内容,希望文章能够帮你解决Java Chrome Selenium CItesting随机挂起3个小时所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/1155007.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-01
下一篇 2022-06-01

发表评论

登录后才能评论

评论列表(0条)

保存