FuckTheWorld / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

No buffer space available #1000

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After upgrading to chromedriver v2.12 from 2.10 I started getting this error 
about about half an hour into the test run. I went back and tried chromedriver 
2.11 and this error was present in that version as well.

I'm using vaadin testbench for the which is built on webdriver 2.40.

org.openqa.selenium.remote.UnreachableBrowserException: Error communicating 
with the remote browser. It may have died.
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: '6KM19W1-L', ip: '172.24.32.64', os.name: 'Windows 7', 
os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_55'
Driver info: driver.version: RemoteWebDriver
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:567) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:482) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at com.vaadin.testbench.commands.TestBenchCommandExecutor.waitForVaadin(TestBenchCommandExecutor.java:137) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at com.vaadin.testbench.CachedInvocationHandler.waitForVaadinIfNecessary(CachedInvocationHandler.java:88) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at com.vaadin.testbench.CachedInvocationHandler.invoke(CachedInvocationHandler.java:50) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at com.sun.proxy.$Proxy16.findElement(Unknown Source) ~[?:?]
    at com.fireapps.pages.AbstractPage.navigateTo(AbstractPage.java:105) [bin/:?]
    at com.fireapps.pages.ProcessingHistory.navigateTo(ProcessingHistory.java:25) [bin/:?]
    at com.fireapps.tests.importerror.ImportError.runImport(ImportError.java:99) [bin/:?]
    at com.fireapps.tests.importerror.ImportError.runImport(ImportError.java:76) [bin/:?]
    at com.fireapps.tests.importerror.ImportErrorTestV2.test_v2_hedgeappend(ImportErrorTestV2.java:72) [bin/:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_55]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_55]
    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) [testng.jar:6.8.7beta-201309140723]
    at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) [testng.jar:6.8.7beta-201309140723]
    at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) [testng.jar:6.8.7beta-201309140723]
    at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) [testng.jar:6.8.7beta-201309140723]
    at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) [testng.jar:6.8.7beta-201309140723]
    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) [testng.jar:6.8.7beta-201309140723]
    at org.testng.TestRunner.privateRun(TestRunner.java:767) [testng.jar:6.8.7beta-201309140723]
    at org.testng.TestRunner.run(TestRunner.java:617) [testng.jar:6.8.7beta-201309140723]
    at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) [testng.jar:6.8.7beta-201309140723]
    at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) [testng.jar:6.8.7beta-201309140723]
    at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) [testng.jar:6.8.7beta-201309140723]
    at org.testng.SuiteRunner.run(SuiteRunner.java:240) [testng.jar:6.8.7beta-201309140723]
    at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) [testng.jar:6.8.7beta-201309140723]
    at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) [testng.jar:6.8.7beta-201309140723]
    at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) [testng.jar:6.8.7beta-201309140723]
    at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) [testng.jar:6.8.7beta-201309140723]
    at org.testng.TestNG.run(TestNG.java:1057) [testng.jar:6.8.7beta-201309140723]
    at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111) [testng.jar:6.8.7beta-201309140723]
    at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204) [testng.jar:6.8.7beta-201309140723]
    at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175) [testng.jar:6.8.7beta-201309140723]
Caused by: org.openqa.selenium.WebDriverException: java.net.SocketException: No 
buffer space available (maximum connections reached?): connect
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: '6KM19W1-L', ip: '172.24.32.64', os.name: 'Windows 7', 
os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_55'
Driver info: driver.version: RemoteWebDriver
    at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:75) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:546) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    ... 34 more
Caused by: java.net.SocketException: No buffer space available (maximum 
connections reached?): connect
    at java.net.DualStackPlainSocketImpl.connect0(Native Method) ~[?:1.7.0_55]
    at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) ~[?:1.7.0_55]
    at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) ~[?:1.7.0_55]
    at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) ~[?:1.7.0_55]
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source) ~[?:1.7.0_55]
    at java.net.PlainSocketImpl.connect(Unknown Source) ~[?:1.7.0_55]
    at java.net.SocksSocketImpl.connect(Unknown Source) ~[?:1.7.0_55]
    at java.net.Socket.connect(Unknown Source) ~[?:1.7.0_55]
    at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:178) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:144) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:131) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:610) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at org.openqa.selenium.remote.HttpCommandExecutor.fallBackExecute(HttpCommandExecutor.java:319) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:298) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:66) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:546) ~[vaadin-testbench-standalone-3.1.3.jar:?]
    ... 34 more

