flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From flex.ci.bui...@gmail.com
Subject Build failed in Jenkins: flex-falcon #780
Date Mon, 11 Jan 2016 23:22:46 GMT
See <http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/780/changes>

Changes:

[Alex Harui] changes to generate the set of requires based on actual usage instead of the
dependencies requires by AS.  AS dependencies may also include types of variables which don't
really matter to JS.  Doing this eliminates the need for circular dependency checking in our
code.  But it also seems to have caused new warnings to show up which will require more investigation
and a future commit

[Alex Harui] suppress warnings when we don't emit a goog.requires for types only mentioned
in JSDoc

[Alex Harui] flip default to not emit coercions, even for function casting

[Alex Harui] fix requires for internal components

[Alex Harui] compiler options to optimize output by removing certain kinds of coercions

[Alex Harui] remove circulars option

[Alex Harui] fix up tests that need a config for the 'as' path

[Alex Harui] fix ignore

[joshtynjala] EmitterUtils: moved findFunction(), findFunctionNode(), findVariable(), and
findVariableNode() from ASEmitter so that they can be accessed in more places (there seems
to be duplicates of findType() and findTypeNode() in both classes, which should probably be
cleaned up)

[joshtynjala] FieldEmitter, MethodEmitter: can handle package-level and internal fields and
methods

[joshtynjala] JSGoogEmitter: used new utility functions for finding variables and functions
in a package

[joshtynjala] compiler.jx: added support for functions and variables in packages, and functions
and variables after package (similar to internal classes)

[joshtynjala] IdentifierEmitter: fixed issue with wrong identifier used for package and internal
functions/variables after last merge

[joshtynjala] JSCJSEmitter: formatQualifiedName() should behave the same as the superclass,
so no override needed

[joshtynjala] FieldEmitter: fixed issue where assignment of non-primitive value was missing
on package/internal variables

------------------------------------------
[...truncated 2710 lines...]
    [junit] Running org.apache.flex.compiler.internal.codegen.externals.TestExternJasmine
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.056 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.externals.TestExternalsJSCompile
    [junit] Jan 11, 2016 11:19:40 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] WARNING: [es6]:40: WARNING - Keywords and reserved words are not allowed as unquoted
property names in older versions of JavaScript. If you are targeting newer versions of JavaScript,
set the appropriate language_in option.
    [junit] Symbol.for;
    [junit]        ^
    [junit] 
    [junit] Jan 11, 2016 11:19:40 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] WARNING: [es6]:112: WARNING - Keywords and reserved words are not allowed as unquoted
property names in older versions of JavaScript. If you are targeting newer versions of JavaScript,
set the appropriate language_in option.
    [junit] Generator.prototype.return = function(value) {};
    [junit]                     ^
    [junit] 
    [junit] Jan 11, 2016 11:19:40 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] WARNING: [es6]:118: WARNING - Keywords and reserved words are not allowed as unquoted
property names in older versions of JavaScript. If you are targeting newer versions of JavaScript,
set the appropriate language_in option.
    [junit] Generator.prototype.throw = function(exception) {};
    [junit]                     ^
    [junit] 
    [junit] Jan 11, 2016 11:19:40 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] WARNING: [es6]:1083: WARNING - Keywords and reserved words are not allowed as
unquoted property names in older versions of JavaScript. If you are targeting newer versions
of JavaScript, set the appropriate language_in option.
    [junit] Promise.prototype.catch = function(onRejected) {};
    [junit]                   ^
    [junit] 
    [junit] Jan 11, 2016 11:19:40 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] WARNING: [html5]:3314: WARNING - Keywords and reserved words are not allowed as
unquoted property names in older versions of JavaScript. If you are targeting newer versions
of JavaScript, set the appropriate language_in option.
    [junit] HTMLMenuItemElement.prototype.default;
    [junit]                               ^
    [junit] 
    [junit] Jan 11, 2016 11:19:40 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] WARNING: [html5]:3392: WARNING - Keywords and reserved words are not allowed as
unquoted property names in older versions of JavaScript. If you are targeting newer versions
of JavaScript, set the appropriate language_in option.
    [junit] HTMLLinkElement.prototype.import;
    [junit]                           ^
    [junit] 
    [junit] Jan 11, 2016 11:19:40 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] WARNING: [iphone]:28: WARNING - name Touch is not defined in the externs.
    [junit] Touch.prototype.webkitForce;
    [junit] ^
    [junit] 
    [junit] Jan 11, 2016 11:19:40 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] WARNING: [iphone]:33: WARNING - name Touch is not defined in the externs.
    [junit] Touch.prototype.webkitRadiusX;
    [junit] ^
    [junit] 
    [junit] Jan 11, 2016 11:19:40 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] WARNING: [iphone]:38: WARNING - name Touch is not defined in the externs.
    [junit] Touch.prototype.webkitRadiusY;
    [junit] ^
    [junit] 
    [junit] Jan 11, 2016 11:19:40 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] WARNING: [iphone]:47: WARNING - name TouchEvent is not defined in the externs.
    [junit] TouchEvent.prototype.scale;
    [junit] ^
    [junit] 
    [junit] Jan 11, 2016 11:19:40 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] WARNING: [iphone]:54: WARNING - name TouchEvent is not defined in the externs.
    [junit] TouchEvent.prototype.rotation;
    [junit] ^
    [junit] 
    [junit] Jan 11, 2016 11:19:40 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] WARNING: [iphone]:77: WARNING - name TouchEvent is not defined in the externs.
    [junit] TouchEvent.prototype.initTouchEvent = function(type, canBubble, cancelable,
    [junit] ^
    [junit] 
    [junit] Jan 11, 2016 11:19:40 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] WARNING: [w3c_css]:2504: WARNING - Keywords and reserved words are not allowed
as unquoted property names in older versions of JavaScript. If you are targeting newer versions
of JavaScript, set the appropriate language_in option.
    [junit] FontFaceSet.prototype.delete = function(value) {};
    [junit]                       ^
    [junit] 
    [junit] Jan 11, 2016 11:19:40 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] WARNING: [w3c_event3]:39: WARNING - Keywords and reserved words are not allowed
as unquoted property names in older versions of JavaScript. If you are targeting newer versions
of JavaScript, set the appropriate language_in option.
    [junit] KeyboardEvent.prototype.char;
    [junit]                         ^
    [junit] 
    [junit] Jan 11, 2016 11:19:40 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] WARNING: [w3c_indexeddb]:480: WARNING - Keywords and reserved words are not allowed
as unquoted property names in older versions of JavaScript. If you are targeting newer versions
of JavaScript, set the appropriate language_in option.
    [junit] IDBObjectStore.prototype.delete = function(key) {};
    [junit]                          ^
    [junit] 
    [junit] Jan 11, 2016 11:19:40 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] WARNING: [w3c_indexeddb]:679: WARNING - Keywords and reserved words are not allowed
as unquoted property names in older versions of JavaScript. If you are targeting newer versions
of JavaScript, set the appropriate language_in option.
    [junit] IDBCursor.prototype.continue = function(key) {};
    [junit]                     ^
    [junit] 
    [junit] Jan 11, 2016 11:19:41 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] WARNING: [w3c_indexeddb]:690: WARNING - Keywords and reserved words are not allowed
as unquoted property names in older versions of JavaScript. If you are targeting newer versions
of JavaScript, set the appropriate language_in option.
    [junit] IDBCursor.prototype.delete = function() {};
    [junit]                     ^
    [junit] 
    [junit] Jan 11, 2016 11:19:41 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: [missing]:91: ERROR - Parse error. identifier is a reserved word
    [junit] function int() {}
    [junit]          ^
    [junit] 
    [junit] Jan 11, 2016 11:19:41 PM com.google.javascript.jscomp.LoggerErrorManager println
    [junit] SEVERE: [missing]:97: ERROR - Parse error. identifier is a reserved word
    [junit] int.prototype.toString = function(opt_radix) {}
    [junit] ^
    [junit] 
    [junit] Jan 11, 2016 11:19:41 PM com.google.javascript.jscomp.LoggerErrorManager printSummary
    [junit] WARNING: 2 error(s), 17 warning(s)
    [junit] 
    [junit] <http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler.jx.tests/temp/externals/as/constants/document.as>:3
    [junit] Warning: Incompatible initializer value of type 'int' where 'HTMLDocument' is
expected. An initial value of null will be used instead.
    [junit]     public const document:HTMLDocument = undefined;
    [junit]                                          ^
    [junit] 
    [junit] <http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler.jx.tests/temp/externals/as/constants/location.as>:3
    [junit] Warning: Incompatible initializer value of type 'int' where 'Location' is expected.
An initial value of null will be used instead.
    [junit]     public const location:Location = undefined;
    [junit]                                      ^
    [junit] 
    [junit] <http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler.jx.tests/temp/externals/as/constants/navigator.as>:3
    [junit] Warning: Incompatible initializer value of type 'int' where 'Navigator' is expected.
An initial value of null will be used instead.
    [junit]     public const navigator:Navigator = undefined;
    [junit]                                        ^
    [junit] 
    [junit] <http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler.jx.tests/temp/externals/as/constants/screen.as>:3
    [junit] Warning: Incompatible initializer value of type 'int' where 'Screen' is expected.
