FluintAirTestRunner does nothing (after working for days)

2 views
Skip to first unread message

Ruprict

unread,
Jun 16, 2009, 3:13:59 PM6/16/09
to Fluint Discussions
So, I had my Hudson CI env working all nice, thinking I was a king
stud, etc. Then, all the sudden, the builds starting never ending.
Looking at the console, the FluintAirTestRunner,exe process starts,
but it does nothing. I have to kill the process, then the build
fails.

So, I figured I'd manually run the ant test target, which does the
exact same thing. The FluintAirTestRunner.exe comes up, does nothing
until I close it, then the ant process ends (successfully, for some
reason)

So, I figured I'd call the test runner from the command line (windows
2003 server) and pass it just one of my test module swfs. Same
thing. The test runner opens and stares blankly back at me.

Now, I know the test modules are OK b/c I can run the exact same
commands on my dev env and it all works. So, the question is, why is
the build server having this issue? It can't (seemingly) be a
permissions issue, as I am an admin on the build server so the
commands were running as me.

This is highly frustrating, so if anyone has suggestions on what I
could be doing wrong on the build server, I'd be REALLY grateful.

Thanks.

Michael Labriola

unread,
Jun 16, 2009, 4:07:46 PM6/16/09
to Fluint Discussions

Can you check to see if there is another version of
FluintAirTestRunner running in the background. Perhaps one that failed
to close from a previous build. That is the only thing I can think of
off the top of my head is that AIR doesn't behave as a regular app
when you try to launch two instances of it.

Mike

Glenn Goodrich

unread,
Jun 16, 2009, 4:10:55 PM6/16/09
to fluint-di...@googlegroups.com
Hey Mike,

Thanks for the reply.

Nope.  I have rebooted the box even and I am watching Task Manager when I run the cmd line version.  Only one.

