paypal/SeLion

Error: Forwarding the new session Empty pool of VM for setup Capabilities

Closed this issue · 1 comments

SeLion Version:
2.0.0-SNAPSHOT

Selenium Server:
3.141.59

Expected Behavior:
All tests and modules have to run successfully.

Actual Behavior

Error forwarding the new session Empty pool of VM for setup Capabilities {acceptSslCerts: true, browserName: chrome, goog:chromeOptions: {args: [--test-type, --ignore-certificate-errors], extensions: []}, javascriptEnabled: true, name: com.paypal.selion.platform...., version: }

Steps to Reproduce
1.Run the SeLion Grid as a selenium hub -
java -jar selenium-server-standalone-.jar -role hub

  1. To buid the package -
    mvn install -DSELION_SELENIUM_HOST=127.0.0.1

Issue:
[ERROR] testLocateElementNegativeCondition1(com.paypal.selion.platform.html.support.HtmlElementUtilsTest) Time elapsed: 0.001 s <<< FAILURE!
org.openqa.selenium.WebDriverException:
Error forwarding the new session Empty pool of VM for setup Capabilities {acceptSslCerts: true, browserName: chrome, goog:chromeOptions: {args: [--test-type, --ignore-certificate-errors], extensions: []}, javascriptEnabled: true, name: com.paypal.selion.platform...., version: }
Command duration or timeout: 848 milliseconds
Build info: version: '3.7.1', revision: '8a0099a', time: '2017-11-06T21:01:39.354Z'
System info: host: 'x_server_embedded', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.0.0-23-generic', java.version: '1.8.0_242'
Driver info: driver.version: RemoteWebDriver
at com.paypal.selion.platform.html.support.HtmlElementUtilsTest.testLocateElementNegativeCondition1(HtmlElementUtilsTest.java:90)
Caused by: org.openqa.grid.common.exception.GridException: Error forwarding the new session Empty pool of VM for setup Capabilities {acceptSslCerts: true, browserName: chrome, goog:chromeOptions: {args: [--test-type, --ignore-certificate-errors], extensions: []}, javascriptEnabled: true, name: com.paypal.selion.platform...., version: }

Can you suggest any resolution for the above issue?

Initially, I was running a complete package and was facing a few issues. Now, I made a try for building/testing only the archetype and it got resolved after building all these dependencies(project-bom, codegen-maven, SeLion-appium-provider, SeLion-iosdriver-provider, SeLion-selendroid-provider) locally.