Skip to content

[JENKINS-3981] Selenium Plugin: Timeout too small #24563

Description

@jenkins-infra-bot

The Selenium Plugin tests the Reachablility of a client machine using the Method
hudson.model.Computer#getHostname().

While the algorithm is pretty cool, in our network setup (virtual windows server
on a xen cluster) it fails because of a too small timeout in the
InetAddress.isReachable() - Method. Due to that, the Selenium Plugin does not
start any Remote Controls quitting with "Unable to determine the host name.
Skipping Selenium execution."

An increased (I'd suggest 3000ms) value in the InetAddress.isReachable() Method
makes the plugin work in our network setup.

hudson.model.Computer#getHostname()

Line 562 (old): if(!ia.isReachable(500)) {
Line 562 (new): if(!ia.isReachable(3000)) {

Could you increase the timeout?


Originally reported by tboeghk, imported from: Selenium Plugin: Timeout too small
  • status: Closed
  • priority: Critical
  • component(s): other
  • resolution: Fixed
  • resolved: 2009-07-06T14:46:30+00:00
  • votes: 0
  • watchers: 0
  • imported: 2025-12-08
Raw content of original issue

The Selenium Plugin tests the Reachablility of a client machine using the Method hudson.model.Computer#getHostname().

While the algorithm is pretty cool, in our network setup (virtual windows server on a xen cluster) it fails because of a too small timeout in the InetAddress.isReachable() - Method. Due to that, the Selenium Plugin does not start any Remote Controls quitting with "Unable to determine the host name. Skipping Selenium execution."

An increased (I'd suggest 3000ms) value in the InetAddress.isReachable() Method makes the plugin work in our network setup.

hudson.model.Computer#getHostname()

Line 562 (old): if(!ia.isReachable(500)) { Line 562 (new): if(!ia.isReachable(3000)) {

Could you increase the timeout?

  • environment: Platform: All, OS: All

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions