Skip to main content
Nate Beck
Known Participant
Jul 10, 2009 6:14 PM UTC
Question

Mustella can't parse checkintests results

Hey all,

I'm trying to run checkintests on my machine here, but for some reason it can't seem to find the result output.

I have configured my Flash Player as follows:

  • mm.cfg exists in my home directory (/Users/nate) and has these set.
    • TraceOutputFileEnable=1
    • ErrorReportingEnable=1

  • FlexSDK.cfg is in ~/Library/Preferences/Macromedia/Flash Player/#Security/FlashPlayerTrust and has these set
    • /
    • /Users/nate/
    • /workspaces/flex_sdk/
    • /flex/sdk/
    • /flex/sdk/trunk/
    • /flex/sdk/branches/3.x/

I was getting a SecurityError but the additional changes to FlexSDK.cfg fixed that problem.  So now I just want the check in tests to parse the result properly.  Am I missing something?

Here is the output from checkintests on my machine against the latest 3.x build:

nate$ ant checkintests

Buildfile: build.xml

clean-dependencychecker:

setup-dependencychecker:

    [javac] Compiling 12 source files

dependencychecker-framework:

mustella-setup:

componentsmoke-mustella:

     [java] Loading configuration file /flex/sdk/branches/3.x/frameworks/flex-config.xml

     [java] /flex/sdk/branches/3.x/frameworks/tests/componentSmoke/componentSmoke2.swf (442934 bytes)

     [echo] launching player and swf

mustellaresultsparser:

     [java] No results.  Is trace output enabled?

     [java] results: FAILED

     [java] Java Result: 1

checkinapp-mustella:

     [echo] compiling checkinapp

     [java] Loading configuration file /flex/sdk/branches/3.x/frameworks/flex-config.xml

     [java] 2009-07-10 10:14:03.868 java[1597:80f] Can't open input server /Library/InputManagers/MultiClutchInputManager

     [java] /flex/sdk/branches/3.x/frameworks/tests/checkinapp/checkinapp.swf (439852 bytes)

     [echo] launching player and swf

mustellaresultsparser:

     [java] No results.  Is trace output enabled?

     [java] results: FAILED

     [java] Java Result: 1

checkintests-mustella:

checkintests:

BUILD SUCCESSFUL

Total time: 31 seconds

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

Nate Beck
Nate BeckAuthor
Known Participant
Jul 16, 2009 4:31 PM UTC

Hey guys, thanks for the responses.

It doesn't look like I am using the debug version of the player for checkintests.  I check flashlog.txt in ~/Library/Preferences/Macromedia/Flash Player/Logs and it's empty.

So the question now is... how do I dictate which version of the Flash Player checkintests should use.  I have the debug Player installed locally as I use it when developing in Flash Builder.

Also, I did change into /flex/sdk/branches/3.x and ran "source setup.sh". I was able to run "ant -q main" with no problems, and it built the branch successfully.

Thanks again!

Translate
Participant
Jul 16, 2009 4:51 PM UTC

To indicate the player when calling checkintests, set the variable flash.player for Ant. Eg,

ant -Dflash.player=c:/myPlayerDir/FlashPlayer.exe checkintests-mustella

Translate
Participant
Jul 16, 2009 4:17 AM UTC

It would be useful to post the log.

If the log is empty, verify (as mentioned above) that you're using a debug player. If you are using a debug player, and the log is still empty, make sure to close any open AIR applications, as they will lock the log.

Translate
Jul 16, 2009 2:36 AM UTC

Does the player log get created while tests are running?  Is the debug player being used?

Translate
Participating Frequently
Jul 16, 2009 1:23 AM UTC

I've had similar results when I somehow manage to point at the wrong Flashplayer or somehow corrupt

.../frameworks/libs/player/* or forgot to run setup.sh in the trunk directory.

Recheck your install. If you can run 'ant main' and you cant run 'ant checkintests' it's usually a problem with running the right player.

Translate