All users were logged out of Bugzilla on October 13th, 2018

Add bullet proof armor to the jstestnet browser worker in Selenium VM

RESOLVED FIXED

Status

RESOLVED FIXED
8 years ago
3 years ago

People

(Reporter: kumar, Assigned: clouserw)

Tracking

Details

There is currently a Firefox 3.6 browser worker that runs on the Selenium VM and waits to run tests.

The browser opens this URL http://jstestnet.farmdev.com/work/ and as long as that URL is open (for Ajax pings) then it is an active worker.

We need some scripts to do the following:
- launch a browser and open this URL from the command line (not VNC, like currently)
- re-open this URL in case the browser dies for any reason (nagios maybe?)
- ensure that this URL opens in case the Selenium machine restarts (init.d)

For background, the AMO js tests run from Hudson here: https://hudson.mozilla.org/job/amo-master-js/
(Assignee)

Updated

8 years ago
Assignee: nobody → clouserw
(Assignee)

Comment 1

8 years ago
(In reply to comment #0)
> There is currently a Firefox 3.6 browser worker that runs on the Selenium VM
> and waits to run tests.
> 
> The browser opens this URL http://jstestnet.farmdev.com/work/ and as long as
> that URL is open (for Ajax pings) then it is an active worker.
> 
> We need some scripts to do the following:
> - launch a browser and open this URL from the command line (not VNC, like
> currently)
> - re-open this URL in case the browser dies for any reason (nagios maybe?)
> - ensure that this URL opens in case the Selenium machine restarts (init.d)
> 
> For background, the AMO js tests run from Hudson here:
> https://hudson.mozilla.org/job/amo-master-js/

I wrote a script that should handle #1 and #3.  I didn't add #2 because it's a different kind of problem (scripting wise) and I don't want to use time on it unless it becomes a problem.

So, -> fixed.  If #2 becomes an issue, I'll fix that sometime too.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Awesome!  I agree that we should only add a monitor (#2) if it becomes necessary.

FYI, the server this is hosted on is down temporarily, should be fixed soon.
(Assignee)

Comment 3

8 years ago
My script just makes sure Fx is running, not that the page isn't an error.  Let me know when it's back and I'll make sure firefox isn't staring at a "Server can't be found" error.
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.