Uploaded image for project: 'Apache Tomcat Maven Plugin'
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-287

Selenium integration test fails in Jenkins on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.2
    • None
    • tomcat7
    • None
    • Windows 7

    Description

      There seems to be more problems with integration tests on Windows, at least on ASF Jenkins. This time it is in the Archetype module. The error message from the failure is:

      Failed to execute goal org.codehaus.mojo:selenium-maven-plugin:2.3:xvfb (xvfb) on project artifact.id-webapp-it: Execution xvfb of goal org.codehaus.mojo:selenium-maven-plugin:2.3:xvfb failed: Execute failed: java.io.IOException: Cannot run program "xauth": CreateProcess error=2, The system cannot find the file specified

      See https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x-windows/2/org.apache.tomcat.maven$tomcat-maven-archetype/

      From what I can tell by searching on it, it is about running Selenium on a headless Jenkins master/slave. See for instance these links:

      http://jenkins-ci.361315.n4.nabble.com/Setting-up-Hudson-with-the-Selenium-Plugin-td1751742.html
      http://blog.teamtreehouse.com/easy-automated-web-application-testing-with-hudson-and-selenium

      I haven't set up Selenium myself before, so I don't know how to fix that. Perhaps someone else can give hand.

      Attachments

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              dennisl@apache.org Dennis Lundberg
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: