0 Replies Latest reply on Aug 24, 2010 5:02 AM by Dmitry Svetlakov

    Teamcity and Flexunit 4.1

    Dmitry Svetlakov Level 1

      Hi!

       

      I try run flexunit 4.1 on teamcity.

      Server configuration - headless linux/ubuntu 64-bit.

       

      And i cannot successfully run it.

       

      That's ant part

       

       

      <flexunit swf="${target.dir}/${tests.swf}"

           player="air"

           toDir="${report.loc}"

           haltonfailure="true"

           verbose="true"

           localTrusted="true"

           timeout="300000"

           failureproperty="flexunit.failed"

           headless="true"/>

       

       

       

      Log:

       

       

       

      test:

      [flexunit] Validating task attributes ...

      [flexunit] OS: [Linux]

      [flexunit] Generating default values ...

      [flexunit] Using default working dir [/home/svetlakov/softina]

      [flexunit] Using default reporting dir [/home/svetlakov/softina]

      [flexunit] Using the following settings for the test run:

      [flexunit] FLEX_HOME: [/home/svetlakov/.flexsdk/4.1]

      [flexunit] haltonfailure: [true]

      [flexunit] headless: [true]

      [flexunit] display: [99]

      [flexunit] localTrusted: [true]

      [flexunit] player: [air]

      [flexunit] port: [1024]

      [flexunit] swf: [/home/svetlakov/softina/target/tests-runner.swf]

      [flexunit] timeout: [300000ms]

      [flexunit] toDir: [/home/svetlakov/softina]

      [flexunit] Setting up server process ...

      [flexunit] Starting server ...

      [flexunit] OS: [Linux]

      [flexunit] Starting xvnc

      [flexunit] Attempting start on :99 ...

      [flexunit] Executing 'vncserver' with arguments:

      [flexunit] ':99'

      [flexunit]

      [flexunit] The ' characters around the executable and arguments are

      [flexunit] not part of the command.

      [flexunit]

      [flexunit] Opening server socket on port [1024].

      [flexunit] Waiting for client connection ...

      [flexunit] xauth:  timeout in locking authority file /home/svetlakov/.Xauthority

      [flexunit]

      [flexunit] New 'localhost:99 (svetlakov)' desktop is localhost:99

      [flexunit]

      [flexunit] Starting applications specified in /home/svetlakov/.vnc/xstartup

      [flexunit] Log file is /home/svetlakov/.vnc/localhost:99.log

      [flexunit]

      [flexunit] Setting DISPLAY=:99

      [flexunit] Launching player:

      [flexunit]

      [flexunit] Found AIR version: 2.0

      [flexunit] Created application descriptor at [/home/svetlakov/softina/target/flexUnitDescriptor.xml]

      [flexunit] Executing '/home/svetlakov/.flexsdk/4.1/bin/adl' with arguments:

      [flexunit] '/home/svetlakov/softina/target/flexUnitDescriptor.xml'

      [flexunit]

      [flexunit] The ' characters around the executable and arguments are

      [flexunit] not part of the command.

      [flexunit]

      [flexunit]
      [flexunit] Stopping server ...
      [flexunit] End of test data reached, sending acknowledgement to player ...
      [flexunit] Closing client connection ...
      [flexunit] Closing server on port [1024] ...
      And that's last message.
      Log of vnc
      Xvnc Free Edition 4.1.1                                                                                                                   
      Copyright (C) 2002-2005 RealVNC Ltd.                                                                                                      
      See http://www.realvnc.com for information on VNC.                                                                                        
      Underlying X server release 70000000, The X.Org Foundation                                                                               
                                                                                                                                                
                                                                                                                                                
      Tue Aug 24 15:53:12 2010                                                                                                                  
      vncext:      VNC extension running!                                                                                                      
      vncext:      Listening for VNC connections on port 5999                                                                                 
      vncext:      created VNC server for screen 0                                                                                             
      error opening security policy file /etc/X11/xserver/SecurityPolicy                                                                        
      Could not init font path element /usr/share/fonts/X11/TTF/, removing from list!                                                          
      Could not init font path element /usr/share/fonts/X11/OTF, removing from list!                                                           
      Could not init font path element /usr/share/fonts/X11/Type1/, removing from list!                                                        
      Could not init font path element /usr/share/fonts/X11/CID/, removing from list!                                                          
      Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!                                                       
      Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!                                                        
      X Error of failed request:  BadLength (poly request too large or internal Xlib length error)                                             
        Major opcode of failed request:  134 (VNC-EXTENSION)                                                                                    
        Minor opcode of failed request:  1 ()                                                                                                   
        Serial number of failed request:  68                                                                                                    
        Current serial number in output stream:  68                                                                                             
      FreeFontPath: FPE "/usr/share/fonts/X11/misc/" refcount is 2, should be 1; fixing.
      Any ideas?