Just to update the thread.  We moved to 3.5-SNAPSHOT, set
allowHeadlessMode=false, and are now using the xvnc plugin for
Hudson.  FM is not using xvfb-run and our headless builds are working
as they were before.  I'm going to do a blog post on setting up xvnc
for headless builds using Flash, so I'll post the link when it's
completed.

-Brian

On Dec 16, 8:21 pm, velo <[email protected]> wrote:
> Is [DEBUG] [SYSOUT]: Xlib:  extension "RANDR" missing on display ":
> 99.0".  normal?
>
> Linux folks any advice here, this is unchartted territory for me.
>
> On Dec 16, 9:33 pm, Brian <[email protected]> wrote:
>
> > Hi Velo,
>
> > Tried with 3.5-SNAPSHOT and got the same results; works locally, but
> > the test-run mojo times out waiting for the Flash Player.  Dump is
> > below:
>
> > [INFO] [flexmojos:test-run]
> > [INFO] Flexmojos 3.5-SNAPSHOT
> > [INFO]   Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT
> > file
> > [INFO] Running tests /hw/stdev/hudson/jobs/Console/workspace/project/
> > libraries/Domain/target/test-classes/TestRunner.swf
> > [DEBUG] [org.sonatype.flexmojos.test.monitor.AsVmPing] opened server
> > socket on port 13540
> > [DEBUG] [org.sonatype.flexmojos.test.monitor.ResultHandler] opened
> > server socket on port 13539
> > [DEBUG] [LAUNCHER] ASVmLauncher starting
> > [DEBUG] [LAUNCHER] exec: flashplayer - /hw/stdev/hudson/jobs/Console/
> > workspace/project/libraries/Domain/target/test-classes/TestRunner.swf
> > [DEBUG] [LAUNCHER] Creating process
> > [WARNING] [LAUNCHER] Using xvfb-run to launch headless tests
> > [DEBUG] [LAUNCHER] Process created java.lang.unixproc...@1929312
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [LAUNCHER] Output pumpers ON
> > [DEBUG] [LAUNCHER] Waiting for flashplayer termination
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [SYSOUT]: Xlib:  extension "RANDR" missing on display ":99.0".
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger STARTED
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [MOJO] launcher RUNNING
> > [DEBUG] [MOJO] pinger ERROR
> > [DEBUG] [MOJO] resultHandler STARTED
> > [DEBUG] [LAUNCHER] process has not been finished, destroying
> > [DEBUG] [LAUNCHER] Flashplayer closed
> > [DEBUG] [LAUNCHER] Unexpected return code 143
> > [DEBUG] [LAUNCHER] killing Xvfb
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Tests run: 0, Failures: 0, Errors: 0, Time Elapsed: 0 sec
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Accept timed out/hw/stdev/hudson/jobs/Console/workspace/project/
> > libraries/Domain/target/test-classes/TestRunner.swf
>
> > I'm using Maven 2.0.10 for what it's worth.  Any suggestions?
>
> > -Brian
>
> > On Dec 16, 6:07 pm, velo <[email protected]> wrote:
>
> > > Did you try latest SNAPSHOT?
>
> > > On Dec 16, 8:48 pm, Brian <[email protected]> wrote:
>
> > > > Afternoon,
>
> > > > Just wanted to follow-up on a problem I'm running into that I couldn't
> > > > find a resolution based on this thread:
>
> > > >http://groups.google.com/group/flex-mojos/browse_thread/thread/4c9583...
>
> > > >  in FM 3.4.2 wWe recently started experiencing issues using the xvfb
> > > > test supporthen switching to the Flex 4 Beta 2 SDK from the Flex 3.4
> > > > SDK.  I ran through all of the suggestions for debugging xvfb 
> > > > athttps://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests#Runnin...
> > > > with no success.  All of our tests execute w/o error using the same FM
> > > > build on my local machine.  Below is a copy of the debug dump snippet
> > > > (-X) for the first time the flashplayer is being executed by the test-
> > > > run mojo:
>
> > > > [INFO] [flexmojos:test-run]
> > > > [INFO] flexmojos 3.4.2 - GNU GPL License (NO WARRANTY) - See COPYRIGHT
> > > > file
> > > > [INFO] Running tests /hw/stdev/hudson/jobs/Console/workspace/project/
> > > > libraries/Domain/target/test-classes/TestRunner.swf
> > > > [DEBUG] [org.sonatype.flexmojos.test.monitor.AsVmPing] opened server
> > > > socket on port 13540
> > > > [DEBUG] [org.sonatype.flexmojos.test.monitor.ResultHandler] opened
> > > > server socket on port 13539
> > > > [DEBUG] [LAUNCHER] ASVmLauncher starting
> > > > [DEBUG] [LAUNCHER] exec: flashplayer - /hw/stdev/hudson/jobs/Console/
> > > > workspace/project/libraries/Domain/target/test-classes/TestRunner.swf
> > > > [DEBUG] [LAUNCHER] Creating process
> > > > [WARNING] [LAUNCHER] Using xvfb-run to launch headless tests
> > > > [DEBUG] [LAUNCHER] Process created java.lang.unixproc...@7512be
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [LAUNCHER] Output pumpers ON
> > > > [DEBUG] [LAUNCHER] Waiting for flashplayer termination
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [SYSOUT]: Xlib:  extension "RANDR" missing on display ":99.0".
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger STARTED
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [MOJO] launcher RUNNING
> > > > [DEBUG] [MOJO] pinger ERROR
> > > > [DEBUG] [MOJO] resultHandler STARTED
> > > > [DEBUG] [LAUNCHER] process has not been finished, destroying
> > > > [DEBUG] [LAUNCHER] Flashplayer closed
> > > > [DEBUG] [LAUNCHER] Unexpected return code 143
> > > > [DEBUG] [LAUNCHER] killing Xvfb
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > [INFO] Tests run: 0, Failures: 0, Errors: 0, Time Elapsed: 0 sec
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > [ERROR] BUILD ERROR
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > [INFO] Accept timed out/hw/stdev/hudson/jobs/Console/workspace/project/
> > > > libraries/Domain/target/test-classes/TestRunner.swf
>
> > > > We're running on Ubuntu and previously have had success with the xvfb
> > > > support, but I can't figure out what to do from here to address the
> > > > return code of 143.  I tried updating to the latest debug flash player
> > > > release on 12/08/09 with the same result as the above dump.  Does
> > > > anyone know what the exit code 143 represents or have any more details
> > > > that may help?  I know can use the xvnc plugin, but I'd prefer to get
> > > > a solution working with xvfb.
>
> > > > Thanks in advance for any help.
>
> > > > -Brian
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/

Reply via email to