I have posted to infra to try to find out how to determine what the Java home path needs to be. However, my experience is that questions posted to the infra list never get answered so I may have to create a Jira issue.
Ralph > On Aug 21, 2017, at 8:33 AM, Apache Jenkins Server > <jenk...@builds.apache.org> wrote: > > See > <https://builds.apache.org/job/Log4j%202.x/3013/display/redirect?page=changes> > > Changes: > > [rgoers] Update java build number > > ------------------------------------------ > Started by an SCM change > [EnvInject] - Loading node environment variables. > Building remotely on H22 (couchdbtest ubuntu xenial) in workspace > <https://builds.apache.org/job/Log4j%202.x/ws/> >> git rev-parse --is-inside-work-tree # timeout=10 > Fetching changes from the remote Git repository >> git config remote.origin.url >> https://git-wip-us.apache.org/repos/asf/logging-log4j2.git # timeout=10 > Fetching upstream changes from > https://git-wip-us.apache.org/repos/asf/logging-log4j2.git >> git --version # timeout=10 >> git fetch --tags --progress >> https://git-wip-us.apache.org/repos/asf/logging-log4j2.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 303e4489ffd9e602b64c2c7a1386a1fec5b520c3 > (refs/remotes/origin/master) > Commit message: "Update java build number" >> git config core.sparsecheckout # timeout=10 >> git checkout -f 303e4489ffd9e602b64c2c7a1386a1fec5b520c3 >> git rev-list bc59293a72ea5c2102e3ef2877041d47b0990cc8 # timeout=10 > [EnvInject] - Executing scripts and injecting environment variables after the > SCM step. > [EnvInject] - Injecting as environment variables the properties content > LANG=en_US.UTF-8 > > [EnvInject] - Variables injected successfully. > Parsing POMs > Modules changed, recalculating dependency graph > Established TCP socket on 35131 > maven33-agent.jar already up to date > maven33-interceptor.jar already up to date > maven3-interceptor-commons.jar already up to date > [Log4j 2.x] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx2g -Xms256m > -XX:MaxPermSize=256m -cp > /home/jenkins/jenkins-slave/maven33-agent.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/conf/logging > jenkins.maven3.agent.Maven33Main > /home/jenkins/tools/maven/apache-maven-3.3.9 > /home/jenkins/jenkins-slave/slave.jar > /home/jenkins/jenkins-slave/maven33-interceptor.jar > /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 35131 > Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; > support was removed in 8.0 > <===[JENKINS REMOTING CAPACITY]===> channel started > Executing Maven: -B -f > <https://builds.apache.org/job/Log4j%202.x/ws/pom.xml> > -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -t > jenkins-toolchains.xml -DuseJava7 -Djenkins clean install > [INFO] Scanning for projects... > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for > org.apache.logging.log4j.samples:log4j-samples-flume-remote:war:2.9-SNAPSHOT > [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but > found duplicate declaration of plugin > org.apache.maven.plugins:maven-deploy-plugin @ > org.apache.logging.log4j.samples:log4j-samples-flume-remote:[unknown-version], > > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-samples/flume-remote/pom.xml,> > line 129, column 15 > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for > org.apache.logging.log4j.samples:log4j-samples-flume-embedded:war:2.9-SNAPSHOT > [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but > found duplicate declaration of plugin > org.apache.maven.plugins:maven-deploy-plugin @ > org.apache.logging.log4j.samples:log4j-samples-flume-embedded:[unknown-version], > > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-samples/flume-embedded/pom.xml,> > line 141, column 15 > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.apache.logging.log4j:log4j-bom:pom:2.9-SNAPSHOT > [WARNING] 'parent.relativePath' of POM > org.apache.logging.log4j:log4j-bom:2.9-SNAPSHOT > (<https://builds.apache.org/job/Log4j%202.x/ws/log4j-bom/pom.xml)> points at > org.apache.logging.log4j:log4j instead of org.apache.logging:logging-parent, > please verify your project structure @ line 19, column 11 > [WARNING] > [WARNING] It is highly recommended to fix these problems because they > threaten the stability of your build. > [WARNING] > [WARNING] For this reason, future Maven versions might no longer support > building such malformed projects. > [WARNING] > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Build Order: > [INFO] > [INFO] Apache Log4j 2 > [INFO] Apache Log4j API Java 9 support > [INFO] Apache Log4j API > [INFO] Apache Log4j Core > [INFO] Apache Log4j Core Integration Tests > [INFO] Apache Log4j 1.x Compatibility API > [INFO] Apache Log4j SLF4J Binding > [INFO] Apache Log4j to SLF4J Adapter > [INFO] Apache Log4j Commons Logging Bridge > [INFO] Apache Log4j Flume Bridge > [INFO] Apache Log4j Web > [INFO] Apache Log4j Tag Library > [INFO] Apache Log4j JMX GUI > [INFO] Apache Log4j Samples > [INFO] Apache Log4j Samples: Flume - Common > [INFO] Apache Log4j Samples: Flume - Remote > [INFO] Apache Log4j Samples: Flume - Embedded > [INFO] Apache Log4j Samples: Configuration > [INFO] Apache Log4j Samples: LoggerProperties > [INFO] Apache Log4j OSGi > [INFO] Apache Log4j BOM > [INFO] Apache Log4j NoSQL > [INFO] Apache Log4J Performance Tests > [INFO] Apache Log4j Streaming Interface > [INFO] Apache Log4j JUL Adapter > [INFO] Apache Log4j Liquibase Binding > [INFO] > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Apache Log4j 2 2.9-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ log4j --- > [INFO] > [INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ log4j --- > [INFO] Required toolchain: jdk [ version='1.7' ] > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache Log4j 2 ..................................... FAILURE [ 3.409 > s] > [INFO] Apache Log4j API Java 9 support .................... SKIPPED > [INFO] Apache Log4j API ................................... SKIPPED > [INFO] Apache Log4j Core .................................. SKIPPED > [INFO] Apache Log4j Core Integration Tests ................ SKIPPED > [INFO] Apache Log4j 1.x Compatibility API ................. SKIPPED > [INFO] Apache Log4j SLF4J Binding ......................... SKIPPED > [INFO] Apache Log4j to SLF4J Adapter ...................... SKIPPED > [INFO] Apache Log4j Commons Logging Bridge ................ SKIPPED > [INFO] Apache Log4j Flume Bridge .......................... SKIPPED > [INFO] Apache Log4j Web ................................... SKIPPED > [INFO] Apache Log4j Tag Library ........................... SKIPPED > [INFO] Apache Log4j JMX GUI ............................... SKIPPED > [INFO] Apache Log4j Samples ............................... SKIPPED > [INFO] Apache Log4j Samples: Flume - Common ............... SKIPPED > [INFO] Apache Log4j Samples: Flume - Remote ............... SKIPPED > [INFO] Apache Log4j Samples: Flume - Embedded ............. SKIPPED > [INFO] Apache Log4j Samples: Configuration ................ SKIPPED > [INFO] Apache Log4j Samples: LoggerProperties ............. SKIPPED > [INFO] Apache Log4j OSGi .................................. SKIPPED > [INFO] Apache Log4j BOM ................................... SKIPPED > [INFO] Apache Log4j NoSQL ................................. SKIPPED > [INFO] Apache Log4J Performance Tests ..................... SKIPPED > [INFO] Apache Log4j Streaming Interface ................... SKIPPED > [INFO] Apache Log4j JUL Adapter ........................... SKIPPED > [INFO] Apache Log4j Liquibase Binding ..................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 25.531 s > [INFO] Finished at: 2017-08-21T15:33:21+00:00 > [INFO] Final Memory: 30M/309M > [INFO] > ------------------------------------------------------------------------ > Waiting for Jenkins to finish collecting data > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-toolchains-plugin:1.1:toolchain (default) on > project log4j: Misconfigured toolchains. Non-existing JDK home configuration > at /home/jenkins/tools/java/jdk-9-ea-b181 -> [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/MojoExecutionException > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/pom.xml> to > org.apache.logging.log4j/log4j-api-java9/2.9-SNAPSHOT/log4j-api-java9-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-samples/flume-remote/pom.xml> > to > org.apache.logging.log4j.samples/log4j-samples-flume-remote/2.9-SNAPSHOT/log4j-samples-flume-remote-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-jmx-gui/pom.xml> to > org.apache.logging.log4j/log4j-jmx-gui/2.9-SNAPSHOT/log4j-jmx-gui-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api/pom.xml> to > org.apache.logging.log4j/log4j-api/2.9-SNAPSHOT/log4j-api-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-flume-ng/pom.xml> to > org.apache.logging.log4j/log4j-flume-ng/2.9-SNAPSHOT/log4j-flume-ng-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-samples/pom.xml> to > org.apache.logging.log4j.samples/log4j-samples/2.9-SNAPSHOT/log4j-samples-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-core/pom.xml> to > org.apache.logging.log4j/log4j-core/2.9-SNAPSHOT/log4j-core-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-perf/pom.xml> to > org.apache.logging.log4j/log4j-perf/2.9-SNAPSHOT/log4j-perf-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-samples/loggerProperties/pom.xml> > to > org.apache.logging.log4j.samples/log4j-samples-loggerProperties/2.9-SNAPSHOT/log4j-samples-loggerProperties-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-samples/flume-embedded/pom.xml> > to > org.apache.logging.log4j.samples/log4j-samples-flume-embedded/2.9-SNAPSHOT/log4j-samples-flume-embedded-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-liquibase/pom.xml> to > org.apache.logging.log4j/log4j-liquibase/2.9-SNAPSHOT/log4j-liquibase-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-core-its/pom.xml> to > org.apache.logging.log4j/log4j-core-its/2.9-SNAPSHOT/log4j-core-its-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-web/pom.xml> to > org.apache.logging.log4j/log4j-web/2.9-SNAPSHOT/log4j-web-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-jcl/pom.xml> to > org.apache.logging.log4j/log4j-jcl/2.9-SNAPSHOT/log4j-jcl-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-nosql/pom.xml> to > org.apache.logging.log4j/log4j-nosql/2.9-SNAPSHOT/log4j-nosql-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-taglib/pom.xml> to > org.apache.logging.log4j/log4j-taglib/2.9-SNAPSHOT/log4j-taglib-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-1.2-api/pom.xml> to > org.apache.logging.log4j/log4j-1.2-api/2.9-SNAPSHOT/log4j-1.2-api-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-samples/configuration/pom.xml> > to > org.apache.logging.log4j.samples/log4j-samples-configuration/2.9-SNAPSHOT/log4j-samples-configuration-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-osgi/pom.xml> to > org.apache.logging.log4j/log4j-osgi/2.9-SNAPSHOT/log4j-osgi-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-bom/pom.xml> to > org.apache.logging.log4j/log4j-bom/2.9-SNAPSHOT/log4j-bom-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-jul/pom.xml> to > org.apache.logging.log4j/log4j-jul/2.9-SNAPSHOT/log4j-jul-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-slf4j-impl/pom.xml> to > org.apache.logging.log4j/log4j-slf4j-impl/2.9-SNAPSHOT/log4j-slf4j-impl-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-iostreams/pom.xml> to > org.apache.logging.log4j/log4j-iostreams/2.9-SNAPSHOT/log4j-iostreams-2.9-SNAPSHOT.pom > [JENKINS] Archiving <https://builds.apache.org/job/Log4j%202.x/ws/pom.xml> to > org.apache.logging.log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT.pom > [Fast Archiver] Compressed 54.17 KB of artifacts by 59.1% relative to #3008 > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-to-slf4j/pom.xml> to > org.apache.logging.log4j/log4j-to-slf4j/2.9-SNAPSHOT/log4j-to-slf4j-2.9-SNAPSHOT.pom > [JENKINS] Archiving > <https://builds.apache.org/job/Log4j%202.x/ws/log4j-samples/flume-common/pom.xml> > to > org.apache.logging.log4j.samples/log4j-samples-flume-common/2.9-SNAPSHOT/log4j-samples-flume-common-2.9-SNAPSHOT.pom > channel stopped >