Skip to content

Instantly share code, notes, and snippets.

@paulhoadley
Created May 20, 2015 23:18
Show Gist options
  • Save paulhoadley/bc9ce73ac97c054bc8ce to your computer and use it in GitHub Desktop.
Save paulhoadley/bc9ce73ac97c054bc8ce to your computer and use it in GitHub Desktop.
Console output running 'mvn verify' on ERModernMoviesTest
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running er.modern.movies.test.MovieIT
May 21, 2015 8:38:49 AM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: executable: /Users/paulh/Applications/phantomjs-2.0.0/bin/phantomjs
May 21, 2015 8:38:49 AM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: port: 36063
May 21, 2015 8:38:49 AM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: arguments: [--webdriver=36063, --webdriver-logfile=/Users/paulh/Projects/WebObjects/Wonder/Tests/ERModernMoviesTest/phantomjsdriver.log]
May 21, 2015 8:38:49 AM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: environment: {}
May 21, 2015 8:39:09 AM org.openqa.selenium.os.UnixProcess checkForError
SEVERE: org.apache.commons.exec.ExecuteException: Process exited with an error: 137 (Exit value: 137)
May 21, 2015 8:39:09 AM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: executable: /Users/paulh/Applications/phantomjs-2.0.0/bin/phantomjs
May 21, 2015 8:39:09 AM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: port: 41329
May 21, 2015 8:39:09 AM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: arguments: [--webdriver=41329, --webdriver-logfile=/Users/paulh/Projects/WebObjects/Wonder/Tests/ERModernMoviesTest/phantomjsdriver.log]
May 21, 2015 8:39:09 AM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: environment: {}
May 21, 2015 8:39:29 AM org.openqa.selenium.os.UnixProcess checkForError
SEVERE: org.apache.commons.exec.ExecuteException: Process exited with an error: 137 (Exit value: 137)
May 21, 2015 8:39:29 AM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: executable: /Users/paulh/Applications/phantomjs-2.0.0/bin/phantomjs
May 21, 2015 8:39:29 AM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: port: 39852
May 21, 2015 8:39:29 AM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: arguments: [--webdriver=39852, --webdriver-logfile=/Users/paulh/Projects/WebObjects/Wonder/Tests/ERModernMoviesTest/phantomjsdriver.log]
May 21, 2015 8:39:29 AM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: environment: {}
May 21, 2015 8:39:49 AM org.openqa.selenium.os.UnixProcess checkForError
SEVERE: org.apache.commons.exec.ExecuteException: Process exited with an error: 137 (Exit value: 137)
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 60.673 sec <<< FAILURE!
searchByCompleteTitleTest(er.modern.movies.test.MovieIT) Time elapsed: 20.587 sec <<< ERROR!
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.45.0', revision: '5017cb8e7ca8e37638dc3091b2440b90a1d8686f', time: '2015-02-27 09:10:26'
System info: host: 'snuffy-2.local', ip: '192.168.0.36', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.3', java.version: '1.8.0_45'
Driver info: driver.version: PhantomJSDriver
selenide.url: http://127.0.0.1:9876/cgi-bin/WebObjects/ERModernMoviesTest.woa/
selenide.baseUrl: http://127.0.0.1:9876/cgi-bin/WebObjects/ERModernMoviesTest.woa
at java.util.concurrent.FutureTask.get(FutureTask.java:205)
at com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:130)
at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:79)
at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:168)
at org.openqa.selenium.phantomjs.PhantomJSCommandExecutor.execute(PhantomJSCommandExecutor.java:78)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:572)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:240)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:126)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:139)
at org.openqa.selenium.phantomjs.PhantomJSDriver.<init>(PhantomJSDriver.java:115)
at org.openqa.selenium.phantomjs.PhantomJSDriver.<init>(PhantomJSDriver.java:104)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at com.codeborne.selenide.impl.WebDriverThreadLocalContainer.createInstanceOf(WebDriverThreadLocalContainer.java:280)
at com.codeborne.selenide.impl.WebDriverThreadLocalContainer.createPhantomJsDriver(WebDriverThreadLocalContainer.java:227)
at com.codeborne.selenide.impl.WebDriverThreadLocalContainer.createDriver(WebDriverThreadLocalContainer.java:161)
at com.codeborne.selenide.impl.WebDriverThreadLocalContainer.getAndCheckWebDriver(WebDriverThreadLocalContainer.java:100)
at com.codeborne.selenide.WebDriverRunner.getAndCheckWebDriver(WebDriverRunner.java:113)
at com.codeborne.selenide.impl.Navigator.navigateToAbsoluteUrl(Navigator.java:39)
at com.codeborne.selenide.impl.Navigator.open(Navigator.java:20)
at com.codeborne.selenide.Selenide.open(Selenide.java:51)
at er.modern.movies.test.MovieIT.searchByCompleteTitleTest(MovieIT.java:23)
searchByPartialTitleTest(er.modern.movies.test.MovieIT) Time elapsed: 20.012 sec <<< ERROR!
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.45.0', revision: '5017cb8e7ca8e37638dc3091b2440b90a1d8686f', time: '2015-02-27 09:10:26'
System info: host: 'snuffy-2.local', ip: '192.168.0.36', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.3', java.version: '1.8.0_45'
Driver info: driver.version: PhantomJSDriver
selenide.url: http://127.0.0.1:9876/cgi-bin/WebObjects/ERModernMoviesTest.woa/
selenide.baseUrl: http://127.0.0.1:9876/cgi-bin/WebObjects/ERModernMoviesTest.woa
at java.util.concurrent.FutureTask.get(FutureTask.java:205)
at com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:130)
at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:79)
at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:168)
at org.openqa.selenium.phantomjs.PhantomJSCommandExecutor.execute(PhantomJSCommandExecutor.java:78)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:572)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:240)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:126)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:139)
at org.openqa.selenium.phantomjs.PhantomJSDriver.<init>(PhantomJSDriver.java:115)
at org.openqa.selenium.phantomjs.PhantomJSDriver.<init>(PhantomJSDriver.java:104)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at com.codeborne.selenide.impl.WebDriverThreadLocalContainer.createInstanceOf(WebDriverThreadLocalContainer.java:280)
at com.codeborne.selenide.impl.WebDriverThreadLocalContainer.createPhantomJsDriver(WebDriverThreadLocalContainer.java:227)
at com.codeborne.selenide.impl.WebDriverThreadLocalContainer.createDriver(WebDriverThreadLocalContainer.java:161)
at com.codeborne.selenide.impl.WebDriverThreadLocalContainer.getAndCheckWebDriver(WebDriverThreadLocalContainer.java:100)
at com.codeborne.selenide.WebDriverRunner.getAndCheckWebDriver(WebDriverRunner.java:113)
at com.codeborne.selenide.impl.Navigator.navigateToAbsoluteUrl(Navigator.java:39)
at com.codeborne.selenide.impl.Navigator.open(Navigator.java:20)
at com.codeborne.selenide.Selenide.open(Selenide.java:51)
at er.modern.movies.test.MovieIT.searchByPartialTitleTest(MovieIT.java:36)
renameTitleTest(er.modern.movies.test.MovieIT) Time elapsed: 20.014 sec <<< ERROR!
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.45.0', revision: '5017cb8e7ca8e37638dc3091b2440b90a1d8686f', time: '2015-02-27 09:10:26'
System info: host: 'snuffy-2.local', ip: '192.168.0.36', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.3', java.version: '1.8.0_45'
Driver info: driver.version: PhantomJSDriver
selenide.url: http://127.0.0.1:9876/cgi-bin/WebObjects/ERModernMoviesTest.woa/
selenide.baseUrl: http://127.0.0.1:9876/cgi-bin/WebObjects/ERModernMoviesTest.woa
at java.util.concurrent.FutureTask.get(FutureTask.java:205)
at com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:130)
at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:79)
at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:168)
at org.openqa.selenium.phantomjs.PhantomJSCommandExecutor.execute(PhantomJSCommandExecutor.java:78)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:572)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:240)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:126)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:139)
at org.openqa.selenium.phantomjs.PhantomJSDriver.<init>(PhantomJSDriver.java:115)
at org.openqa.selenium.phantomjs.PhantomJSDriver.<init>(PhantomJSDriver.java:104)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at com.codeborne.selenide.impl.WebDriverThreadLocalContainer.createInstanceOf(WebDriverThreadLocalContainer.java:280)
at com.codeborne.selenide.impl.WebDriverThreadLocalContainer.createPhantomJsDriver(WebDriverThreadLocalContainer.java:227)
at com.codeborne.selenide.impl.WebDriverThreadLocalContainer.createDriver(WebDriverThreadLocalContainer.java:161)
at com.codeborne.selenide.impl.WebDriverThreadLocalContainer.getAndCheckWebDriver(WebDriverThreadLocalContainer.java:100)
at com.codeborne.selenide.WebDriverRunner.getAndCheckWebDriver(WebDriverRunner.java:113)
at com.codeborne.selenide.impl.Navigator.navigateToAbsoluteUrl(Navigator.java:39)
at com.codeborne.selenide.impl.Navigator.open(Navigator.java:20)
at com.codeborne.selenide.Selenide.open(Selenide.java:51)
at er.modern.movies.test.MovieIT.renameTitleTest(MovieIT.java:51)
Results :
Tests in error:
MovieIT.searchByCompleteTitleTest:23 » UnreachableBrowser Could not start a ne...
MovieIT.searchByPartialTitleTest:36 » UnreachableBrowser Could not start a new...
MovieIT.renameTitleTest:51 » UnreachableBrowser Could not start a new session....
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0
[INFO]
[INFO] --- process-exec-maven-plugin:0.7:stop-all (stop-all) @ ERModernMoviesTest ---
[INFO] Stopping all processes ...
[INFO] Stopping process: ERModernMoviesTest
[INFO] Stopped process: ERModernMoviesTest
[INFO]
[INFO] --- maven-failsafe-plugin:2.13:verify (verify) @ ERModernMoviesTest ---
[INFO] Failsafe report directory: /Users/paulh/Projects/WebObjects/Wonder/Tests/ERModernMoviesTest/target/failsafe-reports
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:20 min
[INFO] Finished at: 2015-05-21T08:39:50+09:30
[INFO] Final Memory: 26M/479M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.13:verify (verify) on project ERModernMoviesTest: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/paulh/Projects/WebObjects/Wonder/Tests/ERModernMoviesTest/target/failsafe-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment