@Velo - Saying that allowHeadlessMode=false does turn off xvfb-run
support in FM in 3.5-SNAPSHOT as specified in that thread; with
previous versions of FM, allowHeadlessMode did not turn off xvfb-run
support.  That's all I intended to confirm.  Per this thread, I was
unable to get 3.5-SNAPSHOT and xvfb-run support working for our build
process and resorted to turning it off and using the xvnc-plugin. HTH.

-Brian

On Dec 18, 12:04 pm, velo <[email protected]> wrote:
> Could you decide if that works or not!? 
> =Dhttp://groups.google.com/group/flex-mojos/browse_thread/thread/3ea3b8...
>
> VELO
>
> On Dec 18, 2:07 pm, Brian <[email protected]> wrote:
>
> > 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]
>
> ...
>
> read more »

-- 
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