I think I will reverse that... just curious to know what you do different from flexmojos integration tests....
VELO On Fri, Jun 5, 2009 at 3:18 PM, Dtornkaew <[email protected]> wrote: > > This looks similar to the problem I had earlier with Socket > connections after the patch to the test libraries was applied on 3.3. > > I still haven't found a way to fix this (mostly lack of time right > now). For now I reverted the patches on my local branch to make things > work until I have more time to investigate. > > Lance > > On Jun 5, 11:36 am, Marvin Froeder <[email protected]> wrote: > > I know I applied one use patch on tests.... may be that is the root of > all > > evil on 3.3 > > > > On Fri, Jun 5, 2009 at 1:33 PM, Mario Ernst <[email protected]> > wrote: > > > Yet another post.. > > > I skipped the tests in the module which caused problems. > > > I tried to build my projects, another module did fail with the same > error > > > (flexmojos 3.3-snapshot) > > > I switched back to flexmojos 3.2.0, everything worked fine, tests > passed. > > > Mario > > > > > On Fri, Jun 5, 2009 at 6:19 PM, Mario Ernst <[email protected]> > wrote: > > > > >> No, because of the bug I posted before, but I had no problem with > 3.2.0 in > > >> my other test classes (in the main project) so far (so my assumption > is it > > >> has nothing to do with my machine.?). > > >> The strange thing is: I compiled a few times... > > >> "mvn clean install -X" sometimes failes, sometimes succeeds. If it > fails, > > >> then with that error: java.lang.Error: Error receiving report from > flexunit > > >> I should go home now.. :) If I find out something, I will tell.... > > >> Mario > > > > >> On Fri, Jun 5, 2009 at 5:36 PM, Marvin Froeder <[email protected]> > wrote: > > > > >>> And all that works on 3.2.0? > > >>> VELO > > > > >>> On Fri, Jun 5, 2009 at 12:14 PM, Mario Ernst <[email protected] > >wrote: > > > > >>>> And the next error (flash player): > > >>>> Error #2044: securityError unverarbeitet. text=Error #2048: > Verletzung > > >>>> der Sicherheits-Sandbox: > > >>>> file:///E|/projects/.../target/test%2Dclasses/TestRunner.swf kann > keine > > >>>> Daten von 127.0.0.1:13540 laden. > > >>>> --- > > >>>> Which means: TestRunner.swf cannot load data from 127.0.0.1:13540due > > >>>> to a security issue. > > >>>> --- > > >>>> at > > >>>> > org.sonatype.flexmojos.unitestingsupport::ControlSocket/connect()[/home/hudson/workspace/flex-mojos/jdk/1.5/label/ubuntu/trunk/flexmojos-testing/flexmojos-unittest-support/src/main/flex/org/sonatype/flexmojos/unitestingsupport/ControlSocket.as:31] > > >>>> at > > >>>> > org.sonatype.flexmojos.unitestingsupport::TestApplication/runTests()[/home/hudson/workspace/flex-mojos/jdk/1.5/label/ubuntu/trunk/flexmojos-testing/flexmojos-unittest-support/src/main/flex/org/sonatype/flexmojos/unitestingsupport/TestApplication.as:39] > > > > >>>> On Fri, Jun 5, 2009 at 5:05 PM, Mario Ernst <[email protected] > >wrote: > > > > >>>>> Flag -X gives me following, which seems to be OK: > > >>>>> --- > > >>>>> [DEBUG] [RESULT] port: 13539 Recivied data: <testsuite errors="0" > > >>>>> failures="0" name="de.xxx.XTest" tests="2" time="0"> > > >>>>> <testcase name="testX1" time="0"/> > > >>>>> <testcase name="testX2" time="0"/> > > >>>>> </testsuite> > > >>>>> --- > > >>>>> I startet TestRunner.swf manually from target/test-classes with > > >>>>> following output (German :) ): > > >>>>> --- > > >>>>> Error #2044: ioError unverarbeitet. text=Error #2031: Socketfehler. > > >>>>> URL: 127.0.0.1 > > >>>>> at > > >>>>> > org.sonatype.flexmojos.unitestingsupport::SocketReporter/sendResults()[/home/hudson/workspace/flex-mojos/jdk/1.5/label/ubuntu/trunk/flexmojos-testing/flexmojos-unittest-support/src/main/flex/org/sonatype/flexmojos/unitestingsupport/SocketReporter.as:135] > > >>>>> at > > >>>>> > <anonymous>()[/home/hudson/workspace/flex-mojos/jdk/1.5/label/ubuntu/trunk/flexmojos-testing/flexmojos-unittest-support/src/main/flex/org/sonatype/flexmojos/unitestingsupport/SocketReporter.as:256] > > >>>>> at > > >>>>> > <anonymous>()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\binding\utils\BindingUtils.as:145] > > >>>>> at > > >>>>> > mx.binding.utils::ChangeWatcher/wrapHandler()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\binding\utils\ChangeWatcher.as:423] > > >>>>> at flash.events::EventDispatcher/dispatchEventFunction() > > >>>>> at flash.events::EventDispatcher/dispatchEvent() > > >>>>> at > > >>>>> > org.sonatype.flexmojos.unitestingsupport::SocketReporter/dispatchEvent()[/home/hudson/workspace/flex-mojos/jdk/1.5/label/ubuntu/trunk/flexmojos-testing/flexmojos-unittest-support/src/main/flex/org/sonatype/flexmojos/unitestingsupport/SocketReporter.as:47] > > >>>>> at org.sonatype.flexmojos.unitestingsupport::SocketReporter/set > > >>>>> > numTestsRun()[/home/hudson/workspace/flex-mojos/jdk/1.5/label/ubuntu/trunk/flexmojos-testing/flexmojos-unittest-support/src/main/flex/org/sonatype/flexmojos/unitestingsupport/SocketReporter.as:47] > > >>>>> at > > >>>>> > org.sonatype.flexmojos.unitestingsupport::SocketReporter/testFinished()[/home/hudson/workspace/flex-mojos/jdk/1.5/label/ubuntu/trunk/flexmojos-testing/flexmojos-unittest-support/src/main/flex/org/sonatype/flexmojos/unitestingsupport/SocketReporter.as:98] > > >>>>> at > > >>>>> > org.sonatype.flexmojos.unitestingsupport.flexunit::FlexUnitListener/endTest()[/home/hudson/workspace/flex-mojos/jdk/1.5/label/ubuntu/trunk/flexmojos-testing/flexmojos-unittest-support/src/main/flex/org/sonatype/flexmojos/unitestingsupport/flexunit/FlexUnitListener.as:56] > > >>>>> at flexunit.framework::TestResult/endTest()[C:\Documents and > > >>>>> Settings\mchamber\My > > >>>>> > Documents\src\flashplatform\projects\flexunit\trunk\src\actionscript3\flexunit\framework\TestResult.as:276] > > >>>>> at flexunit.framework::TestResult/doFinish()[C:\Documents and > > >>>>> Settings\mchamber\My > > >>>>> > Documents\src\flashplatform\projects\flexunit\trunk\src\actionscript3\flexunit\framework\TestResult.as:126] > > >>>>> at flexunit.framework::TestResult/doContinue()[C:\Documents and > > >>>>> Settings\mchamber\My > > >>>>> > Documents\src\flashplatform\projects\flexunit\trunk\src\actionscript3\flexunit\framework\TestResult.as:116] > > >>>>> at flexunit.framework::TestResult/doRun()[C:\Documents and > > >>>>> Settings\mchamber\My > > >>>>> > Documents\src\flashplatform\projects\flexunit\trunk\src\actionscript3\flexunit\framework\TestResult.as:96] > > >>>>> at flexunit.framework::TestResult/run()[C:\Documents and > > >>>>> Settings\mchamber\My > > >>>>> > Documents\src\flashplatform\projects\flexunit\trunk\src\actionscript3\flexunit\framework\TestResult.as:71] > > >>>>> at flexunit.framework::TestCase/runWithResult()[C:\Documents and > > >>>>> Settings\mchamber\My > > >>>>> > Documents\src\flashplatform\projects\flexunit\trunk\src\actionscript3\flexunit\framework\TestCase.as:171] > > >>>>> at flexunit.framework::TestSuite/runTest()[C:\Documents and > > >>>>> Settings\mchamber\My > > >>>>> > Documents\src\flashplatform\projects\flexunit\trunk\src\actionscript3\flexunit\framework\TestSuite.as:194] > > >>>>> at flexunit.framework::TestSuite/runNext()[C:\Documents and > > >>>>> Settings\mchamber\My > > >>>>> > Documents\src\flashplatform\projects\flexunit\trunk\src\actionscript3\flexunit\framework\TestSuite.as:182] > > >>>>> at > > >>>>> > flexunit.framework::TestSuiteTestListener/handleTimer()[C:\Documents and > > >>>>> Settings\mchamber\My > > >>>>> > Documents\src\flashplatform\projects\flexunit\trunk\src\actionscript3\flexunit\framework\TestSuiteTestListener.as:81] > > >>>>> at flash.utils::Timer/_timerDispatch() > > >>>>> at flash.utils::Timer/tick() > > >>>>> --- > > > > >>>>> On Fri, Jun 5, 2009 at 4:49 PM, Mario Ernst <[email protected] > >wrote: > > > > >>>>>> mm...testing the main project (swf) outputs following: > > >>>>>> --- > > >>>>>> java.lang.Error: Invalid virtual machine status: null - class > > >>>>>> org.sonatype.flexmojos.test.threads.AsVmControl > > >>>>>> at > > >>>>>> > org.sonatype.flexmojos.test.threads.AbstractSocketThread.setError(AbstractSocketThread.java:98) > > >>>>>> at > > >>>>>> > org.sonatype.flexmojos.test.threads.AsVmControl.handleRequest(AsVmControl.java:58) > > >>>>>> at > > >>>>>> > org.sonatype.flexmojos.test.threads.AbstractSocketThread.run(AbstractSocketThread.java:57) > > >>>>>> at java.lang.Thread.run(Thread.java:619) > > >>>>>> --- > > > > >>>>>> On Fri, Jun 5, 2009 at 4:34 PM, Mario Ernst < > [email protected]>wrote: > > > > >>>>>>> Obviously I can't receive report from flexunit due to a socket > write > > >>>>>>> error. > > >>>>>>> Do I have to specify a port somewhere? Flexmojos 3.2.0 didn't > cause > > >>>>>>> any trouble, anything changed? > > >>>>>>> Mario > > > > >>>>>>> On Fri, Jun 5, 2009 at 4:16 PM, Marvin Froeder < > [email protected]>wrote: > > > > >>>>>>>> No idea.... this exception just tell me you really had an > exception > > >>>>>>>> =P > > >>>>>>>> VELO > > > > >>>>>>>> On Fri, Jun 5, 2009 at 11:14 AM, Mario Ernst < > [email protected] > > >>>>>>>> > wrote: > > > > >>>>>>>>> Thanks! > > >>>>>>>>> Next problem: I get an socket write error, is it just me, or a > > >>>>>>>>> flexmojos bug? Had this problem never before.... > > >>>>>>>>> --- > > >>>>>>>>> [INFO] Error receiving report from flexunit - class > > >>>>>>>>> org.sonatype.flexmojos.test.threads.AsVmControl > > >>>>>>>>> Software caused connection abort: socket write error > > >>>>>>>>> [INFO] > > >>>>>>>>> > ------------------------------------------------------------------------ > > >>>>>>>>> [INFO] Trace > > >>>>>>>>> java.lang.Error: Error receiving report from flexunit - class > > >>>>>>>>> org.sonatype.flexmojos.test.threads.AsVmControl > > >>>>>>>>> at > > >>>>>>>>> > org.sonatype.flexmojos.test.threads.AbstractSocketThread.setError(AbstractSocketThread.java:98) > > >>>>>>>>> at > > >>>>>>>>> > org.sonatype.flexmojos.test.threads.AbstractSocketThread.run(AbstractSocketThread.java:67) > > >>>>>>>>> at java.lang.Thread.run(Thread.java:619) > > >>>>>>>>> Caused by: java.net.SocketException: Software caused connection > > >>>>>>>>> abort: socket write error > > >>>>>>>>> at java.net.SocketOutputStream.socketWrite0(Native Method) > > >>>>>>>>> at > > >>>>>>>>> > java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) > > >>>>>>>>> at > java.net.SocketOutputStream.write(SocketOutputStream.java:136) > > >>>>>>>>> at > sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202) > > >>>>>>>>> at > > >>>>>>>>> > sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272) > > >>>>>>>>> at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276) > > >>>>>>>>> at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122) > > >>>>>>>>> at > java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212) > > >>>>>>>>> at java.io.BufferedWriter.flush(BufferedWriter.java:236) > > >>>>>>>>> at > > >>>>>>>>> > org.sonatype.flexmojos.test.threads.AsVmControl.handleRequest(AsVmControl.java:45) > > > > ... > > > > 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/ -~----------~----~----~----~------~----~------~--~---
