none.... but seems something you should ask to TeamCity guys.

VELO

2010/4/26 Valdemar Júnior <[email protected]>

> I am using FlexUnit4 on my continuous integration server (TeamCity)
> (Windows XP, player 9.0), but occurs a error. I´ve got a maven log with -X
>
> the player throw *Error #2044: Unhandled SecurityErrorEvent:. text=Error
> #2048: Security sandbox violation:
> file:///C|/xfacweb/flexframework%2Dcore/bin%2Ddebug/test%2Dclasses/TestRunner.swf
> cannot load data from 127.0.0.1:13540.*
>
> detail: when I execute it out of teamcity the test works fine, on my
> machine and the same machine of teamcity.
>
> Any idea? thanks.
>
> [INFO] [flexmojos:test-run {execution: default-test-run}]
> [INFO] Flexmojos 3.6
> [INFO]      Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
>  [INFO] Running tests
> C:\xfacweb\flexframework-core\bin-debug\test-classes\TestRunner.swf
>  [DEBUG] [LAUNCHER] ASVmLauncher starting
>  [DEBUG] [LAUNCHER] exec:
> C:\java\flex_sdk_3.4\runtimes\player\win\FlashPlayer.exe -
> C:\xfacweb\flexframework-core\bin-debug\test-classes\TestRunner.swf
> [DEBUG] [LAUNCHER] Creating process
> [WARNING] [LAUNCHER] Using regular flashplayer tests
> [DEBUG] [LAUNCHER] Process created java.lang.processi...@1557441
> [DEBUG] [MOJO] launcher STARTED
>  [DEBUG] [MOJO] pinger null
> [16:26:33]: [DEBUG] [MOJO] resultHandler null
> [16:26:33]: [DEBUG] [org.sonatype.flexmojos.test.monitor.AsVmPing] opened
> server socket on port 13540
> [16:26:33]: [DEBUG] [org.sonatype.flexmojos.test.monitor.ResultHandler]
> opened server socket on port 13539
> [16:26:33]: [DEBUG] [LAUNCHER] Output pumpers ON
> [16:26:33]: [DEBUG] [LAUNCHER] Waiting for flashplayer termination
> [16:26:34]: [DEBUG] [MOJO] launcher RUNNING
> [16:26:34]: [DEBUG] [MOJO] pinger STARTED
> [16:26:34]: [DEBUG] [MOJO] resultHandler STARTED
> [16:26:34]: [DEBUG] [SYSERR]: Property canClose set to false
> [16:26:34]: [DEBUG] [SYSERR]:
> [16:26:34]: [DEBUG] [SYSERR]: Testing [class StringUtilsTest]
> [16:26:34]: [DEBUG] [SYSERR]:
> [16:26:34]: [DEBUG] [SYSERR]: Running tests using Flexunit4
> [16:26:34]: [DEBUG] [SYSERR]:
> [16:26:34]: [DEBUG] [SYSERR]: FlexUnit4: Test addition in
> StringUtilsTest.addition.StringUtilsTest started
> [16:26:34]: [DEBUG] [SYSERR]:
> [16:26:34]: [DEBUG] [SYSERR]: FlexUnit4: Test addition in
> StringUtilsTest.addition.StringUtilsTest finished
> [16:26:34]: [DEBUG] [SYSERR]:
> [16:26:34]: [DEBUG] [SYSERR]: Running 1 tests
> [16:26:34]: [DEBUG] [SYSERR]:
> [16:26:35]: [DEBUG] [MOJO] launcher RUNNING
> [16:26:35]: [DEBUG] [MOJO] pinger STARTED
> [16:26:35]: [DEBUG] [MOJO] resultHandler STARTED
> [16:26:35]: [DEBUG] [org.sonatype.flexmojos.test.monitor.AsVmPing]
> accepting data from client
> [16:26:35]: [DEBUG] [CONTROL] AsVmControl handleRequest
> [16:26:35]: [DEBUG] [CONTROL] query status
> [16:26:35]: [DEBUG] [CONTROL] received status
> [16:26:35]: [DEBUG] [SYSERR]: Error #2044: Unhandled SecurityErrorEvent:.
> text=Error #2048: Security sandbox violation:
> file:///C|/xfacweb/flexframework%2Dcore/bin%2Ddebug/test%2Dclasses/TestRunner.swf
> cannot load data from 127.0.0.1:13540.
> [16:26:35]: [DEBUG] [SYSERR]:
> [16:26:35]: [DEBUG] [SYSERR]:     at
> org.sonatype.flexmojos.unitestingsupport::ControlSocket/connect()[/home/nexus/flexmojos/flexmojos-3.6.x/target/checkout/flexmojos-testing/flexmojos-unittest-support/src/main/flex/org/sonatype/flexmojos/unitestingsupport/ControlSocket.as:33]
> [16:26:35]: [DEBUG] [SYSERR]:
> [16:26:35]: [DEBUG] [SYSERR]:     at
> org.sonatype.flexmojos.unitestingsupport::TestApplication/runTests()[/home/nexus/flexmojos/flexmojos-3.6.x/target/checkout/flexmojos-testing/flexmojos-unittest-support/src/main/flex/org/sonatype/flexmojos/unitestingsupport/TestApplication.as:39]
> [16:26:35]: [DEBUG] [SYSERR]:
> [16:26:35]: [DEBUG] [SYSERR]:     at
> flash.events::EventDispatcher/dispatchEventFunction()
> [16:26:35]: [DEBUG] [SYSERR]:
> [16:26:35]: [DEBUG] [SYSERR]:     at
> flash.events::EventDispatcher/dispatchEvent()
> [16:26:35]: [DEBUG] [SYSERR]:
> [16:26:35]: [DEBUG] [SYSERR]:     at
> mx.core::UIComponent/dispatchEvent()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\UIComponent.as:9408]
> [16:26:35]: [DEBUG] [SYSERR]:
> [16:26:35]: [DEBUG] [SYSERR]:     at mx.core::UIComponent/set
> initialized()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\UIComponent.as:1169]
> [16:26:35]: [DEBUG] [SYSERR]:
> [16:26:35]: [DEBUG] [SYSERR]:     at
> mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718]
> [16:26:35]: [DEBUG] [SYSERR]:
> [16:26:35]: [DEBUG] [SYSERR]:     at Function/
> http://adobe.com/AS3/2006/builtin::apply()<http://adobe.com/AS3/2006/builtin::apply%28%29>
> [16:26:35]: [DEBUG] [SYSERR]:
> [16:26:35]: [DEBUG] [SYSERR]:     at
> mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\UIComponent.as:8733]
> [16:26:35]: [DEBUG] [SYSERR]:
> [16:26:35]: [DEBUG] [SYSERR]:     at
> mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\core\UIComponent.as:8673]
> [16:26:35]: [DEBUG] [SYSERR]:
> [16:26:36]: [DEBUG] [MOJO] launcher RUNNING
> [16:26:36]: [DEBUG] [MOJO] pinger RUNNING
> [16:26:36]: [DEBUG] [MOJO] resultHandler STARTED
> [16:26:37]: [DEBUG] [MOJO] launcher RUNNING
> [16:26:37]: [DEBUG] [MOJO] pinger RUNNING
> [16:26:37]: [DEBUG] [MOJO] resultHandler STARTED
> [16:26:37]: [DEBUG] [CONTROL] query status
> [16:26:37]: [DEBUG] [CONTROL] received status
> [16:26:38]: [DEBUG] [MOJO] launcher RUNNING
> [16:26:38]: [DEBUG] [MOJO] pinger RUNNING
> [16:26:38]: [DEBUG] [MOJO] resultHandler STARTED
> [16:26:39]: [DEBUG] [MOJO] launcher RUNNING
> [16:26:39]: [DEBUG] [MOJO] pinger RUNNING
> [16:26:39]: [DEBUG] [MOJO] resultHandler STARTED
> [16:26:39]: [DEBUG] [CONTROL] query status
> [16:26:39]: [DEBUG] [CONTROL] received status
> [16:26:40]: [DEBUG] [MOJO] launcher RUNNING
> [16:26:40]: [DEBUG] [MOJO] pinger RUNNING
> [16:26:40]: [DEBUG] [MOJO] resultHandler STARTED
> [16:26:41]: [DEBUG] [MOJO] launcher RUNNING
> [16:26:41]: [DEBUG] [MOJO] pinger RUNNING
> [16:26:41]: [DEBUG] [MOJO] resultHandler STARTED
> [16:26:42]: [DEBUG] [MOJO] launcher RUNNING
> [16:26:42]: [DEBUG] [MOJO] pinger ERROR
> [16:26:42]: [DEBUG] [MOJO] resultHandler STARTED
> [16:26:42]: [DEBUG] [LAUNCHER] process has not been finished, destroying
> [16:26:42]: [INFO]
> ------------------------------------------------------------------------
> [16:26:42]: [INFO] Tests run: 0, Failures: 0, Errors: 0, Time Elapsed: 0
> sec
> [16:26:42]: [INFO]
> ------------------------------------------------------------------------
> [16:26:42]: [ERROR] BUILD ERROR
> [16:26:42]: [INFO]
> ------------------------------------------------------------------------
> [16:26:42]: [DEBUG] [LAUNCHER] Flashplayer closed
> [16:26:42]: [DEBUG] [LAUNCHER] Unexpected return code 1
> [16:26:42]: [INFO] Read timed
> outC:\xfacweb\flexframework-core\bin-debug\test-classes\TestRunner.swf
> [16:26:42]: [INFO]
> ------------------------------------------------------------------------
> [16:26:42]: [DEBUG] Trace
> [16:26:42]: org.apache.maven.lifecycle.LifecycleExecutionException: Read
> timed outC:\xfacweb\flexframework-core\bin-debug\test-classes\TestRunner.swf
> [16:26:42]:     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
> [16:26:42]:     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> [16:26:42]:     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
> [16:26:42]:     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> [16:26:42]:     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> [16:26:42]:     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> [16:26:42]:     at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> [16:26:42]:     at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> [16:26:42]:     at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> [16:26:42]:     at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> [16:26:42]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> [16:26:42]:     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [16:26:42]:     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [16:26:42]:     at java.lang.reflect.Method.invoke(Method.java:597)
> [16:26:42]:     at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> [16:26:42]:     at
> org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> [16:26:42]:     at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> [16:26:42]:     at
> org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [16:26:42]: Caused by: org.apache.maven.plugin.MojoExecutionException: Read
> timed outC:\xfacweb\flexframework-core\bin-debug\test-classes\TestRunner.swf
> [16:26:42]:     at
> org.sonatype.flexmojos.test.FlexUnitMojo.tearDown(FlexUnitMojo.java:302)
> [16:26:42]:     at
> org.sonatype.flexmojos.test.FlexUnitMojo.execute(FlexUnitMojo.java:152)
> [16:26:42]:     at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> [16:26:42]:     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> [16:26:42]:     ... 17 more
> [16:26:42]: Caused by: org.sonatype.flexmojos.test.TestRunnerException:
> Read timed
> outC:\xfacweb\flexframework-core\bin-debug\test-classes\TestRunner.swf
> [16:26:42]:     at
> org.sonatype.flexmojos.test.DefaultTestRunner.run(DefaultTestRunner.java:67)
> [16:26:42]:     at
> org.sonatype.flexmojos.test.FlexUnitMojo.run(FlexUnitMojo.java:266)
> [16:26:42]:     at
> org.sonatype.flexmojos.test.FlexUnitMojo.execute(FlexUnitMojo.java:151)
> [16:26:42]:     ... 19 more
> [16:26:42]: Caused by: java.net.SocketTimeoutException: Read timed out
> [16:26:42]:     at java.net.SocketInputStream.socketRead0(Native Method)
> [16:26:42]:     at
> java.net.SocketInputStream.read(SocketInputStream.java:129)
> [16:26:42]:     at
> sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
> [16:26:42]:     at
> sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
> [16:26:42]:     at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
> [16:26:42]:     at
> java.io.InputStreamReader.read(InputStreamReader.java:167)
> [16:26:42]:     at java.io.BufferedReader.fill(BufferedReader.java:136)
> [16:26:42]:     at java.io.BufferedReader.readLine(BufferedReader.java:299)
> [16:26:42]:     at java.io.BufferedReader.readLine(BufferedReader.java:362)
> [16:26:42]:     at
> org.sonatype.flexmojos.test.monitor.AsVmPing.handleRequest(AsVmPing.java:54)
> [16:26:42]:     at
> org.sonatype.flexmojos.test.monitor.AbstractSocketThread.run(AbstractSocketThread.java:44)
> [16:26:42]:     at java.lang.Thread.run(Thread.java:619)
> [16:26:42]: [INFO]
> ------------------------------------------------------------------------
> [16:26:42]: [INFO] Total time: 37 seconds
> [16:26:42]: [INFO] Finished at: Mon Apr 26 16:26:42 BRT 2010
> [16:26:42]: [INFO] Final Memory: 38M/247M
> [16:26:42]: [INFO]
> ------------------------------------------------------------------------
>
> --
> Valdemar Júnior
> SCJP 5.0, SCWCD1.4, SCBCD 5.0, SCSNI
> WebSite: http://www.valdemarjr.net
> Mobile: (+55) (61) 8146 8998
> @valdemarjuniorr
> -----------------------------------------------
>
> --
> 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/

Reply via email to