:(

Michael Labriola

unread,
Jun 16, 2009, 4:18:07 PM6/16/09
to Fluint Discussions
are you providing paths to each swf module or just giving it a
directory to find modules?

it sounds like it is failing silently for some reason when attempting
to load a module.
> gl...@goodrichs.net- Hide quoted text -
>
> - Show quoted text -

Glenn Goodrich

unread,
Jun 16, 2009, 4:28:53 PM6/16/09
to fluint-di...@googlegroups.com
Both.  The command line looks like:

FluintAirTestRunner.exe -fileSet='c:\path\to\my\testmodule.swf'

The ant tasks build up a <fileset> based on a naming convention.

Also, I have several test modules, and I have tried to load many of them individually on the cmd line to try and ensure it wasn't a certain module.

Michael Labriola

unread,
Jun 16, 2009, 4:30:32 PM6/16/09
to Fluint Discussions
I'm just wondering if it could be finding another swf when building
the fileset that you are not trying individually
> > - Show quoted text -- Hide quoted text -

Glenn Goodrich

unread,
Jun 17, 2009, 9:14:05 AM6/17/09
to fluint-di...@googlegroups.com
Here is what LogBook has to say:

07:12:06 DEBUG     AIRTestRunner            Arguments: -headless,-failOnError,-reportDir='C:\Projects\geoportal.flexviewer\trunk/build/reports',-fileSet='C:\Projects\geoportal.flexviewer\trunk\src\Solution\src\tests\esi\flexviewer\vo\ValueObjectTestModule.swf'
07:12:06 DEBUG     AIRTestRunner            headless: true
07:12:06 DEBUG     AIRTestRunner            failOnError: true
07:12:06 DEBUG     AIRTestRunner            reportDir: 'C:\Projects\geoportal.flexviewer\trunk/build/reports'
07:12:06 DEBUG     AIRTestRunner            fileSet: 'C:\Projects\geoportal.flexviewer\trunk\src\Solution\src\tests\esi\flexviewer\vo\ValueObjectTestModule.swf'
07:12:06 DEBUG     AIRTestRunner            headless changed to true
07:12:06 DEBUG     AIRTestRunner            fileSet changed to C:\Projects\geoportal.flexviewer\trunk\src\Solution\src\tests\esi\flexviewer\vo\ValueObjectTestModule.swf
07:12:06 DEBUG     AIRTestRunner            FOUND 1 SWF(S)
07:12:06 DEBUG     AIRTestRunner            ATTEMPTING TO LOAD 1 SWF(S)
07:12:06 DEBUG     AIRTestRunner            MODULE LOADING: 0 bytes
07:12:06 DEBUG     AIRTestRunner            MODULE LOADING: 945839 bytes
07:12:07 DEBUG     AIRTestRunner            MODULE COMPLETE: 945839 bytes

Then it just stops.

Ruprict

unread,
Jun 18, 2009, 11:30:13 AM6/18/09
to Fluint Discussions
Ugh, now it's no longer working on the local dev box. I am not sure
what I changed (if anything) to break it locally.

Any idea why nothing happens after the MODULE COMPLETE?

Glenn Goodrich

unread,
Jun 18, 2009, 11:39:57 AM6/18/09
to fluint-di...@googlegroups.com
Uh oh....if I use the AirTestModule.swf is the fluint src....it works.

So, I've now confirmed what we all knew:  This is somethign I've done.

Still, open to suggestions....

Jesse Warden

unread,
Jun 18, 2009, 11:44:01 AM6/18/09
to fluint-di...@googlegroups.com
Could be an exception that the Module Loader just isn't catching.  He'll load in the SWF, blow up, and fail to log further.  You could try logging to a text file (aka Flash log), or run her in debug mode and see when it hits an error.

Glenn Goodrich

unread,
Jun 18, 2009, 1:21:26 PM6/18/09
to fluint-di...@googlegroups.com
So, what I am now finding is that the swf I compile with Flex Builder work fine, but the one's I build with the mxmlc ant task don't.

I have done a -dumb-config in fb and used that file in the ant task, but it still doesn't like the swf.  Also, the FB swf and the ant swf are different sizes (in this case, 70K for fb, 91K for mxmlc)  so there is still a big difference between the two.

Any ideas?  Is there some way to make the ant tasks build exactly like FB?


On Jun 18, 2009, at 11:30 AM, Ruprict wrote:

Ruprict

unread,
Jun 18, 2009, 5:05:27 PM6/18/09
to Fluint Discussions
That's dump-config. I've done a link-extern deal too. Nothing get's
the two swf files (meaning, the FB one and the mxmlc one) to match
up. I have looked at both in a decompiler, and I can't get the same
namespaces to load no matter what I do.

Any ideas on how to get the mxmlc ant task to match the FB task?

(sigh)

Glenn Goodrich

unread,
Jun 19, 2009, 11:08:00 AM6/19/09
to fluint-di...@googlegroups.com
Thanks Jesse.

I've been trying to get a dev en for the airtestrunner up, but I am an AIR NOOB (in the extreme) so it's taking longer than I have.

I'll get it going eventually, I hope.

Jesse Warden

unread,
Jun 19, 2009, 11:14:31 AM6/19/09
to fluint-di...@googlegroups.com
When you said there was a diffference in the ANT file from normal FlexBuilder compiling, what did you mean?  Like, what were the errorz?

Glenn Goodrich

unread,
Jun 19, 2009, 11:19:37 AM6/19/09
to fluint-di...@googlegroups.com
Meaning the swf generated by the FB compile, for example, is 661K.  The ANT swf is (currently, as I have been jacking with the ant task) 687K.  If I look at the swfs in a decomplier, the ANT swf includes more namespaces (like flexunit, which I can't seem to figure out where it's coming from)

The ANT swf has more Sprites and "Shapes" too, but I've no idea how to affect that.

Jesse Warden

unread,
Jun 19, 2009, 11:22:06 AM6/19/09
to fluint-di...@googlegroups.com
One might be compiling against the namespace file... or have the -optimize flag for mxmlc set to true.  Hrm... ML would know, but he's travelling the world right now expousing FlexUnit4 to t3h world.  Wait for him to land somewhere with wireless.

Glenn Goodrich

unread,
Jun 22, 2009, 3:24:20 PM6/22/09
to fluint-di...@googlegroups.com
So, it seems that using the SDK that installs with Flex Builder fixes this issue.  I was using a "stand-alone" SDK on the build server and I had downloaded the 3.3.0 SDK on my dev box.  Pointing the ant build back to the FB 3.2.0 sdk seems to have made the ant tasks all better.
Reply all
Reply to author
Forward
0 new messages