http://jira.hyperic.com/browse/HHQ-4434
When navigating the HQ UI, we sometimes receive a page that, visually, is completely blank. Looking at the source of the page it only contains <head></head>.
We've seen this sporadically on a number of different HQ versions and when accessing a number of different areas of the UI.
The following is from a recent occurrance on 4.3 where we were trying to access the history after initiating a control action:
build 29-Oct-2010 17:26:32 [junit] 17:26:17.213 INFO - Got result: OK on session 046d7019c66249d4918ad89846a4ad4a
build 29-Oct-2010 17:26:32 [junit] 17:26:17.214 INFO - Command request: click[ok, ] on session 046d7019c66249d4918ad89846a4ad4a
build 29-Oct-2010 17:26:32 [junit] 17:26:17.229 INFO - Got result: OK on session 046d7019c66249d4918ad89846a4ad4a
build 29-Oct-2010 17:26:32 [junit] 17:26:17.231 INFO - Command request: waitForPageToLoad[30000, ] on session 046d7019c66249d4918ad89846a4ad4a
build 29-Oct-2010 17:26:32 [junit] 17:26:17.982 INFO - Got result: OK on session 046d7019c66249d4918ad89846a4ad4a
build 29-Oct-2010 17:26:32 [junit] 17:26:17.984 INFO - Command request: click[xpath=//a/img[contains(@src, 'History')], ] on session 046d7019c66249d4918ad89846a4ad4a
build 29-Oct-2010 17:26:32 [junit] 17:26:18.004 INFO - Got result: ERROR: Element xpath=//a/img[contains(@src, 'History')] not found on session 046d7019c66249d4918ad89846a4ad4a
build 29-Oct-2010 17:26:32 [junit] 17:26:18.007 INFO - Command request: captureEntirePageScreenshot[D:\bamboo-agent-home\xml-data\build-dir\TCSHQPQA-20X43EEWIN\checkout\build-tc-server-hq-plugin\target\test-results\diagnostics\TEST-com.springsource.qa.tcshqplugin.controlaction.StopAfterStopControlActionTests.stopAfterStop.png, ] on session 046d7019c66249d4918ad89846a4ad4a
build 29-Oct-2010 17:26:32 [junit] 17:26:18.042 INFO - Got result: [base64 encoded PNG] on session 046d7019c66249d4918ad89846a4ad4a
build 29-Oct-2010 17:26:32 [junit] Wrote failure screen shot to 'D:\bamboo-agent-home\xml-data\build-dir\TCSHQPQA-20X43EEWIN\checkout\build-tc-server-hq-plugin\target\test-results\diagnostics\TEST-com.springsource.qa.tcshqplugin.controlaction.StopAfterStopControlActionTests.stopAfterStop.png'
build 29-Oct-2010 17:26:32 [junit] 17:26:18.043 INFO - Command request: getHtmlSource[, ] on session 046d7019c66249d4918ad89846a4ad4a
build 29-Oct-2010 17:26:32 [junit] 17:26:18.069 INFO - Got result: OK,<head></head> on session 046d7019c66249d4918ad89846a4ad4a
The server log across the time of the failure doesn't appear to be interesting:
2010-10-29 17:26:12,271 INFO [AgentScheduler2] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.0.1:9144 -> rtm:scheduleMeasurements
2010-10-29 17:26:12,350 INFO [AgentScheduler2] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.0.1:9144 -> rtm:scheduleMeasurements
2010-10-29 17:26:12,426 INFO [AgentScheduler2] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.0.1:9144 -> rtm:scheduleMeasurements
2010-10-29 17:26:17,232 INFO [http-0.0.0.0-9080-6] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.0.1:9144 -> control:controlPluginCommand
2010-10-29 17:26:17,508 INFO [Thread-109] [org.hyperic.hq.bizapp.server.session.LatherDispatcher@928] Getting live measurements for 2:10118
2010-10-29 17:26:17,514 INFO [Thread-109] [org.hyperic.hq.measurement.server.session.MeasurementManagerEJBImpl@466] Getting live measurements for 8 measurements
2010-10-29 17:26:17,515 INFO [Thread-109] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.0.1:9144 -> rtm:getMeasurements
2010-10-29 17:26:18,910 INFO [http-0.0.0.0-9080-7] [org.hyperic.hq.agent.client.AgentConnection@120] 127.0.0.1:9144 -> rtm:unscheduleMeasurements
2010-10-29 17:26:30,593 INFO [Thread-109] [org.hyperic.hq.measurement.server.session.MeasurementManagerEJBImpl@471] Resource 2:10118 reports it is unavailable, setting measurement ID 11353 to DOWN: org.hyperic.hq.measurement.monitor.LiveMeasurementException: Error contacting resource: Error querying for deadlock thread mbean: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused: connect
I'll update the issue with details of other failures with the same symptoms as I trawl through the history of our CI builds
Anonymous