Did you try this tips?
https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests#Runningunittests-linux


<https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests#Runningunittests-linux>
VELO

On Fri, Jul 24, 2009 at 1:32 PM, henrim <[email protected]> wrote:

>
> Well,
>
> I have done a fresh install and I went a little bit further:
> flashplayer is detected, xvfb launches it but then, it never stops
> (Waiting for flashplayer termination) and I get the following sequence
> of logs:
> [DEBUG] [MOJO] resultHandler RUNNING
> [DEBUG] [MOJO] launcher RUNNING
> [DEBUG] [MOJO] pinger DONE
> [DEBUG] [MOJO] resultHandler RUNNING
> [DEBUG] [MOJO] launcher RUNNING
> [DEBUG] [MOJO] pinger DONE
>
> here is below the complete trace:
> [INFO] Running tests /home/tomcat55/.hudson/jobs/Pikeo2/workspace/
> Pikeo2/PikeoFlexCommonGeneric/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 - /home/tomcat55/.hudson/jobs/
> Pikeo2/workspace/Pikeo2/PikeoFlexCommonGeneric/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...@26a6d0
> [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] [org.sonatype.flexmojos.test.monitor.AsVmPing] accepting data
> from client
> [DEBUG] [CONTROL] AsVmControl handleRequest
> [DEBUG] [CONTROL] query status
> [DEBUG] [CONTROL] received status
> [DEBUG] [MOJO] launcher RUNNING
>
> [DEBUG] [MOJO] pinger RUNNING
> [DEBUG] [MOJO] resultHandler STARTED
> [DEBUG] [CONTROL] status is: <policy-file-request/>�
> [DEBUG] [CONTROL] query status
> [DEBUG] [CONTROL] received status
> [DEBUG] [CONTROL] status is: null
>
> [DEBUG] [CONTROL] query status
> [DEBUG] [org.sonatype.flexmojos.test.monitor.ResultHandler] accepting
> data from client
> [DEBUG] [RESULT] Recivied data: <policy-file-request/>
> [DEBUG] [MOJO] launcher RUNNING
>
> [DEBUG] [MOJO] pinger DONE
> [DEBUG] [MOJO] resultHandler RUNNING
> [DEBUG] [MOJO] launcher RUNNING
> [DEBUG] [MOJO] pinger DONE
> [DEBUG] [MOJO] resultHandler RUNNING
> [DEBUG] [MOJO] launcher RUNNING
> [DEBUG] [MOJO] pinger DONE
>
> [DEBUG] [MOJO] resultHandler RUNNING
> [DEBUG] [RESULT] Socket buffer
> [DEBUG] [MOJO] launcher RUNNING
> [DEBUG] [MOJO] pinger DONE
> [DEBUG] [MOJO] resultHandler DONE
> [DEBUG] [MOJO] launcher RUNNING
> [DEBUG] [MOJO] pinger DONE
>
> [DEBUG] [MOJO] resultHandler DONE
>
> do you guys have any idea on what's going on?
>
>
>
> On 23 juil, 16:47, Marvin Froeder <[email protected]> wrote:
> > Dunno,
> > 3.3-SNAP was tested on ubuntu (server and client) and fedora.  Worked
> fine
> > on both.  I have no clue what can be happening there.
> >
> > Does your tests work fine on non-headless machines?
> >
> > VELO
> >
> > On Thu, Jul 23, 2009 at 11:37 AM, Henri Martin <[email protected]
> >wrote:
> >
> > > thx for your reply.
> > > I did run maven w/ -X. here is the result:
> >
> > > [INFO] [flexmojos:test-run]
> > > [INFO] flexmojos 3.3-SNAPSHOT - GNU GPL License (NO WARRANTY) - See
> COPYRIGHT file
> > > [INFO] Running tests
> /var/local/hudson/jobs/Pikeo2/workspace/Pikeo2/PikeoFlexCommonGeneric/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 -
> /var/local/hudson/jobs/Pikeo2/workspace/Pikeo2/PikeoFlexCommonGeneric/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...@145f23e
> > > [DEBUG] [MOJO] launcher STARTED
> > > [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
> >
> > > Then, I got a bunch of
> >
> > > [DEBUG] [MOJO] pinger STARTED
> > > [DEBUG] [MOJO] resultHandler STARTED
> >
> > > to finally end up w/
> > > [DEBUG] [MOJO] resultHandler STARTED
> > > [DEBUG] [LAUNCHER] process has not been finished, destroying
> > > [DEBUG] [LAUNCHER] killing Xvfb
> >
> > > [DEBUG] [LAUNCHER] Flashplayer closed
> > > [DEBUG] [LAUNCHER] Unexpected return code 143
> > > [INFO]
> ------------------------------------------------------------------------
> > > [INFO] Tests run: 0, Failures: 0, Errors: 0, Time Elpased: 0 sec
> >
> > > [HUDSON] Archiving
> /var/local/hudson/jobs/Pikeo2/workspace/Pikeo2/PikeoFlexCommonGeneric/pom.xml
> to
> /var/local/hudson/jobs/Pikeo2/modules/com.pikeo.lib$PikeoFlexCommonGeneric/builds/2009-07-23_16-15-20/archive/com.pikeo.lib/PikeoFlexCommonGeneric/2.0-alpha-SNAPSHOT/pom.xml
> >
> > > [HUDSON] Archiving
> /var/local/hudson/jobs/Pikeo2/workspace/Pikeo2/PikeoFlexCommonGeneric/target/PikeoFlexCommonGeneric-2.0-alpha-SNAPSHOT.swc
> to
> /var/local/hudson/jobs/Pikeo2/modules/com.pikeo.lib$PikeoFlexCommonGeneric/builds/2009-07-23_16-15-20/archive/com.pikeo.lib/PikeoFlexCommonGeneric/2.0-alpha-SNAPSHOT/PikeoFlexCommonGeneric-2.0-alpha-SNAPSHOT.swc
> >
> > > [INFO]
> ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> ------------------------------------------------------------------------
> > > [INFO] Accept timed
> out/var/local/hudson/jobs/Pikeo2/workspace/Pikeo2/PikeoFlexCommonGeneric/target/test-classes/TestRunner.swf
> >
> > > It seems it cannot stop the flashplayer. However, I dont understand why
> it does not launch any test. Any clues?
> >
> > > henri
> >
> > > 2009/7/23 Marvin Froeder <[email protected]>
> >
> > > Run maven with -X option.
> > >> That should show you the xvfb logging.
> >
> > >> VELO
> >
> > >> On Thu, Jul 23, 2009 at 5:59 AM, henrim <[email protected]>
> wrote:
> >
> > >>> Hi Guys,
> >
> > >>> I am currently using flex mojos 3.3-SNAPSHOT on a ubuntu machine and
> I
> > >>> get the exit code 143.
> > >>> I have no clue how to investigate on xvbf (still I was able to launch
> > >>> a dummy swf within the flash player)
> > >>> could you please give me some hint?
> >
> > >>> henri
> >
>

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