Skip navigation
sookkie
Currently Being Moderated

flexunit CIListener:  Socket tiimeout waiting for flexunit report

Jun 9, 2011 6:36 PM

For 2 weeks , I have trouble establising CI enviroment.

 

My env :

sdk : flex sdk 4.1

ant : 1.8.2

 

 

I got the FlexUnit4SampleCIProject .

and modified the build.xml

ant then always get the error

 

java.util.concurrent.ExecutionException: Socket tiimeout waiting for flexunit report

 

I think that  CIListener is not working but I'm not sure the reason .

 

please, give me a help ~

 

Hudson CI Server message follows:

---------------------

 

Started by user anonymous
Checking out a fresh workspace because there's no workspace at C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace
Checking out http://10.177.50.39/svn/TVSIGNAGE/trunk/src/01_CI_Sample/FlexUnit4SampleCIProject
A         build.browser.xml
A         .project
A         build.custom.xml
A         src
A         src\test
A         src\test\flex
A         src\test\flex\AirTestRunner.mxml
A         src\test\flex\TestRunner.mxml
A         src\test\flex\org
A         src\test\flex\org\flexunit
A         src\test\flex\org\flexunit\demo
A         src\test\flex\org\flexunit\demo\EchoPanelTest.as
A         src\test\flex\org\flexunit\demo\SampleTest.as
A         src\main
A         src\main\flex
A         src\main\flex\Main.mxml
A         src\main\flex\org
A         src\main\flex\org\flexunit
A         src\main\flex\org\flexunit\demo
A         src\main\flex\org\flexunit\demo\EchoPanel.mxml
A         build.air.xml
A         .flexProperties
A         libs
AU        libs\flexUnitTasks-4.1.0-8.jar
AU        libs\flexunit-4.1.0-8-as3_4.1.0.16076.swc
AU        libs\flexUnitTasks-4.1.0-8-sources.jar
AU        libs\flexunit-cilistener-4.0.0.swc
AU        libs\flexUnitTasks-4.1.0-8-javadoc.jar
AU        libs\flexunit-aircilistener-4.1.0-8-4.1.0.16076.swc
AU        libs\flexunit-uilistener-4.0.0.swc
AU        libs\flexunit-4.1.0-8-flex_4.1.0.16076.swc
AU        libs\flexunit-cilistener-4.1.0-8-4.1.0.16076.swc
AU        libs\fluint-extensions-4.1.0-8-4.1.0.16076.swc
AU        libs\flexunit-flexcoverlistener-4.1.0-8-4.1.0.16076.swc
AU        libs\flexunit-uilistener-4.1.0-8-4.1.0.16076.swc
A         pom.xml
A         README.txt
A         .actionScriptProperties
A         html-template
A         html-template\AC_OETags.js
A         html-template\history
A         html-template\history\historyFrame.html
A         html-template\history\history.css
A         html-template\history\history.js
AU        html-template\playerProductInstall.swf
A         html-template\index.template.html
A         build.xml
At revision 57
[workspace] $ cmd.exe /C '"ant.bat && exit %%ERRORLEVEL%%"'
Buildfile: C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\build.xml

init#:
    [mkdir] Created dir: C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\target
    [mkdir] Created dir: C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\target\bin
    [mkdir] Created dir: C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\target\report
    [mkdir] Created dir: C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\target\dist

compile#:
    [mxmlc] 구성 파일 C:\flex_sdk_4.0.0.14159\frameworks\flex-config.xml을(를) 불러오는 중
    [mxmlc] C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\target\bin\Main.swf(58142바이트)

test#:
 [flexunit] Validating task attributes ...
 [flexunit] Generating default values ...
 [flexunit] Using the following settings for compilation:
 [flexunit]      FLEX_HOME: [C:\flex_sdk_4.0.0.14159]
 [flexunit]      player: [flash]
 [flexunit]      sourceDirectories: ["C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\src\main\flex"]
 [flexunit]      testSourceDirectories: ["C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\src\test\flex"]
 [flexunit]      libraries: ["C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\flexunit-4.1.0-8-as3_4.1.0.16076.swc","C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\flexunit-4.1.0-8-flex_4.1.0.16076.swc","C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\flexunit-aircilistener-4.1.0-8-4.1.0.16076.swc","C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\flexunit-cilistener-4.0.0.swc","C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\flexunit-cilistener-4.1.0-8-4.1.0.16076.swc","C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\flexunit-flexcoverlistener-4.1.0-8-4.1.0.16076.swc","C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\flexunit-uilistener-4.0.0.swc","C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\flexunit-uilistener-4.1.0-8-4.1.0.16076.swc","C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\fluint-extensions-4.1.0-8-4.1.0.16076.swc"]
 [flexunit] Found SDK version: 4
 [flexunit] Created test runner at [C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\target\bin\TestRunner.mxml]
 [flexunit] Compiling test classes: [org.flexunit.demo.EchoPanelTest, org.flexunit.demo.SampleTest]
 [flexunit] Executing 'C:\Java\jdk1.6.0_25\jre\bin\java.exe' with arguments:
 [flexunit] '-Xmx256M'
 [flexunit] '-jar'
 [flexunit] 'C:\flex_sdk_4.0.0.14159\lib\mxmlc.jar'
 [flexunit] '+flexlib'
 [flexunit] 'C:\flex_sdk_4.0.0.14159\frameworks'
 [flexunit] '-output'
 [flexunit] 'C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\target\bin\TestRunner.swf'
 [flexunit] '-source-path'
 [flexunit] 'C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\src\main\flex'
 [flexunit] 'C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\src\test\flex'
 [flexunit] '-library-path+=C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\flexunit-4.1.0-8-as3_4.1.0.16076.swc'
 [flexunit] '-library-path+=C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\flexunit-4.1.0-8-flex_4.1.0.16076.swc'
 [flexunit] '-library-path+=C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\flexunit-aircilistener-4.1.0-8-4.1.0.16076.swc'
 [flexunit] '-library-path+=C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\flexunit-cilistener-4.0.0.swc'
 [flexunit] '-library-path+=C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\flexunit-cilistener-4.1.0-8-4.1.0.16076.swc'
 [flexunit] '-library-path+=C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\flexunit-flexcoverlistener-4.1.0-8-4.1.0.16076.swc'
 [flexunit] '-library-path+=C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\flexunit-uilistener-4.0.0.swc'
 [flexunit] '-library-path+=C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\flexunit-uilistener-4.1.0-8-4.1.0.16076.swc'
 [flexunit] '-library-path+=C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\libs\fluint-extensions-4.1.0-8-4.1.0.16076.swc'
 [flexunit] '-debug=false'
 [flexunit] '-headless-server=true'
 [flexunit] 'C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\target\bin\TestRunner.mxml'
 [flexunit] 
 [flexunit] The ' characters around the executable and arguments are
 [flexunit] not part of the command.
 [flexunit] 
     [null] 구성 파일 C:\flex_sdk_4.0.0.14159\frameworks\flex-config.xml을(를) 불러오는 중
     [null] C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\target\bin\TestRunner.swf(104051바이트)
 [flexunit] Using the following settings for the test run:
 [flexunit]      FLEX_HOME: [C:\flex_sdk_4.0.0.14159]
 [flexunit]      haltonfailure: [false]
 [flexunit]      headless: [false]
 [flexunit]      display: [99]
 [flexunit]      localTrusted: [true]
 [flexunit]      player: [flash]
 [flexunit]      port: [1024]
 [flexunit]      swf: [C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\target\bin\TestRunner.swf]
 [flexunit]      timeout: [15000ms]
 [flexunit]      toDir: [C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\target\report]
 [flexunit] Setting up server process ...
 [flexunit] Starting server ...
 [flexunit] Updated local trust file at [C:\Documents and Settings\yoonsook.kim\Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust\flexUnit.cfg], added [C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\target\bin].
 [flexunit] Executing 'rundll32' with arguments:
 [flexunit] 'url.dll,FileProtocolHandler'
 [flexunit] 'C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\target\bin\TestRunner.swf'
 [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] 
 [flexunit] Stopping server ...
 [flexunit] End of test data reached, sending acknowledgement to player ...
 [flexunit] Closing client connection ...
 [flexunit] Closing server on port [1024] ...

BUILD FAILED
C:\Documents and Settings\yoonsook.kim\.hudson\jobs\01_CI_Sample\workspace\build.xml:67: java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
     at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
     at java.util.concurrent.FutureTask.get(FutureTask.java:83)
     at org.flexunit.ant.tasks.TestRun.run(Unknown Source)
     at org.flexunit.ant.tasks.FlexUnitTask.execute(Unknown Source)
     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     at org.apache.tools.ant.Task.perform(Task.java:348)
     at org.apache.tools.ant.Target.execute(Target.java:390)
     at org.apache.tools.ant.Target.performTasks(Target.java:411)
     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
     at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
     at org.apache.tools.ant.Main.runBuild(Main.java:809)
     at org.apache.tools.ant.Main.startAnt(Main.java:217)
     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: Socket timeout waiting for flexunit report
     at org.flexunit.ant.FlexUnitSocketServer.start(Unknown Source)
     at org.flexunit.ant.FlexUnitSocketThread.call(Unknown Source)
     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
     at java.util.concurrent.FutureTask.run(FutureTask.java:138)
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
     at java.lang.Thread.run(Thread.java:662)
Caused by: java.net.SocketTimeoutException: Accept timed out
     at java.net.PlainSocketImpl.socketAccept(Native Method)
     at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)
     at java.net.ServerSocket.implAccept(ServerSocket.java:462)
     at java.net.ServerSocket.accept(ServerSocket.java:430)
     at org.flexunit.ant.FlexUnitSocketServer.openClientSocket(Unknown Source)
     ... 7 more

Total time: 30 seconds
Finished: FAILURE
 
Replies
  • Currently Being Moderated
    Nov 25, 2011 3:04 AM   in reply to sookkie

    I had a similar issue and found that it choked on using the standard Flash Player. Try ensuring you have the Flash Debugger on the server instead.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points