Re: Build failed in Jenkins: royale-asjs #1097

2020-04-18 Thread Alex Harui
Did RoyaleUnits use of sockets change  How were tests running in the past 
months?

-Alex

On 4/18/20, 1:57 PM, "Greg Dove"  wrote:

I am not sure what the actual issue on the server here is. It is saying
there is a socket timeout issue from the browser launch.
But this does provide an opportunity for a quick example of the information
I shared recently about the changes to tests for JS, and it might be
helpful for you to see that with a 'live' example.

For the part of the output:

[royaleunit] Executing 'C:\Program Files
(x86)\Google\Chrome\Application\chrome.exe' with arguments:
[royaleunit] '<

https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2Fws%2Fframeworks%2Fjs%2Fprojects%2FBasicJS%2Fsrc%2Ftest%2Froyale%2Ftarget%2Fbin%2Fjs-release%2Findex.htmldata=02%7C01%7Caharui%40adobe.com%7Cef4f8532c61643bdaee708d7e3db14ec%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637228402406166645sdata=232mZKfJfIlUCHn4d9vFM1uCecmAyqXtacETu%2BkJyj0%3Dreserved=0
'>

If you simply launch that link in a browser you will see the normal launch
of the royaleunit BasicJS tests (it is a blank white page - not
particularly interesting in itself). If you look in the dev tools
console for that page, you can see that it also did not find a socket
server to connect to to report back the test results (which is definitely
expected when you launch it like this, because there is of course none
available).
But you also will also see this in the console:
For javascript you can run this locally with console output for debugging
purposes, using "?local" appended to the url.
It may not work for all browsers with file:// protocol (works with Chrome),
in which case you need a local http server

So if you append
?local
to the url by simply typing that at the end of the original url in the
browser and reload, you will see the following in the console:

[JS] flexUnitTests::DataGridColumnTest.testLabelProperty .
[JS] Time: 0.038
[JS] OK (1 test)

...which means the tests themselves are not the problem here. There was no
suggestion that they were...this was just to illustrate how you can toggle
between CI style tests and console output of test results.
The build error may indicate some issue with the chrome launch itself I am
guessing (not sure).
Aside: The css is not being served as the correct MIME type, so you may see
console errors for that as well, but I think that has always been the case
on the CI server (not sure).



On Sun, Apr 19, 2020 at 8:19 AM  wrote:

> See <
> 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2F1097%2Fdisplay%2Fredirect%3Fpage%3Dchangesdata=02%7C01%7Caharui%40adobe.com%7Cef4f8532c61643bdaee708d7e3db14ec%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637228402406166645sdata=wNkfQBUzJ6HLdzaFBTr6Q4BRMi5p5K3832DcfKiFklc%3Dreserved=0
> >
>
> Changes:
>
> [carlosrovira] markdown-example: highlight as3 and mxml
>
>
> --
> [...truncated 1.34 MB...]
> [mxmlc] Loading configuration: <
> 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2Fws%2Fframeworks%2Fprojects%2FBasic%2Fsrc%2Ftest%2Froyale%2FFlexUnitRoyaleApplication-config.xmldata=02%7C01%7Caharui%40adobe.com%7Cef4f8532c61643bdaee708d7e3db14ec%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637228402406166645sdata=AogF3nawDDPxuy4rnEi1PEGWXCNT1iAKh8WoL8J44us%3Dreserved=0
> >
> [mxmlc]
> [mxmlc] 94132 bytes written to <
> 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2Fws%2Fframeworks%2Fprojects%2FBasic%2Fsrc%2Ftest%2Froyale%2FFlexUnitRoyaleApplication.swfdata=02%7C01%7Caharui%40adobe.com%7Cef4f8532c61643bdaee708d7e3db14ec%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637228402406166645sdata=z42a1%2FktcjQa41zV%2FVIIE0slNwivp9iPQc4IHyBGGBY%3Dreserved=0>
> in 2.737 seconds
> [mxmlc] 3.6389412 seconds
> [mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m
> -Xmx2g
>
> test:
> [mkdir] Created dir: <
> 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs%2Fws%2Fframeworks%2Fprojects%2FBasic%2Fsrc%2Ftest%2Froyale%2Foutdata=02%7C01%7Caharui%40adobe.com%7Cef4f8532c61643bdaee708d7e3db14ec%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637228402406166645sdata=CqTsCf71fU0O8%2BoTc8r%2BsbBhOZniKZNMs6RPd10TSA0%3Dreserved=0
> >
> [royaleunit] Validating task attributes ...
> [royaleunit] 

Build failed in Jenkins: royale-asjs #1099

2020-04-18 Thread apacheroyaleci
See 


Changes:


--
[...truncated 1.35 MB...]
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 94132 bytes written to 

 in 2.412 seconds
[mxmlc] 3.4156752 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

test:
[mkdir] Created dir: 

[royaleunit] Validating task attributes ...
[royaleunit] Generating default values ...
[royaleunit] Using the following settings for the test run:
[royaleunit]ROYALE_HOME: 
[
[royaleunit]haltonfailure: [true]
[royaleunit]headless: [false]
[royaleunit]display: [99]
[royaleunit]localTrusted: [true]
[royaleunit]player: [flash]
[royaleunit]port: [1024]
[royaleunit]swf: 
[
[royaleunit]timeout: [9ms]
[royaleunit]toDir: 
[
[royaleunit] Setting up server process ...
[royaleunit] Entry 
[
 already available in local trust file at 
[C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash 
Player\#Security\FlashPlayerTrust\royaleUnit.cfg].
[royaleunit] Executing 'rundll32' with arguments:
[royaleunit] 'url.dll,FileProtocolHandler'
[royaleunit] 
'
[royaleunit] 
[royaleunit] The ' characters around the executable and arguments are
[royaleunit] not part of the command.
[royaleunit] 
[royaleunit] Starting server ...
[royaleunit] Opening server socket on port [1024].
[royaleunit] Waiting for client connection ...
[royaleunit] Client connected.
[royaleunit] Setting inbound buffer size to [262144] bytes.
[royaleunit] Receiving data ...
[royaleunit] Sending acknowledgement to player to start sending test data ...
[royaleunit] 
[royaleunit] 
[royaleunit] Stopping server ...
[royaleunit] End of test data reached, sending acknowledgement to player ...
[royaleunit] Closing client connection ...
[royaleunit] Closing server on port [1024] ...
[royaleunit] Analyzing reports ...
[royaleunit] 
[royaleunit] Suite: flexUnitTests.DataGridColumnTest
[royaleunit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.123 sec
[royaleunit] 
[royaleunit] Results :
[royaleunit] 
[royaleunit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.123 sec
[royaleunit] 
[junitreport] Processing 

 to C:\Users\ApacheRoyaleCI\AppData\Local\Temp\null1196307969
[junitreport] Loading stylesheet 
jar:file:/C:/apache/apache-ant-1.9.9/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 608ms
[junitreport] Deleting: 
C:\Users\ApacheRoyaleCI\AppData\Local\Temp\null1196307969

main:
 [echo] swc-date is 04/19/20 04:44 +

test-js:
 [echo] swc-date is 04/19/20 04:45 +
   [delete] Deleting: 


check-for-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

test:

clean:

compile:
 [echo] Cross-compiling tests
 [echo] ROYALE_HOME: 

 [echo] ROYALE_SWF_COMPILER_HOME: 

 [echo] playerglobal.version: 11.7
Trying to override old definition of task compc
Trying to override old definition of task mxmlc
[mxmlc] MXMLJSC
[mxmlc] -compiler.targets=JSRoyale
[mxmlc] -js-output=target
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] 
+royalelib=
[mxmlc] --
[mxmlc] 

Build failed in Jenkins: royale-asjs #1098

2020-04-18 Thread apacheroyaleci
See 


Changes:


--
[...truncated 1.34 MB...]
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 94131 bytes written to 

 in 2.971 seconds
[mxmlc] 5.0002083 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

test:
[mkdir] Created dir: 

[royaleunit] Validating task attributes ...
[royaleunit] Generating default values ...
[royaleunit] Using the following settings for the test run:
[royaleunit]ROYALE_HOME: 
[
[royaleunit]haltonfailure: [true]
[royaleunit]headless: [false]
[royaleunit]display: [99]
[royaleunit]localTrusted: [true]
[royaleunit]player: [flash]
[royaleunit]port: [1024]
[royaleunit]swf: 
[
[royaleunit]timeout: [9ms]
[royaleunit]toDir: 
[
[royaleunit] Setting up server process ...
[royaleunit] Starting server ...
[royaleunit] Opening server socket on port [1024].
[royaleunit] Waiting for client connection ...
[royaleunit] Entry 
[
 already available in local trust file at 
[C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash 
Player\#Security\FlashPlayerTrust\royaleUnit.cfg].
[royaleunit] Executing 'rundll32' with arguments:
[royaleunit] 'url.dll,FileProtocolHandler'
[royaleunit] 
'
[royaleunit] 
[royaleunit] The ' characters around the executable and arguments are
[royaleunit] not part of the command.
[royaleunit] 
[royaleunit] Client connected.
[royaleunit] Setting inbound buffer size to [262144] bytes.
[royaleunit] Receiving data ...
[royaleunit] Sending acknowledgement to player to start sending test data ...
[royaleunit] 
[royaleunit] 
[royaleunit] Stopping server ...
[royaleunit] End of test data reached, sending acknowledgement to player ...
[royaleunit] Closing client connection ...
[royaleunit] Closing server on port [1024] ...
[royaleunit] Analyzing reports ...
[royaleunit] 
[royaleunit] Suite: flexUnitTests.DataGridColumnTest
[royaleunit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.123 sec
[royaleunit] 
[royaleunit] Results :
[royaleunit] 
[royaleunit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.123 sec
[royaleunit] 
[junitreport] Processing 

 to C:\Users\ApacheRoyaleCI\AppData\Local\Temp\null1174079021
[junitreport] Loading stylesheet 
jar:file:/C:/apache/apache-ant-1.9.9/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 943ms
[junitreport] Deleting: 
C:\Users\ApacheRoyaleCI\AppData\Local\Temp\null1174079021

main:
 [echo] swc-date is 04/19/20 03:17 +

test-js:
 [echo] swc-date is 04/19/20 03:19 +
   [delete] Deleting: 


check-for-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

test:

clean:

compile:
 [echo] Cross-compiling tests
 [echo] ROYALE_HOME: 

 [echo] ROYALE_SWF_COMPILER_HOME: 

 [echo] playerglobal.version: 11.7
Trying to override old definition of task compc
Trying to override old definition of task mxmlc
[mxmlc] MXMLJSC
[mxmlc] -compiler.targets=JSRoyale
[mxmlc] -js-output=target
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] 
+royalelib=
[mxmlc] --
[mxmlc] 

Re: 0.9.7 release notes updates - quick check

2020-04-18 Thread Greg Dove
I pushed some changes to both compiler and asjs release notes in branch
release/0.9.7

I'd like to suggest that others review this and add more as needed (as
opposed to waiting until late in the process to do it).


On Sat, Apr 18, 2020 at 11:25 AM Greg Dove  wrote:

> Ok, thanks for clarifying Alex. I will do that later today.
>
>
> On Sat, Apr 18, 2020 at 11:03 AM Alex Harui 
> wrote:
>
>> IMO, there is no perfect solution.  There will be times where the release
>> branch is so broken that it will be tossed and re-cut from develop.  But
>> this time around we are trying to keep the release branches around, so make
>> changes to the release branch and make sure the RM knows so they RM knows
>> to merge changes back in case we get to the toss-and-re-cut point.
>>
>> Thanks,
>> -Alex
>>
>> On 4/17/20, 3:20 PM, "Greg Dove"  wrote:
>>
>> I am not sure whether the current work on 0.9.7 release is a dry run
>> or a
>> full effort (I have not been reading all details recently, sorry). I
>> assume
>> it is a full release effort.
>>
>> For 0.9.6 release we had a collective rush to add things to RELEASE
>> NOTES
>> before release.
>>
>> I have a few things I want to add to RELEASE NOTES. But I would also
>> like
>> to make sure I apply our collective learning from last time.
>>
>> The issue last time (iirc) was that we pushed updates into develop
>> branch
>> which I think then were being cherry picked into release branch. This
>> I
>> believe contributed to some merge conflicts at some point.
>> Can I get a definitive answer for where I should add updates to
>> RELEASE
>> NOTES at this point if it is not too late? I think it is probably
>> supposed
>> to be directly into release branch which then gets merged later back
>> into
>> develop, but I'd like a confirmation of that if it is correct (and
>> not too
>> late), please.
>>
>>
>>


Re: Build failed in Jenkins: royale-asjs #1097

2020-04-18 Thread Greg Dove
I am not sure what the actual issue on the server here is. It is saying
there is a socket timeout issue from the browser launch.
But this does provide an opportunity for a quick example of the information
I shared recently about the changes to tests for JS, and it might be
helpful for you to see that with a 'live' example.

For the part of the output:

[royaleunit] Executing 'C:\Program Files
(x86)\Google\Chrome\Application\chrome.exe' with arguments:
[royaleunit] '<
http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs/ws/frameworks/js/projects/BasicJS/src/test/royale/target/bin/js-release/index.html
'>

If you simply launch that link in a browser you will see the normal launch
of the royaleunit BasicJS tests (it is a blank white page - not
particularly interesting in itself). If you look in the dev tools
console for that page, you can see that it also did not find a socket
server to connect to to report back the test results (which is definitely
expected when you launch it like this, because there is of course none
available).
But you also will also see this in the console:
For javascript you can run this locally with console output for debugging
purposes, using "?local" appended to the url.
It may not work for all browsers with file:// protocol (works with Chrome),
in which case you need a local http server

So if you append
?local
to the url by simply typing that at the end of the original url in the
browser and reload, you will see the following in the console:

[JS] flexUnitTests::DataGridColumnTest.testLabelProperty .
[JS] Time: 0.038
[JS] OK (1 test)

...which means the tests themselves are not the problem here. There was no
suggestion that they were...this was just to illustrate how you can toggle
between CI style tests and console output of test results.
The build error may indicate some issue with the chrome launch itself I am
guessing (not sure).
Aside: The css is not being served as the correct MIME type, so you may see
console errors for that as well, but I think that has always been the case
on the CI server (not sure).



On Sun, Apr 19, 2020 at 8:19 AM  wrote:

> See <
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs/1097/display/redirect?page=changes
> >
>
> Changes:
>
> [carlosrovira] markdown-example: highlight as3 and mxml
>
>
> --
> [...truncated 1.34 MB...]
> [mxmlc] Loading configuration: <
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs/ws/frameworks/projects/Basic/src/test/royale/FlexUnitRoyaleApplication-config.xml
> >
> [mxmlc]
> [mxmlc] 94132 bytes written to <
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs/ws/frameworks/projects/Basic/src/test/royale/FlexUnitRoyaleApplication.swf>
> in 2.737 seconds
> [mxmlc] 3.6389412 seconds
> [mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m
> -Xmx2g
>
> test:
> [mkdir] Created dir: <
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs/ws/frameworks/projects/Basic/src/test/royale/out
> >
> [royaleunit] Validating task attributes ...
> [royaleunit] Generating default values ...
> [royaleunit] Using the following settings for the test run:
> [royaleunit]ROYALE_HOME: [<
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs/ws/
> ]>
> [royaleunit]haltonfailure: [true]
> [royaleunit]headless: [false]
> [royaleunit]display: [99]
> [royaleunit]localTrusted: [true]
> [royaleunit]player: [flash]
> [royaleunit]port: [1024]
> [royaleunit]swf: [<
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs/ws/frameworks/projects/Basic/src/test/royale/FlexUnitRoyaleApplication.swf
> ]>
> [royaleunit]timeout: [9ms]
> [royaleunit]toDir: [<
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs/ws/frameworks/projects/Basic/src/test/royale/out
> ]>
> [royaleunit] Setting up server process ...
> [royaleunit] Starting server ...
> [royaleunit] Opening server socket on port [1024].
> [royaleunit] Waiting for client connection ...
> [royaleunit] Entry [<
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs/ws/frameworks/projects/Basic/src/test/royale]>
> already available in local trust file at
> [C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash
> Player\#Security\FlashPlayerTrust\royaleUnit.cfg].
> [royaleunit] Executing 'rundll32' with arguments:
> [royaleunit] 'url.dll,FileProtocolHandler'
> [royaleunit] '<
> http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs/ws/frameworks/projects/Basic/src/test/royale/FlexUnitRoyaleApplication.swf
> '>
> [royaleunit]
> [royaleunit] The ' characters around the executable and arguments are
> [royaleunit] not part of the command.
> [royaleunit]
> [royaleunit] Client connected.
> [royaleunit] Setting inbound buffer size to [262144] bytes.
> [royaleunit] Receiving data ...
> [royaleunit] Sending 

Build failed in Jenkins: royale-asjs #1097

2020-04-18 Thread apacheroyaleci
See 


Changes:

[carlosrovira] markdown-example: highlight as3 and mxml


--
[...truncated 1.34 MB...]
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 94132 bytes written to 

 in 2.737 seconds
[mxmlc] 3.6389412 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

test:
[mkdir] Created dir: 

[royaleunit] Validating task attributes ...
[royaleunit] Generating default values ...
[royaleunit] Using the following settings for the test run:
[royaleunit]ROYALE_HOME: 
[
[royaleunit]haltonfailure: [true]
[royaleunit]headless: [false]
[royaleunit]display: [99]
[royaleunit]localTrusted: [true]
[royaleunit]player: [flash]
[royaleunit]port: [1024]
[royaleunit]swf: 
[
[royaleunit]timeout: [9ms]
[royaleunit]toDir: 
[
[royaleunit] Setting up server process ...
[royaleunit] Starting server ...
[royaleunit] Opening server socket on port [1024].
[royaleunit] Waiting for client connection ...
[royaleunit] Entry 
[
 already available in local trust file at 
[C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash 
Player\#Security\FlashPlayerTrust\royaleUnit.cfg].
[royaleunit] Executing 'rundll32' with arguments:
[royaleunit] 'url.dll,FileProtocolHandler'
[royaleunit] 
'
[royaleunit] 
[royaleunit] The ' characters around the executable and arguments are
[royaleunit] not part of the command.
[royaleunit] 
[royaleunit] Client connected.
[royaleunit] Setting inbound buffer size to [262144] bytes.
[royaleunit] Receiving data ...
[royaleunit] Sending acknowledgement to player to start sending test data ...
[royaleunit] 
[royaleunit] 
[royaleunit] Stopping server ...
[royaleunit] End of test data reached, sending acknowledgement to player ...
[royaleunit] Closing client connection ...
[royaleunit] Closing server on port [1024] ...
[royaleunit] Analyzing reports ...
[royaleunit] 
[royaleunit] Suite: flexUnitTests.DataGridColumnTest
[royaleunit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.123 sec
[royaleunit] 
[royaleunit] Results :
[royaleunit] 
[royaleunit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.123 sec
[royaleunit] 
[junitreport] Processing 

 to C:\Users\ApacheRoyaleCI\AppData\Local\Temp\null352998441
[junitreport] Loading stylesheet 
jar:file:/C:/apache/apache-ant-1.9.9/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 899ms
[junitreport] Deleting: C:\Users\ApacheRoyaleCI\AppData\Local\Temp\null352998441

main:
 [echo] swc-date is 04/18/20 20:15 +

test-js:
 [echo] swc-date is 04/18/20 20:16 +
   [delete] Deleting: 


check-for-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

test:

clean:

compile:
 [echo] Cross-compiling tests
 [echo] ROYALE_HOME: 

 [echo] ROYALE_SWF_COMPILER_HOME: 

 [echo] playerglobal.version: 11.7
Trying to override old definition of task compc
Trying to override old definition of task mxmlc
[mxmlc] MXMLJSC
[mxmlc] -compiler.targets=JSRoyale
[mxmlc] -js-output=target
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] 
+royalelib=
[mxmlc] --
[mxmlc] 

Release Step 011 Succeeded

2020-04-18 Thread apacheroyaleci
>From the royale-asjs repo:
1. Run ant -f releasesteps.xml Release_Step_011 -Drelease.version=0.9.7 
-DskipTests=true
This will download the artifacts then unzip and compile the source artifact.
2. Validate that the compiled artifacts match the downloaded artifacts.
3. If they do, then run ant -f releasesteps.xml Release_Step_011_Sign 
-Drelease.version=0.9.7
This will PGP sign the source ZIP and compiled JARs
4. Then run ant -f releasesteps.xml Release_Step_011_Upload 
-Drelease.version=0.9.7
This will upload the signed artifacts to Maven Release Staging.  Verify that 
the compiler and typedefs artifacts are there along with the asjs artifacts, 
then hit the close to close the staging repo. (https://repository.apache.org/)

Royale_Release_Step_011 - Build # 3 - Still Failing!

2020-04-18 Thread apacheroyaleci
Royale_Release_Step_011 - Build # 3 - Still Failing:

Check console output at 
http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/Royale_Release_Step_011/3/
 to view the results.

Re: Prioritize Release Jobs on CI

2020-04-18 Thread OmPrakash Muppirala
We could achieve the same by creating a new agent (separate vm) and
attaching it as a slave to the current Jenkins server.

Then we can use labels/tags to tie release jobs to one agent and non
release jobs to another agent.

That way we can maintain everything in one UI, one login while achieving
the concurrent building capabilities we want.

Jenkins is built for this kind of stuff and I think it would be best we
followed this practice.

Thanks,
Om

On Sat, Apr 18, 2020, 8:18 AM Alex Harui  wrote:

> Om, I thought you were going to get the image from my VM and run it on
> another VM.  Then we'd remove all non-release jobs from your VM and all of
> the release jobs from my VM.  That won't solve the problem of how long it
> takes for a commit to be built and tested, but will allow the RM to get a
> release out without getting stuck behind the commit jobs.  Is that
> currently the plan?
>
> -Alex
>
> On 4/18/20, 12:43 AM, "OmPrakash Muppirala"  wrote:
>
> Makes sense to me.  I will set parallel executors back to 1.
>
> And start working on a new Jenkins instance.
>
> Thanks,
> Om
>
>
> On Sat, Apr 18, 2020, 12:28 AM Alex Harui 
> wrote:
>
> > Are you saying that Java, Ant and Maven do not know how to
> distribute work
> > to different cores?
> >
> > To repeat my main concern:  our Jenkins jobs often use shared
> resources.
> > If you want to take the time to fix that, feel free, but I do not
> know how
> > you are going to keep two jobs from both trying to launch Flash
> Player
> > Debugger at the same time and open the same socket to communicate
> with it,
> > or try to parse the flashlog.txt that they have both written to.
> >
> > The royale-asjs job will use the royale-compiler workspace to get the
> > compiler.  If the compiler is building, the jars are not there and
> the
> > royale-asjs build fails.
> >
> > There is also only so much memory and some of our jobs use all of it
> and
> > I'm not sure if jobs slowed down due to paging memory and
> writing/reading
> > from disk, even if it is an SSD.
> >
> > I'm done for tonight, but that's what I was seeing last time I tried
> to
> > have both master and an agent running jobs in parallel.
> >
> > Thanks,
> > -Alex
> >
> > On 4/17/20, 11:52 PM, "OmPrakash Muppirala" 
> wrote:
> >
> > A typical setup would be to have 0 executors on master and at
> least n
> > number of executors on each agent, where n = number of cpu cores.
> > I see that the current VM has 2 cores.  So, I started with
> setting the
> > num
> > executors on the current agent to 2.
> >
> > This should improve things quite a bit.  If this doesn't work, I
> will
> > create a new VM and make it the slave agent of the current
> Jenkins
> > master.
> >
> >
> > Thanks,
> > Om
> >
> > On Fri, Apr 17, 2020 at 11:31 PM Alex Harui
> 
> > wrote:
> >
> > > On your VM or mine?  I don't think mine can handle it.  I used
> to
> > run jobs
> > > of master and agent and we got lots of failures and jobs took
> > forever.  If
> > > two jobs are trying to run tests with the shared Flash Player
> > Debugger, for
> > > example, you won't get consistent results.
> > >
> > > -Alex
> > >
> > > On 4/17/20, 11:23 PM, "OmPrakash Muppirala" <
> bigosma...@gmail.com>
> > wrote:
> > >
> > > I just realized that we have only one Agent (node) listed
> under
> > > Jenkins.  I
> > > am going to add at least one more node to start with.
> > >
> > > Thanks,
> > > Om
> > >
> > > On Thu, Apr 16, 2020 at 9:58 AM Alex Harui
> > 
> > > wrote:
> > >
> > > > I think I followed the instructions and enabled SSH.
> > > >
> > > > On 4/16/20, 9:37 AM, "Yishay Weiss" <
> yishayj...@hotmail.com>
> > wrote:
> > > >
> > > > I haven’t gotten it to work. Could be ssh needs to be
> > enabled on
> > > the
> > > > VM [1]. This is nice to have but not essential. So Alex,
> let
> > me know
> > > if you
> > > > want to try that, otherwise I’ll suspend my efforts on
> this.
> > > >
> > > > [1]
> > > >
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2Ftechinpieces%2Fpractical-azure-how-to-enable-ssh-on-azure-vm-84d8fba8103edata=02%7C01%7Caharui%40adobe.com%7C15fe635dba674d69308108d7e36c2ea2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227926092990578sdata=%2FdPPdqLaeWZYyshv14%2BhhL0ffSznS%2BAUOGQ3xNnwido%3Dreserved=0
> > > >
> > > > From: Yishay Weiss
> > > > 

Royale_Release_Step_011 - Build # 2 - Still Failing!

2020-04-18 Thread apacheroyaleci
Royale_Release_Step_011 - Build # 2 - Still Failing:

Check console output at 
http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/Royale_Release_Step_011/2/
 to view the results.

Re: Prioritize Release Jobs on CI

2020-04-18 Thread Alex Harui
Om, I thought you were going to get the image from my VM and run it on another 
VM.  Then we'd remove all non-release jobs from your VM and all of the release 
jobs from my VM.  That won't solve the problem of how long it takes for a 
commit to be built and tested, but will allow the RM to get a release out 
without getting stuck behind the commit jobs.  Is that currently the plan?

-Alex

On 4/18/20, 12:43 AM, "OmPrakash Muppirala"  wrote:

Makes sense to me.  I will set parallel executors back to 1.

And start working on a new Jenkins instance.

Thanks,
Om


On Sat, Apr 18, 2020, 12:28 AM Alex Harui  wrote:

> Are you saying that Java, Ant and Maven do not know how to distribute work
> to different cores?
>
> To repeat my main concern:  our Jenkins jobs often use shared resources.
> If you want to take the time to fix that, feel free, but I do not know how
> you are going to keep two jobs from both trying to launch Flash Player
> Debugger at the same time and open the same socket to communicate with it,
> or try to parse the flashlog.txt that they have both written to.
>
> The royale-asjs job will use the royale-compiler workspace to get the
> compiler.  If the compiler is building, the jars are not there and the
> royale-asjs build fails.
>
> There is also only so much memory and some of our jobs use all of it and
> I'm not sure if jobs slowed down due to paging memory and writing/reading
> from disk, even if it is an SSD.
>
> I'm done for tonight, but that's what I was seeing last time I tried to
> have both master and an agent running jobs in parallel.
>
> Thanks,
> -Alex
>
> On 4/17/20, 11:52 PM, "OmPrakash Muppirala"  wrote:
>
> A typical setup would be to have 0 executors on master and at least n
> number of executors on each agent, where n = number of cpu cores.
> I see that the current VM has 2 cores.  So, I started with setting the
> num
> executors on the current agent to 2.
>
> This should improve things quite a bit.  If this doesn't work, I will
> create a new VM and make it the slave agent of the current Jenkins
> master.
>
>
> Thanks,
> Om
>
> On Fri, Apr 17, 2020 at 11:31 PM Alex Harui 
> wrote:
>
> > On your VM or mine?  I don't think mine can handle it.  I used to
> run jobs
> > of master and agent and we got lots of failures and jobs took
> forever.  If
> > two jobs are trying to run tests with the shared Flash Player
> Debugger, for
> > example, you won't get consistent results.
> >
> > -Alex
> >
> > On 4/17/20, 11:23 PM, "OmPrakash Muppirala" 
> wrote:
> >
> > I just realized that we have only one Agent (node) listed under
> > Jenkins.  I
> > am going to add at least one more node to start with.
> >
> > Thanks,
> > Om
> >
> > On Thu, Apr 16, 2020 at 9:58 AM Alex Harui
> 
> > wrote:
> >
> > > I think I followed the instructions and enabled SSH.
> > >
> > > On 4/16/20, 9:37 AM, "Yishay Weiss" 
> wrote:
> > >
> > > I haven’t gotten it to work. Could be ssh needs to be
> enabled on
> > the
> > > VM [1]. This is nice to have but not essential. So Alex, let
> me know
> > if you
> > > want to try that, otherwise I’ll suspend my efforts on this.
> > >
> > > [1]
> > >
> >
> 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2Ftechinpieces%2Fpractical-azure-how-to-enable-ssh-on-azure-vm-84d8fba8103edata=02%7C01%7Caharui%40adobe.com%7C15fe635dba674d69308108d7e36c2ea2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227926092990578sdata=%2FdPPdqLaeWZYyshv14%2BhhL0ffSznS%2BAUOGQ3xNnwido%3Dreserved=0
> > >
> > > From: Yishay Weiss
> > > Sent: Wednesday, April 15, 2020 5:09 PM
> > > To: dev@royale.apache.org
> > > Subject: RE: Prioritize Release Jobs on CI
> > >
> > > I’d like to try and install an ssh server. Can anyone
> think of a
> > > reason not to do that? I’m asking in terms of security, and if
> there
> > might
> > > be a problem because it’s a VM.
> > >
> > > Thanks.
> > >
> > > From: Yishay Weiss
> > > Sent: Monday, April 13, 2020 10:02 AM
> > > To: dev@royale.apache.org
> > > Subject: RE: Prioritize 

Build failed in Jenkins: royale-asjs #1096

2020-04-18 Thread apacheroyaleci
See 


Changes:


--
[...truncated 1.35 MB...]
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 94131 bytes written to 

 in 8.368 seconds
[mxmlc] 9.6126437 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

test:
[mkdir] Created dir: 

[royaleunit] Validating task attributes ...
[royaleunit] Generating default values ...
[royaleunit] Using the following settings for the test run:
[royaleunit]ROYALE_HOME: 
[
[royaleunit]haltonfailure: [true]
[royaleunit]headless: [false]
[royaleunit]display: [99]
[royaleunit]localTrusted: [true]
[royaleunit]player: [flash]
[royaleunit]port: [1024]
[royaleunit]swf: 
[
[royaleunit]timeout: [9ms]
[royaleunit]toDir: 
[
[royaleunit] Setting up server process ...
[royaleunit] Entry 
[
 already available in local trust file at 
[C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash 
Player\#Security\FlashPlayerTrust\royaleUnit.cfg].
[royaleunit] Executing 'rundll32' with arguments:
[royaleunit] 'url.dll,FileProtocolHandler'
[royaleunit] 
'
[royaleunit] 
[royaleunit] The ' characters around the executable and arguments are
[royaleunit] not part of the command.
[royaleunit] 
[royaleunit] Starting server ...
[royaleunit] Opening server socket on port [1024].
[royaleunit] Waiting for client connection ...
[royaleunit] Client connected.
[royaleunit] Setting inbound buffer size to [262144] bytes.
[royaleunit] Receiving data ...
[royaleunit] Sending acknowledgement to player to start sending test data ...
[royaleunit] 
[royaleunit] 
[royaleunit] Stopping server ...
[royaleunit] End of test data reached, sending acknowledgement to player ...
[royaleunit] Closing client connection ...
[royaleunit] Closing server on port [1024] ...
[royaleunit] Analyzing reports ...
[royaleunit] 
[royaleunit] Suite: flexUnitTests.DataGridColumnTest
[royaleunit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.123 sec
[royaleunit] 
[royaleunit] Results :
[royaleunit] 
[royaleunit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.123 sec
[royaleunit] 
[junitreport] Processing 

 to C:\Users\ApacheRoyaleCI\AppData\Local\Temp\null195304728
[junitreport] Loading stylesheet 
jar:file:/C:/apache/apache-ant-1.9.9/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 1302ms
[junitreport] Deleting: C:\Users\ApacheRoyaleCI\AppData\Local\Temp\null195304728

main:
 [echo] swc-date is 04/18/20 13:06 +

test-js:
 [echo] swc-date is 04/18/20 13:07 +
   [delete] Deleting: 


check-for-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

test:

clean:

compile:
 [echo] Cross-compiling tests
 [echo] ROYALE_HOME: 

 [echo] ROYALE_SWF_COMPILER_HOME: 

 [echo] playerglobal.version: 11.7
Trying to override old definition of task compc
Trying to override old definition of task mxmlc
[mxmlc] MXMLJSC
[mxmlc] -compiler.targets=JSRoyale
[mxmlc] -js-output=target
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] 
+royalelib=
[mxmlc] --
[mxmlc] 

Build failed in Jenkins: royale-asjs #1095

2020-04-18 Thread apacheroyaleci
See 


Changes:

[carlosrovira] update poms left to 0.9.8-SNAPSHOT, also compiler, typedef and 
framework


--
[...truncated 1.34 MB...]
[mxmlc] Loading configuration: 

[mxmlc] 
[mxmlc] 94132 bytes written to 

 in 2.224 seconds
[mxmlc] 3.2117641 seconds
[mxmlc] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

test:
[mkdir] Created dir: 

[royaleunit] Validating task attributes ...
[royaleunit] Generating default values ...
[royaleunit] Using the following settings for the test run:
[royaleunit]ROYALE_HOME: 
[
[royaleunit]haltonfailure: [true]
[royaleunit]headless: [false]
[royaleunit]display: [99]
[royaleunit]localTrusted: [true]
[royaleunit]player: [flash]
[royaleunit]port: [1024]
[royaleunit]swf: 
[
[royaleunit]timeout: [9ms]
[royaleunit]toDir: 
[
[royaleunit] Setting up server process ...
[royaleunit] Starting server ...
[royaleunit] Entry 
[
 already available in local trust file at 
[C:\Users\ApacheRoyaleCI\AppData\Roaming\Macromedia\Flash 
Player\#Security\FlashPlayerTrust\royaleUnit.cfg].
[royaleunit] Executing 'rundll32' with arguments:
[royaleunit] 'url.dll,FileProtocolHandler'
[royaleunit] 
'
[royaleunit] 
[royaleunit] The ' characters around the executable and arguments are
[royaleunit] not part of the command.
[royaleunit] 
[royaleunit] Opening server socket on port [1024].
[royaleunit] Waiting for client connection ...
[royaleunit] Client connected.
[royaleunit] Setting inbound buffer size to [262144] bytes.
[royaleunit] Receiving data ...
[royaleunit] Sending acknowledgement to player to start sending test data ...
[royaleunit] 
[royaleunit] 
[royaleunit] Stopping server ...
[royaleunit] End of test data reached, sending acknowledgement to player ...
[royaleunit] Closing client connection ...
[royaleunit] Closing server on port [1024] ...
[royaleunit] Analyzing reports ...
[royaleunit] 
[royaleunit] Suite: flexUnitTests.DataGridColumnTest
[royaleunit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.123 sec
[royaleunit] 
[royaleunit] Results :
[royaleunit] 
[royaleunit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
0.123 sec
[royaleunit] 
[junitreport] Processing 

 to C:\Users\ApacheRoyaleCI\AppData\Local\Temp\null1985019401
[junitreport] Loading stylesheet 
jar:file:/C:/apache/apache-ant-1.9.9/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 569ms
[junitreport] Deleting: 
C:\Users\ApacheRoyaleCI\AppData\Local\Temp\null1985019401

main:
 [echo] swc-date is 04/18/20 12:19 +

test-js:
 [echo] swc-date is 04/18/20 12:20 +
   [delete] Deleting: 


check-for-tests:

check-compiler-home:

check-transpiler-home:

check-compiler:

test:

clean:

compile:
 [echo] Cross-compiling tests
 [echo] ROYALE_HOME: 

 [echo] ROYALE_SWF_COMPILER_HOME: 

 [echo] playerglobal.version: 11.7
Trying to override old definition of task compc
Trying to override old definition of task mxmlc
[mxmlc] MXMLJSC
[mxmlc] -compiler.targets=JSRoyale
[mxmlc] -js-output=target
[mxmlc] +playerglobal.version=11.7
[mxmlc] +env.PLAYERGLOBAL_HOME=C:\adobe\flash
[mxmlc] 
+royalelib=
[mxmlc] --
[mxmlc] 

Re: build failing due to versions in develop mixed

2020-04-18 Thread Carlos Rovira
Hi,

I got it fixed and committed since that seems right.

El sáb., 18 abr. 2020 a las 12:15, Carlos Rovira ()
escribió:

> Hi,
>
> trying to build today but found some problems with versions mixes (0.9.7
> and 0.9.8). I see 2 problems:
>
> 1.- Trying to build with maven is failing when reach distribution step:
>
> [*ERROR*] Failed to execute goal
> org.apache.maven.plugins:maven-assembly-plugin:3.2.0:single
> *(create-distro-packages)* on project distribution: *Failed to create
> assembly: Error adding file to archive:
> /Users/carlosrovira/Dev/Royale/Source/royale-asjs/distribution/jars/compiler-mxmljsc/target/compiler-mxmljsc-0.9.7-SNAPSHOT.jar*
> -> *[Help 1]*
>
> this is due to
>
> 0.9.7-SNAPSHOT
> 0.9.7-SNAPSHOT
>
> should we update this to 0.9.8-SNAPSHOT ?
>
>
> 2.- Additionally, searching for 0.9.7 in framework repo shows many
> coincidences. Should we update all that manually?
>
> In the meanwhile, I'll do in my local to be able to build.
>
> Thanks
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira


build failing due to versions in develop mixed

2020-04-18 Thread Carlos Rovira
Hi,

trying to build today but found some problems with versions mixes (0.9.7
and 0.9.8). I see 2 problems:

1.- Trying to build with maven is failing when reach distribution step:

[*ERROR*] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:3.2.0:single
*(create-distro-packages)* on project distribution: *Failed to create
assembly: Error adding file to archive:
/Users/carlosrovira/Dev/Royale/Source/royale-asjs/distribution/jars/compiler-mxmljsc/target/compiler-mxmljsc-0.9.7-SNAPSHOT.jar*
-> *[Help 1]*

this is due to

0.9.7-SNAPSHOT
0.9.7-SNAPSHOT

should we update this to 0.9.8-SNAPSHOT ?


2.- Additionally, searching for 0.9.7 in framework repo shows many
coincidences. Should we update all that manually?

In the meanwhile, I'll do in my local to be able to build.

Thanks


-- 
Carlos Rovira
http://about.me/carlosrovira


Re: Routing (was Re: Spectrum Components)

2020-04-18 Thread Carlos Rovira
Hi Josh,

many thanks for exposing this, I was not aware of that and I think that's
very important for use Routing the right way.
So for what I understand if user does not have server they need to rely on
hashes, but if a server is available you can use full urls. I think we
should abstract this to the Royale Route components. Maybe @Harbs
 could do the right way since he designed that part.

I'm working on experiment with a Royale app for the website. If that
experiment turns to be a real option to switch from wordpress, I'd like
(and need) to use this on website to maintain the actual permalinks without
hashes

Thanks!



El sáb., 18 abr. 2020 a las 0:31, Greg Dove ()
escribió:

> Thanks Josh, good to know. I think I got close to expressing that with 'the
> initial path needs to be handled by the server no matter what it is. It may
> not do anything different other than to serve the same content regardless
> of the path'
>
> But your example with .htaccess is a much more helpful representation of
> that - I will keep that in my local references :)
>
>
>
> On Sat, Apr 18, 2020 at 10:21 AM Josh Tynjala 
> wrote:
>
> > Yes, your understanding is correct. The HTML History API is not limited
> to
> > the hash, and it can update other parts of the URL without reloading the
> > whole page. However, if you are not using a hash, then your server may
> need
> > some extra configuration to understand which URLs should be mapped to
> your
> > application's main HTML file.
> >
> > For example, I have an application at
> > https://feathersui.com/samples/haxe-openfl/components-explorer
> >
> > If you click the Asset Loader list item, it navigates to a new view, and
> > the URL changes to
> >
> https://feathersui.com/samples/haxe-openfl/components-explorer/asset-loader
> > instead. This is the same instance of the application that was initially
> > loaded. It only changes the URL.
> >
> > If you navigate directly to
> >
> https://feathersui.com/samples/haxe-openfl/components-explorer/asset-loader
> > in a new window, it loads the correct view too. This required configuring
> > my Apache server with a .htaccess file. Other servers will have a
> different
> > way to configure this behavior.
> >
> > Here's my .htaccess file:
> >
> > RewriteBase /samples/haxe-openfl/components-explorer/
> > RewriteCond %{HTTPS} off
> > RewriteRule ^/?(.*)
> > https://%{SERVER_NAME}/samples/haxe-openfl/components-explorer/$1
> > [R,L]
> > RewriteCond %{REQUEST_FILENAME} !-f
> > RewriteCond %{REQUEST_FILENAME} !-d
> > RewriteRule . /samples/haxe-openfl/components-explorer/ [L]
> >
> > It basically says that anything at components-explorer or deeper is part
> of
> > the same application, so even if the browser requests something like
> > /samples/haxe-openfl/components-explorer/asset-loader, always serve
> > /samples/haxe-openfl/components-explorer (unless a file with the exact
> > requested name actually exists, which allows loading images or
> > stylesheets). When the page loads, the JS checks the URL to determine
> which
> > view should be initially loaded.
> >
> > --
> > Josh Tynjala
> > Bowler Hat LLC 
> >
> >
> > On Fri, Apr 17, 2020 at 2:53 PM Greg Dove  wrote:
> >
> > >  'AIUI, hash has to be used as the delimiter if you plan to change the
> > > route information within the application, otherwise the application
> will
> > > reload.'
> > >
> > > I am pretty sure that is no longer the case.  HTML5 support for history
> > > changes it not like the old days and there is good native browser
> support
> > > for this I think. I have certainly worked on React apps with Router
> > support
> > > that change the full path without reloading the page. I think the main
> > > thing is that if the path parts represent the current state of the app,
> > > then the initial path needs to be handled by the server no matter what
> it
> > > is. It may not do anything different other than to serve the same
> content
> > > regardless of the path. The JS app can possibly retrieve its serialized
> > > previous state from the localStorage based on the intiial path elements
> > or
> > > make remote separate api requests that are perhaps dependent on the
> > startup
> > > path elements, and it is not uncommon to continue to update the browser
> > > history with full path representations of subsequent api requests that
> > > don't rely on hashes.
> > > I might be wrong about that because it has been a while since I worked
> on
> > > something that was doing this, but I do recall thinking 'this is so
> much
> > > better than it used to be'.
> > >
> > >
> > > On Sat, Apr 18, 2020 at 3:54 AM Alex Harui 
> > > wrote:
> > >
> > > > Ideally, supporting the route information in parameters vs hash would
> > be
> > > > done in a PAYG way.
> > > >
> > > > AIUI, hash has to be used as the delimiter if you plan to change the
> > > route
> > > > information within the application, otherwise the application will
> > > reload.
> > > > IOW, if the user is 

Re: Prioritize Release Jobs on CI

2020-04-18 Thread OmPrakash Muppirala
Makes sense to me.  I will set parallel executors back to 1.

And start working on a new Jenkins instance.

Thanks,
Om


On Sat, Apr 18, 2020, 12:28 AM Alex Harui  wrote:

> Are you saying that Java, Ant and Maven do not know how to distribute work
> to different cores?
>
> To repeat my main concern:  our Jenkins jobs often use shared resources.
> If you want to take the time to fix that, feel free, but I do not know how
> you are going to keep two jobs from both trying to launch Flash Player
> Debugger at the same time and open the same socket to communicate with it,
> or try to parse the flashlog.txt that they have both written to.
>
> The royale-asjs job will use the royale-compiler workspace to get the
> compiler.  If the compiler is building, the jars are not there and the
> royale-asjs build fails.
>
> There is also only so much memory and some of our jobs use all of it and
> I'm not sure if jobs slowed down due to paging memory and writing/reading
> from disk, even if it is an SSD.
>
> I'm done for tonight, but that's what I was seeing last time I tried to
> have both master and an agent running jobs in parallel.
>
> Thanks,
> -Alex
>
> On 4/17/20, 11:52 PM, "OmPrakash Muppirala"  wrote:
>
> A typical setup would be to have 0 executors on master and at least n
> number of executors on each agent, where n = number of cpu cores.
> I see that the current VM has 2 cores.  So, I started with setting the
> num
> executors on the current agent to 2.
>
> This should improve things quite a bit.  If this doesn't work, I will
> create a new VM and make it the slave agent of the current Jenkins
> master.
>
>
> Thanks,
> Om
>
> On Fri, Apr 17, 2020 at 11:31 PM Alex Harui 
> wrote:
>
> > On your VM or mine?  I don't think mine can handle it.  I used to
> run jobs
> > of master and agent and we got lots of failures and jobs took
> forever.  If
> > two jobs are trying to run tests with the shared Flash Player
> Debugger, for
> > example, you won't get consistent results.
> >
> > -Alex
> >
> > On 4/17/20, 11:23 PM, "OmPrakash Muppirala" 
> wrote:
> >
> > I just realized that we have only one Agent (node) listed under
> > Jenkins.  I
> > am going to add at least one more node to start with.
> >
> > Thanks,
> > Om
> >
> > On Thu, Apr 16, 2020 at 9:58 AM Alex Harui
> 
> > wrote:
> >
> > > I think I followed the instructions and enabled SSH.
> > >
> > > On 4/16/20, 9:37 AM, "Yishay Weiss" 
> wrote:
> > >
> > > I haven’t gotten it to work. Could be ssh needs to be
> enabled on
> > the
> > > VM [1]. This is nice to have but not essential. So Alex, let
> me know
> > if you
> > > want to try that, otherwise I’ll suspend my efforts on this.
> > >
> > > [1]
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2Ftechinpieces%2Fpractical-azure-how-to-enable-ssh-on-azure-vm-84d8fba8103edata=02%7C01%7Caharui%40adobe.com%7C833f9530b95943d3288908d7e3651005%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227895512817076sdata=hxkdbHxBDgkPwstUWJME54TKz9R2X4RdeWpaVzqHQ4g%3Dreserved=0
> > >
> > > From: Yishay Weiss
> > > Sent: Wednesday, April 15, 2020 5:09 PM
> > > To: dev@royale.apache.org
> > > Subject: RE: Prioritize Release Jobs on CI
> > >
> > > I’d like to try and install an ssh server. Can anyone
> think of a
> > > reason not to do that? I’m asking in terms of security, and if
> there
> > might
> > > be a problem because it’s a VM.
> > >
> > > Thanks.
> > >
> > > From: Yishay Weiss
> > > Sent: Monday, April 13, 2020 10:02 AM
> > > To: dev@royale.apache.org
> > > Subject: RE: Prioritize Release Jobs on CI
> > >
> > > Related, as most (all?) of the instructions don’t require
> > anything but
> > > a shell wouldn’t it be easier and faster to access the machine
> with
> > ssh
> > > [1], rather than using remote desktop?
> > >
> > > [1]
> > >
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-server%2Fadministration%2Fopenssh%2Fopenssh_install_firstusedata=02%7C01%7Caharui%40adobe.com%7C833f9530b95943d3288908d7e3651005%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227895512817076sdata=7xKvZszvpz7FovUSvShKXfYqh1b7ulWgW0ZKUkwP%2B%2F4%3Dreserved=0
> > >
> > > From: Yishay Weiss
> > > Sent: Monday, April 13, 2020 9:55 AM
> > > To: 

Royale_Release_Step_011 - Build # 1 - Failure!

2020-04-18 Thread apacheroyaleci
Royale_Release_Step_011 - Build # 1 - Failure:

Check console output at 
http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/Royale_Release_Step_011/1/
 to view the results.

Re: [royale-compiler] branch develop updated: fix build

2020-04-18 Thread Christofer Dutz
I wasn't referring to notice and licence files.


Von: Alex Harui 
Gesendet: Samstag, 18. April 2020 01:14
An: dev@royale.apache.org 
Betreff: Re: [royale-compiler] branch develop updated: fix build

Please do not add an Apache header to the README or NOTICE (or the LICENSE).  
I'm pretty sure it is just a convention to not add the header.  Headers are not 
a legal thing, they are just helpful signposts.  A missing header does not 
change the copyright of the content.  I would also argue that there isn't 
anything worth copyrighting in these files.

I thought Apache didn't like markdown files for README/RELEASE_NOTES.  They 
look great on Github, but can be less readable in plain text.  Maybe that's 
changed though.

I would prefer that there aren't lots of README/RELEASE_NOTES in the tree, so 
not sure we should recursively exclude all .md files.

My.2 cents,
-Alex

On 4/17/20, 11:13 AM, "Christofer Dutz"  wrote:

Hi all.

So what is the difference between code and documentation?
I would say none.
So if I would be asked, I'd probably add the headers to all md, adoc, 
whatsoever files.

Chris

Am 17.04.20, 19:02 schrieb "Carlos Rovira" :

totally

El vie., 17 abr. 2020 a las 18:58, Yishay Weiss 
()
escribió:

> Thanks. Doesn’t it make more sense to recursively exclude *.md files,
> something like
>
> **/*.md
>
> ?
>
> From: aha...@apache.org
> Sent: Friday, April 17, 2020 7:14 PM
> To: comm...@royale.apache.org
> Subject: [royale-compiler] branch develop updated: fix build
>
> This is an automated email from the ASF dual-hosted git repository.
>
> aharui pushed a commit to branch develop
> in repository 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-compiler.gitdata=02%7C01%7Caharui%40adobe.com%7C00d54869fbb64bc5383908d7e2fb1061%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227440263647213sdata=FU01dhyhRS3Tows8tzsh6tRpewOT5EBKHsppBdmiy5s%3Dreserved=0
>
>
> The following commit(s) were added to refs/heads/develop by this push:
>  new c61b3d0  fix build
> c61b3d0 is described below
>
> commit c61b3d0aa2159a902392307ebcbb53312eb93dce
> Author: Alex Harui 
> AuthorDate: Fri Apr 17 09:14:31 2020 -0700
>
> fix build
> ---
>  pom.xml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pom.xml b/pom.xml
> index a9cd598..53af767 100644
> --- a/pom.xml
> +++ b/pom.xml
> @@ -144,7 +144,7 @@
>  LICENSE*
>  NOTICE*
>  README*
> -RELEASE_NOTES*
> +**/RELEASE_NOTES*
>  
>  
>  fb.properties
>
>

--
Carlos Rovira

https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosroviradata=02%7C01%7Caharui%40adobe.com%7C00d54869fbb64bc5383908d7e2fb1061%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227440263647213sdata=IUBNebxRAN8NJke78spKrg%2FzGFCohJaOKTpdhlvfYbE%3Dreserved=0





Re: Prioritize Release Jobs on CI

2020-04-18 Thread Alex Harui
Are you saying that Java, Ant and Maven do not know how to distribute work to 
different cores?

To repeat my main concern:  our Jenkins jobs often use shared resources.  If 
you want to take the time to fix that, feel free, but I do not know how you are 
going to keep two jobs from both trying to launch Flash Player Debugger at the 
same time and open the same socket to communicate with it, or try to parse the 
flashlog.txt that they have both written to.

The royale-asjs job will use the royale-compiler workspace to get the compiler. 
 If the compiler is building, the jars are not there and the royale-asjs build 
fails.

There is also only so much memory and some of our jobs use all of it and I'm 
not sure if jobs slowed down due to paging memory and writing/reading from 
disk, even if it is an SSD.

I'm done for tonight, but that's what I was seeing last time I tried to have 
both master and an agent running jobs in parallel.

Thanks,
-Alex

On 4/17/20, 11:52 PM, "OmPrakash Muppirala"  wrote:

A typical setup would be to have 0 executors on master and at least n
number of executors on each agent, where n = number of cpu cores.
I see that the current VM has 2 cores.  So, I started with setting the num
executors on the current agent to 2.

This should improve things quite a bit.  If this doesn't work, I will
create a new VM and make it the slave agent of the current Jenkins master.


Thanks,
Om

On Fri, Apr 17, 2020 at 11:31 PM Alex Harui 
wrote:

> On your VM or mine?  I don't think mine can handle it.  I used to run jobs
> of master and agent and we got lots of failures and jobs took forever.  If
> two jobs are trying to run tests with the shared Flash Player Debugger, 
for
> example, you won't get consistent results.
>
> -Alex
>
> On 4/17/20, 11:23 PM, "OmPrakash Muppirala"  wrote:
>
> I just realized that we have only one Agent (node) listed under
> Jenkins.  I
> am going to add at least one more node to start with.
>
> Thanks,
> Om
>
> On Thu, Apr 16, 2020 at 9:58 AM Alex Harui 
> wrote:
>
> > I think I followed the instructions and enabled SSH.
> >
> > On 4/16/20, 9:37 AM, "Yishay Weiss"  wrote:
> >
> > I haven’t gotten it to work. Could be ssh needs to be enabled on
> the
> > VM [1]. This is nice to have but not essential. So Alex, let me know
> if you
> > want to try that, otherwise I’ll suspend my efforts on this.
> >
> > [1]
> >
> 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2Ftechinpieces%2Fpractical-azure-how-to-enable-ssh-on-azure-vm-84d8fba8103edata=02%7C01%7Caharui%40adobe.com%7C833f9530b95943d3288908d7e3651005%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227895512817076sdata=hxkdbHxBDgkPwstUWJME54TKz9R2X4RdeWpaVzqHQ4g%3Dreserved=0
> >
> > From: Yishay Weiss
> > Sent: Wednesday, April 15, 2020 5:09 PM
> > To: dev@royale.apache.org
> > Subject: RE: Prioritize Release Jobs on CI
> >
> > I’d like to try and install an ssh server. Can anyone think of a
> > reason not to do that? I’m asking in terms of security, and if there
> might
> > be a problem because it’s a VM.
> >
> > Thanks.
> >
> > From: Yishay Weiss
> > Sent: Monday, April 13, 2020 10:02 AM
> > To: dev@royale.apache.org
> > Subject: RE: Prioritize Release Jobs on CI
> >
> > Related, as most (all?) of the instructions don’t require
> anything but
> > a shell wouldn’t it be easier and faster to access the machine with
> ssh
> > [1], rather than using remote desktop?
> >
> > [1]
> >
> 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-server%2Fadministration%2Fopenssh%2Fopenssh_install_firstusedata=02%7C01%7Caharui%40adobe.com%7C833f9530b95943d3288908d7e3651005%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227895512817076sdata=7xKvZszvpz7FovUSvShKXfYqh1b7ulWgW0ZKUkwP%2B%2F4%3Dreserved=0
> >
> > From: Yishay Weiss
> > Sent: Monday, April 13, 2020 9:55 AM
> > To: dev@royale.apache.org
> > Subject: RE: Prioritize Release Jobs on CI
> >
> > Can’t you do that with remote desktop?
> >
> > 
> > From: OmPrakash Muppirala 
> > Sent: Monday, April 13, 2020 9:51:25 AM
> > To: Apache Royale Development 
> > 

Re: Prioritize Release Jobs on CI

2020-04-18 Thread OmPrakash Muppirala
A typical setup would be to have 0 executors on master and at least n
number of executors on each agent, where n = number of cpu cores.
I see that the current VM has 2 cores.  So, I started with setting the num
executors on the current agent to 2.

This should improve things quite a bit.  If this doesn't work, I will
create a new VM and make it the slave agent of the current Jenkins master.


Thanks,
Om

On Fri, Apr 17, 2020 at 11:31 PM Alex Harui 
wrote:

> On your VM or mine?  I don't think mine can handle it.  I used to run jobs
> of master and agent and we got lots of failures and jobs took forever.  If
> two jobs are trying to run tests with the shared Flash Player Debugger, for
> example, you won't get consistent results.
>
> -Alex
>
> On 4/17/20, 11:23 PM, "OmPrakash Muppirala"  wrote:
>
> I just realized that we have only one Agent (node) listed under
> Jenkins.  I
> am going to add at least one more node to start with.
>
> Thanks,
> Om
>
> On Thu, Apr 16, 2020 at 9:58 AM Alex Harui 
> wrote:
>
> > I think I followed the instructions and enabled SSH.
> >
> > On 4/16/20, 9:37 AM, "Yishay Weiss"  wrote:
> >
> > I haven’t gotten it to work. Could be ssh needs to be enabled on
> the
> > VM [1]. This is nice to have but not essential. So Alex, let me know
> if you
> > want to try that, otherwise I’ll suspend my efforts on this.
> >
> > [1]
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2Ftechinpieces%2Fpractical-azure-how-to-enable-ssh-on-azure-vm-84d8fba8103edata=02%7C01%7Caharui%40adobe.com%7C9296a39419024731f58b08d7e360fcfb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227878016381273sdata=F%2BK15FxeXOKB5eMLeLLF5h2htv3KOMwhh4tal9mX3E4%3Dreserved=0
> >
> > From: Yishay Weiss
> > Sent: Wednesday, April 15, 2020 5:09 PM
> > To: dev@royale.apache.org
> > Subject: RE: Prioritize Release Jobs on CI
> >
> > I’d like to try and install an ssh server. Can anyone think of a
> > reason not to do that? I’m asking in terms of security, and if there
> might
> > be a problem because it’s a VM.
> >
> > Thanks.
> >
> > From: Yishay Weiss
> > Sent: Monday, April 13, 2020 10:02 AM
> > To: dev@royale.apache.org
> > Subject: RE: Prioritize Release Jobs on CI
> >
> > Related, as most (all?) of the instructions don’t require
> anything but
> > a shell wouldn’t it be easier and faster to access the machine with
> ssh
> > [1], rather than using remote desktop?
> >
> > [1]
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-server%2Fadministration%2Fopenssh%2Fopenssh_install_firstusedata=02%7C01%7Caharui%40adobe.com%7C9296a39419024731f58b08d7e360fcfb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227878016381273sdata=YFufQTJU3eLIXLTur%2Fz2ZGfzdTOc5Mjszbayd7z5r3o%3Dreserved=0
> >
> > From: Yishay Weiss
> > Sent: Monday, April 13, 2020 9:55 AM
> > To: dev@royale.apache.org
> > Subject: RE: Prioritize Release Jobs on CI
> >
> > Can’t you do that with remote desktop?
> >
> > 
> > From: OmPrakash Muppirala 
> > Sent: Monday, April 13, 2020 9:51:25 AM
> > To: Apache Royale Development 
> > Subject: Re: Prioritize Release Jobs on CI
> >
> > Alex,
> >
> > I believe this is your personal Azure subscription right?  Any
> chance
> > I can
> > get access to it so I can try to copy the image out the machine
> and
> > redeploy it somewhere else?
> >
> > Thanks,
> > Om
> >
> > On Sun, Apr 12, 2020 at 6:18 PM OmPrakash Muppirala <
> > bigosma...@gmail.com>
> > wrote:
> >
> > > I can help set this up on Azure.  Give me some time to work
> out the
> > > details?
> > >
> > > Thanks,
> > > Om
> > >
> > > On Sun, Apr 12, 2020, 11:49 AM Harbs 
> wrote:
> > >
> > >> OK. Good to know.
> > >>
> > >> > On Apr 12, 2020, at 9:45 PM, Alex Harui
>  > >
> > >> wrote:
> > >> >
> > >> > FWIW, I just looked and the longest job in the release
> steps so
> > far is
> > >> 8 minutes.  Most are under 2 minutes.  There might be jobs
> later
> > that take
> > >> longer that we haven't run yet.  IMO, the issue isn't speed
> of the
> > machine,
> > >> it is just that we are sharing the machine with longer jobs
> (1 hour
> > for
> > >> TourDeFlexMigration).  And again, the machine will be idle for
> > stretches 

Release Step 010 Succeeded

2020-04-18 Thread apacheroyaleci
Log in to the server, open a command prompt, change directory to 
C:\jenkins\workspace\Royale_Release_Step_010 and run the following commands:
git push
git push origin org.apache.royale.framework-0.9.7-rc2

You will need your Apache/Github username and 2FA token.

Build failed in Jenkins: royale-compiler-integration-tests #849

2020-04-18 Thread apacheroyaleci
See 


Changes:

[noreply] Create RELEASE_NOTES.md

[aharui] fix build

[greg.dove] Fix for-each iteration of ArrayCollection - was not working with


--
[...truncated 77.19 KB...]
  [jar] Building jar: 


set.royale.compc.jar.uptodate:

royale.compc.jar:
  [jar] Building jar: 


set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
  [jar] Building jar: 


set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
  [jar] Building jar: 


jar:

sdk:

main:
 [echo] compiler main completed on 04/18/2020 06:43:48 AM

compiler.jx:

prebuild:
 [echo] basedir is 

 [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
 [echo] ROYALE_COMPILER_HOME is 


prepare:
 [echo] Making lib directory 


all:
 [echo] basedir is 

 [echo] ROYALE_COMPILER_HOME is 

 [echo] ROYALE_COMPILER_HOME is 


check-dependency:

download-dependency:
  [get] Getting: 
https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
  [get] To: 

 [echo] basedir is 

 [echo] ROYALE_COMPILER_HOME is 

 [echo] ROYALE_COMPILER_HOME is 


check-dependency-closure:

download-dependency-closure:
 [echo] basedir is 

 [echo] ROYALE_COMPILER_HOME is 

 [echo] ROYALE_COMPILER_HOME is 


check-dependency:

download-dependency:
 [echo] basedir is 

 [echo] ROYALE_COMPILER_HOME is 

 [echo] ROYALE_COMPILER_HOME is 


check-dependency:

download-dependency:
 [echo] basedir is 

 [echo] ROYALE_COMPILER_HOME is 

 [echo] ROYALE_COMPILER_HOME is 


check-dependency:

download-dependency:

main:

compile:
[javac] 
:91:
 warning: 'includeantruntime' was not set, defaulting to 
build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 1 source file to 

[javac] warning: [options] bootstrap class path not set in conjunction with 
-source 

Re: Prioritize Release Jobs on CI

2020-04-18 Thread Alex Harui
On your VM or mine?  I don't think mine can handle it.  I used to run jobs of 
master and agent and we got lots of failures and jobs took forever.  If two 
jobs are trying to run tests with the shared Flash Player Debugger, for 
example, you won't get consistent results.

-Alex

On 4/17/20, 11:23 PM, "OmPrakash Muppirala"  wrote:

I just realized that we have only one Agent (node) listed under Jenkins.  I
am going to add at least one more node to start with.

Thanks,
Om

On Thu, Apr 16, 2020 at 9:58 AM Alex Harui  wrote:

> I think I followed the instructions and enabled SSH.
>
> On 4/16/20, 9:37 AM, "Yishay Weiss"  wrote:
>
> I haven’t gotten it to work. Could be ssh needs to be enabled on the
> VM [1]. This is nice to have but not essential. So Alex, let me know if 
you
> want to try that, otherwise I’ll suspend my efforts on this.
>
> [1]
> 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2Ftechinpieces%2Fpractical-azure-how-to-enable-ssh-on-azure-vm-84d8fba8103edata=02%7C01%7Caharui%40adobe.com%7C9296a39419024731f58b08d7e360fcfb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227878016381273sdata=F%2BK15FxeXOKB5eMLeLLF5h2htv3KOMwhh4tal9mX3E4%3Dreserved=0
>
> From: Yishay Weiss
> Sent: Wednesday, April 15, 2020 5:09 PM
> To: dev@royale.apache.org
> Subject: RE: Prioritize Release Jobs on CI
>
> I’d like to try and install an ssh server. Can anyone think of a
> reason not to do that? I’m asking in terms of security, and if there might
> be a problem because it’s a VM.
>
> Thanks.
>
> From: Yishay Weiss
> Sent: Monday, April 13, 2020 10:02 AM
> To: dev@royale.apache.org
> Subject: RE: Prioritize Release Jobs on CI
>
> Related, as most (all?) of the instructions don’t require anything but
> a shell wouldn’t it be easier and faster to access the machine with ssh
> [1], rather than using remote desktop?
>
> [1]
> 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-server%2Fadministration%2Fopenssh%2Fopenssh_install_firstusedata=02%7C01%7Caharui%40adobe.com%7C9296a39419024731f58b08d7e360fcfb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637227878016381273sdata=YFufQTJU3eLIXLTur%2Fz2ZGfzdTOc5Mjszbayd7z5r3o%3Dreserved=0
>
> From: Yishay Weiss
> Sent: Monday, April 13, 2020 9:55 AM
> To: dev@royale.apache.org
> Subject: RE: Prioritize Release Jobs on CI
>
> Can’t you do that with remote desktop?
>
> 
> From: OmPrakash Muppirala 
> Sent: Monday, April 13, 2020 9:51:25 AM
> To: Apache Royale Development 
> Subject: Re: Prioritize Release Jobs on CI
>
> Alex,
>
> I believe this is your personal Azure subscription right?  Any chance
> I can
> get access to it so I can try to copy the image out the machine and
> redeploy it somewhere else?
>
> Thanks,
> Om
>
> On Sun, Apr 12, 2020 at 6:18 PM OmPrakash Muppirala <
> bigosma...@gmail.com>
> wrote:
>
> > I can help set this up on Azure.  Give me some time to work out the
> > details?
> >
> > Thanks,
> > Om
> >
> > On Sun, Apr 12, 2020, 11:49 AM Harbs  wrote:
> >
> >> OK. Good to know.
> >>
> >> > On Apr 12, 2020, at 9:45 PM, Alex Harui  >
> >> wrote:
> >> >
> >> > FWIW, I just looked and the longest job in the release steps so
> far is
> >> 8 minutes.  Most are under 2 minutes.  There might be jobs later
> that take
> >> longer that we haven't run yet.  IMO, the issue isn't speed of the
> machine,
> >> it is just that we are sharing the machine with longer jobs (1 hour
> for
> >> TourDeFlexMigration).  And again, the machine will be idle for
> stretches of
> >> time while the RM verifies artifacts after each step.
> >> >
> >> > -Alex
> >> >
> >> > On 4/12/20, 11:32 AM, "Harbs"  >> harbs.li...@gmail.com>> wrote:
> >> >
> >> >Fair enough.
> >> >
> >> >I expect builds to be somewhere between 10 and 20 times faster
> on a
> >> powerful machine.
> >> >
> >> >Yeah. It’s probably going to be a bit of work changing the
> server,
> >> but probably worth it in the long run.
> >> >
> >> >I think I’ll try this when I do the next release unless Yishay
> wants
> >> to work with 

Re: Prioritize Release Jobs on CI

2020-04-18 Thread OmPrakash Muppirala
I just realized that we have only one Agent (node) listed under Jenkins.  I
am going to add at least one more node to start with.

Thanks,
Om

On Thu, Apr 16, 2020 at 9:58 AM Alex Harui  wrote:

> I think I followed the instructions and enabled SSH.
>
> On 4/16/20, 9:37 AM, "Yishay Weiss"  wrote:
>
> I haven’t gotten it to work. Could be ssh needs to be enabled on the
> VM [1]. This is nice to have but not essential. So Alex, let me know if you
> want to try that, otherwise I’ll suspend my efforts on this.
>
> [1]
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmedium.com%2Ftechinpieces%2Fpractical-azure-how-to-enable-ssh-on-azure-vm-84d8fba8103edata=02%7C01%7Caharui%40adobe.com%7Ce67059c2037046cb064108d7e2246f35%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637226518430398302sdata=mqUm5RGL%2B3rI%2F3VPHUDbwcQTL1gFaNP0lHcTryzWFIc%3Dreserved=0
>
> From: Yishay Weiss
> Sent: Wednesday, April 15, 2020 5:09 PM
> To: dev@royale.apache.org
> Subject: RE: Prioritize Release Jobs on CI
>
> I’d like to try and install an ssh server. Can anyone think of a
> reason not to do that? I’m asking in terms of security, and if there might
> be a problem because it’s a VM.
>
> Thanks.
>
> From: Yishay Weiss
> Sent: Monday, April 13, 2020 10:02 AM
> To: dev@royale.apache.org
> Subject: RE: Prioritize Release Jobs on CI
>
> Related, as most (all?) of the instructions don’t require anything but
> a shell wouldn’t it be easier and faster to access the machine with ssh
> [1], rather than using remote desktop?
>
> [1]
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-server%2Fadministration%2Fopenssh%2Fopenssh_install_firstusedata=02%7C01%7Caharui%40adobe.com%7Ce67059c2037046cb064108d7e2246f35%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637226518430398302sdata=gRrAdP2dDbrSwl40rGZhzQG7SWw4D0SWmg9XuTRhGYY%3Dreserved=0
>
> From: Yishay Weiss
> Sent: Monday, April 13, 2020 9:55 AM
> To: dev@royale.apache.org
> Subject: RE: Prioritize Release Jobs on CI
>
> Can’t you do that with remote desktop?
>
> 
> From: OmPrakash Muppirala 
> Sent: Monday, April 13, 2020 9:51:25 AM
> To: Apache Royale Development 
> Subject: Re: Prioritize Release Jobs on CI
>
> Alex,
>
> I believe this is your personal Azure subscription right?  Any chance
> I can
> get access to it so I can try to copy the image out the machine and
> redeploy it somewhere else?
>
> Thanks,
> Om
>
> On Sun, Apr 12, 2020 at 6:18 PM OmPrakash Muppirala <
> bigosma...@gmail.com>
> wrote:
>
> > I can help set this up on Azure.  Give me some time to work out the
> > details?
> >
> > Thanks,
> > Om
> >
> > On Sun, Apr 12, 2020, 11:49 AM Harbs  wrote:
> >
> >> OK. Good to know.
> >>
> >> > On Apr 12, 2020, at 9:45 PM, Alex Harui  >
> >> wrote:
> >> >
> >> > FWIW, I just looked and the longest job in the release steps so
> far is
> >> 8 minutes.  Most are under 2 minutes.  There might be jobs later
> that take
> >> longer that we haven't run yet.  IMO, the issue isn't speed of the
> machine,
> >> it is just that we are sharing the machine with longer jobs (1 hour
> for
> >> TourDeFlexMigration).  And again, the machine will be idle for
> stretches of
> >> time while the RM verifies artifacts after each step.
> >> >
> >> > -Alex
> >> >
> >> > On 4/12/20, 11:32 AM, "Harbs"  >> harbs.li...@gmail.com>> wrote:
> >> >
> >> >Fair enough.
> >> >
> >> >I expect builds to be somewhere between 10 and 20 times faster
> on a
> >> powerful machine.
> >> >
> >> >Yeah. It’s probably going to be a bit of work changing the
> server,
> >> but probably worth it in the long run.
> >> >
> >> >I think I’ll try this when I do the next release unless Yishay
> wants
> >> to work with me on this for this release — but I’m not going to be
> able to
> >> help until after Passover (i.e. next week).
> >> >
> >> >Thanks,
> >> >Harbs
> >> >
> >> >> On Apr 12, 2020, at 9:22 PM, Alex Harui  >
> >> wrote:
> >> >>
> >> >> The Azure portal says: Standard F2s_v2 (2 vcpus, 4 GiB memory)
> >> >>
> >> >> I think I am reading changes to the build process in your
> >> suggestions.  I do not really want to spend more of my time on this
> >> process.  But if you want to do the work, that's fine with me.
> >> >>
> >> >> -Alex
> >> >>
> >> >> On 4/12/20, 10:57 AM, "Harbs"  >> harbs.li...@gmail.com> > harbs.li...@gmail.com>>> wrote:
> >> >>
> >> >>