Original issue reported on code.google.com by mitchel...@gmail.com on 10 Dec 2014 at 8:29

GoogleCodeExporter commented 9 years ago
Do you have ready to run codes that can reproduce problem?  - prefer small 
program.

Original comment by andrewch...@chromium.org on 10 Dec 2014 at 10:39

GoogleCodeExporter commented 9 years ago
No, unfortunately the buffer space is exceeded sometime between ~30-60min into 
execution the test suite. It does not seem to be associated with any specific 
action. I have a chromedriver log of the test run, though there does not seem 
to be anything immediately obvious within.

Original comment by mitchel...@gmail.com on 10 Dec 2014 at 11:48

GoogleCodeExporter commented 9 years ago
In the latest version (2.13) the following additional message is logged to the 
console.

Dec 22, 2014 10:24:24 AM org.openqa.selenium.os.UnixProcess$SeleniumWatchDog 
destroyHarder
INFO: Command failed to close cleanly. Destroying forcefully (v2). 
org.openqa.selenium.os.UnixProcess$SeleniumWatchDog@20cb0003

Original comment by mitchel...@gmail.com on 22 Dec 2014 at 6:31

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:18

GoogleCodeExporter commented 9 years ago
Can you please try with latest version of chromedriver 2.14 ?

Original comment by gmanikp...@chromium.org on 8 Apr 2015 at 7:17

GoogleCodeExporter commented 9 years ago
Here is the verbose output from chromedriver and the stacktrace from java for 
v2.15:

[1115.393][INFO]: Waiting for pending navigations...
[1115.393][INFO]: Done waiting for pending navigations
[1115.393][INFO]: RESPONSE ExecuteScript false
[1115.397][INFO]: COMMAND ExecuteScript {
   "args": [  ],
   "script": "if (window.vaadin == null) {  return true;}var clients = window.va
adin.clients;if (clients) {  for (var client in clients) {    if (clients[client
].isActive()) {      return false;    }  }  return ..."
}
[1115.397][INFO]: Waiting for pending navigations...
[1115.397][INFO]: Done waiting for pending navigations
[1115.398][DEBUG]: DEVTOOLS COMMAND Runtime.evaluate (id=85697) {
   "expression": "(function() { // Copyright (c) 2012 The Chromium Authors. All
rights reserved.\n// Use of this source code is governed by a BSD-style license
that can be\n// found in the LICENSE file.\n\n/**\n * Enum f...",
   "returnByValue": true
}
[1115.399][DEBUG]: DEVTOOLS RESPONSE Runtime.evaluate (id=85697) {
   "result": {
      "type": "object",
      "value": {
         "status": 0,
         "value": false
      }
   },
   "wasThrown": false
}
[1115.399][INFO]: Waiting for pending navigations...
[1115.399][INFO]: Done waiting for pending navigations
[1115.399][INFO]: RESPONSE ExecuteScript false
[1115.403][INFO]: COMMAND ExecuteScript {
   "args": [  ],
   "script": "if (window.vaadin == null) {  return true;}var clients = window.va
adin.clients;if (clients) {  for (var client in clients) {    if (clients[client
].isActive()) {      return false;    }  }  return ..."
}
[1115.403][INFO]: Waiting for pending navigations...
[1115.403][INFO]: Done waiting for pending navigations
[1115.403][DEBUG]: DEVTOOLS COMMAND Runtime.evaluate (id=85698) {
   "expression": "(function() { // Copyright (c) 2012 The Chromium Authors. All
rights reserved.\n// Use of this source code is governed by a BSD-style license
that can be\n// found in the LICENSE file.\n\n/**\n * Enum f...",
   "returnByValue": true
}
[1115.405][DEBUG]: DEVTOOLS RESPONSE Runtime.evaluate (id=85698) {
   "result": {
      "type": "object",
      "value": {
         "status": 0,
         "value": false
      }
   },
   "wasThrown": false
}
[1115.405][INFO]: Waiting for pending navigations...
[1115.405][INFO]: Done waiting for pending navigations
[1115.405][INFO]: RESPONSE ExecuteScript false
[1115.410][INFO]: COMMAND ExecuteScript {
   "args": [  ],
   "script": "if (window.vaadin == null) {  return true;}var clients = window.va
adin.clients;if (clients) {  for (var client in clients) {    if (clients[client
].isActive()) {      return false;    }  }  return ..."
}
[1115.411][INFO]: Waiting for pending navigations...
[1115.411][INFO]: Done waiting for pending navigations
[1115.411][DEBUG]: DEVTOOLS COMMAND Runtime.evaluate (id=85699) {
   "expression": "(function() { // Copyright (c) 2012 The Chromium Authors. All
rights reserved.\n// Use of this source code is governed by a BSD-style license
that can be\n// found in the LICENSE file.\n\n/**\n * Enum f...",
   "returnByValue": true
}
[1115.413][DEBUG]: DEVTOOLS RESPONSE Runtime.evaluate (id=85699) {
   "result": {
      "type": "object",
      "value": {
         "status": 0,
         "value": false
      }
   },
   "wasThrown": false
}
[1115.413][INFO]: Waiting for pending navigations...
[1115.413][INFO]: Done waiting for pending navigations
[1115.413][INFO]: RESPONSE ExecuteScript false
[1115.416][INFO]: COMMAND ExecuteScript {
   "args": [  ],
   "script": "if (window.vaadin == null) {  return true;}var clients = window.va
adin.clients;if (clients) {  for (var client in clients) {    if (clients[client
].isActive()) {      return false;    }  }  return ..."
}
[1115.416][INFO]: Waiting for pending navigations...
[1115.416][INFO]: Done waiting for pending navigations
[1115.417][DEBUG]: DEVTOOLS COMMAND Runtime.evaluate (id=85700) {
   "expression": "(function() { // Copyright (c) 2012 The Chromium Authors. All
rights reserved.\n// Use of this source code is governed by a BSD-style license
that can be\n// found in the LICENSE file.\n\n/**\n * Enum f...",
   "returnByValue": true
}
[1115.418][DEBUG]: DEVTOOLS RESPONSE Runtime.evaluate (id=85700) {
   "result": {
      "type": "object",
      "value": {
         "status": 0,
         "value": false
      }
   },
   "wasThrown": false
}
[1115.419][INFO]: Waiting for pending navigations...
[1115.419][INFO]: Done waiting for pending navigations
[1115.419][INFO]: RESPONSE ExecuteScript false

org.openqa.selenium.remote.UnreachableBrowserException: Error communicating 
with the remote browser. It may have died.
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'FYTZKV1-LT', ip: '172.24.32.97', os.name: 'Windows 7', 
os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_25'
Driver info: driver.version: RemoteWebDriver
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:593)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:614)
    at org.openqa.selenium.remote.RemoteWebDriver.quit(RemoteWebDriver.java:468)
    at com.vaadin.testbench.TestBenchDriverProxy.quit(TestBenchDriverProxy.java:317)
    at com.vaadin.testbench.TestBenchDriverProxy_$$_jvstff1_0._d54quit(TestBenchDriverProxy_$$_jvstff1_0.java)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at com.vaadin.testbench.DriverInvocationHandler.invoke(DriverInvocationHandler.java:62)
    at com.vaadin.testbench.TestBenchDriverProxy_$$_jvstff1_0.quit(TestBenchDriverProxy_$$_jvstff1_0.java)
    at com.fireapps.testng.listener.FireappsSuiteListener.onFinish(FireappsSuiteListener.java:24)
    at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:200)
    at org.testng.SuiteRunner.run(SuiteRunner.java:243)
    at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
    at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
    at org.testng.TestNG.run(TestNG.java:1057)
    at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
    at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
    at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
Caused by: java.net.SocketException: No buffer space available (maximum 
connections reached?): connect
    at java.net.DualStackPlainSocketImpl.connect0(Native Method)
    at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:83)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:589)
    at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:72)
    at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:123)
    at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:318)
    at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    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.HttpCommandExecutor.fallBackExecute(HttpCommandExecutor.java:215)
    at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:184)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:572)
    ... 21 more

Original comment by mitchel...@gmail.com on 23 Apr 2015 at 5:20

