Issues executing Selenium HTML Runner 3.0 on Firefox 49.0.1

500 views
Skip to first unread message

Gissaster

unread,
Oct 24, 2016, 11:46:57 PM10/24/16
to Selenium Users

Multi-window mode is longer used as an option and will be ignored.
Oct 21, 2016 10:05:12 AM org.openqa.selenium.remote.ProtocolHandshake createSess
ion
INFO: Attempting bi-dialect session, assuming Postel's Law holds true on the rem
ote end
1477058716913   Marionette      INFO    Listening on port 59652
1477058721006   Marionette      INFO    startBrowser 8d8605de-457a-4f84-b6aa-bef
44dab1a2d
Oct 21, 2016 10:05:30 AM org.openqa.selenium.remote.ProtocolHandshake createSess
ion
INFO: Detected dialect: W3C
2016-10-21 10:05:30.754:INFO::main: Logging initialized @41414ms
2016-10-21 10:05:31.815:INFO:osjs.Server:main: jetty-9.2.z-SNAPSHOT
2016-10-21 10:05:31.986:INFO:osjsh.ContextHandler:main: Started o.s.j.s.h.Contex
tHandler@77847718{/tests,null,AVAILABLE}
2016-10-21 10:05:32.158:INFO:osjs.ServerConnector:main: Started ServerConnector@
30ee387f{HTTP/1.1}{0.0.0.0:33494}
2016-10-21 10:05:32.158:INFO:osjs.Server:main: Started @42822ms
2016-10-21 10:05:32.267:INFO:osjs.ServerConnector:main: Stopped ServerConnector@
30ee387f{HTTP/1.1}{0.0.0.0:33494}
2016-10-21 10:05:32.267:INFO:osjsh.ContextHandler:main: Stopped o.s.j.s.h.Contex
tHandler@77847718{/tests,null,UNAVAILABLE}
[Child 5192] ###!!! ABORT: Aborting on channel error.: file c:/builds/moz2_slave
/m-rel-w32-00000000000000000000/build/src/ipc/glue/MessageChannel.cpp, line 2052

Oct 21, 2016 10:05:35 AM org.openqa.selenium.os.UnixProcess destroy
SEVERE: Unable to kill process with PID 5848
Oct 21, 2016 10:05:35 AM org.openqa.selenium.server.htmlrunner.HTMLLauncher main
Int
WARNING: Test of browser failed: *firefox
java.io.IOException: java.lang.RuntimeException: java.net.BindException: Address
 already in use: JVM_Bind
        at org.openqa.selenium.server.htmlrunner.HTMLLauncher.determineSuiteUrl(
HTMLLauncher.java:180)
        at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLL
auncher.java:108)
        at org.openqa.selenium.server.htmlrunner.HTMLLauncher.mainInt(HTMLLaunch
er.java:245)
        at org.openqa.selenium.server.htmlrunner.HTMLLauncher.main(HTMLLauncher.
java:273)
Caused by: java.lang.RuntimeException: java.net.BindException: Address already i
n use: JVM_Bind
        at org.openqa.selenium.net.PortProber.pollPort(PortProber.java:154)
        at org.openqa.selenium.net.PortProber.pollPort(PortProber.java:137)
        at org.openqa.selenium.server.htmlrunner.HTMLLauncher.determineSuiteUrl(
HTMLLauncher.java:174)
        ... 3 more
Caused by: java.net.BindException: Address already in use: JVM_Bind
        at java.net.DualStackPlainSocketImpl.bind0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
        at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
        at java.net.PlainSocketImpl.bind(Unknown Source)
        at java.net.Socket.bind(Unknown Source)
        at org.openqa.selenium.net.PortProber.pollPort(PortProber.java:146)
        ... 5 more

        at org.openqa.selenium.net.PortProber.pollPort(PortProber.java:146)
        ... 5 more

This is the code that I am trying to execute via Powershell:

C:\Progra~1\Java\jre1.8.0_111\bin\java.exe -jar D:\PubApps\DBA_Global_Reports\DBA\Powershell\DataExport\selenium-html-runner-3.0.1.jar -htmlSuite '*firefox' 'https://TestSite_URL/' 'D:\PubApps\DBA_Global_Reports\DBA\Powershell\DataExport\DataExportOpenTicketsSuite.html' $TestResult
 (get-content $TestResult) | Foreach-Object {$_ -replace $pwdEnc,"DBAPWD"} | Out-File $TestResult

Browser attempts to launch, then fails with the above error.  At a minimum, need to know how to execute Selenium IDE Tests using Selenium HTML Runner 3.0 on FireFox versions 49+.




Reply all
Reply to author
Forward
0 new messages