You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Wendy Smoak (JIRA)" <ji...@apache.org> on 2009/05/01 23:29:30 UTC

[jira] Created: (INFRA-2034) Unable to run Selenium tests on vmbuild

Unable to run Selenium tests on vmbuild
---------------------------------------

                 Key: INFRA-2034
                 URL: https://issues.apache.org/jira/browse/INFRA-2034
             Project: Infrastructure
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Continuum
            Reporter: Wendy Smoak


I'm trying to execute Selenium tests on vmbuild, and running into an error:

23:21:07,938 INFO  [org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher] Preparing Firefox profile...
Error: no display specified
23:21:31,127 ERROR [org.openqa.selenium.server.BrowserSessionFactory] Failed to start new browser session, shutdown browser and clear all session data
java.lang.RuntimeException: Timed out waiting for profile to be created!

The full build output is here:
http://vmbuild.apache.org/continuum/buildResult.action?buildId=189979&projectGroupId=69&projectId=2284


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (INFRA-2034) Unable to run Selenium tests on vmbuild

Posted by "Wendy Smoak (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706522#action_12706522 ] 

Wendy Smoak commented on INFRA-2034:
------------------------------------

This is currently blocked by CONTINUUM-2206 and CONTINUUM-2217 (INFRA-2037) as it's not possible to build anything in Continuum on vmbuild at the moment.

I tried briefly at the command line but it looks like it would need more environment setup (JAVA_HOME, repositories, etc.)

> Unable to run Selenium tests on vmbuild
> ---------------------------------------
>
>                 Key: INFRA-2034
>                 URL: https://issues.apache.org/jira/browse/INFRA-2034
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Continuum
>            Reporter: Wendy Smoak
>
> I'm trying to execute Selenium tests on vmbuild, and running into an error:
> 23:21:07,938 INFO  [org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher] Preparing Firefox profile...
> Error: no display specified
> 23:21:31,127 ERROR [org.openqa.selenium.server.BrowserSessionFactory] Failed to start new browser session, shutdown browser and clear all session data
> java.lang.RuntimeException: Timed out waiting for profile to be created!
> The full build output is here:
> http://vmbuild.apache.org/continuum/buildResult.action?buildId=189979&projectGroupId=69&projectId=2284

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (INFRA-2034) Unable to run Selenium tests on vmbuild

Posted by "Wendy Smoak (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wendy Smoak closed INFRA-2034.
------------------------------

    Resolution: Fixed
      Assignee: Wendy Smoak

Selenium tests are now running on vmbuild:
http://vmbuild.apache.org/continuum/buildResult.action?projectId=2284&projectGroupId=69&projectName=&buildId=191185

Here's the project pom showing the configuration to make it work, assuming xvfb and firefox are installed:
http://svn.apache.org/repos/asf/continuum/trunk/continuum-webapp-test/pom.xml

> Unable to run Selenium tests on vmbuild
> ---------------------------------------
>
>                 Key: INFRA-2034
>                 URL: https://issues.apache.org/jira/browse/INFRA-2034
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Continuum
>            Reporter: Wendy Smoak
>            Assignee: Wendy Smoak
>
> I'm trying to execute Selenium tests on vmbuild, and running into an error:
> 23:21:07,938 INFO  [org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher] Preparing Firefox profile...
> Error: no display specified
> 23:21:31,127 ERROR [org.openqa.selenium.server.BrowserSessionFactory] Failed to start new browser session, shutdown browser and clear all session data
> java.lang.RuntimeException: Timed out waiting for profile to be created!
> The full build output is here:
> http://vmbuild.apache.org/continuum/buildResult.action?buildId=189979&projectGroupId=69&projectId=2284

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (INFRA-2034) Unable to run Selenium tests on vmbuild

Posted by "Brett Porter (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705884#action_12705884 ] 

Brett Porter commented on INFRA-2034:
-------------------------------------

xvfb is already installed, but not running by default. The latter 2 examples should explain how to get that going as part of the build - let me know if you have any further problems

> Unable to run Selenium tests on vmbuild
> ---------------------------------------
>
>                 Key: INFRA-2034
>                 URL: https://issues.apache.org/jira/browse/INFRA-2034
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Continuum
>            Reporter: Wendy Smoak
>
> I'm trying to execute Selenium tests on vmbuild, and running into an error:
> 23:21:07,938 INFO  [org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher] Preparing Firefox profile...
> Error: no display specified
> 23:21:31,127 ERROR [org.openqa.selenium.server.BrowserSessionFactory] Failed to start new browser session, shutdown browser and clear all session data
> java.lang.RuntimeException: Timed out waiting for profile to be created!
> The full build output is here:
> http://vmbuild.apache.org/continuum/buildResult.action?buildId=189979&projectGroupId=69&projectId=2284

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (INFRA-2034) Unable to run Selenium tests on vmbuild

Posted by "Emmanuel Venisse (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705561#action_12705561 ] 

Emmanuel Venisse commented on INFRA-2034:
-----------------------------------------

It would be good to use xvfb:

http://wiki.openqa.org/display/SRC/Selenium-RC+and+Continuous+Integration
http://mojo.codehaus.org/selenium-maven-plugin/xvfb-mojo.html
http://mojo.codehaus.org/selenium-maven-plugin/examples/headless-with-xvfb.html

> Unable to run Selenium tests on vmbuild
> ---------------------------------------
>
>                 Key: INFRA-2034
>                 URL: https://issues.apache.org/jira/browse/INFRA-2034
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Continuum
>            Reporter: Wendy Smoak
>
> I'm trying to execute Selenium tests on vmbuild, and running into an error:
> 23:21:07,938 INFO  [org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher] Preparing Firefox profile...
> Error: no display specified
> 23:21:31,127 ERROR [org.openqa.selenium.server.BrowserSessionFactory] Failed to start new browser session, shutdown browser and clear all session data
> java.lang.RuntimeException: Timed out waiting for profile to be created!
> The full build output is here:
> http://vmbuild.apache.org/continuum/buildResult.action?buildId=189979&projectGroupId=69&projectId=2284

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.