Ok. This is happening because I'm starting Continuum as a service.
Any workarround? 2009/11/7 André Salvati <[email protected]> > Oppened a Jira... > > http://jira.codehaus.org/browse/CONTINUUM-2405 > > Someone else is running Selenium with Xvfb inside Continuum? > > > 2009/11/5 André Salvati <[email protected]> > > Hi Victor, >> >> The first log is from a console execution with root (mvn clean install). >> >> The second log is from a Continuum execution (mvn clean install). In this >> case continuum is running as root. >> >> I've also tried to run Continuum with a virtual display and with your >> parameter. Same error. >> >> # run Continuum as root >> cd /opt/apache-continuum-1.3.4/bin >> Xvfb :20 -ac -noreset -extension RANDR & >> DISPLAY=:20 ./continuum $* >> >> >> >> 2009/11/5 Victor Kirk <[email protected]> >> >>> > I meant: "Otherwise, when I run the same phases inside Continuum, it >>> fails..." >>> > When I run it from the console, I am logged as root. >>> >>> Sorry, I misread your post, what user is continuum running as? Maybe >>> there is some config difference with that user, can you run the maven >>> build from the console logged in as the continuum user? >>> >>> I believe xvfb must be run as root, is the suid bit set on the xvfb >>> executable? Can the execution[id=xvfb]/configuration/options be used >>> to set -extension RANDR (or something similar). >>> >>> Apologies if this is a bit vague, I'm in a windows all environment at >>> the minute so can't try it out. >>> >>> reagrds, Vic >>> >>> >>> >>> -----Original Message----- >>> From: André Salvati [mailto:[email protected]] >>> Sent: 05 November 2009 10:16 >>> To: [email protected] >>> Subject: Re: Continuum + Selenium Java tests issues >>> >>> >>> Hi Victor, >>> >>> I meant: "Otherwise, when I run the same phases inside Continuum, it >>> fails..." >>> >>> When I run it from the console, I am logged as root. >>> >>> This is my .pom configuration: >>> >>> <plugin> >>> <groupId>org.codehaus.mojo</groupId> >>> <artifactId>selenium-maven-plugin</artifactId> >>> <configuration> >>> <port>8090</port> >>> <background>false</background> >>> </configuration> >>> <executions> >>> <execution> >>> <id>xvfb</id> >>> <phase>pre-integration-test</phase> >>> <goals> >>> <goal>xvfb</goal> >>> </goals> >>> <configuration> >>> <display>:20</display> >>> <background>true</background> >>> </configuration> >>> </execution> >>> >>> <execution> >>> <id>start-selenium</id> >>> <phase>pre-integration-test</phase> >>> <goals> >>> <goal>start-server</goal> >>> </goals> >>> <configuration> >>> <background>true</background> >>> <port>8090</port> >>> </configuration> >>> </execution> >>> </executions> >>> </plugin> >>> >>> >>> >>> >>> >>> >>> 2009/11/5 Victor Kirk <[email protected]> >>> >>> > I think you need to specify "-extension RANDR" to xvfb, no idea how >>> > you can do it from maven though not something I've used together. >>> > >>> > When you run it from the console are you logged in via root or do you >>> > sudo? It could be picking up your config that has something different >>> > to that for root. >>> > >>> > -----Original Message----- >>> > From: André Salvati [mailto:[email protected]] >>> > Sent: 04 November 2009 16:11 >>> > To: [email protected] >>> > Subject: Continuum + Selenium Java tests issues >>> > >>> > >>> > I've been trying to run Continuum + Selenium Java tests + X virtual >>> > server >>> > (xvfb) without success. >>> > >>> > Continuum process is running with root privileges. >>> > >>> > When I run maven from console (mvn clean install), selenium works >>> > smoothly: >>> > >>> > [INFO] Scanning for projects... >>> > >>> > [INFO]---------------------------------------------------------------- >>> > -------- >>> > [INFO] Building MenuEAR >>> > [INFO] task-segment: [clean, install] >>> > >>> > [INFO]---------------------------------------------------------------- >>> > -------- >>> > [INFO] [clean:clean {execution: default-clean}] >>> > [INFO] Deleting directory >>> > >>> /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR/target >>> > [INFO] [ear:generate-application-xml {execution: >>> > default-generate-application-xml}] >>> > [INFO] Generating application.xml >>> > [INFO] Generating jboss-app.xml >>> > [INFO] [resources:resources {execution: default-resources}] [WARNING] >>> Using >>> > platform encoding (UTF-8 actually) to copy filtered resources, i.e. >>> build is >>> > platform dependent! [INFO] Copying 23 resources [INFO] [ear:ear >>> {execution: >>> > default-ear}] [INFO] Copying artifact[ejb:Web:MenuJAR:1.0-SNAPSHOT] to >>> > [MenuJAR-1.0-SNAPSHOT.jar] [INFO] Copying >>> > artifact[war:Web:MenuWAR:1.0-SNAPSHOT] to [MenuWAR-1.0-SNAPSHOT.war] >>> [INFO] >>> > Copying artifact[jar:org.richfaces.ui:richfaces-ui:3.3.1.GA] to >>> > [lib/richfaces-ui-3.3.1.GA.jar] [INFO] Copying >>> > artifact[jar:org.richfaces.framework:richfaces-impl:3.3.1.GA]to >>> > [lib/richfaces-impl-3.3.1.GA.jar] >>> > [INFO] Copying artifact[jar:commons-digester:commons-digester:1.8.1] to >>> > [lib/commons-digester-1.8.1.jar] [INFO] Copying >>> > artifact[jar:commons-beanutils:commons-beanutils:1.7.0] to >>> > [lib/commons-beanutils-1.7.0.jar] [INFO] Copying >>> > artifact[jar:org.richfaces.framework:richfaces-api:3.3.1.GA]to >>> > [lib/richfaces-api-3.3.1.GA.jar] >>> > [INFO] Copying >>> artifact[jar:commons-collections:commons-collections:3.2] to >>> > [lib/commons-collections-3.2.jar] [INFO] Copying >>> > artifact[jar:commons-logging:commons-logging:1.0.4] to >>> > [lib/commons-logging-1.0.4.jar] [INFO] Copying >>> > artifact[jar:org.jbpm.jbpm3:jbpm-jpdl:3.2.6.SP1] to >>> > [lib/jbpm-jpdl-3.2.6.SP1.jar] [INFO] Copying >>> > artifact[jar:org.jbpm.jbpm3:jbpm-identity:3.2.6.SP1] to >>> > [lib/jbpm-identity-3.2.6.SP1.jar] [INFO] Copying >>> > artifact[jar:jasperreports:jasperreports:3.6.0] to >>> > [lib/jasperreports-3.6.0.jar] [INFO] Copying >>> > artifact[jar:org.codehaus.groovy:groovy-all:1.5.5] to >>> > [lib/groovy-all-1.5.5.jar] [INFO] Copying artifact[jar:junit:junit:4.7] >>> > to[lib/junit-4.7.jar] [INFO] Copying >>> artifact[jar:org.apache.ant:ant:1.7.0] >>> > to[lib/ant-1.7.0.jar] [INFO] Copying >>> > artifact[jar:org.apache.ant:ant-launcher:1.7.0] to >>> > [lib/ant-launcher-1.7.0.jar] [INFO] Copying >>> artifact[jar:jline:jline:0.9.94] >>> > to[lib/jline-0.9.94.jar] [INFO] Copying >>> > artifact[jar:org.jboss.seam:jboss-seam:2.2.0.GA] to >>> > [lib/jboss-seam-2.2.0.GA.jar] [INFO] Copying >>> > artifact[jar:xstream:xstream:1.1.3] to[lib/xstream-1.1.3.jar] [INFO] >>> Copying >>> > artifact[jar:xpp3:xpp3_min:1.1.3.4.O] to [lib/xpp3_min-1.1.3.4.O.jar] >>> [INFO] >>> > Copying artifact[jar:org.jboss.el:jboss-el:1.0_02.CR4] to >>> > [lib/jboss-el-1.0_02.CR4.jar] [INFO] Copying >>> > artifact[jar:org.jboss.seam:jboss-seam-ui:2.2.0.GA] to >>> > [lib/jboss-seam-ui-2.2.0.GA.jar] [INFO] Copying >>> > artifact[jar:org.jboss.seam:jboss-seam-jul:2.2.0.GA] to >>> > [lib/jboss-seam-jul-2.2.0.GA.jar] [INFO] Copying >>> > artifact[jar:org.jboss.seam:jboss-seam-debug:2.2.0.GA] to >>> > [lib/jboss-seam-debug-2.2.0.GA.jar] >>> > [INFO] Copying artifact[jar:com.sun.facelets:jsf-facelets:1.1.15.B1] to >>> > [lib/jsf-facelets-1.1.15.B1.jar] [INFO] Copying >>> > artifact[jar:org.jboss.seam:jboss-seam-ioc:2.2.0.GA] to >>> > [lib/jboss-seam-ioc-2.2.0.GA.jar] [INFO] Copying >>> > artifact[jar:org.jboss.seam:jboss-seam-pdf:2.2.0.GA] to >>> > [lib/jboss-seam-pdf-2.2.0.GA.jar] [INFO] Copying >>> > artifact[jar:com.lowagie:itext:2.1.2] to[lib/itext-2.1.2.jar] [INFO] >>> Copying >>> > artifact[jar:com.lowagie:itext-rtf:2.1.2] to [lib/itext-rtf-2.1.2.jar] >>> > [INFO] Copy ear sources to >>> > >>> /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR/target/menu >>> > >>> > [INFO] Could not find manifest file: >>> > /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR >>> > /src/main/application/META-INF/MANIFEST.MF >>> > - Generating one >>> > [INFO] Building jar: >>> > >>> /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR/target/menu.ear >>> > >>> > [INFO] [selenium:xvfb {execution: xvfb}] >>> > [INFO] Starting Xvfb... >>> > [INFO] Using display: :20 >>> > [INFO] Using Xauthority file: /tmp/Xvfb7302122594304485725.Xauthority >>> > Deleting: /tmp/Xvfb7302122594304485725.Xauthority >>> > xauth: creating new authority file >>> > /tmp/Xvfb7302122594304485725.Xauthority >>> > Created dir: >>> > >>> /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR/target/selenium >>> > >>> > Launching Xvfb >>> > Waiting for Xvfb... >>> > [INFO] Redirecting output to: >>> > /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR >>> > /target/selenium/xvfb.log >>> > >>> > Xvfb started >>> > [INFO] [selenium:start-server {execution: start-selenium}] Launching >>> > Selenium Server [INFO] Including display properties from: >>> > /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR >>> > /target/selenium/display.properties >>> > >>> > [INFO] User extensions: >>> > /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR >>> > /target/selenium/user-extensions.js >>> > >>> > Waiting for Selenium Server... >>> > 12:44:18,054 INFO [org.openqa.selenium.server.SeleniumServer] Java: >>> > Sun Microsystems Inc. 14.2-b01 12:44:18,055 INFO >>> > [org.openqa.selenium.server.SeleniumServer] OS: Linux >>> > 2.6.30.8-64.fc11.i686.PAE i386 12:44:18,066 INFO >>> > [org.openqa.selenium.server.SeleniumServer] v1.0.1 [2697], with Core >>> > v...@version@ [...@revision@] 12:44:18,163 INFO >>> > [org.mortbay.http.HttpServer] Version Jetty/5.1.x 12:44:18,165 INFO >>> > [org.mortbay.util.Container] Started HttpContext >>> > [/selenium-server/driver,/selenium-server/driver] >>> > 12:44:18,166 INFO [org.mortbay.util.Container] Started HttpContext >>> > [/selenium-server,/selenium-server] >>> > 12:44:18,166 INFO [org.mortbay.util.Container] Started HttpContext[/,/] >>> > 12:44:18,173 INFO [org.mortbay.http.SocketListener] Started >>> SocketListener >>> > on 0.0.0.0:8090 12:44:18,173 INFO [org.mortbay.util.Container] Started >>> > org.mortbay.jetty.ser...@148aa23 12:44:18,832 INFO >>> > [org.mortbay.util.Credential] Checking Resource aliases Selenium Server >>> > started [INFO] [compiler:testCompile {execution: compila-testes}] >>> [INFO] >>> > Compiling 11 source files to >>> > >>> /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR/target/test-classes >>> > >>> > [INFO] [surefire:test {execution: testes-funcionais}] >>> > [INFO] Surefire report directory: >>> > /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR >>> > /target/surefire-reports >>> > >>> > >>> > ------------------------------------------------------- >>> > T E S T S >>> > ------------------------------------------------------- >>> > Running br.com.optimus.teste.usuario.TestNavegacao >>> > 12:44:20,659 INFO [org.mortbay.util.Credential] Checking Resource >>> > aliases 12:44:20,665 INFO >>> > [org.openqa.selenium.server.SeleniumDriverResourceHandler]Command >>> > request: getNewBrowserSession[*firefox, >>> > http://prod1, ] on session null >>> > 12:44:20,668 INFO >>> > [org.openqa.selenium.server.BrowserSessionFactory]creating new remote >>> > session 12:44:20,775 INFO >>> > [org.openqa.selenium.server.BrowserSessionFactory]Allocated session >>> > a0d622d6b2d74fc7b5386a29752d7b89 for http://prod1, launching... >>> > 12:44:20,806 INFO >>> > [org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher]Pre >>> > paring >>> > Firefox profile... >>> > Xlib: extension "RANDR" missing on display ":20.0". >>> > Xlib: extension "RANDR" missing on display ":20.0". 12:44:24,064 INFO >>> > >>> [org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher]Launching >>> > Firefox... >>> > 12:44:26,098 INFO >>> > [org.openqa.selenium.server.SeleniumDriverResourceHandler]Got result: >>> > OK,a0d622d6b2d74fc7b5386a29752d7b89 on session >>> > a0d622d6b2d74fc7b5386a29752d7b89 12:44:26,104 INFO >>> > [org.openqa.selenium.server.SeleniumDriverResourceHandler]Command >>> > request: open[/erp/login.seam, >>> > ] on session a0d622d6b2d74fc7b5386a29752d7b89 >>> > 12:44:26,241 INFO >>> > [org.openqa.selenium.server.SeleniumDriverResourceHandler]Got result: >>> OK on >>> > session a0d622d6b2d74fc7b5386a29752d7b89 12:44:26,244 INFO >>> > [org.openqa.selenium.server.SeleniumDriverResourceHandler]Command >>> > request: waitForPageToLoad[3000, >>> > ] on session a0d622d6b2d74fc7b5386a29752d7b89 >>> > 12:44:26,264 INFO >>> > [org.openqa.selenium.server.SeleniumDriverResourceHandler]Got result: >>> OK on >>> > session a0d622d6b2d74fc7b5386a29752d7b89 12:44:26,266 INFO >>> > [org.openqa.selenium.server.SeleniumDriverResourceHandler]Command >>> > request: type[login:username, >>> > demo1] on session a0d622d6b2d74fc7b5386a29752d7b89 >>> > aberto /erp/login.seam >>> > 12:44:26,299 INFO >>> > [org.openqa.selenium.server.SeleniumDriverResourceHandler]Got result: >>> OK on >>> > session a0d622d6b2d74fc7b5386a29752d7b89 12:44:26,301 INFO >>> > [org.openqa.selenium.server.SeleniumDriverResourceHandler]Command >>> > request: type[login:password, >>> > demo1] on session a0d622d6b2d74fc7b5386a29752d7b89 >>> > preenchido login:username com demo1 >>> > >>> > (....) >>> > >>> > >>> > >>> > Otherwise, when I run the same phases inside Selenium, it fails: >>> > >>> > >>> > [INFO] Scanning for projects... >>> > >>> > [INFO]---------------------------------------------------------------- >>> > -------- >>> > [INFO] Building MenuEAR >>> > [INFO] task-segment: [clean, install] >>> > >>> > [INFO]---------------------------------------------------------------- >>> > -------- >>> > [INFO] [clean:clean {execution: default-clean}] >>> > [INFO] Deleting directory >>> > >>> /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR/target >>> > [INFO] [ear:generate-application-xml {execution: >>> > default-generate-application-xml}] >>> > [INFO] Generating application.xml >>> > [INFO] Generating jboss-app.xml >>> > [INFO] [resources:resources {execution: default-resources}] [WARNING] >>> Using >>> > platform encoding (UTF-8 actually) to copy filtered resources, i.e. >>> build is >>> > platform dependent! [INFO] Copying 23 resources [INFO] [ear:ear >>> {execution: >>> > default-ear}] [INFO] Copying artifact[ejb:Web:MenuJAR:1.0-SNAPSHOT] to >>> > [MenuJAR-1.0-SNAPSHOT.jar] [INFO] Copying >>> > artifact[war:Web:MenuWAR:1.0-SNAPSHOT] to [MenuWAR-1.0-SNAPSHOT.war] >>> [INFO] >>> > Copying artifact[jar:org.richfaces.ui:richfaces-ui:3.3.1.GA] to >>> > [lib/richfaces-ui-3.3.1.GA.jar] [INFO] Copying >>> > artifact[jar:org.richfaces.framework:richfaces-impl:3.3.1.GA]to >>> > [lib/richfaces-impl-3.3.1.GA.jar] >>> > [INFO] Copying artifact[jar:commons-digester:commons-digester:1.8.1] to >>> > [lib/commons-digester-1.8.1.jar] [INFO] Copying >>> > artifact[jar:commons-beanutils:commons-beanutils:1.7.0] to >>> > [lib/commons-beanutils-1.7.0.jar] [INFO] Copying >>> > artifact[jar:org.richfaces.framework:richfaces-api:3.3.1.GA]to >>> > [lib/richfaces-api-3.3.1.GA.jar] >>> > [INFO] Copying >>> artifact[jar:commons-collections:commons-collections:3.2] to >>> > [lib/commons-collections-3.2.jar] [INFO] Copying >>> > artifact[jar:commons-logging:commons-logging:1.0.4] to >>> > [lib/commons-logging-1.0.4.jar] [INFO] Copying >>> > artifact[jar:org.jbpm.jbpm3:jbpm-jpdl:3.2.6.SP1] to >>> > [lib/jbpm-jpdl-3.2.6.SP1.jar] [INFO] Copying >>> > artifact[jar:org.jbpm.jbpm3:jbpm-identity:3.2.6.SP1] to >>> > [lib/jbpm-identity-3.2.6.SP1.jar] [INFO] Copying >>> > artifact[jar:jasperreports:jasperreports:3.6.0] to >>> > [lib/jasperreports-3.6.0.jar] [INFO] Copying >>> > artifact[jar:org.codehaus.groovy:groovy-all:1.5.5] to >>> > [lib/groovy-all-1.5.5.jar] [INFO] Copying artifact[jar:junit:junit:4.7] >>> > to[lib/junit-4.7.jar] [INFO] Copying >>> artifact[jar:org.apache.ant:ant:1.7.0] >>> > to[lib/ant-1.7.0.jar] [INFO] Copying >>> > artifact[jar:org.apache.ant:ant-launcher:1.7.0] to >>> > [lib/ant-launcher-1.7.0.jar] [INFO] Copying >>> artifact[jar:jline:jline:0.9.94] >>> > to[lib/jline-0.9.94.jar] [INFO] Copying >>> > artifact[jar:org.jboss.seam:jboss-seam:2.2.0.GA] to >>> > [lib/jboss-seam-2.2.0.GA.jar] [INFO] Copying >>> > artifact[jar:xstream:xstream:1.1.3] to[lib/xstream-1.1.3.jar] [INFO] >>> Copying >>> > artifact[jar:xpp3:xpp3_min:1.1.3.4.O] to [lib/xpp3_min-1.1.3.4.O.jar] >>> [INFO] >>> > Copying artifact[jar:org.jboss.el:jboss-el:1.0_02.CR4] to >>> > [lib/jboss-el-1.0_02.CR4.jar] [INFO] Copying >>> > artifact[jar:org.jboss.seam:jboss-seam-ui:2.2.0.GA] to >>> > [lib/jboss-seam-ui-2.2.0.GA.jar] [INFO] Copying >>> > artifact[jar:org.jboss.seam:jboss-seam-jul:2.2.0.GA] to >>> > [lib/jboss-seam-jul-2.2.0.GA.jar] [INFO] Copying >>> > artifact[jar:org.jboss.seam:jboss-seam-debug:2.2.0.GA] to >>> > [lib/jboss-seam-debug-2.2.0.GA.jar] >>> > [INFO] Copying artifact[jar:com.sun.facelets:jsf-facelets:1.1.15.B1] to >>> > [lib/jsf-facelets-1.1.15.B1.jar] [INFO] Copying >>> > artifact[jar:org.jboss.seam:jboss-seam-ioc:2.2.0.GA] to >>> > [lib/jboss-seam-ioc-2.2.0.GA.jar] [INFO] Copying >>> > artifact[jar:org.jboss.seam:jboss-seam-pdf:2.2.0.GA] to >>> > [lib/jboss-seam-pdf-2.2.0.GA.jar] [INFO] Copying >>> > artifact[jar:com.lowagie:itext:2.1.2] to[lib/itext-2.1.2.jar] [INFO] >>> Copying >>> > artifact[jar:com.lowagie:itext-rtf:2.1.2] to [lib/itext-rtf-2.1.2.jar] >>> > [INFO] Copy ear sources to >>> > >>> /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR/target/menu >>> > [INFO] Could not find manifest file: >>> > >>> /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR/src/main/application/META-INF/MANIFEST.MF >>> > - Generating one >>> > [INFO] Building jar: >>> > >>> /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR/target/menu.ear >>> > [INFO] [selenium:xvfb {execution: xvfb}] >>> > [INFO] Starting Xvfb... >>> > [INFO] Using display: :20 >>> > [INFO] Using Xauthority file: /tmp/Xvfb31539120038900714.Xauthority >>> > Deleting: /tmp/Xvfb31539120038900714.Xauthority >>> > xauth: creating new authority file >>> /tmp/Xvfb31539120038900714.Xauthority >>> > Created dir: >>> > >>> /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR/target/selenium >>> > Launching Xvfb >>> > Waiting for Xvfb... >>> > [INFO] Redirecting output to: >>> > >>> /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR/target/selenium/xvfb.log >>> > Xvfb started >>> > [INFO] [selenium:start-server {execution: start-selenium}] Launching >>> > Selenium Server Waiting for Selenium Server... [INFO] Including display >>> > properties from: >>> > >>> /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR/target/selenium/display.properties >>> > [INFO] User extensions: >>> > >>> /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR/target/selenium/user-extensions.js >>> > 12:57:19,390 INFO [org.openqa.selenium.server.SeleniumServer] Java: Sun >>> > Microsystems Inc. 14.2-b01 12:57:19,391 INFO >>> > [org.openqa.selenium.server.SeleniumServer] OS: Linux >>> > 2.6.30.8-64.fc11.i686.PAE i386 12:57:19,400 INFO >>> > [org.openqa.selenium.server.SeleniumServer] v1.0.1 [2697], with Core >>> > v...@version@ [...@revision@] 12:57:19,464 INFO >>> [org.mortbay.http.HttpServer] >>> > Version Jetty/5.1.x 12:57:19,465 INFO [org.mortbay.util.Container] >>> Started >>> > HttpContext [/selenium-server/driver,/selenium-server/driver] >>> > 12:57:19,465 INFO [org.mortbay.util.Container] Started HttpContext >>> > [/selenium-server,/selenium-server] >>> > 12:57:19,465 INFO [org.mortbay.util.Container] Started HttpContext[/,/] >>> > 12:57:19,470 INFO [org.mortbay.http.SocketListener] Started >>> SocketListener >>> > on 0.0.0.0:8090 12:57:19,470 INFO [org.mortbay.util.Container] Started >>> > org.mortbay.jetty.ser...@199f91c 12:57:20,196 INFO >>> > [org.mortbay.util.Credential] Checking Resource aliases Selenium Server >>> > started [INFO] [compiler:testCompile {execution: compila-testes}] >>> [INFO] >>> > Compiling 11 source files to >>> > >>> /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR/target/test-classes >>> > [INFO] [surefire:test {execution: testes-funcionais}] >>> > [INFO] Surefire report directory: >>> > >>> /opt/apache-continuum-1.3.4/data/working-directory/41/MenuROOT/MenuEAR/target/surefire-reports >>> > >>> > ------------------------------------------------------- >>> > T E S T S >>> > ------------------------------------------------------- >>> > Running br.com.optimus.teste.usuario.TestNavegacao >>> > 12:57:21,862 INFO [org.mortbay.util.Credential] Checking Resource >>> > aliases 12:57:21,868 INFO >>> > [org.openqa.selenium.server.SeleniumDriverResourceHandler]Command >>> > request: getNewBrowserSession[*firefox, >>> > http://prod1, ] on session null >>> > 12:57:21,870 INFO >>> > [org.openqa.selenium.server.BrowserSessionFactory]creating new remote >>> > session 12:57:21,959 INFO >>> > [org.openqa.selenium.server.BrowserSessionFactory]Allocated session >>> > 76fa5615ee734a3ab6dbc5bf91df8ed0 for http://prod1, launching... >>> > 12:57:22,016 INFO >>> > [org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher]Pre >>> > paring >>> > Firefox profile... >>> > Xlib: extension "RANDR" missing on display ":20.0". 12:57:42,073 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! at >>> > >>> > org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wait >>> > ForFullProfileToBeCreated(FirefoxChromeLauncher.java:305) >>> > at >>> > >>> > org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.popu >>> > lateCustomProfileDirectory(FirefoxChromeLauncher.java:106) >>> > at >>> > >>> > org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.laun >>> > ch(FirefoxChromeLauncher.java:83) >>> > at >>> > >>> > org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.laun >>> > chRemoteSession(FirefoxChromeLauncher.java:350) >>> > at >>> > >>> > org.openqa.selenium.server.browserlaunchers.FirefoxLauncher.launchRemo >>> > teSession(FirefoxLauncher.java:98) >>> > at >>> > >>> > org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSessio >>> > n(BrowserSessionFactory.java:357) >>> > at >>> > >>> > org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession( >>> > BrowserSessionFactory.java:122) >>> > at >>> > >>> > org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession( >>> > BrowserSessionFactory.java:84) >>> > at >>> > >>> > org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowser >>> > Session(SeleniumDriverResourceHandler.java:712) >>> > at >>> > >>> > org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(Sel >>> > eniumDriverResourceHandler.java:393) >>> > at >>> > >>> > org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommand >>> > Request(SeleniumDriverResourceHandler.java:364) >>> > at >>> > >>> > org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(Seleni >>> > umDriverResourceHandler.java:125) >>> > at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) >>> > at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) >>> > at org.mortbay.http.HttpServer.service(HttpServer.java:909) >>> > at org.mortbay.http.HttpConnection.service(HttpConnection.java:820) >>> > at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986) >>> > at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) >>> > at >>> > >>> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245) >>> > at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) >>> > at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) >>> > >>> > Thanks >>> > >>> > >>> > ______________________________________________________________________ >>> > This email has been scanned by the MessageLabs Email Security System. >>> > For more information please visit http://www.messagelabs.com/email >>> > ______________________________________________________________________ >>> > >>> > >>> > This e-mail and any attachments are for the intended addressee(s) only >>> > and may contain confidential and/or privileged material. If you are >>> > not a named addressee, do not use, retain or disclose such >>> > information. This email is not guaranteed to be free from viruses and >>> > does not bind Serco in any contract or obligation. Serco Limited. >>> > Registered in England and Wales. No: 242246 Registered Office: Serco >>> > House,16 Bartley Wood Business Park, Hook, Hampshire RG27 9UY United >>> > Kingdom. >>> > >>> > Help cut carbon...please don't print this e-mail unless you really >>> > need to. >>> > >>> >>> ______________________________________________________________________ >>> This email has been scanned by the MessageLabs Email Security System. For >>> more information please visit http://www.messagelabs.com/email >>> ______________________________________________________________________ >>> >>> >>> This e-mail and any attachments are for the intended addressee(s) only >>> and may contain confidential and/or privileged material. If you are not a >>> named addressee, do not use, retain or disclose such information. >>> This email is not guaranteed to be free from viruses and does not bind >>> Serco in any contract or obligation. >>> Serco Limited. Registered in England and Wales. No: 242246 >>> Registered Office: Serco House,16 Bartley Wood Business Park, Hook, >>> Hampshire RG27 9UY United Kingdom. >>> >>> Help cut carbon...please don’t print this e-mail unless you really need >>> to. >>> >> >> >
