Skip to content
Failed

Console Output

Started by user Logan
Building remotely on Builder in workspace /home/jenkins/workspace/mcMMO
[WS-CLEANUP] Deleting project workspace...
Cloning the remote Git repository
Cloning repository https://github.com/mcMMO-Dev/mcMMO.git
 > git init /home/jenkins/workspace/mcMMO # timeout=10
Fetching upstream changes from https://github.com/mcMMO-Dev/mcMMO.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/mcMMO-Dev/mcMMO.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://github.com/mcMMO-Dev/mcMMO.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/mcMMO-Dev/mcMMO.git # timeout=10
Fetching upstream changes from https://github.com/mcMMO-Dev/mcMMO.git
 > git fetch --tags --progress https://github.com/mcMMO-Dev/mcMMO.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision d2b8c527ad9484f9d2ad692c8dc8ff78bbdf93e3 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d2b8c527ad9484f9d2ad692c8dc8ff78bbdf93e3
 > git rev-list d2b8c527ad9484f9d2ad692c8dc8ff78bbdf93e3 # timeout=10
[mcMMO] $ /bin/sh -xe /tmp/jenkins5835171601423035106.sh
+ git clone https://github.com/mcMMO-Dev/mcMMO.git
Cloning into 'mcMMO'...
+ cd mcMMO
+ mvn clean install
[INFO] Scanning for projects...
[INFO] 
[INFO] -------------------< com.gmail.nossr50.mcMMO:mcMMO >--------------------
[INFO] Building mcMMO 1.6.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.12.4/maven-surefire-plugin-2.12.4.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.12.4/maven-surefire-plugin-2.12.4.pom (0 B at 0 B/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire/2.12.4/surefire-2.12.4.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire/2.12.4/surefire-2.12.4.pom (0 B at 0 B/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.12.4/maven-surefire-plugin-2.12.4.jar
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.12.4/maven-surefire-plugin-2.12.4.jar (0 B at 0 B/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.pom
Progress (1): 2.2/15 kB
Progress (1): 5.0/15 kB
Progress (1): 7.8/15 kB
Progress (1): 11/15 kB 
Progress (1): 13/15 kB
Progress (1): 15 kB   
                   
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.pom (15 kB at 160 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/16/maven-plugins-16.pom
Progress (1): 2.2/13 kB
Progress (1): 5.0/13 kB
Progress (1): 7.8/13 kB
Progress (1): 11/13 kB 
Progress (1): 13 kB   
                   
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/16/maven-plugins-16.pom (13 kB at 182 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.jar
Progress (1): 2.2/209 kB
Progress (1): 5.0/209 kB
Progress (1): 7.7/209 kB
Progress (1): 10/209 kB 
Progress (1): 13/209 kB
Progress (1): 16/209 kB
Progress (1): 19/209 kB
Progress (1): 21/209 kB
Progress (1): 24/209 kB
Progress (1): 27/209 kB
Progress (1): 30/209 kB
Progress (1): 32/209 kB
Progress (1): 36/209 kB
Progress (1): 40/209 kB
Progress (1): 45/209 kB
Progress (1): 49/209 kB
Progress (1): 53/209 kB
Progress (1): 57/209 kB
Progress (1): 61/209 kB
Progress (1): 65/209 kB
Progress (1): 69/209 kB
Progress (1): 73/209 kB
Progress (1): 77/209 kB
Progress (1): 81/209 kB
Progress (1): 85/209 kB
Progress (1): 90/209 kB
Progress (1): 94/209 kB
Progress (1): 98/209 kB
Progress (1): 102/209 kB
Progress (1): 106/209 kB
Progress (1): 110/209 kB
Progress (1): 114/209 kB
Progress (1): 118/209 kB
Progress (1): 122/209 kB
Progress (1): 126/209 kB
Progress (1): 131/209 kB
Progress (1): 135/209 kB
Progress (1): 139/209 kB
Progress (1): 143/209 kB
Progress (1): 147/209 kB
Progress (1): 151/209 kB
Progress (1): 155/209 kB
Progress (1): 159/209 kB
Progress (1): 163/209 kB
Progress (1): 167/209 kB
Progress (1): 171/209 kB
Progress (1): 176/209 kB
Progress (1): 180/209 kB
Progress (1): 184/209 kB
Progress (1): 188/209 kB
Progress (1): 192/209 kB
Progress (1): 196/209 kB
Progress (1): 200/209 kB
Progress (1): 204/209 kB
Progress (1): 208/209 kB
Progress (1): 209 kB    
                    
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.jar (209 kB at 1.5 MB/s)
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mcMMO ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ mcMMO ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 13 resources to .
[INFO] Copying 29 resources to com/gmail/nossr50/locale
[INFO] Copying 4 resources to mods
[INFO] Copying 1 resource to .
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ mcMMO ---
[INFO] Compiling 333 source files to /home/jenkins/workspace/mcMMO/mcMMO/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] Unable to locate the Javac Compiler in:
  /usr/lib/jvm/java-9-jre/jre/../lib/tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.364 s
[INFO] Finished at: 2018-12-21T14:04:09-06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project mcMMO: Compilation failure
[ERROR] Unable to locate the Javac Compiler in:
[ERROR]   /usr/lib/jvm/java-9-jre/jre/../lib/tools.jar
[ERROR] Please ensure you are using JDK 1.4 or above and
[ERROR] not a JRE (the com.sun.tools.javac.Main class is required).
[ERROR] In most cases you can change the location of your Java
[ERROR] installation by setting the JAVA_HOME environment variable.
[ERROR] 
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Build step 'Execute shell' marked build as failure
FATAL: Remote call on Builder failed
Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to Builder
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
		at hudson.remoting.Channel.call(Channel.java:955)
		at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1085)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510)
		at hudson.model.Run.execute(Run.java:1810)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:429)
java.lang.NoClassDefFoundError: Could not initialize class hudson.slaves.SlaveComputer
	at hudson.util.ProcessTree.get(ProcessTree.java:411)
	at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1097)
	at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1088)
	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused: java.io.IOException: Remote call on Builder failed
	at hudson.remoting.Channel.call(Channel.java:961)
	at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1085)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510)
	at hudson.model.Run.execute(Run.java:1810)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Archiving artifacts
[WS-CLEANUP] Deleting project workspace...[WS-CLEANUP] Skipped based on build state FAILURE
Finished: FAILURE