Sure, sure, I did not took it as a possible bug.... if debugger player is/was a must I would be happy as well ;)
On Wed, Oct 27, 2010 at 4:44 PM, Bryan Turner <[email protected]> wrote: > My players in Internet Explorer, Firefox and Chrome are also debug > versions. Sorry if I came across as indicating that was the issue; I'm not. > I was just asking a question based on the fact that we're using a debug > FlashPlayer everywhere and I was curious if the release one actually worked > in this context. > > On Wed, Oct 27, 2010 at 11:07 AM, Marvin Froeder <[email protected]>wrote: > >> It matters not..... >> >> AFIK, you can even use browser player >> >> On Wed, Oct 27, 2010 at 4:01 PM, Bryan Turner <[email protected]>wrote: >> >>> Does running the tests work with non-debug versions of FlashPlayer? We're >>> using a debug version of the standalone FlashPlayer for our tests--I haven't >>> tried it with a non-debug version. >>> >>> On Wed, Oct 27, 2010 at 7:06 AM, Marvin Froeder <[email protected]>wrote: >>> >>>> >>>> >>>> On Wed, Oct 27, 2010 at 12:03 PM, JohnG <[email protected]> wrote: >>>> >>>>> Here's the abbreviated -X output: >>>>> >>>>> INFO] [flexmojos:test-run {execution: default-test-run}] >>>>> [INFO] Flexmojos 3.5.0 >>>>> [INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT >>>>> file >>>>> [INFO] Running tests /Users/jgriffin/java/projects/.../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: Flash Player - /Users/jgriffin/java/ >>>>> projects/.../target/test-classes/TestRunner.swf >>>>> [DEBUG] [LAUNCHER] Creating process >>>>> [WARNING] [LAUNCHER] Using regular flashplayer tests >>>>> [DEBUG] [LAUNCHER] Process created java.lang.unixproc...@72efeb2e >>>>> [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 ERROR >>>>> [DEBUG] [MOJO] resultHandler STARTED >>>>> [DEBUG] [LAUNCHER] process has not been finished, destroying >>>>> [INFO] >>>>> >>>>> ------------------------------------------------------------------------ >>>>> [DEBUG] [LAUNCHER] Flashplayer closed >>>>> [DEBUG] [LAUNCHER] Unexpected return code 143 >>>>> [INFO] Tests run: 0, Failures: 0, Errors: 0, Time Elapsed: 0 sec >>>>> [INFO] >>>>> >>>>> ------------------------------------------------------------------------ >>>>> [ERROR] BUILD ERROR >>>>> [INFO] >>>>> >>>>> ------------------------------------------------------------------------ >>>>> [INFO] Accept timed out/Users/jgriffin/java/projects/.../target/test- >>>>> classes/TestRunner.swf >>>>> >>>>> Where can I find information about return code 143?? >>>>> >>>> >>>> I would get flashplayer documentation, no idea if there are documented >>>> exit codes for flashplayer. >>>> >>>> >>>>> >>>>> JohnG >>>>> >>>>> >>>>> >>>>> On Oct 27, 7:44 am, Marvin Froeder <[email protected]> wrote: >>>>> > The flashplayer will be blank all the time, it provides you no >>>>> feedback. >>>>> > >>>>> > May be you have some Timer that is taking too much time, who know. >>>>> > >>>>> > On Wed, Oct 27, 2010 at 11:40 AM, JohnG <[email protected]> wrote: >>>>> > > Marvin, >>>>> > >>>>> > > Al I can tell you up to this point is that the flash player starts >>>>> up >>>>> > > when the tests attempt to run but the player window remains blank. >>>>> > > This tekks me maven knows where the flash player is but not how to >>>>> > > talk to it properly. The stack trace remains the same. I'll dig >>>>> into >>>>> > > the maven docs and flash player docs and see if they have >>>>> information >>>>> > > about ports, etc. >>>>> > >>>>> > > JohnG >>>>> > >>>>> > > On Oct 26, 4:38 pm, Marvin Froeder <[email protected]> wrote: >>>>> > > > On Tue, Oct 26, 2010 at 6:32 PM, JohnG <[email protected]> >>>>> wrote: >>>>> > > > > Hi Marvin, >>>>> > >>>>> > > > > I forgot to mention two things, I'm using the non-debug flash >>>>> version >>>>> > > > > and the tests run fine in Intellij. >>>>> > >>>>> > > > Neither this changes nothing. >>>>> > >>>>> > > > > That's why I though it was a >>>>> > > > > dependency problem. Can the port and controlPort be controlled >>>>> from >>>>> > > > > the pom or would this not help? >>>>> > >>>>> > > > Check maven docs. >>>>> > >>>>> > > > > Or is that even related to the ping >>>>> > > > > problem? >>>>> > >>>>> > > > Can tell, so far you gave me no clue on what is going on there. >>>>> > >>>>> > > > > JohnG >>>>> > >>>>> > > > > On Oct 26, 2:23 pm, Marvin Froeder <[email protected]> wrote: >>>>> > > > > > For some reason flashplayer did not respond to java ping >>>>> request.... >>>>> > >>>>> > > > > > VELO >>>>> > >>>>> > > > > > On Tue, Oct 26, 2010 at 5:58 PM, JohnG <[email protected]> >>>>> wrote: >>>>> > > > > > > Everyone, >>>>> > >>>>> > > > > > > I've looked through the posts and everything about this >>>>> problem is >>>>> > > > > > > over a year old. I'm getting the 'dreaded' >>>>> > >>>>> > > > > > > Accept timed out....../target/test-classes/TestRunner.swf >>>>> > >>>>> > > > > > > with the following stack trace >>>>> > >>>>> > > > > > > rg.apache.maven.lifecycle.LifecycleExecutionException: >>>>> Accept timed >>>>> > >>>>> > > >>>>> out/Users/jgriffin/java/projects/FlexCheckout/flex-checkout-swf/target/ >>>>> > > > > > > test-classes/TestRunner.swf >>>>> > > > > > > at >>>>> > >>>>> > > >>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: >>>>> > > > > > > 719) >>>>> > > > > > > at >>>>> > >>>>> > > >>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java: >>>>> > > > > > > 556) >>>>> > > > > > > at >>>>> > >>>>> > > >>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: >>>>> > > > > > > 535) >>>>> > > > > > > at >>>>> > >>>>> > > >>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java: >>>>> > > > > > > 387) >>>>> > > > > > > at >>>>> > >>>>> > > >>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java: >>>>> > > > > > > 348) >>>>> > > > > > > at >>>>> > >>>>> > > >>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java: >>>>> > > > > > > 180) >>>>> > > > > > > at >>>>> > > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) >>>>> > > > > > > at >>>>> > > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) >>>>> > > > > > > at >>>>> org.apache.maven.cli.MavenCli.main(MavenCli.java:362) >>>>> > > > > > > at >>>>> > >>>>> > > >>>>> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java: >>>>> > > > > > > 60) >>>>> > > > > > > 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: >>>>> Accept >>>>> > > > > > > timed >>>>> > > out/Users/jgriffin/java/projects/FlexCheckout/flex-checkout-swf/ >>>>> > > > > > > target/test-classes/TestRunner.swf >>>>> > > > > > > at >>>>> > >>>>> > > >>>>> org.sonatype.flexmojos.test.FlexUnitMojo.tearDown(FlexUnitMojo.java: >>>>> > > > > > > 315) >>>>> > > > > > > at >>>>> > > > > > > >>>>> org.sonatype.flexmojos.test.FlexUnitMojo.execute(FlexUnitMojo.java: >>>>> > > > > > > 165) >>>>> > > > > > > at >>>>> > >>>>> > > >>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: >>>>> > > > > > > 490) >>>>> > > > > > > at >>>>> > >>>>> > > >>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: >>>>> > > > > > > 694) >>>>> > > > > > > ... 17 more >>>>> > > > > > > Caused by: org.sonatype.flexmojos.test.TestRunnerException: >>>>> Accept >>>>> > > > > > > timed >>>>> > > out/Users/jgriffin/java/projects/FlexCheckout/flex-checkout-swf/ >>>>> > > > > > > target/test-classes/TestRunner.swf >>>>> > > > > > > at >>>>> > >>>>> > > >>>>> org.sonatype.flexmojos.test.DefaultTestRunner.run(DefaultTestRunner.java: >>>>> > > > > > > 87) >>>>> > > > > > > at >>>>> > > > > org.sonatype.flexmojos.test.FlexUnitMojo.run(FlexUnitMojo.java: >>>>> > > > > > > 279) >>>>> > > > > > > at >>>>> > > > > > > >>>>> org.sonatype.flexmojos.test.FlexUnitMojo.execute(FlexUnitMojo.java: >>>>> > > > > > > 164) >>>>> > > > > > > ... 19 more >>>>> > > > > > > Caused by: java.net.SocketTimeoutException: Accept timed >>>>> out >>>>> > > > > > > at java.net.PlainSocketImpl.socketAccept(Native >>>>> Method) >>>>> > > > > > > at >>>>> java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390) >>>>> > > > > > > at >>>>> java.net.ServerSocket.implAccept(ServerSocket.java:453) >>>>> > > > > > > at >>>>> java.net.ServerSocket.accept(ServerSocket.java:421) >>>>> > > > > > > at >>>>> > >>>>> > > >>>>> org.sonatype.flexmojos.test.monitor.AbstractSocketThread.openClientSocket(AbstractSocketThread.java: >>>>> > > > > > > 124) >>>>> > > > > > > at >>>>> > >>>>> > > >>>>> org.sonatype.flexmojos.test.monitor.AbstractSocketThread.run(AbstractSocketThread.java: >>>>> > > > > > > 62) >>>>> > > > > > > at java.lang.Thread.run(Thread.java:637) >>>>> > >>>>> > > > > > > I'm using 3.7.1 flexmojos. I've tried 3.5 and 3.8 but no >>>>> joy. >>>>> > >>>>> > > > > > > Here are my relevant dependencies: >>>>> > >>>>> > > > > > > <dependency> >>>>> > > > > > > <groupId>com.adobe.flexunit</groupId> >>>>> > > > > > > <artifactId>flexunit</artifactId> >>>>> > > > > > > <version>4.0-beta-2</version> >>>>> > > > > > > <type>swc</type> >>>>> > > > > > > <scope>test</scope> >>>>> > > > > > > </dependency> >>>>> > >>>>> > > > > > > <dependency> >>>>> > > > > > > <groupId>org.flexunit</groupId> >>>>> > > > > > > <artifactId>flexunit-core-as3</artifactId> >>>>> > > > > > > <version>4.1.0-RC1.27-sdk3.5.0.12683</version> >>>>> > > > > > > <type>swc</type> >>>>> > > > > > > <scope>test</scope> >>>>> > > > > > > </dependency> >>>>> > >>>>> > > > > > > <dependency> >>>>> > > > > > > <groupId>org.mockito</groupId> >>>>> > > > > > > <artifactId>mockito-flex</artifactId> >>>>> > > > > > > <version>1.4M4</version> >>>>> > > > > > > <type>swc</type> >>>>> > > > > > > <scope>test</scope> >>>>> > > > > > > </dependency> >>>>> > >>>>> > > > > > > Any ideas? Thanks in advance. >>>>> > >>>>> > > > > > > JohnG >>>>> > >>>>> > > > > > > -- >>>>> > > > > > > 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]<flex-mojos%[email protected]> >>>>> <flex-mojos%[email protected]<flex-mojos%[email protected]> >>>>> > >>>>> > > <flex-mojos%[email protected]<flex-mojos%[email protected]> >>>>> <flex-mojos%[email protected]<flex-mojos%[email protected]> >>>>> > >>>>> > >>>>> > > > > <flex-mojos%[email protected]<flex-mojos%[email protected]> >>>>> <flex-mojos%[email protected]<flex-mojos%[email protected]> >>>>> > >>>>> > > <flex-mojos%[email protected]<flex-mojos%[email protected]> >>>>> <flex-mojos%[email protected]<flex-mojos%[email protected]> >>>>> > >>>>> > >>>>> > > > > > > For more options, visit this group at >>>>> > > > > > >http://groups.google.com/group/flex-mojos >>>>> > >>>>> > > > > > >http://flexmojos.sonatype.org/ >>>>> > >>>>> > > > > -- >>>>> > > > > 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]<flex-mojos%[email protected]> >>>>> <flex-mojos%[email protected]<flex-mojos%[email protected]> >>>>> > >>>>> > > <flex-mojos%[email protected]<flex-mojos%[email protected]> >>>>> <flex-mojos%[email protected]<flex-mojos%[email protected]> >>>>> > >>>>> > >>>>> > > > > For more options, visit this group at >>>>> > > > >http://groups.google.com/group/flex-mojos >>>>> > >>>>> > > > >http://flexmojos.sonatype.org/ >>>>> > >>>>> > > -- >>>>> > > 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]<flex-mojos%[email protected]> >>>>> <flex-mojos%[email protected]<flex-mojos%[email protected]> >>>>> > >>>>> > > For more options, visit this group at >>>>> > >http://groups.google.com/group/flex-mojos >>>>> > >>>>> > >http://flexmojos.sonatype.org/ >>>>> > >>>>> > >>>>> >>>>> -- >>>>> 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]<flex-mojos%[email protected]> >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/flex-mojos >>>>> >>>>> http://flexmojos.sonatype.org/ >>>>> >>>> >>>> -- >>>> 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]<flex-mojos%[email protected]> >>>> For more options, visit this group at >>>> http://groups.google.com/group/flex-mojos >>>> >>>> http://flexmojos.sonatype.org/ >>>> >>> >>> -- >>> 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]<flex-mojos%[email protected]> >>> For more options, visit this group at >>> http://groups.google.com/group/flex-mojos >>> >>> http://flexmojos.sonatype.org/ >>> >> >> -- >> 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]<flex-mojos%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/flex-mojos >> >> http://flexmojos.sonatype.org/ >> > > -- > 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]<flex-mojos%[email protected]> > For more options, visit this group at > http://groups.google.com/group/flex-mojos > > http://flexmojos.sonatype.org/ > -- 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 http://flexmojos.sonatype.org/
