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/20 02:26:23 UTC

Build failed in Jenkins: royale-compiler #362

See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/362/display/redirect>

Changes:


------------------------------------------
Started by user Apache Royale
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on agent2 in workspace <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/>
No credentials specified
 > C:\Program Files\Git\cmd\git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > C:\Program Files\Git\cmd\git.exe config remote.origin.url https://github.com/apache/royale-compiler # timeout=10
Fetching upstream changes from https://github.com/apache/royale-compiler
 > C:\Program Files\Git\cmd\git.exe --version # timeout=10
 > C:\Program Files\Git\cmd\git.exe fetch --tags --force --progress -- https://github.com/apache/royale-compiler +refs/heads/*:refs/remotes/origin/*
 > C:\Program Files\Git\cmd\git.exe rev-parse "refs/remotes/origin/develop^{commit}" # timeout=10
 > C:\Program Files\Git\cmd\git.exe rev-parse "refs/remotes/origin/origin/develop^{commit}" # timeout=10
Checking out Revision 86bbb1e4d69569dc538a3e25041305a9c673a1e8 (refs/remotes/origin/develop)
 > C:\Program Files\Git\cmd\git.exe config core.sparsecheckout # timeout=10
 > C:\Program Files\Git\cmd\git.exe checkout -f 86bbb1e4d69569dc538a3e25041305a9c673a1e8
Commit message: "release-notes: added improvements to Maven by chris dutz and enhancements to create maven distribution that now is working"
 > C:\Program Files\Git\cmd\git.exe rev-list --no-walk 86bbb1e4d69569dc538a3e25041305a9c673a1e8 # timeout=10
[royale-compiler] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file jenkins.xml -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs main && exit %%ERRORLEVEL%%"
Unable to locate tools.jar. Expected to find it in C:\Program Files (x86)\Java\jre1.8.0_251\lib\tools.jar
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/jenkins.xml>

clean:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/jenkins/temp>
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/jenkins/JFlex>
   [delete] Deleting directory C:\Google\Closure\Library

init:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/jenkins/temp>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/jenkins/JFlex>
    [mkdir] Created dir: C:\Google\Closure\Library

jflex-download:
     [echo] Be patient. This takes a few minutes...
      [get] Getting: https://jflex.de/jflex-1.4.3.zip
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/jenkins/temp/JFlex.zip>
    [unzip] Expanding: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/jenkins/temp/JFlex.zip> into <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/jenkins/JFlex>

closure-lib-download:
     [echo] Be patient. This takes a few minutes...

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/jenkins.xml>:55: Execute failed: java.io.IOException: Cannot run program "git" (in directory "<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/")>: CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessBuilder.start(Unknown Source)
	at java.lang.Runtime.exec(Unknown Source)
	at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
	at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:426)
	at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:440)
	at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:629)
	at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:670)
	at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:496)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:435)
	at org.apache.tools.ant.Target.performTasks(Target.java:456)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
	at org.apache.tools.ant.Main.runBuild(Main.java:857)
	at org.apache.tools.ant.Main.startAnt(Main.java:236)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:287)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:113)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
	at java.lang.ProcessImpl.create(Native Method)
	at java.lang.ProcessImpl.<init>(Unknown Source)
	at java.lang.ProcessImpl.start(Unknown Source)
	... 24 more

Total time: 1 second
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx1024m
Build step 'Invoke Ant' marked build as failure
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?

Jenkins build is back to normal : royale-compiler #364

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/364/display/redirect>


Build failed in Jenkins: royale-compiler #363

Posted by ap...@gmail.com.
See <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/363/display/redirect>

Changes:


------------------------------------------
Started by user Apache Royale
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on agent2 in workspace <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/>
No credentials specified
 > C:\Program Files\Git\cmd\git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > C:\Program Files\Git\cmd\git.exe config remote.origin.url https://github.com/apache/royale-compiler # timeout=10
Fetching upstream changes from https://github.com/apache/royale-compiler
 > C:\Program Files\Git\cmd\git.exe --version # timeout=10
 > C:\Program Files\Git\cmd\git.exe fetch --tags --force --progress -- https://github.com/apache/royale-compiler +refs/heads/*:refs/remotes/origin/*
 > C:\Program Files\Git\cmd\git.exe rev-parse "refs/remotes/origin/develop^{commit}" # timeout=10
 > C:\Program Files\Git\cmd\git.exe rev-parse "refs/remotes/origin/origin/develop^{commit}" # timeout=10
Checking out Revision 86bbb1e4d69569dc538a3e25041305a9c673a1e8 (refs/remotes/origin/develop)
 > C:\Program Files\Git\cmd\git.exe config core.sparsecheckout # timeout=10
 > C:\Program Files\Git\cmd\git.exe checkout -f 86bbb1e4d69569dc538a3e25041305a9c673a1e8
Commit message: "release-notes: added improvements to Maven by chris dutz and enhancements to create maven distribution that now is working"
 > C:\Program Files\Git\cmd\git.exe rev-list --no-walk 86bbb1e4d69569dc538a3e25041305a9c673a1e8 # timeout=10
[royale-compiler] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -file jenkins.xml -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs main && exit %%ERRORLEVEL%%"
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.8.0_251\lib\tools.jar
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/jenkins.xml>

clean:
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/jenkins/temp>
   [delete] Deleting directory <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/jenkins/JFlex>
   [delete] Deleting directory C:\Google\Closure\Library

init:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/jenkins/temp>
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/jenkins/JFlex>
    [mkdir] Created dir: C:\Google\Closure\Library

jflex-download:
     [echo] Be patient. This takes a few minutes...
      [get] Getting: https://jflex.de/jflex-1.4.3.zip
      [get] To: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/jenkins/temp/JFlex.zip>
    [unzip] Expanding: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/jenkins/temp/JFlex.zip> into <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/jenkins/JFlex>

closure-lib-download:
     [echo] Be patient. This takes a few minutes...
     [exec] Cloning into 'C:\Google\Closure\Library'...
     [echo] Cloned fresh copy of Google Closure Library

check-env:

env-properties:

main:

BUILD SUCCESSFUL
Total time: 16 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx1024m
[royale-compiler] $ cmd.exe /C "C:\apache\apache-ant-1.9.9\bin\ant.bat -Dbuild.number=363 -Denv.ASJS_HOME=C:\jenkins\workspace\royale-asjs clean main && exit %%ERRORLEVEL%%"
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.8.0_251\lib\tools.jar
Buildfile: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/build.xml>

clean:

clean:

clean:

clean:
     [echo] RELEASE_VERSION IS: 0.9.7

clean:

clean:

clean:

clean:

clean:

clean:

clean:

clean:

clean:

clean:
     [echo] basedir is <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/royaleunit-ant-tasks>
     [echo] ROYALE_COMPILER_HOME is ${ROYALE_COMPILER_HOME}
     [echo] ROYALE_COMPILER_HOME is c:\compiler-jx

clean:

clean:
     [echo] Cleaning out dist dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/debugger/../compiler/lib>

clean:
     [echo] Cleaning out generated dir: target/generated-sources/jburg/
     [echo] Cleaning out output dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/debugger/target>

sdk:

annotate.class:
    [mkdir] Created dir: <http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/compiler-build-tools/target/classes>

BUILD FAILED
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/build.xml>:63: The following error occurred while executing this line:
<http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-compiler/ws/compiler-build-tools/build.xml>:74: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre1.8.0_251"

Total time: 0 seconds
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xms384m -Xmx1024m
Build step 'Invoke Ant' marked build as failure
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?