RoyalUnit tests now running in release mode

2020-04-04 Thread Greg Dove
Just a heads-up. I had mentioned to Josh that I wanted to make this change.
There were a couple of compiler changes in recent months that broke release
build behaviour, and having the unit tests working in release mode would
have red-flagged those immediately.

So that is how they are now run. If any tests fail in release mode then the
same tests are run in debug mode, at which point the build fails.
If there is a difference between passing and failing (as a full set of
tests) between js-release and js-debug tests then you should see that
logged in the console as the last thing before the build fails.

Also if there is a fail, there will be junit reports for both release and
debug tests included, so you can compare the tests that failed in
js-release vs. js-debug.

If you are building locally and the test that failed is still in your
browser, you should simply be able to append '?local' to the end of the url
in the browser, hit refresh, and it will run a non-CI version, in this case
you should get some useful information in the browser console (it may not
be that helpful in release mode because of the renaming, but it will
hopefully provide a starting point).

Hope that all makes sense and if anyone else wants to join the unit
test party, feel free to start adding more tests. :)


Jenkins build is back to normal : royale-asjs_jsonly #1207

2020-04-04 Thread apacheroyaleci
See 




Build failed in Jenkins: royale-asjs_jsonly #1206

2020-04-04 Thread apacheroyaleci
See 


Changes:


--
[...truncated 1.17 MB...]
 [java] 
 [java] Apr 05, 2020 2:50:55 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [readline]:23: WARNING - accessing name require in externs 
has no effect. Perhaps you forgot to add a var keyword?
 [java] var stream = require('stream');
 [java]  ^^^
 [java] 
 [java] Apr 05, 2020 2:50:55 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [readline]:84: WARNING - name module is not defined in the 
externs.
 [java] module.exports = readline;
 [java] ^^
 [java] 
 [java] Apr 05, 2020 2:50:55 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [repl]:23: WARNING - accessing name require in externs has 
no effect. Perhaps you forgot to add a var keyword?
 [java] var events = require('events');
 [java]  ^^^
 [java] 
 [java] Apr 05, 2020 2:50:55 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [repl]:24: WARNING - accessing name require in externs has 
no effect. Perhaps you forgot to add a var keyword?
 [java] var stream = require('stream');
 [java]  ^^^
 [java] 
 [java] Apr 05, 2020 2:50:55 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [repl]:48: WARNING - name module is not defined in the 
externs.
 [java] module.exports = repl;
 [java] ^^
 [java] 
 [java] Apr 05, 2020 2:50:55 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [stream]:23: WARNING - accessing name require in externs 
has no effect. Perhaps you forgot to add a var keyword?
 [java] var events = require('events');
 [java]  ^^^
 [java] 
 [java] Apr 05, 2020 2:50:55 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [stream]:254: WARNING - name module is not defined in the 
externs.
 [java] module.exports = stream;
 [java] ^^
 [java] 
 [java] Apr 05, 2020 2:50:55 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [string_decoder]:52: WARNING - name module is not defined 
in the externs.
 [java] module.exports = StringDecoder;
 [java] ^^
 [java] 
 [java] Apr 05, 2020 2:50:55 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [tls]:23: WARNING - accessing name require in externs has 
no effect. Perhaps you forgot to add a var keyword?
 [java] var crypto = require('crypto');
 [java]  ^^^
 [java] 
 [java] Apr 05, 2020 2:50:55 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [tls]:24: WARNING - accessing name require in externs has 
no effect. Perhaps you forgot to add a var keyword?
 [java] var events = require('events');
 [java]  ^^^
 [java] 
 [java] Apr 05, 2020 2:50:55 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [tls]:25: WARNING - accessing name require in externs has 
no effect. Perhaps you forgot to add a var keyword?
 [java] var net = require('net');
 [java]   ^^^
 [java] 
 [java] Apr 05, 2020 2:50:55 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [tls]:26: WARNING - accessing name require in externs has 
no effect. Perhaps you forgot to add a var keyword?
 [java] var stream = require('stream');
 [java]  ^^^
 [java] 
 [java] Apr 05, 2020 2:50:55 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [tls]:148: WARNING - name module is not defined in the 
externs.
 [java] module.exports = tls;
 [java] ^^
 [java] 
 [java] Apr 05, 2020 2:50:55 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [tty]:23: WARNING - accessing name require in externs has 
no effect. Perhaps you forgot to add a var keyword?
 [java] var net = require('net');
 [java]   ^^^
 [java] 
 [java] Apr 05, 2020 2:50:55 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [tty]:75: WARNING - name module is not defined in the 
externs.
 [java] module.exports = tty;
 [java] ^^
 [java] 
 [java] Apr 05, 2020 2:50:55 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [url]:57: WARNING - name module is not defined in the 
externs.
 [java] module.exports = url;
 [java] ^^
 [java] 
 [java] Apr 05, 2020 2:50:55 AM 
com.google.javascript.jscomp.LoggerErrorManager println
 [java] WARNING: [util]:112: WARNING - name module is not defined in the 
externs.
 [java] module.exports = util;
 

Jenkins build is back to normal : royale-asjs #1024

2020-04-04 Thread apacheroyaleci
See 




Jenkins build is back to normal : royale-asjs_jsonly #1204

2020-04-04 Thread apacheroyaleci
See 




Build failed in Jenkins: royale-asjs_jsonly #1203

2020-04-04 Thread apacheroyaleci
See 


Changes:


--
[...truncated 208.51 KB...]
download-jar:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

get-if-not-cached:
  [get] Getting: 
https://repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
  [get] To: 
C:\jenkins\workspace\royale-compiler\compiler\lib\external\commons-cli.jar
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

double-check-file:
 [echo] ${env.ROYALE_DOWNLOAD_CACHE}
 [echo] Need file: ${still_no_file}

get-from-cache-if-needed:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

fail-if-not-found:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

check-sum:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

put-in-cache:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

copy-if-cached:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

download-dependency-zip:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

check-dependency:
 [echo] checking for 
C:\jenkins\workspace\royale-compiler\compiler/lib/external//commons-io.jar

download-dependency:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

echo-project-jar:
   [delete] Deleting: 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources\project.properties
 [echo] ${INFO_DOWNLOADING_FILE_FROM}
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

download-apache-license:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

download-other-license:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

download-dependency-jar:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

check-cache:

download-jar:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

get-if-not-cached:
  [get] Getting: 
https://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.jar
  [get] To: 
C:\jenkins\workspace\royale-compiler\compiler\lib\external\commons-io.jar
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 

Build failed in Jenkins: royale-asjs #1023

2020-04-04 Thread apacheroyaleci
See 


Changes:

[yishayjobs] Currency formatter doesn't work with undefined rounding


--
[...truncated 211.72 KB...]
download-jar:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

get-if-not-cached:
  [get] Getting: 
https://repo1.maven.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
  [get] To: 
C:\jenkins\workspace\royale-compiler\compiler\lib\external\commons-cli.jar
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

double-check-file:
 [echo] ${env.ROYALE_DOWNLOAD_CACHE}
 [echo] Need file: ${still_no_file}

get-from-cache-if-needed:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

fail-if-not-found:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

check-sum:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

put-in-cache:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

copy-if-cached:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

download-dependency-zip:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

check-dependency:
 [echo] checking for 
C:\jenkins\workspace\royale-compiler\compiler/lib/external//commons-io.jar

download-dependency:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

echo-project-jar:
   [delete] Deleting: 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources\project.properties
 [echo] ${INFO_DOWNLOADING_FILE_FROM}
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

download-apache-license:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

download-other-license:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

download-dependency-jar:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

check-cache:

download-jar:
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler
 [echo] ROYALE_COMPILER_HOME is 
C:\jenkins\workspace\royale-compiler\compiler

get-if-not-cached:
  [get] Getting: 
https://repo1.maven.org/maven2/commons-io/commons-io/2.4/commons-io-2.4.jar
  [get] To: 
C:\jenkins\workspace\royale-compiler\compiler\lib\external\commons-io.jar
 [echo] basedir is 
C:\jenkins\workspace\royale-compiler\compiler\src\main\resources

Royale Compiler Build Tools Release Step 001 Succeeded

2020-04-04 Thread apacheroyaleci
Log in to the server, open a command prompt, change directory to 
C:\jenkins\workspace\Royale_Compiler_Build_Tools_Release_Step_001 and run the 
following commands:
git push --set-upstream origin develop
git push origin org.apache.royale.compiler-build-tools-1.2.0-rc2

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

Jenkins build is back to normal : royale-asjs_jsonly #1199

2020-04-04 Thread apacheroyaleci
See 




Royale Compiler Build Tools Release Step 001 Succeeded

2020-04-04 Thread apacheroyaleci
Log in to the server, open a command prompt, change directory to 
C:\jenkins\workspace\Royale_Compiler_Build_Tools_Release_Step_001 and run the 
following commands:
git push --set-upstream origin develop
git push origin org.apache.royale.compiler-build-tools-1.2.0-rc2

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

Royale_Compiler_Build_Tools_Release_Step_001 - Build # 12 - Still Failing!

2020-04-04 Thread apacheroyaleci
Royale_Compiler_Build_Tools_Release_Step_001 - Build # 12 - Still Failing:

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