An initial value of null will be used instead.
    [junit]     public const screen:Screen = undefined;
    [junit]                                  ^
    [junit] 
    [junit] <http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler.jx.tests/temp/externals/as/constants/self.as>:3
    [junit] Warning: Incompatible initializer value of type 'int' where 'Window' is expected.
An initial value of null will be used instead.
    [junit]     public const self:Window = undefined;
    [junit]                                ^
    [junit] 
    [junit] <http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler.jx.tests/temp/externals/as/constants/top.as>:3
    [junit] Warning: Incompatible initializer value of type 'int' where 'Window' is expected.
An initial value of null will be used instead.
    [junit]     public const top:Window = undefined;
    [junit]                               ^
    [junit] 
    [junit] <http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler.jx.tests/temp/externals/as/constants/window.as>:3
    [junit] Warning: Incompatible initializer value of type 'int' where 'Window' is expected.
An initial value of null will be used instead.
    [junit]     public const window:Window = undefined;
    [junit]                                  ^
    [junit] 
    [junit] 400414 bytes written to C:\Jenkins\workspace\flex-falcon\compiler.jx.tests\temp\externals\bin\JS.swc
in 41.119 seconds
    [junit] <http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler.jx.tests/temp/externals/app1/js_src/Main_output.js>
    [junit] /**
    [junit]  * Generated by Apache Flex Cross-Compiler from Main.as
    [junit]  * Main
    [junit]  *
    [junit]  * @fileoverview
    [junit]  *
    [junit]  * @suppress {checkTypes|accessControls}
    [junit]  */
    [junit] 
    [junit] goog.provide('Main');
    [junit] 
    [junit] goog.require('Element');
    [junit] goog.require('alert');
    [junit] goog.require('document');
    [junit] 
    [junit] 
    [junit] 
    [junit] /**
    [junit]  * @constructor
    [junit]  */
    [junit] Main = function() {
    [junit] };
    [junit] 
    [junit] 
    [junit] /**
    [junit]  * @export
    [junit]  */
    [junit] Main.prototype.start = function() {
    [junit]   var self = this;
    [junit]     var /** @type {Function} */ __localFn0__ = function() {
    [junit]     alert("Hello browser from FalconJX!");
    [junit]   }
    [junit]   var /** @type {Element} */ button = document.createElement("button");
    [junit]   button.onclick = __localFn0__;
    [junit]   button.textContent = "Say Hello";
    [junit]   document.body.appendChild(button);
    [junit] };
    [junit] 
    [junit] 
    [junit] /**
    [junit]  * Metadata
    [junit]  *
    [junit]  * @type {Object.<string, Array.<Object>>}
    [junit]  */
    [junit] Main.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'Main', qName: 'Main'}] };
    [junit] 
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.95 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.externals.TestPackageNamespace
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.externals.TestReferenceModel
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.009 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.externals.TestTypeExternals
    [junit] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.externals.TestTypeInheritence
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.amd.TestAMDClassA
    [junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.264 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.amd.TestAMDClassB
    [junit] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.145 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.amd.TestAMDEmiter
    [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.amd.TestAMDInterfaceI
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.167 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.amd.TestAMDInterfaceIOther
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.147 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.amd.TestAMDInterfaceISub
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.172 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.amd.TestAMDPackage
    [junit] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.527 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSAccessorMembers
    [junit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.766 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSAccessors
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.867 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSClass
    [junit] Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.266 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSEmiter
    [junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.166 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSExpressions
    [junit] Tests run: 149, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 38.419 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSFieldMembers
    [junit] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.871 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSGlobalClasses
    [junit] Tests run: 70, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.942 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSGlobalConstants
    [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.863 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSGlobalFunctions
    [junit] Tests run: 29, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 6.379 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSInterface
    [junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.395 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSMethodMembers
    [junit] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.74 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSPackage
    [junit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.815 sec
    [junit] Running org.apache.flex.compiler.internal.codegen.js.flexjs.TestFlexJSProject
    [junit] test-files\flexjs\projects\package_conflicts_ambiguous_definition\mypackage\TestClass.as(29:20)
    [junit] Ambiguous reference to Event
    [junit] test-files\flexjs\projects\package_conflicts_ambiguous_definition\mypackage\TestClass.as(30:41)
    [junit] Ambiguous reference to Event
    [junit] 
    [junit] Tests run: 10, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 3.092 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8

BUILD FAILED
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/build.xml>:194: The following
error occurred while executing this line:
<http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/ws/compiler.jx.tests/build.xml>:64:
Tests failed

Total time: 20 minutes 59 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Build step 'Invoke Ant' marked build as failure
Skipped archiving because build is not successful
Recording test results

Mime
View raw message