Hi Velo,
here is the Debug output of the text execution. I did not find
anything helpful:
[DEBUG] [RESULT] End test
suite
[DEBUG] [RESULT] Recivied data: <endOfTestRun/
>
[DEBUG] [RESULT] End test run - sending ACK: <endOfTestRunAck/
>
[DEBUG] [RESULT] Socket
buffer
[DEBUG] [MOJO] launcher
RUNNING
[DEBUG] [MOJO] pinger
RUNNING
[DEBUG] [MOJO] resultHandler
DONE
[DEBUG] [CONTROL] query
status
[DEBUG] [CONTROL] received
status
[DEBUG] [CONTROL] status is:
FINISHED
[DEBUG] [CONTROL] FINISHED received, terminating the
thread
[DEBUG] [MOJO] launcher
RUNNING
[DEBUG] [MOJO] pinger
DONE
[DEBUG] [MOJO] resultHandler
DONE
[DEBUG] [LAUNCHER] Flashplayer
closed
[DEBUG] [LAUNCHER] Unexpected return code
139
[DEBUG] [MOJO] launcher
ERROR
[DEBUG] [MOJO] pinger
DONE
[DEBUG] [MOJO] resultHandler
DONE
[INFO]
------------------------------------------------------------------------
[INFO] Tests run: 0, Failures: 0, Errors: 0, Time Elapsed: 0
sec
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD
ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unexpected return code 139/home/cschlipf/data/dev/svn/opr/
components/common/opr-fx-common/target/test-classes/
TestRunner.swf
[INFO]
------------------------------------------------------------------------
[DEBUG]
Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unexpected
return code 139/home/cschlipf/data/dev/svn/opr/components/common/opr-
fx-common/target/test-classes/
TestRunner.swf
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:583)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:499)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:478)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
(DefaultLifecycleExecutor.java:291)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced
(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode
(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Unexpected
return code 139/home/cschlipf/data/dev/svn/opr/components/common/opr-
fx-common/target/test-classes/TestRunner.swf
at org.sonatype.flexmojos.test.FlexUnitMojo.tearDown
(FlexUnitMojo.java:298)
at org.sonatype.flexmojos.test.FlexUnitMojo.execute
(FlexUnitMojo.java:157)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo
(DefaultPluginManager.java:451)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(DefaultLifecycleExecutor.java:558)
... 16 more
Caused by: org.sonatype.flexmojos.test.TestRunnerException: Unexpected
return code 139/home/cschlipf/data/dev/svn/opr/components/common/opr-
fx-common/target/test-classes/TestRunner.swf
at org.sonatype.flexmojos.test.DefaultTestRunner.run
(DefaultTestRunner.java:65)
at org.sonatype.flexmojos.test.FlexUnitMojo.run
(FlexUnitMojo.java:262)
at org.sonatype.flexmojos.test.FlexUnitMojo.execute
(FlexUnitMojo.java:156)
... 18 more
Caused by: java.lang.Error: Unexpected return code 139
at
org.sonatype.flexmojos.test.launcher.AsVmLauncher.processExitCode
(AsVmLauncher.java:256)
at org.sonatype.flexmojos.test.launcher.AsVmLauncher.run
(AsVmLauncher.java:193)
at java.lang.Thread.run(Thread.java:619)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 16 seconds
[INFO] Finished at: Tue Sep 08 13:54:45 CEST 2009
[INFO] Final Memory: 62M/508M
[INFO]
------------------------------------------------------------------------
As said, the tests are executing fine with the same flashplayer under
flex-mojos 3.2.0. So I believe it is related to some changes that were
introduced with 3.3.0.
Best regards,
Carsten
On Sep 8, 1:30 pm, Marvin Froeder <[email protected]> wrote:
> Debug log should print any related information....
> Probably some missing library to run flashplayer or xvfb....
>
> VELO
>
> Mike Ditka <http://www.brainyquote.com/quotes/authors/m/mike_ditka.html> -
> "If God had wanted man to play soccer, he wouldn't have given us arms."
>
> On Tue, Sep 8, 2009 at 3:42 AM, Grant Smith <[email protected]> wrote:
> > Hmm.. Does the standalone flash player run correctly on both ? I'm not sure
> > what else to suggest, other than perhaps to point at this thread which
> > seemed to indicate similar problems:
>
> >http://groups.google.com/group/flex-mojos/browse_thread/thread/4c9583...
>
> > puzzling...
>
> > On Mon, Sep 7, 2009 at 11:19 PM, Carsten Schlipf <
> > [email protected]> wrote:
>
> >> Hi Grant,
>
> >> on the System that works:
>
> >> Java 1.6.0_13
> >> Maven 2.1.0
>
> >> on the System that does not work:
>
> >> Java 1.6.0_13
> >> Maven 2.0.9
>
> >> So I tried to run the tests with Maven 2.1.0 on the second system but
> >> I still have the same problem.
>
> >> On Sep 7, 8:13 pm, Grant Smith <[email protected]> wrote:
> >> > Same versions of Java and Maven on both ?
>
> >> > On Mon, Sep 7, 2009 at 5:40 AM, Carsten Schlipf
> >> > <[email protected]>wrote:
>
> >> > > Hm, it works on another Linux box. Both have the same flashplayer
> >> > > version installed, but one is Ubuntu Intrepid (fails) and the other is
> >> > > Ubuntu Jaunty (successful). Debug output did not provide any usefule
> >> > > information for me.
>
> >> > > On Sep 7, 1:49 pm, Marvin Froeder <[email protected]> wrote:
> >> > > > No idea, run maven on debug mode a see what the problem really is.
> >> > > > You are using linux, right?
>
> >> > > > VELO
>
> >> > > > Pablo Picasso<
> >> > >http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html>
> >> > > > - "Computers are useless. They can only give you answers."
>
> >> > > > On Mon, Sep 7, 2009 at 8:01 AM, Carsten Schlipf
> >> > > > <[email protected]>wrote:
>
> >> > > > > Hi Velo,
>
> >> > > > > I just tried to switch a running flex-mojos build from 3.2.0 to
> >> 3.3.0.
> >> > > > > Unfortunately I get this error, when I build with 3.3.0:
>
> >> > > > > [INFO] [flexmojos:test-run]
> >> > > > > [INFO] flexmojos 3.3.0 - GNU GPL License (NO WARRANTY) - See
> >> COPYRIGHT
> >> > > > > file
> >> > > > > [INFO] Running tests
> >> /home/cschlipf/data/dev/svn/opr/components/common/
> >> > > > > opr-fx-common/target/test-classes/TestRunner.swf
> >> > > > > [WARNING] [LAUNCHER] Using regular flashplayer tests
> >> > > > > [INFO]
>
> >> ------------------------------------------------------------------------
> >> > > > > [INFO] Tests run: 0, Failures: 0, Errors: 0, Time Elapsed: 0 sec
> >> > > > > [INFO]
>
> >> ------------------------------------------------------------------------
> >> > > > > [ERROR] BUILD ERROR
> >> > > > > [INFO]
>
> >> ------------------------------------------------------------------------
> >> > > > > [INFO] Unexpected return code 139/home/cschlipf/data/dev/svn/opr/
> >> > > > > components/common/opr-fx-common/target/test-classes/TestRunner.swf
>
> >> > > > > With 3.2.0 it worked with no problems. But with 3.3.0 it fails
> >> with
> >> > > > > this error. Also note that the test-run reports that there are no
> >> > > > > tests and none has been executed, which is not true. There are a
> >> > > > > couple of tests. For testing I have the following dependencies in
> >> my
> >> > > > > pom:
>
> >> > > > > <dependency>
> >> > > > > <groupId>com.adobe.flexunit</groupId>
> >> > > > > <artifactId>flexunit</artifactId>
> >> > > > > <type>swc</type>
> >> > > > > <scope>test</scope>
> >> > > > > </dependency>
> >> > > > > <dependency>
> >> > > > > <groupId>org.sonatype.flexmojos</groupId>
> >> > > > > <artifactId>flexmojos-unittest-support</artifactId>
> >> > > > > <type>swc</type>
> >> > > > > <scope>test</scope>
> >> > > > > </dependency>
>
> >> > > > > Is there something I need to change?
>
> >> > > > > Best regards,
> >> > > > > Carsten
>
> >> > --
> >> > Grant Smith
>
> > --
> > Grant Smith
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---