FAQ
Yep seems you are right,

I see this in the hudson selenium plugin console output:

Starting Selenium Grid
[selenium-grid] $ /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java -cp /var/lib/hudson/war/WEB-INF/lib/hudson-remoting-2.2.0.jar hudson.remoting.Launcher -cp /var/lib/hudson/selenium-grid/lib/log4j-1.2.14.jar:/var/lib/hudson/selenium-grid/lib/selenium-grid-hub-standalone-1.0.4.jar -connectTo localhost:57297


*Notice the specific line above : selenium-grid-hub-standalone-1.0.4.jar

The only selenium plugin I see available for Hudson is the following:
http://wiki.hudson-ci.org/display/HUDSON/Selenium+Plugin
Which is still running Grid 1.

Where in Hudson could I modify the grid plugin to point to a newer version
(also would it be this simple to do?)
Lastly, I would like to keep Hudson my only interface for managing the
slaves, is there a new plugin that is available that supports Grid2?


Thanks for help so far
On Thursday, July 12, 2012 5:53:06 PM UTC-7, vid401t wrote:

Hey Guys,

This is my first post, after much fiddling around I could not get this to
work.

My current setup is as follows:
- Hudson Master Running on Linux (with the Selenium grid plugin installed)
- 3 windows XP slaves, 1 slave contains my eclipse with all the tests
using TestNG

What it looks like when i click on the Selenium Grid button in Hudson
(replaced with dummy servernames of course):

linuxhost.domain.com:59354/master/Idleslave1.domain.com:2688
/slave1/windowsxp_1/Idlelinuxhost.domain.com:43206/master/Idle
slave2.domain.com:2856/slave2/windowsxp_2/Idleslave3.domain.com:2065
/slave3/windowsxp_3/Idle
And the console output:

Jul 11, 2012 1:09:35 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
Jul 11, 2012 1:09:35 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: jetty-6.0.x
Jul 11, 2012 1:10:00 PM sun.reflect.NativeMethodAccessorImpl invoke0
INFO: Started SocketConnector @ 0.0.0.0:4444
Jul 11, 2012 1:10:00 PM com.thoughtworks.selenium.grid.hub.management.RegistrationServlet process
INFO: Registering new remote control...
Jul 11, 2012 1:10:00 PM com.thoughtworks.selenium.grid.hub.management.RegistrationServlet process
INFO: Registered [RemoteControlProxy linuxhost.domain.com:59354 0/1]
Jul 11, 2012 1:10:00 PM com.thoughtworks.selenium.grid.hub.management.RegistrationServlet process
INFO: Registering new remote control...
Jul 11, 2012 1:10:00 PM com.thoughtworks.selenium.grid.hub.management.RegistrationServlet process
INFO: Registered [RemoteControlProxy linuxhost.domain.com:43206 0/1]
Jul 12, 2012 3:35:10 PM com.thoughtworks.selenium.grid.hub.management.RegistrationServlet process
INFO: Registering new remote control...
Jul 12, 2012 3:35:10 PM com.thoughtworks.selenium.grid.hub.management.RegistrationServlet process
INFO: Registered [RemoteControlProxy slave3.domain.com:2065 0/1]
Jul 12, 2012 4:11:41 PM com.thoughtworks.selenium.grid.hub.management.RegistrationServlet process
INFO: Registering new remote control...
Jul 12, 2012 4:11:41 PM com.thoughtworks.selenium.grid.hub.management.RegistrationServlet process
INFO: Registering new remote control...
Jul 12, 2012 4:21:10 PM com.thoughtworks.selenium.grid.hub.management.RegistrationServlet process
INFO: Registered [RemoteControlProxy slave1.domain.com:2688 0/1]
Jul 12, 2012 4:28:54 PM com.thoughtworks.selenium.grid.hub.management.RegistrationServlet process
INFO: Registering new remote control...
Jul 12, 2012 4:28:54 PM com.thoughtworks.selenium.grid.hub.management.RegistrationServlet process
INFO: Registered [RemoteControlProxy slave2.domain.com:2856 0/1]
Jul 12, 2012 5:33:05 PM com.thoughtworks.selenium.grid.hub.management.UnregistrationServlet process



What I was able to do thus far:
- Connect all the slaves to Hudson via JNLP
- Execute the tests on slave1 (which contains the eclipse and test suite),
when I configure the job to run on slave1 node

My Problem
- When I set the job to run the tests on "master (the master Hudson
node)", it fails b/c it can't find my tests on that linux host (b/c the
tests are on the slave1 node)
- All the other slaves do nothing (even though they show as registered in
the console output)

What I want to Acheive:
- Control the test execution from the Hudson Master/Grid Hub, and watch
them execute in parrallel on all the windows nodes

What am I missing? My hudson job is so cloudy now, i would like to ring
in the sunshine again if someone could kindly point me in the right
direction :)

Thanks in advance



--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/_eI6SzfBZQYJ.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en-US.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 4 | next ›
Discussion Overview
groupselenium-users @
categoriesselenium
postedJul 13, '12 at 5:18a
activeJul 13, '12 at 11:11a
posts4
users2
websiteseleniumhq.org

2 users in discussion

Vid401t: 2 posts Krishnan Mahadevan: 2 posts

People

Translate

site design / logo © 2022 Grokbase