You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by ap...@gmail.com on 2020/04/18 06:45:03 UTC

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

See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/849/display/redirect?page=changes>

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: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-mxmlc.jar>

set.royale.compc.jar.uptodate:

royale.compc.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-compc.jar>

set.royale.optimizer.jar.uptodate:

royale.optimizer.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-optimizer.jar>

set.royale.swfdump.jar.uptodate:

royale.swfdump.jar:
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/lib/compiler-swfdump.jar>

jar:

sdk:

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

compiler.jx:

prebuild:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

prepare:
     [echo] Making lib directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib>

all:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
      [get] Getting: https://raw.githubusercontent.com/kohsuke/args4j/master/LICENSE
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/args4j-LICENSE.txt>
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency-closure:

download-dependency-closure:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/main/resources>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>
     [echo] ROYALE_COMPILER_HOME is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx>

check-dependency:

download-dependency:

main:

compile:
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/build.xml>:91: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 1 source file to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/classes>
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] 1 warning

main:
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/jsc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/jsc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/mxmlc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/mxmlc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/compc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/compc.jar>
     [echo] Building C:/jenkins/workspace/royale-compiler-integration-tests/compiler-jx/lib/asdoc.jar
      [jar] Building jar: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/lib/asdoc.jar>

anttasks:

compile:

set.royale.royaletasks.jar.uptodate:

royale.royaletasks.jar:

jar:

BUILD SUCCESSFUL
Total time: 1 minute 9 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[test] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file build.xml -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=849 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs js.swc custom.swc && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/src/test/build.xml>

js.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/compile-as-config.xml>
     [java] 
     [java] 300774 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-externc/target/js.swc> in 21.469 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

custom.swc:
     [java] Loading configuration: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/compile-as-config.xml>
     [java] 
     [java] 5257 bytes written to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler/target/custom.swc> in 2.172 seconds
     [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD SUCCESSFUL
Total time: 25 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
[royale-compiler-integration-tests] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Denv.FLASHPLAYER_DEBUGGER=C:\adobe\flash\11.7\flashplayerdebugger.exe -Denv.PLAYERGLOBAL_HOME=C:\adobe\flash -Dbuild.number=849 -Denv.AIR_HOME=C:\adobe\air\4.0\AdobeAIRSDK -Denv.PLAYERGLOBAL_VERSION=11.7 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs royale.dependent.tests && exit %%ERRORLEVEL%%"
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>

royale.dependent.tests:

download:

prepare:

junit-jar-check:

junit-jar:

main:

compile.unit.tests:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
     [copy] Copying 159 files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] Compiling 73 source files to <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes>
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleAccessors.java>:39: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleClass.java>:41: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleExpressions.java>:63: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleFile.java>:45: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyalePackage.java>:50: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = config;
    [javac]     	 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:173: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:177: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:196: warning: [cast] redundant cast to RoyaleJSProject
    [javac] 			((RoyaleJSProject)project).config.setCompilerAllowSubclassOverrides(null, true);
    [javac] 			 ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                       ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:200: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         project.setTargetSettings(new TargetSettings(((RoyaleJSProject)project).config, (RoyaleJSProject)project));
    [javac]                                                                                         ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/js/royale/TestRoyaleProject.java>:353: warning: [cast] redundant cast to RoyaleJSProject
    [javac]         ((RoyaleJSProject)project).unitTestExterns = externs;
    [javac]          ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/TestMXMLAttributes.java>:49: warning: [cast] redundant cast to IMXMLInstanceNode
    [javac]         assertThat(((IMXMLInstanceNode) node).getID(), is("myBtn"));
    [javac]                     ^
    [javac] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java>:51: warning: [cast] redundant cast to RoyaleJSProject
    [javac]     	((RoyaleJSProject)project).config = new JSGoogConfiguration();
    [javac]     	 ^
    [javac] 14 warnings

integration.tests.asjs:
    [junit] looking for <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/env.properties>
    [junit] environment property - FLEX_HOME = null
    [junit] environment property - PLAYERGLOBAL_HOME = C:\adobe\flash
    [junit] environment property - PLAYERGLOBAL_VERSION = 11.7
    [junit] environment property - TLF_HOME = null
    [junit] environment property - AIR_HOME = C:\adobe\air\4.0\AdobeAIRSDK
    [junit] environment property - FLASHPLAYER_DEBUGGER = C:\adobe\flash\11.7\flashplayerdebugger.exe
    [junit] environment property - ASJS_HOME = C:\jenkins\workspace\royale-asjs
    [junit] environment property - GOOG_HOME = C:\Google\Closure\Library
    [junit] Running org.apache.royale.compiler.internal.codegen.js.royale.TestRoyaleFile
    [junit] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.608 sec
    [junit] Running org.apache.royale.compiler.internal.codegen.mxml.royale.TestRoyaleMXMLApplication
    [junit] This tag could not be resolved to an ActionScript class. It will be ignored.
    [junit] This tag could not be resolved to an ActionScript class. It will be ignored.
    [junit] This tag could not be resolved to an ActionScript class. It will be ignored.
    [junit] This tag could not be resolved to an ActionScript class. It will be ignored.
    [junit] This tag could not be resolved to an ActionScript class. It will be ignored.
    [junit] This tag could not be resolved to an ActionScript class. It will be ignored.
    [junit] This tag could not be resolved to an ActionScript class. It will be ignored.
    [junit] This tag could not be resolved to an ActionScript class. It will be ignored.
    [junit] 
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again.mxml(40)>: col: 9 Error: This tag could not be resolved to an ActionScript class. It will be ignored.
    [junit] 
    [junit]         <basic:HTTPService id="service">
    [junit]         ^
    [junit] 
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again.mxml(40)>: col: 9 Error: This tag could not be resolved to an ActionScript class. It will be ignored.
    [junit] 
    [junit]         <basic:HTTPService id="service">
    [junit]         ^
    [junit] 
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again.mxml(40)>: col: 9 Error: This tag could not be resolved to an ActionScript class. It will be ignored.
    [junit] 
    [junit]         <basic:HTTPService id="service">
    [junit]         ^
    [junit] 
    [junit] <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/target/test-classes/royale/files/RoyaleTest_again.mxml(40)>: col: 9 Error: This tag could not be resolved to an ActionScript class. It will be ignored.
    [junit] 
    [junit]         <basic:HTTPService id="service">
    [junit]         ^
    [junit] 
    [junit] command line Error: unable to open 'C:\jenkins\workspace\royale-asjs\frameworks\js\libs\NetworkJS.swc'.
    [junit] 
    [junit] 
    [junit] 
    [junit] command line Error: unable to open 'C:\jenkins\workspace\royale-asjs\frameworks\libs\Network.swc'.
    [junit] 
    [junit] 
    [junit] 
    [junit] This tag could not be resolved to an ActionScript class. It will be ignored.
    [junit] This tag could not be resolved to an ActionScript class. It will be ignored.
    [junit] Tests run: 23, Failures: 9, Errors: 0, Skipped: 0, Time elapsed: 11.732 sec
    [junit] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/build.xml>:785: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/ws/compiler-jx/src/test/build.xml>:126: Tests failed

Total time: 35 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx2g
Build step 'Invoke Ant' marked build as failure
Recording test results

Jenkins build is back to normal : royale-compiler-integration-tests #850

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler-integration-tests/850/display/redirect?page=changes>