GoogleCodeExporter commented 9 years ago
Hi, mitchellfx@

does this issue occur with simple selenium and ChromeDriver testcase without 
vaadin testbench ? 
I have run simple test with driver.get(); driver.findElement();
sendKeys(); driver.click(); .... etc for 30+ minutes in RemoteWebDriver, with 
latest ChromeDriver(2.15), Selenium(2.45) and did not see this issue.

if possible, can you please attach complete ChromeDriver Logfile ?
what is test environment configuration you are using ?

Original comment by agau...@chromium.org on 28 Apr 2015 at 12:54

GoogleCodeExporter commented 9 years ago
mitchellfx@

can you please rely to comment#7.

Original comment by agau...@chromium.org on 27 May 2015 at 8:33

GoogleCodeExporter commented 9 years ago

Hi,

I'm having the same issue with ChromeDriver(2.15) and just updated to 
Selenium(2.45) to have all up to date.
I'm using Windows 7 and I get the following exception which is what is 
discussed here, but I'm not using Vaadin.

Attached please find the chromedriver log. It does not show anything suspicious 
I think.
I just looped a simple command 10.000 times until the error occours. It seems 
to happen with any command that is sent
to the chrome driver.

It all works with chromedriver 2.10 which is what we came from. Both versions 
open thousands of sockets which
seem to stay open according to netstat. With 2.10 it calms down at about 16xxx 
sockets without giving an error.
2.15 starts with failures when 16xxx sockets are open.

Test and browser are running on my local machine.

If you need any more info, please let me know. Although going back to 2.10 now 
I have the changes
on a branch and can help digging into it.

Hope this helps.

Best regards
Jan

---

org.openqa.selenium.remote.UnreachableBrowserException: Error communicating 
with the remote browser. It may have died.
Build info: version: '2.45.0', revision: 
'5017cb8e7ca8e37638dc3091b2440b90a1d8686f', time: '2015-02-27 09:10:26'
System info: host: 'lynx-janzimme', ip: '192.168.100.126', os.name: 'Windows 
7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_67'
Driver info: driver.version: BaseSeleniumDriver
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:593)
    at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:268)
    at org.openqa.selenium.remote.RemoteWebElement.getAttribute(RemoteWebElement.java:122)
    at de.xcom.webcore.test.tools.selenium.ComboboxController.isSelected(ComboboxController.java:44)
    at de.xcom.webcore.test.tools.selenium.BaseSeleniumDriver.selectValue(BaseSeleniumDriver.java:262)
    at de.xcom.webcore.test.tools.selenium.SeleniumTest.select(SeleniumTest.java:179)
    at de.xcom.banking.webclient.test.selenium.controller.LocalPaymentFormController.selectTextKey(LocalPaymentFormController.java:63)
    at de.xcom.banking.webclient.test.selenium.tests.payment.national.SingleRemittanceTextKey51Test.testSingleRemittanceTextKey51(SingleRemittanceTextKey51Test.java:112)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    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 de.xcom.banking.test.JUnit4ClassRunnerWithListeners.run(JUnit4ClassRunnerWithListeners.java:94)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
    at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:74)
    at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:211)
    at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:67)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
Caused by: org.openqa.selenium.WebDriverException: java.net.SocketException: No 
buffer space available (maximum connections reached?): connect
Build info: version: '2.45.0', revision: 
'5017cb8e7ca8e37638dc3091b2440b90a1d8686f', time: '2015-02-27 09:10:26'
System info: host: 'lynx-janzimme', ip: '192.168.100.126', os.name: 'Windows 
7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_67'
Driver info: driver.version: BaseSeleniumDriver
    at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:75)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:572)
    ... 36 more
Caused by: java.net.SocketException: No buffer space available (maximum 
connections reached?): connect
    at java.net.DualStackPlainSocketImpl.connect0(Native Method)
    at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:83)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:579)
    at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:72)
    at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:118)
    at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314)
    at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:357)
    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:218)
    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:126)
    at org.openqa.selenium.remote.internal.ApacheHttpClient.execute(ApacheHttpClient.java:72)
    at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:133)
    at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:66)
    ... 37 more

Original comment by jan.cosmigo on 28 May 2015 at 12:28

Attachments: