Skip to content

Instantly share code, notes, and snippets.

@daharon
Created April 7, 2014 12:57
Show Gist options
  • Select an option

  • Save daharon/10019805 to your computer and use it in GitHub Desktop.

Select an option

Save daharon/10019805 to your computer and use it in GitHub Desktop.
Buildfile: /opt/teamcity-agent/work/66c8507cf0d7b32c/build/build-client.xml
build-define-build:
clean-flexunit-display:
[echo] Preventive cleanup of display server 9090
[exec]
[exec] Can't find file /home/teamcity/.vnc/tcagent-13-ed-automation:9090.pid
[exec] You'll have to kill the Xvnc4 process manually
[exec]
[exec] Result: 2
build-compile:
[echo] BUILD DIR: /opt/teamcity-agent/work/66c8507cf0d7b32c/build/tmp/target/client
build-prepare-dir:
[echo] BUILD DIR: /opt/teamcity-agent/work/66c8507cf0d7b32c/build/tmp/target/client
build-define:
coverage-init:
build-init:
build-test-libs:
flex-common.compile-def:
[echo] FLEX target: TestLib.swc
flex-common.compile-prepare:
[available] DEPRECATED - <available> used to override an existing property.
[available] Build file should not reuse the same property name for different values.
[mkdir] Created dir: /opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/.tmp
[mkdir] Created dir: /opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/.tmp/assets
[mkdir] Created dir: /opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/.tmp/locale/en_US
flex-common.compile-swc:
[echo] Flex home = /opt/adobe/flex/sdk/3.6.0
[echo] Flex fp version = 9.0.124
flex-common.compile-run-compc:
[echo] BUILD DIR: /opt/teamcity-agent/work/66c8507cf0d7b32c/build/tmp/target/client/lib
[echo] BUILD FILE: TestLib.swc
[echo] DIR: /opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib
[echo] SOURCE: /opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/src
[echo] ASSETS: /opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/.tmp/assets
[echo] LIBS: /opt/teamcity-agent/work/66c8507cf0d7b32c/build/../src/studio/test-lib/lib
[echo] LIBS.EXTERNAL: /opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/.tmp
[echo] LIBS.COMMON: /opt/teamcity-agent/work/66c8507cf0d7b32c/build/../src/studio/test-lib/flexunit/lib
[echo] PROJECT FLEX_HOME: /opt/adobe/flex/sdk/3.6.0
[compc] Loading configuration file /opt/adobe/flex/sdk/3.6.0/frameworks/flex-config.xml
[compc] Failed to match the compile target with /opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/testlib/TestLib.swc.cache. The cache file will not be reused.
[compc] /opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/testlib/TestLib.swc (300085 bytes)
flex-common.test-run-coverage:
flex-common.compile-run-flexunit:
test:
flexunit-check:
define-flexunit-display-number:
define-flexunit-listener-port:
[echo] Generated listener port : 11090
flexunit-init:
flexunit-clean-report:
[delete] Deleting directory /opt/teamcity-agent/work/66c8507cf0d7b32c/build/tmp/report/flexunit/test-lib/as3
flexunit-no-run:
flexunit-run:
[echo] flexunit folder: flexunit
[mkdir] Created dir: /opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/.tmp/TestRunner
[mkdir] Created dir: /opt/teamcity-agent/work/66c8507cf0d7b32c/build/tmp/report/flexunit/test-lib/as3
flexunit-check:
define-flexunit-display-number:
define-flexunit-listener-port:
flexunit-init:
clean-flexunit-display:
[echo] Preventive cleanup of display server 9090
[exec]
[exec] Can't find file /home/teamcity/.vnc/tcagent-13-ed-automation:9090.pid
[exec] You'll have to kill the Xvnc4 process manually
[exec]
[exec] Result: 2
[flexunit] Validating task attributes ...
[flexunit] OS: [Linux]
[flexunit] Generating default values ...
[flexunit] Using the following settings for compilation:
[flexunit] FLEX_HOME: [/opt/adobe/flex/sdk/3.6.0]
[flexunit] player: [flash]
[flexunit] sourceDirectories: ["/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/src","/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/.tmp/assets","/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/.tmp/locale/en_US"]
[flexunit] testSourceDirectories: ["/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/test/src"]
[flexunit] libraries: ["/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/flexunit/lib/common/flexunit-cilistener-f3-4.1.0-8-4.1.0.16080.swc","/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/flexunit/lib/as3/flexunit-f3-4.1.0-8-as3_4.1.0.16079.swc","/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/asmock-v1.0-flexunit-v4.1.swc","/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/asmock-v1.0.swc","/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/asunit-20071011.swc","/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/hamcrest-1.0.2.swc","/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/mockito-1.4M5.swc","/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/testlib/TestLib.swc","/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/asmock-v1.0-flexunit-v4.1.swc","/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/asmock-v1.0.swc","/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/asunit-20071011.swc","/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/hamcrest-1.0.2.swc","/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/mockito-1.4M5.swc","/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/flexunit/lib/as3/flexunit-f3-4.1.0-8-as3_4.1.0.16079.swc","/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/flexunit/lib/common/flexunit-cilistener-f3-4.1.0-8-4.1.0.16080.swc","/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/flexunit/lib/flex/flexunit-f3-4.1.0-8-flex_4.1.0.16076.swc"]
[flexunit] Found SDK version: 3
[flexunit] Created test runner at [/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/.tmp/TestRunner/TestRunner.mxml]
[flexunit] Compiling test classes: [testas3.com.innovid.test.mockito.MatchTest]
[flexunit] Executing '/usr/lib/jvm/jdk1.6.0_45/jre/bin/java' with arguments:
[flexunit] '-Xmx256M'
[flexunit] '-jar'
[flexunit] '/opt/adobe/flex/sdk/3.6.0/lib/mxmlc.jar'
[flexunit] '-static-link-runtime-shared-libraries=true'
[flexunit] '+flexlib'
[flexunit] '/opt/adobe/flex/sdk/3.6.0/frameworks'
[flexunit] '-output'
[flexunit] '/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/.tmp/TestRunner/TestRunner.swf'
[flexunit] '-source-path'
[flexunit] '/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/src'
[flexunit] '/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/.tmp/assets'
[flexunit] '/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/.tmp/locale/en_US'
[flexunit] '/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/test/src'
[flexunit] '-library-path+=/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/flexunit/lib/common/flexunit-cilistener-f3-4.1.0-8-4.1.0.16080.swc'
[flexunit] '-library-path+=/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/flexunit/lib/as3/flexunit-f3-4.1.0-8-as3_4.1.0.16079.swc'
[flexunit] '-library-path+=/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/asmock-v1.0-flexunit-v4.1.swc'
[flexunit] '-library-path+=/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/asmock-v1.0.swc'
[flexunit] '-library-path+=/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/asunit-20071011.swc'
[flexunit] '-library-path+=/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/hamcrest-1.0.2.swc'
[flexunit] '-library-path+=/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/mockito-1.4M5.swc'
[flexunit] '-library-path+=/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/testlib/TestLib.swc'
[flexunit] '-library-path+=/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/asmock-v1.0-flexunit-v4.1.swc'
[flexunit] '-library-path+=/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/asmock-v1.0.swc'
[flexunit] '-library-path+=/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/asunit-20071011.swc'
[flexunit] '-library-path+=/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/hamcrest-1.0.2.swc'
[flexunit] '-library-path+=/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/lib/mockito-1.4M5.swc'
[flexunit] '-library-path+=/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/flexunit/lib/as3/flexunit-f3-4.1.0-8-as3_4.1.0.16079.swc'
[flexunit] '-library-path+=/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/flexunit/lib/common/flexunit-cilistener-f3-4.1.0-8-4.1.0.16080.swc'
[flexunit] '-library-path+=/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/flexunit/lib/flex/flexunit-f3-4.1.0-8-flex_4.1.0.16076.swc'
[flexunit] '-debug=true'
[flexunit] '-headless-server=true'
[flexunit] '/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/.tmp/TestRunner/TestRunner.mxml'
[flexunit]
[flexunit] The ' characters around the executable and arguments are
[flexunit] not part of the command.
[flexunit]
[null] Loading configuration file /opt/adobe/flex/sdk/3.6.0/frameworks/flex-config.xml
[null] /opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/.tmp/TestRunner/TestRunner.swf (524103 bytes)
[flexunit] Using the following settings for the test run:
[flexunit] FLEX_HOME: [/opt/adobe/flex/sdk/3.6.0]
[flexunit] haltonfailure: [false]
[flexunit] headless: [true]
[flexunit] display: [9090]
[flexunit] localTrusted: [true]
[flexunit] player: [flash]
[flexunit] port: [11090]
[flexunit] swf: [/opt/teamcity-agent/work/66c8507cf0d7b32c/src/studio/test-lib/.tmp/TestRunner/TestRunner.swf]
[flexunit] timeout: [90000ms]
[flexunit] toDir: [/opt/teamcity-agent/work/66c8507cf0d7b32c/build/tmp/report/flexunit/test-lib/as3]
[flexunit] Setting up server process ...
[flexunit] [TestRun.run()] starting socket thread
[flexunit] starting server thread
[flexunit] waiting for server thread to finish setup
[flexunit] starting socket server
[flexunit] Starting server ...
[flexunit] [waitForSetup] checking connection setup
[flexunit] [waitForSetup] initial connection setup done, testing live connection to 127.0.0.1:11090
Opening server socket on port [11090].
Waiting for client connection ...
BUILD FAILED
/opt/teamcity-agent/work/66c8507cf0d7b32c/build/build-client.xml:43: The following error occurred while executing this line:
/opt/teamcity-agent/work/66c8507cf0d7b32c/build/build-client-compile.xml:1083: The following error occurred while executing this line:
/opt/teamcity-agent/work/66c8507cf0d7b32c/build/build-flex-common.xml:118: The following error occurred while executing this line:
/opt/teamcity-agent/work/66c8507cf0d7b32c/build/build-flex-common.xml:282: The following error occurred while executing this line:
/opt/teamcity-agent/work/66c8507cf0d7b32c/build/build-flex-flexunit.xml:23: The following error occurred while executing this line:
/opt/teamcity-agent/work/66c8507cf0d7b32c/build/build-flex-flexunit.xml:158: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at org.flexunit.ant.FlexUnitSocketServer.waitForSetup(Unknown Source)
at org.flexunit.ant.FlexUnitSocketThread.waitForSetup(Unknown Source)
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.GeneratedMethodAccessor6.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.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.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.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.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.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.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.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor6.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.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
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)
Total time: 43 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment