You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by fl...@gmail.com on 2015/11/05 15:41:45 UTC

Jenkins build is still unstable: flex-sdk_test #383

See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/383/>


Re: Jenkins build is back to stable : flex-sdk_test #459

Posted by Mihai Chira <mi...@apache.org>.
hallelujah!

On 4 January 2016 at 21:30,  <fl...@gmail.com> wrote:
> See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/459/changes>
>

Jenkins build is back to stable : flex-sdk_test #459

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/459/changes>


Jenkins build is still unstable: flex-sdk_test #458

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #457

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #456

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/456/>


Jenkins build is still unstable: flex-sdk_test #455

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/455/>


Jenkins build is still unstable: flex-sdk_test #454

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/454/>


Jenkins build is still unstable: flex-sdk_test #453

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #452

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #451

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/451/>


Jenkins build is unstable: flex-sdk_test #450

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/450/>


Build failed in Jenkins: flex-sdk_test #449

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/449/>

------------------------------------------
[...truncated 1297 lines...]
automation_dmv:

clean:

compile:
     [echo] Compiling frameworks/libs/automation/automation_dmv.swc
    [compc] Loading configuration file C:\Jenkins\workspace\flex-sdk_test\frameworks\projects\automation_dmv\compile-config.xml
    [compc] C:\Jenkins\workspace\flex-sdk_test\frameworks\libs\automation\automation_dmv.swc (48327 bytes)
    [compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

main:

tool:

clean:

compile:
     [echo] Compiling tool.swc
    [compc] Loading configuration file C:\Jenkins\workspace\flex-sdk_test\frameworks\projects\tool\compile-config.xml
    [compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
    [compc] C:\Jenkins\workspace\flex-sdk_test\frameworks\libs\automation\tool.swc (48556 bytes)

main:

automation:

bundles-clean:

clean:

compile:
     [echo] Compiling frameworks/libs/automation/automation.swc
    [compc] Loading configuration file C:\Jenkins\workspace\flex-sdk_test\frameworks\projects\automation\compile-config.xml
    [compc] C:\Jenkins\workspace\flex-sdk_test\frameworks\libs\automation\automation.swc (86041 bytes)
    [compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

main:
     [echo] Compiling frameworks/locale/en_US/automation_rb.swc
    [compc] Loading configuration file C:\Jenkins\workspace\flex-sdk_test\frameworks\projects\automation\bundle-config.xml
    [compc] C:\Jenkins\workspace\flex-sdk_test\frameworks\locale\en_US\automation_rb.swc (2140 bytes)
    [compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

tool_air:

bundles-clean:
     [echo] IN bundles clean

tool_air_bundles-clean:

tool_air_bundles-clean:

tool_air_bundles-clean:

tool_air_bundles-clean:

tool_air_bundles-clean:

tool_air_bundles-clean:

tool_air_bundles-clean:

tool_air_bundles-clean:

tool_air_bundles-clean:

tool_air_bundles-clean:

tool_air_bundles-clean:

tool_air_bundles-clean:

tool_air_bundles-clean:

tool_air_bundles-clean:

tool_air_bundles-clean:

tool_air_bundles-clean:

tool_air_bundles-clean:

tool_air_bundles-clean:

clean:

compile:
     [echo] Compiling tool_air.swc
     [echo] Using c:\Adobe\AIRSDK40/frameworks/libs/air/airglobal.swc
    [compc] Loading configuration file C:\Jenkins\workspace\flex-sdk_test\frameworks\projects\tool_air\compile-config.xml
    [compc] C:\Jenkins\workspace\flex-sdk_test\frameworks\libs\automation\tool_air.swc (67307 bytes)
    [compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

main:

automation_spark:

clean:

compile:
     [echo] Compiling frameworks/libs/automation/automation_spark.swc
    [compc] Loading configuration file C:\Jenkins\workspace\flex-sdk_test\frameworks\projects\automation_spark\compile-config.xml
    [compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
    [compc] C:\Jenkins\workspace\flex-sdk_test\frameworks\libs\automation\automation_spark.swc (87049 bytes)

main:

automation_flashflexkit:

clean:

compile:
     [echo] Compiling frameworks/libs/automation/automation_flashflexkit.swc
    [compc] Loading configuration file C:\Jenkins\workspace\flex-sdk_test\frameworks\projects\automation_flashflexkit\compile-config.xml
    [compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
    [compc] C:\Jenkins\workspace\flex-sdk_test\frameworks\libs\automation\automation_flashflexkit.swc (7343 bytes)

main:

automation_air:

clean:

compile:
     [echo] Compiling frameworks/libs/automation/automation_air.swc
    [compc] Loading configuration file C:\Jenkins\workspace\flex-sdk_test\frameworks\projects\automation_air\compile-config.xml
    [compc] C:\Jenkins\workspace\flex-sdk_test\frameworks\libs\automation\automation_air.swc (16031 bytes)
    [compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

main:

automation_airspark:

clean:

compile:
     [echo] Compiling frameworks/libs/automation/automation_airspark.swc
     [echo] Using c:\Adobe\AIRSDK40/frameworks/libs/air/airglobal.swc
    [compc] Loading configuration file C:\Jenkins\workspace\flex-sdk_test\frameworks\projects\automation_airspark\compile-config.xml
    [compc] C:\Jenkins\workspace\flex-sdk_test\frameworks\libs\automation\automation_airspark.swc (4543 bytes)
    [compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

main:

flatspark:

clean:

compile:
     [echo] Compiling frameworks/libs/flatspark.swc
    [compc] Loading configuration file C:\Jenkins\workspace\flex-sdk_test\frameworks\projects\flatspark\compile-config.xml
    [compc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
    [compc] C:\Jenkins\workspace\flex-sdk_test\frameworks\libs\flatspark.swc (455794 bytes)

main:

javascript:

clean:

compile-swfs:
     [echo] Compiling <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/ws/frameworks/javascript/FABridge/samples/EmptySwf.as>
    [mxmlc] Loading configuration file C:\Jenkins\workspace\flex-sdk_test\frameworks\flex-config.xml
    [mxmlc] C:\Jenkins\workspace\flex-sdk_test\frameworks\javascript\FABridge\samples\EmptySwf.swf (5761 bytes)
    [mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
     [echo] Compiling <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/ws/frameworks/javascript/FABridge/samples/app.mxml>
    [mxmlc] Loading configuration file C:\Jenkins\workspace\flex-sdk_test\frameworks\flex-config.xml
    [mxmlc] C:\Jenkins\workspace\flex-sdk_test\frameworks\javascript\FABridge\samples\app.swf (516619 bytes)
    [mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

samples:

main:

main:

ide:

create-config-files:
     [copy] Copying 3 files to <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/ws/ide/flashbuilder/config>

expand-config-tokens:
     [echo] expanding {airHome} and {playerglobalHome} tokens

main:

post-build:

main:
     [echo] ant main target completed on 12/29/2015 02:44:38 PM

test:

test:
   [delete] Deleting directory <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/ws/test-reports>

apache-test:

test:

test-check:
     [echo] FLEXUNIT_HOME is set: <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/ws/../flex-flexunit>
     [echo] 'project.root' is set: <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/ws/frameworks/projects/apache>

-test-run-prepare:

BUILD FAILED
<http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/ws/build.xml>:2003: The following error occurred while executing this line:
<http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/ws/frameworks/build.xml>:141: The following error occurred while executing this line:
<http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/ws/frameworks/build.xml>:531: The following error occurred while executing this line:
<http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/ws/frameworks/projects/apache/build.xml>:192: The following error occurred while executing this line:
<http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/ws/flexunit-tests.xml>:61: c:\Jenkins\workspace\flex-flexunit\FlexUnit4AntTasks\target does not exist.

Total time: 38 minutes 51 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Build step 'Invoke Ant' marked build as failure
Recording test results
ERROR: Publisher hudson.tasks.junit.JUnitResultArchiver aborted due to exception
hudson.AbortException: No test report files were found. Configuration error?
	at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:116)
	at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:93)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2677)
	at hudson.remoting.UserRequest.perform(UserRequest.java:121)
	at hudson.remoting.UserRequest.perform(UserRequest.java:49)
	at hudson.remoting.Request$2.run(Request.java:324)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at hudson.remoting.Engine$1$1.run(Engine.java:63)
	at java.lang.Thread.run(Unknown Source)
	at ......remote call to flex_sdk_slave2(Native Method)
	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
	at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
	at hudson.remoting.Channel.call(Channel.java:752)
	at hudson.FilePath.act(FilePath.java:970)
	at hudson.FilePath.act(FilePath.java:959)
	at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:90)
	at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:120)
	at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:137)
	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:74)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
	at hudson.model.Build$BuildExecution.post2(Build.java:183)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
	at hudson.model.Run.execute(Run.java:1784)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:89)
	at hudson.model.Executor.run(Executor.java:240)

Jenkins build is still unstable: flex-sdk_test #448

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #447

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #446

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/446/>


Jenkins build is still unstable: flex-sdk_test #445

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/445/>


Jenkins build is still unstable: flex-sdk_test #444

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/444/>


Jenkins build is still unstable: flex-sdk_test #443

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/443/>


Jenkins build is still unstable: flex-sdk_test #442

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/442/>


Jenkins build is still unstable: flex-sdk_test #441

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/441/>


Jenkins build is still unstable: flex-sdk_test #440

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/440/>


Jenkins build is still unstable: flex-sdk_test #439

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #438

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #437

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/437/>


Jenkins build is still unstable: flex-sdk_test #436

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/436/>


Jenkins build is still unstable: flex-sdk_test #435

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #434

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #433

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/433/>


Re: Jenkins build is still unstable: flex-sdk_test #432

Posted by Alex Harui <ah...@adobe.com>.
The workspace for FlexUnit still shows both swcs.  Maybe it doesn't clean
up old ones?  Anyway, I think that's why the last run still didn't pass.

On 12/23/15, 6:17 AM, "Mihai Chira" <mi...@gmail.com> wrote:

>Cool. Instead of specifying the swc, though, I got the flexunit
>build.xml to (temporarily) stop compiling the as3 version. This should
>achieve the same purpose. (I did this on the develop branch, I guess
>that's the one we're using on CI?)
>
>On 22 December 2015 at 17:06, Alex Harui <ah...@adobe.com> wrote:
>>
>>
>> On 12/22/15, 2:59 AM, "Mihai Chira" <mi...@gmail.com> wrote:
>>
>>>>
>>>> If the answer
>>>> is to explicitly list the SWCs, that should be straightforward to do.
>>>
>>>I suggest that we try to see what happens if we just include the flex
>>>version of the swc. My guess is that all the unit tests will pass,
>>>suggesting that the right version of UIImpersonator is used, and that
>>>no other unit tests were impacted by the change. We can revert at any
>>>point if other tests fail, of course.
>>>If you think it's a good idea, could you please make the change? That,
>>>or let me know what I'd need to edit, because I don't know.
>>
>> I took a look at the build scripts.  In flexunit-tests.xml seems to be
>> using a <flexunit> Ant task with a <library> option.  I've never used
>>that
>> before, but I would suggest trying to specify the swc you want instead
>>of
>> just using the target folder which has both swcs.
>>
>> -Alex
>>


Re: Jenkins build is still unstable: flex-sdk_test #432

Posted by Mihai Chira <mi...@gmail.com>.
Cool. Instead of specifying the swc, though, I got the flexunit
build.xml to (temporarily) stop compiling the as3 version. This should
achieve the same purpose. (I did this on the develop branch, I guess
that's the one we're using on CI?)

On 22 December 2015 at 17:06, Alex Harui <ah...@adobe.com> wrote:
>
>
> On 12/22/15, 2:59 AM, "Mihai Chira" <mi...@gmail.com> wrote:
>
>>>
>>> If the answer
>>> is to explicitly list the SWCs, that should be straightforward to do.
>>
>>I suggest that we try to see what happens if we just include the flex
>>version of the swc. My guess is that all the unit tests will pass,
>>suggesting that the right version of UIImpersonator is used, and that
>>no other unit tests were impacted by the change. We can revert at any
>>point if other tests fail, of course.
>>If you think it's a good idea, could you please make the change? That,
>>or let me know what I'd need to edit, because I don't know.
>
> I took a look at the build scripts.  In flexunit-tests.xml seems to be
> using a <flexunit> Ant task with a <library> option.  I've never used that
> before, but I would suggest trying to specify the swc you want instead of
> just using the target folder which has both swcs.
>
> -Alex
>

Re: Jenkins build is still unstable: flex-sdk_test #432

Posted by Alex Harui <ah...@adobe.com>.

On 12/22/15, 2:59 AM, "Mihai Chira" <mi...@gmail.com> wrote:

>>
>> If the answer
>> is to explicitly list the SWCs, that should be straightforward to do.
>
>I suggest that we try to see what happens if we just include the flex
>version of the swc. My guess is that all the unit tests will pass,
>suggesting that the right version of UIImpersonator is used, and that
>no other unit tests were impacted by the change. We can revert at any
>point if other tests fail, of course.
>If you think it's a good idea, could you please make the change? That,
>or let me know what I'd need to edit, because I don't know.

I took a look at the build scripts.  In flexunit-tests.xml seems to be
using a <flexunit> Ant task with a <library> option.  I've never used that
before, but I would suggest trying to specify the swc you want instead of
just using the target folder which has both swcs.

-Alex


Re: Jenkins build is still unstable: flex-sdk_test #432

Posted by Mihai Chira <mi...@gmail.com>.
> That thread seems to be about Flash Builder compatibility.  This is just
> Ant stuff, isn't it?

Yes, but it does detail some of the internal logic, logic which may
explain why we're seeing the as3 version of UIImpersonator, despite
the fact that we're also including the flex version of the swc.

> If the answer
> is to explicitly list the SWCs, that should be straightforward to do.

I suggest that we try to see what happens if we just include the flex
version of the swc. My guess is that all the unit tests will pass,
suggesting that the right version of UIImpersonator is used, and that
no other unit tests were impacted by the change. We can revert at any
point if other tests fail, of course.
If you think it's a good idea, could you please make the change? That,
or let me know what I'd need to edit, because I don't know.

Re: Jenkins build is still unstable: flex-sdk_test #432

Posted by Alex Harui <ah...@adobe.com>.
That thread seems to be about Flash Builder compatibility.  This is just
Ant stuff, isn't it?  I don't know if folks explicitly list which SWCs
they want or just point to the whole set of FlexUnit swcs.  If the answer
is to explicitly list the SWCs, that should be straightforward to do.

-Alex

On 12/21/15, 12:01 AM, "Mihai Chira" <mi...@gmail.com> wrote:

>> I don't know FlexUnit very well.  Is it normal to have both the as3 and
>> flex version in the library-path so their definitions compete or is it
>> normal to only have one or the other?  I'm trying to understand whether
>> the current situation where both are in the library-path is the default
>> and our tests have to compensate or whether the tests are misconfigured
>> and only one or the other should be used.
>
>I doubt it's normal; so far I've only used one of them in all the
>projects I've ever worked on.
>
>Michael Labriola says, in an older thread [1]: "The FlexUnit core
>doesn't really care, it allows you to pass whatever you like, however,
>since we can't pass config parameters to the core, FlexUnit tries to
>'decide' what's going on, so if it doesn’t see any flex related
>classes, it assumes its AS only.... and there are actually issues
>trying to get to the stage. If it’s a Flex 3 application, it tries to
>add an mx..Container. If it’s a mixed mx/spark app, it tries to add an
>mx..Container. If it’s a Spark only app, it tries to add a Group."
>
>I've CCd him to the thread, maybe he can help us elucidate this
>question. Thanks in advance, Mike.
>
>[1] 
>http://apache-flex-development.2333347.n4.nabble.com/FlexUnit-Compatibilit
>y-was-FlexUnit-4-3-td46088.html


Re: Jenkins build is still unstable: flex-sdk_test #432

Posted by Mihai Chira <mi...@gmail.com>.
> I don't know FlexUnit very well.  Is it normal to have both the as3 and
> flex version in the library-path so their definitions compete or is it
> normal to only have one or the other?  I'm trying to understand whether
> the current situation where both are in the library-path is the default
> and our tests have to compensate or whether the tests are misconfigured
> and only one or the other should be used.

I doubt it's normal; so far I've only used one of them in all the
projects I've ever worked on.

Michael Labriola says, in an older thread [1]: "The FlexUnit core
doesn't really care, it allows you to pass whatever you like, however,
since we can't pass config parameters to the core, FlexUnit tries to
'decide' what's going on, so if it doesn’t see any flex related
classes, it assumes its AS only.... and there are actually issues
trying to get to the stage. If it’s a Flex 3 application, it tries to
add an mx..Container. If it’s a mixed mx/spark app, it tries to add an
mx..Container. If it’s a Spark only app, it tries to add a Group."

I've CCd him to the thread, maybe he can help us elucidate this
question. Thanks in advance, Mike.

[1] http://apache-flex-development.2333347.n4.nabble.com/FlexUnit-Compatibility-was-FlexUnit-4-3-td46088.html

Re: Jenkins build is still unstable: flex-sdk_test #432

Posted by Alex Harui <ah...@adobe.com>.

On 12/18/15, 3:05 AM, "Mihai Chira" <mi...@gmail.com> wrote:

>> Also note that the compiler shouldn't care as much about the order in
>>the
>> library path as the compile time for the definitions in the SWCs.  So if
>> class Foo was compiled into the as3 SWC and then later into the flex
>>SWC,
>> the definition in the flex SWC should always win regardless of order.
>> Maybe the SWCs were built in a different order on your computer.
>
>I know that, BUT: I tried locally with
>flexunit-4.3.0-20140410-as3_4.12.0.swc and it fails with exactly the
>same errors as on the server. Then I tried with
>flexunit-4.3.0-20140410-flex_4.12.0.swc and it passes (except for a
>debug assert in
>FLEX_34625_Tests.test_focus_skin_with_zero_focus_thickness() - but
>different one, anyway, from the one currently failing on the server
>[1].
>
>So I don't know why, but it seems very likely that in the end our CI
>server is using the as3 version of flexunit instead of the flex
>version. I do see that they're included two times each (so 4 times in
>total) on each run, so maybe the compiler might have a limit of how
>many times it's overriding a class in a more recent swc over a
>previous one? Don't know.
>
>Regardless, how can we ensure that we use the flex version only? I
>couldn't really tell where I need to tweak ant scripts or other code.

I don't know FlexUnit very well.  Is it normal to have both the as3 and
flex version in the library-path so their definitions compete or is it
normal to only have one or the other?  I'm trying to understand whether
the current situation where both are in the library-path is the default
and our tests have to compensate or whether the tests are misconfigured
and only one or the other should be used.

-Alex


Re: Jenkins build is still unstable: flex-sdk_test #432

Posted by Mihai Chira <mi...@gmail.com>.
> Also note that the compiler shouldn't care as much about the order in the
> library path as the compile time for the definitions in the SWCs.  So if
> class Foo was compiled into the as3 SWC and then later into the flex SWC,
> the definition in the flex SWC should always win regardless of order.
> Maybe the SWCs were built in a different order on your computer.

I know that, BUT: I tried locally with
flexunit-4.3.0-20140410-as3_4.12.0.swc and it fails with exactly the
same errors as on the server. Then I tried with
flexunit-4.3.0-20140410-flex_4.12.0.swc and it passes (except for a
debug assert in
FLEX_34625_Tests.test_focus_skin_with_zero_focus_thickness() - but
different one, anyway, from the one currently failing on the server
[1].

So I don't know why, but it seems very likely that in the end our CI
server is using the as3 version of flexunit instead of the flex
version. I do see that they're included two times each (so 4 times in
total) on each run, so maybe the compiler might have a limit of how
many times it's overriding a class in a more recent swc over a
previous one? Don't know.

Regardless, how can we ensure that we use the flex version only? I
couldn't really tell where I need to tweak ant scripts or other code.

[1] http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/433/testReport/spark.skins/spark__FLEX_34625_Tests/test_focus_skin_with_zero_focus_thickness/

Re: Jenkins build is still unstable: flex-sdk_test #432

Posted by Alex Harui <ah...@adobe.com>.

On 12/17/15, 2:29 AM, "Mihai Chira" <mi...@gmail.com> wrote:

>> It appears that flex-sdk_test uses the flex-flexunit build on the CI
>> server.  Does that mean the flex-flexunit build is not configured to
>> produce the right artifacts for Flex customers.  If so, that should
>> probably get fixed.
>
>flex-flexunit does produce both
>flexunit-4.3.0-20140410-flex_4.12.0.swc and
>flexunit-4.3.0-20140410-as3_4.12.0.swc, and we need to use the first
>one. I don't know where to check which one is used.
>
>Isn't flex-sdk_test simply using the test target of build.xml? That
>one ends up using flexunit-tests.xml, which uses the
>flexUnitTasks.tasks ant task. So that's why I thought we need to
>replace 
>flex-flexunit\FlexUnit4AntTasks\test\sandbox\libs\flexunit-core-flex-4.1.0
>.x-sdky.y.y.y.swc
>with one of the above.

It appears that flex-sdk_test uses the "test" target in the main flex-sdk
build.xml.

I did notice in the console output [1] that it appears to be using both
flexunit-4.3.0-20140410-as3_4.12.0.swc and
flexunit-4.3.0-20140410-flex_4.12.0.swc on the library path in that order.
 I don't know if that is correct or not.  Do they have conflicting
definitions?

Also note that the compiler shouldn't care as much about the order in the
library path as the compile time for the definitions in the SWCs.  So if
class Foo was compiled into the as3 SWC and then later into the flex SWC,
the definition in the flex SWC should always win regardless of order.
Maybe the SWCs were built in a different order on your computer.

-Alex

[1] http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/433/console


Re: Jenkins build is still unstable: flex-sdk_test #432

Posted by Mihai Chira <mi...@gmail.com>.
> It appears that flex-sdk_test uses the flex-flexunit build on the CI
> server.  Does that mean the flex-flexunit build is not configured to
> produce the right artifacts for Flex customers.  If so, that should
> probably get fixed.

flex-flexunit does produce both
flexunit-4.3.0-20140410-flex_4.12.0.swc and
flexunit-4.3.0-20140410-as3_4.12.0.swc, and we need to use the first
one. I don't know where to check which one is used.

Isn't flex-sdk_test simply using the test target of build.xml? That
one ends up using flexunit-tests.xml, which uses the
flexUnitTasks.tasks ant task. So that's why I thought we need to
replace flex-flexunit\FlexUnit4AntTasks\test\sandbox\libs\flexunit-core-flex-4.1.0.x-sdky.y.y.y.swc
with one of the above. Or does it get replaced automatically as part
of some ant target of FlexUnit4AntTasks? I checked its build file and
I couldn't figure it out.

Re: Jenkins build is still unstable: flex-sdk_test #432

Posted by Alex Harui <ah...@adobe.com>.
It appears that flex-sdk_test uses the flex-flexunit build on the CI
server.  Does that mean the flex-flexunit build is not configured to
produce the right artifacts for Flex customers.  If so, that should
probably get fixed.

-Alex

On 12/16/15, 7:56 AM, "mihai.chira@gmail.com on behalf of Mihai Chira"
<mihai.chira@gmail.com on behalf of mihaic@apache.org> wrote:

>The two test classes still failing are ones I wrote. They're failing
>because UIImpersonator doesn't work correctly, which is a big hint
>that in Jenkins we're using a version of FlexUnit that was compiled
>for pure AS development, instead of for Flex development. In March
>Chris offered to release FlexUnit 4.3, and I thought it's best we do
>that first and then swap the swc for the flex one (in my local
>FlexUnit4\target folder it's called
>flexunit-4.3.0-20140410-flex_4.12.0.swc) to be used in the unit
>testing target in Jenkins.
>
>But since now we want to release Flex 4.15, maybe we should just
>replace the current version with someone's local build of the 4.2
>flexunit version (the latest). Does someone know where the swap should
>happen? Is it in
>flex-flexunit\FlexUnit4AntTasks\test\sandbox\libs\flexunit-core-flex-4.1.0
>.x-sdky.y.y.y.swc?


Re: Jenkins build is still unstable: flex-sdk_test #432

Posted by Mihai Chira <mi...@apache.org>.
The two test classes still failing are ones I wrote. They're failing
because UIImpersonator doesn't work correctly, which is a big hint
that in Jenkins we're using a version of FlexUnit that was compiled
for pure AS development, instead of for Flex development. In March
Chris offered to release FlexUnit 4.3, and I thought it's best we do
that first and then swap the swc for the flex one (in my local
FlexUnit4\target folder it's called
flexunit-4.3.0-20140410-flex_4.12.0.swc) to be used in the unit
testing target in Jenkins.

But since now we want to release Flex 4.15, maybe we should just
replace the current version with someone's local build of the 4.2
flexunit version (the latest). Does someone know where the swap should
happen? Is it in
flex-flexunit\FlexUnit4AntTasks\test\sandbox\libs\flexunit-core-flex-4.1.0.x-sdky.y.y.y.swc?

Jenkins build is still unstable: flex-sdk_test #432

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #431

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #430

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #429

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #428

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/428/>


Jenkins build is still unstable: flex-sdk_test #427

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #426

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #425

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/425/>


Jenkins build is still unstable: flex-sdk_test #424

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/424/>


Jenkins build is still unstable: flex-sdk_test #423

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/423/>


Jenkins build is still unstable: flex-sdk_test #422

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #421

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #420

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/420/>


Jenkins build is still unstable: flex-sdk_test #419

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/419/>


Jenkins build is still unstable: flex-sdk_test #418

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/418/>


Jenkins build is still unstable: flex-sdk_test #417

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/417/>


Jenkins build is still unstable: flex-sdk_test #416

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #415

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #414

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/414/>


Jenkins build is still unstable: flex-sdk_test #413

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/413/>


Jenkins build is still unstable: flex-sdk_test #412

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/412/>


Jenkins build is still unstable: flex-sdk_test #411

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/411/>


Jenkins build is still unstable: flex-sdk_test #410

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/410/>


Jenkins build is still unstable: flex-sdk_test #409

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/409/>


Jenkins build is still unstable: flex-sdk_test #408

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/408/>


Jenkins build is still unstable: flex-sdk_test #407

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/407/>


Jenkins build is still unstable: flex-sdk_test #406

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/406/>


Jenkins build is still unstable: flex-sdk_test #405

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/405/>


Jenkins build is still unstable: flex-sdk_test #404

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/404/>


Jenkins build is still unstable: flex-sdk_test #403

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/403/>


Jenkins build is still unstable: flex-sdk_test #402

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/402/>


Jenkins build is still unstable: flex-sdk_test #401

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/401/>


Jenkins build is still unstable: flex-sdk_test #400

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #399

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #398

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #397

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #396

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #395

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/changes>


Jenkins build is still unstable: flex-sdk_test #394

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/394/>


Jenkins build is still unstable: flex-sdk_test #393

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/393/>


Jenkins build is still unstable: flex-sdk_test #392

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/392/>


Jenkins build is still unstable: flex-sdk_test #391

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/391/>


Jenkins build is still unstable: flex-sdk_test #390

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/390/>


Jenkins build is still unstable: flex-sdk_test #389

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/389/>


Jenkins build is still unstable: flex-sdk_test #388

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/388/>


Jenkins build is still unstable: flex-sdk_test #387

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/387/>


Jenkins build is still unstable: flex-sdk_test #386

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/386/>


Jenkins build is still unstable: flex-sdk_test #385

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/385/>


Jenkins build is still unstable: flex-sdk_test #384

Posted by fl...@gmail.com.
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_test/384/>