Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
jdsii
Posts : 1
Join date : 2012-10-17

Selenium sometimes hangs running htmlsuite Empty Selenium sometimes hangs running htmlsuite

Wed Oct 17, 2012 3:29 pm
Hi,

I have jenkins running a list of about 40 selenium htmlsuites every night.

My problem is that some evenings, some suite runs fine. The next day, they hang on "Checking Resource Aliases" till timeout shut them up.
And it's always changing. One day, one doesn't run, the other day it's another one.
I'm not talking about errors in assertions, but about hanging till timeout shuts it.

Thanks for any help.

When it crashes:
Code:
[workspace] $ /bin/bash /tmp/hudson1170784186731286704.sh
 java -jar /usr/share/selenium/selenium.jar -singleWindow -htmlSuite *firefox <I'm not able to post links yet> /usr/share/jenkins/jobs/NewTV/workspace/selenium/tests/0812_edit_logo.html /usr/share/jenkins/jobs/NewTV/workspace/selenium/results/0812_edit_logo.html
[workspace] $ java -jar /usr/share/selenium/selenium.jar -singleWindow -htmlSuite *firefox <I'm not able to post links yet> /usr/share/jenkins/jobs/NewTV/workspace/selenium/tests/0812_edit_logo.html /usr/share/jenkins/jobs/NewTV/workspace/selenium/results/0812_edit_logo.html
Oct 16, 2012 10:01:39 PM org.openqa.grid.selenium.GridLauncher main
INFO: Launching a standalone server
22:01:39.800 INFO - Java: Sun Microsystems Inc. 1.6.0-b09
22:01:39.801 INFO - OS: Linux 2.6.18-164.15.1.el5 amd64
22:01:39.814 INFO - v2.24.1, with Core v2.24.1. Built from revision 17205
22:01:39.913 INFO - RemoteWebDriver instances should connect to: <I'm not able to post links yet>
22:01:39.914 INFO - Version Jetty/5.1.x
22:01:39.915 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
22:01:39.916 INFO - Started HttpContext[/selenium-server,/selenium-server]
22:01:39.916 INFO - Started HttpContext[/,/]
22:01:39.931 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@3f77b3cd
22:01:39.931 INFO - Started HttpContext[/wd,/wd]
22:01:39.934 INFO - Started SocketListener on <I'm not able to post links yet>
22:01:39.935 INFO - Started org.openqa.jetty.jetty.Server@aaf8358
jar:file:/usr/share/selenium/selenium.jar!/customProfileDirCUSTFFCHROME
22:01:40.021 INFO - Preparing Firefox profile...
22:01:47.078 INFO - Launching Firefox...
22:01:49.811 INFO - Checking Resource aliases
22:31:47.301 INFO - Killing Firefox...
HTML suite exception seen:
org.openqa.selenium.server.SeleniumCommandTimedOutException
   at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:154)
   at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:196)
   at org.openqa.selenium.server.SeleniumServer.runHtmlSuite(SeleniumServer.java:630)
   at org.openqa.selenium.server.SeleniumServer.boot(SeleniumServer.java:288)
   at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:246)
   at org.openqa.grid.selenium.GridLauncher.main(GridLauncher.java:54)


The day before:


Code:
[workspace] $ /bin/bash /tmp/hudson2107182617259405195.sh
 java -jar /usr/share/selenium/selenium.jar -singleWindow -htmlSuite *firefox <I'm not able to post links yet> /usr/share/jenkins/jobs/NewTV/workspace/selenium/tests/0812_edit_logo.html /usr/share/jenkins/jobs/NewTV/workspace/selenium/results/0812_edit_logo.html
[workspace] $ java -jar /usr/share/selenium/selenium.jar -singleWindow -htmlSuite *firefox <I'm not able to post links yet> /usr/share/jenkins/jobs/NewTV/workspace/selenium/tests/0812_edit_logo.html /usr/share/jenkins/jobs/NewTV/workspace/selenium/results/0812_edit_logo.html
Oct 16, 2012 6:23:35 PM org.openqa.grid.selenium.GridLauncher main
INFO: Launching a standalone server
18:23:35.121 INFO - Java: Sun Microsystems Inc. 1.6.0-b09
18:23:35.123 INFO - OS: Linux 2.6.18-164.15.1.el5 amd64
18:23:35.134 INFO - v2.24.1, with Core v2.24.1. Built from revision 17205
18:23:35.247 INFO - RemoteWebDriver instances should connect to: <I'm not able to post links yet>
18:23:35.248 INFO - Version Jetty/5.1.x
18:23:35.249 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
18:23:35.249 INFO - Started HttpContext[/selenium-server,/selenium-server]
18:23:35.250 INFO - Started HttpContext[/,/]
18:23:35.267 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@4bbd7848
18:23:35.267 INFO - Started HttpContext[/wd,/wd]
18:23:35.271 INFO - Started SocketListener on <I'm not able to post links yet>
18:23:35.271 INFO - Started org.openqa.jetty.jetty.Server@8d80be3
jar:file:/usr/share/selenium/selenium.jar!/customProfileDirCUSTFFCHROME
18:23:35.364 INFO - Preparing Firefox profile...
18:23:43.202 INFO - Launching Firefox...
18:23:46.002 INFO - Checking Resource aliases
18:24:08.553 INFO - Checking Resource aliases
18:24:08.555 INFO - Received posted results
18:24:09.308 INFO - Killing Firefox...

Of course, no change has been made in between.
Back to top
Permissions in this forum:
You cannot reply to topics in this forum