>From my experience x64 and FX (flash or air) products don't mix well. On Aug 22, 7:04 am, Yennick Trevels <[email protected]> wrote: > Hi, > > I'm trying to make our FlexUnit tests run on our Hudson build server on a > Linux 64bit environment, but I'm always getting a "Accept timed out" 143 > error. Weird thing is that it works when I run it from command-line on the > same server in another vnc session, so I have flashplayer working on a > 64bit environment. > We are not using any AIR dependencies. > > These are the steps I've already tried (hopefully I didn't forget something > in this list, because I tried many things): > > - set HOME to the hudson home directory in /etc/init.d/hudson (from this > discussion: > http://www.mail-archive.com/[email protected]/msg05455.html) > - I'm using the xvnc plugin for Hudson with vnc4server installed on > Linux. The default xvfb-run gave the same problem. > - Installed another window manager (FluxBox) based on advice in this > post: > http://docs.flexunit.org/index.php?title=Continuous_Integration_Support > - Followed the "Tips for flexmojos + linux + continuous integration" > section on > https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests > - I've attached a vnc client to the hudson session when it's running the > tests and I see the flash player pop up for a few seconds, but then it goes > down again and gives the "Accept timed out" error. > > I've turned debug logging on found a difference between the two logs. These > logs were exactly the same when running the build a few times, so it isn't > random for as far as I know. When running via hudson the AsVmPing process > opens the server socket *after* the ASVmLauncher is starting, while when > running it from command-line the AsVmPing process opens the server socket > right *before* the ASVmLauncher is starting. Not sure whether this could be > related to my issue, but this is all I can find right now since I'm running > out of ideas. > > *When running the tests on the hudson server* > > [DEBUG] Using test port '39373' and test control port '49257' > [DEBUG] Flexmojos test port: 39373 - control: 49257 > [DEBUG] Using flashplayer from maven local repository: > /var/lib/hudson/.m2/repository/com/adobe/flashplayer/10.2.0/flashplayer-10.2.0-linux.uexe > [INFO] Running tests /var/lib/hudson/jobs/Aviga Client Tests > (trunk)/workspace/aviga-client/target/test-classes/TestRunner.swf > [DEBUG] [LAUNCHER] ASVmLauncher starting > [DEBUG] [LAUNCHER] exec: > [/var/lib/hudson/.m2/repository/com/adobe/flashplayer/10.2.0/flashplayer-10.2.0-linux.uexe] > - /var/lib/hudson/jobs/Aviga Client Tests > (trunk)/workspace/aviga-client/target/test-classes/TestRunner.swf > [DEBUG] [LAUNCHER] Creating process > [WARNING] [LAUNCHER] Using regular flashplayer tests > [DEBUG] [DEBUG] [org.sonatype.flexmojos.test.monitor.ResultHandler] opened > server socket on port 39373 > [org.sonatype.flexmojos.test.monitor.AsVmPing] opened server socket on port > 49257 > [DEBUG] [LAUNCHER] Process created java.lang.UNIXProcess@79953dfa > [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 > [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] [MOJO] launcher RUNNING > [DEBUG] [MOJO] pinger ERROR > [DEBUG] [MOJO] resultHandler STARTED > [DEBUG] [LAUNCHER] process has not been finished, destroying > > *When running the tests on the command line on the same server (different vnc > session) with the same maven command* > > g flashplayer from maven local repository: > /var/lib/hudson/.m2/repository/com/adobe/flashplayer/10.2.0/flashplayer-10.2.0-linux.uexe > > [INFO] Running tests /var/lib/hudson/jobs/Aviga Client Tests > (trunk)/workspace/aviga-client/target/test-classes/TestRunner.swf > > [DEBUG] [org.sonatype.flexmojos.test.monitor.AsVmPing] opened server socket > on port 52200 > > [DEBUG] [LAUNCHER] ASVmLauncher starting > > [DEBUG] [LAUNCHER] exec: > [/var/lib/hudson/.m2/repository/com/adobe/flashplayer/10.2.0/flashplayer-10.2.0-linux.uexe] > - /var/lib/hudson/jobs/Aviga Client Tests > (trunk)/workspace/aviga-client/target/test-classes/TestRunner.swf > > [DEBUG] [LAUNCHER] Creating process > > [WARNING] [LAUNCHER] Using regular flashplayer tests > > [DEBUG] [org.sonatype.flexmojos.test.monitor.ResultHandler] opened server > socket on port 34175 > > [DEBUG] [LAUNCHER] Process created java.lang.UNIXProcess@6faa120f > > [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 > > [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] [MOJO] launcher RUNNING > > [DEBUG] [MOJO] pinger STARTED > > [DEBUG] [MOJO] resultHandler STARTED > > [DEBUG] [MOJO] launcher RUNNING > > [DEBUG] [MOJO] pinger STARTED > > [DEBUG] [MOJO] resultHandler STARTED > > [DEBUG] [org.sonatype.flexmojos.test.monitor.AsVmPing] accepting data from > client > > [DEBUG] [CONTROL] AsVmControl handleRequest > > [DEBUG] [CONTROL] query status > > [DEBUG] [CONTROL] received status > > Please let me know if you have any ideas on this. > > Thanks! :)
-- 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/
