Closed Bug 648651 Opened 13 years ago Closed 13 years ago

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

Categories

(addons.mozilla.org Graveyard :: Code Quality, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kumar, Assigned: clouserw)

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: nobody → clouserw
(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
Closed: 13 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.
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.