You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2017/08/21 02:51:33 UTC

Build failed in Jenkins: Log4j 2.x #3005

See <https://builds.apache.org/job/Log4j%202.x/3005/display/redirect?page=changes>

Changes:

[rgoers] Add missing license header. Message should implement

------------------------------------------
Started by an SCM change
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-4 (ubuntu trusty) 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 c9a92d9de75f73390b3afa2ca9ade3097e478281 (refs/remotes/origin/master)
Commit message: "Add missing license header. Message should implement StringBuilderFormattable"
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c9a92d9de75f73390b3afa2ca9ade3097e478281
 > git rev-list 39114a7af34a01312bcbefadf3e905dcb6fde75b # 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 49485
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 49485
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/1 -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] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/target>
[INFO] 
[INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ log4j ---
[INFO] Required toolchain: jdk [ version='1.7' ]
[INFO] Found matching toolchain for type jdk: JDK[/home/jenkins/tools/java/latest1.7]
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ log4j ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ log4j ---
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ log4j ---
[INFO] 
[INFO] --- maven-failsafe-plugin:2.20:integration-test (default) @ log4j ---
[INFO] Toolchain in maven-failsafe-plugin: JDK[/home/jenkins/tools/java/latest1.7]
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-failsafe-plugin:2.20:verify (default) @ log4j ---
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ log4j ---
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:test-jar-no-fork (attach-sources) @ log4j ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ log4j ---
[INFO] Installing <https://builds.apache.org/job/Log4j%202.x/ws/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/logging/log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT.pom
[INFO] Installing <https://builds.apache.org/job/Log4j%202.x/ws/target/log4j-2.9-SNAPSHOT-site.xml> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/logging/log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Log4j API Java 9 support 2.9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ log4j-api-java9 ---
[INFO] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/target>
[INFO] 
[INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ log4j-api-java9 ---
[INFO] Required toolchain: jdk [ version='9' ]
[INFO] Found matching toolchain for type jdk: JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ log4j-api-java9 ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ log4j-api-java9 ---
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ log4j-api-java9 ---
[INFO] Toolchain in maven-compiler-plugin: JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56] error: cannot find symbol
  symbol:   method pid()
  location: interface ProcessHandle
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Log4j 2 ..................................... SUCCESS [ 20.281 s]
[INFO] Apache Log4j API Java 9 support .................... FAILURE [  3.973 s]
[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: 48.310 s
[INFO] Finished at: 2017-08-21T02:50:59+00:00
[INFO] Final Memory: 38M/503M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile (default-compile) on project log4j-api-java9: Compilation failure
[ERROR] <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56] error: cannot find symbol
[ERROR] symbol:   method pid()
[ERROR] location: interface ProcessHandle
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :log4j-api-java9
[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
[JENKINS] Archiving <https://builds.apache.org/job/Log4j%202.x/ws/target/log4j-2.9-SNAPSHOT-site.xml> to org.apache.logging.log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
[Fast Archiver] Compressed 72.60 KB of artifacts by 88.2% relative to #3004
[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

Jenkins build is back to normal : Log4j 2.x #3017

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/3017/display/redirect?page=changes>


Build failed in Jenkins: Log4j 2.x #3016

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/3016/display/redirect?page=changes>

Changes:

[rgoers] Change jdk name

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-4 (ubuntu trusty) 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 e473612e8795da010adccac64821a5119344765a (refs/remotes/origin/master)
Commit message: "Change jdk name"
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e473612e8795da010adccac64821a5119344765a
 > git rev-list 17e3d4144e18df3001c07e38f7f2811b9e478552 # 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 50849
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 50849
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/1 -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] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/target>
[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.613 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: 26.500 s
[INFO] Finished at: 2017-08-21T21:00:26+00:00
[INFO] Final Memory: 29M/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/jdk9-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
[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

Build failed in Jenkins: Log4j 2.x #3015

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/3015/display/redirect?page=changes>

Changes:

[garydgregory] maven-resources-plugin 3.0.1 -> 3.0.2.

------------------------------------------
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 17e3d4144e18df3001c07e38f7f2811b9e478552 (refs/remotes/origin/master)
Commit message: "maven-resources-plugin 3.0.1 -> 3.0.2."
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 17e3d4144e18df3001c07e38f7f2811b9e478552
 > git rev-list 80a496327fc0ae7b33308b114d034ff91699f595 # 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 38661
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 38661
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.449 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.746 s
[INFO] Finished at: 2017-08-21T19:48:41+00:00
[INFO] Final Memory: 28M/430M
[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
[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

Build failed in Jenkins: Log4j 2.x #3014

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/3014/display/redirect?page=changes>

Changes:

[garydgregory] [LOG4J2-2001] StyleConverter.newInstance argument validation is

------------------------------------------
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 80a496327fc0ae7b33308b114d034ff91699f595 (refs/remotes/origin/master)
Commit message: "[LOG4J2-2001] StyleConverter.newInstance argument validation is incorrect."
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 80a496327fc0ae7b33308b114d034ff91699f595
 > git rev-list 303e4489ffd9e602b64c2c7a1386a1fec5b520c3 # 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 41892
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 41892
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.695 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: 26.065 s
[INFO] Finished at: 2017-08-21T19:46:54+00:00
[INFO] Final Memory: 29M/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 #3002
[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

Re: Build failed in Jenkins: Log4j 2.x #3013

Posted by Ralph Goers <ra...@dslextreme.com>.
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 <je...@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
> 



Build failed in Jenkins: Log4j 2.x #3013

Posted by Apache Jenkins Server <je...@builds.apache.org>.
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

Build failed in Jenkins: Log4j 2.x #3012

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/3012/display/redirect>

------------------------------------------
Started by user rgoers
[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 bc59293a72ea5c2102e3ef2877041d47b0990cc8 (refs/remotes/origin/master)
Commit message: "Update java build number"
 > git config core.sparsecheckout # timeout=10
 > git checkout -f bc59293a72ea5c2102e3ef2877041d47b0990cc8
 > 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 42124
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 42124
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.231 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.354 s
[INFO] Finished at: 2017-08-21T15:29:07+00:00
[INFO] Final Memory: 29M/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/jigsaw-jdk-9-ea-b179 -> [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

Build failed in Jenkins: Log4j 2.x #3011

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/3011/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 bc59293a72ea5c2102e3ef2877041d47b0990cc8 (refs/remotes/origin/master)
Commit message: "Update java build number"
 > git config core.sparsecheckout # timeout=10
 > git checkout -f bc59293a72ea5c2102e3ef2877041d47b0990cc8
 > git rev-list 0a0a66431c8dba915fc66a4779eecf8b25cd3542 # 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 41043
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 41043
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.273 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.365 s
[INFO] Finished at: 2017-08-21T15:27:26+00:00
[INFO] Final Memory: 28M/421M
[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/jigsaw-jdk-9-ea-b179 -> [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

Build failed in Jenkins: Log4j 2.x #3010

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/3010/display/redirect>

------------------------------------------
Started by user rgoers
[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 0a0a66431c8dba915fc66a4779eecf8b25cd3542 (refs/remotes/origin/master)
Commit message: "Update java build number"
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0a0a66431c8dba915fc66a4779eecf8b25cd3542
 > git rev-list 0a0a66431c8dba915fc66a4779eecf8b25cd3542 # 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 43245
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 43245
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.733 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: 26.198 s
[INFO] Finished at: 2017-08-21T15:24:03+00:00
[INFO] Final Memory: 28M/406M
[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/jigsaw-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

Build failed in Jenkins: Log4j 2.x #3009

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/3009/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 0a0a66431c8dba915fc66a4779eecf8b25cd3542 (refs/remotes/origin/master)
Commit message: "Update java build number"
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0a0a66431c8dba915fc66a4779eecf8b25cd3542
 > git rev-list b78cb76737b7ec42abd9b2330243aa6d58bb9cb3 # 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 36826
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 36826
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] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/target>
[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.330 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.585 s
[INFO] Finished at: 2017-08-21T15:22:07+00:00
[INFO] Final Memory: 29M/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/jigsaw-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

Build failed in Jenkins: Log4j 2.x #3008

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/3008/display/redirect?page=changes>

Changes:

[garydgregory] [LOG4J2-2023] Use a class' canonical name instead of name to create its

------------------------------------------
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 b78cb76737b7ec42abd9b2330243aa6d58bb9cb3 (refs/remotes/origin/master)
Commit message: "[LOG4J2-2023] Use a class' canonical name instead of name to create its logger name."
 > git config core.sparsecheckout # timeout=10
 > git checkout -f b78cb76737b7ec42abd9b2330243aa6d58bb9cb3
 > git rev-list 1bd65c7efd2b4ada2cdc705f9728079b36aff12a # 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 40299
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 40299
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] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/target>
[INFO] 
[INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ log4j ---
[INFO] Required toolchain: jdk [ version='1.7' ]
[INFO] Found matching toolchain for type jdk: JDK[/home/jenkins/tools/java/latest1.7]
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ log4j ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ log4j ---
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ log4j ---
[INFO] 
[INFO] --- maven-failsafe-plugin:2.20:integration-test (default) @ log4j ---
[INFO] Toolchain in maven-failsafe-plugin: JDK[/home/jenkins/tools/java/latest1.7]
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-failsafe-plugin:2.20:verify (default) @ log4j ---
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ log4j ---
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:test-jar-no-fork (attach-sources) @ log4j ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ log4j ---
[INFO] Installing <https://builds.apache.org/job/Log4j%202.x/ws/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/logging/log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT.pom
[INFO] Installing <https://builds.apache.org/job/Log4j%202.x/ws/target/log4j-2.9-SNAPSHOT-site.xml> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/logging/log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Log4j API Java 9 support 2.9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ log4j-api-java9 ---
[INFO] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/target>
[INFO] 
[INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ log4j-api-java9 ---
[INFO] Required toolchain: jdk [ version='9' ]
[INFO] Found matching toolchain for type jdk: JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ log4j-api-java9 ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ log4j-api-java9 ---
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ log4j-api-java9 ---
[INFO] Toolchain in maven-compiler-plugin: JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56] error: cannot find symbol
  symbol:   method pid()
  location: interface ProcessHandle
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Log4j 2 ..................................... SUCCESS [ 19.253 s]
[INFO] Apache Log4j API Java 9 support .................... FAILURE [  3.188 s]
[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: 45.523 s
[INFO] Finished at: 2017-08-21T15:14:44+00:00
[INFO] Final Memory: 40M/583M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile (default-compile) on project log4j-api-java9: Compilation failure
[ERROR] <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56] error: cannot find symbol
[ERROR] symbol:   method pid()
[ERROR] location: interface ProcessHandle
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :log4j-api-java9
[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
[JENKINS] Archiving <https://builds.apache.org/job/Log4j%202.x/ws/target/log4j-2.9-SNAPSHOT-site.xml> to org.apache.logging.log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
[Fast Archiver] Compressed 72.60 KB of artifacts by 88.2% relative to #3007
[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

Build failed in Jenkins: Log4j 2.x #3007

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/3007/display/redirect?page=changes>

Changes:

[garydgregory] Better JUnit integration.

------------------------------------------
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 1bd65c7efd2b4ada2cdc705f9728079b36aff12a (refs/remotes/origin/master)
Commit message: "Better JUnit integration."
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1bd65c7efd2b4ada2cdc705f9728079b36aff12a
 > git rev-list 0029e5d081548787915e0cbd4b4e3ba1a4f22f05 # 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 36447
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 36447
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] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/target>
[INFO] 
[INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ log4j ---
[INFO] Required toolchain: jdk [ version='1.7' ]
[INFO] Found matching toolchain for type jdk: JDK[/home/jenkins/tools/java/latest1.7]
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ log4j ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ log4j ---
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ log4j ---
[INFO] 
[INFO] --- maven-failsafe-plugin:2.20:integration-test (default) @ log4j ---
[INFO] Toolchain in maven-failsafe-plugin: JDK[/home/jenkins/tools/java/latest1.7]
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-failsafe-plugin:2.20:verify (default) @ log4j ---
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ log4j ---
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:test-jar-no-fork (attach-sources) @ log4j ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ log4j ---
[INFO] Installing <https://builds.apache.org/job/Log4j%202.x/ws/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/logging/log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT.pom
[INFO] Installing <https://builds.apache.org/job/Log4j%202.x/ws/target/log4j-2.9-SNAPSHOT-site.xml> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/logging/log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Log4j API Java 9 support 2.9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ log4j-api-java9 ---
[INFO] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/target>
[INFO] 
[INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ log4j-api-java9 ---
[INFO] Required toolchain: jdk [ version='9' ]
[INFO] Found matching toolchain for type jdk: JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ log4j-api-java9 ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ log4j-api-java9 ---
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ log4j-api-java9 ---
[INFO] Toolchain in maven-compiler-plugin: JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56] error: cannot find symbol
  symbol:   method pid()
  location: interface ProcessHandle
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Log4j 2 ..................................... SUCCESS [ 19.936 s]
[INFO] Apache Log4j API Java 9 support .................... FAILURE [  3.136 s]
[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: 45.723 s
[INFO] Finished at: 2017-08-21T15:12:44+00:00
[INFO] Final Memory: 40M/561M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile (default-compile) on project log4j-api-java9: Compilation failure
[ERROR] <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56] error: cannot find symbol
[ERROR] symbol:   method pid()
[ERROR] location: interface ProcessHandle
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :log4j-api-java9
[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
[JENKINS] Archiving <https://builds.apache.org/job/Log4j%202.x/ws/target/log4j-2.9-SNAPSHOT-site.xml> to org.apache.logging.log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
[Fast Archiver] Compressed 72.60 KB of artifacts by 88.2% relative to #3006
[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

Build failed in Jenkins: Log4j 2.x #3006

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/Log4j%202.x/3006/display/redirect?page=changes>

Changes:

[garydgregory] Better JUnit integration.

------------------------------------------
[...truncated 458 B...]
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 0029e5d081548787915e0cbd4b4e3ba1a4f22f05 (refs/remotes/origin/master)
Commit message: "Better JUnit integration."
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0029e5d081548787915e0cbd4b4e3ba1a4f22f05
 > git rev-list c9a92d9de75f73390b3afa2ca9ade3097e478281 # 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 43834
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 43834
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] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/target>
[INFO] 
[INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ log4j ---
[INFO] Required toolchain: jdk [ version='1.7' ]
[INFO] Found matching toolchain for type jdk: JDK[/home/jenkins/tools/java/latest1.7]
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ log4j ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ log4j ---
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ log4j ---
[INFO] 
[INFO] --- maven-failsafe-plugin:2.20:integration-test (default) @ log4j ---
[INFO] Toolchain in maven-failsafe-plugin: JDK[/home/jenkins/tools/java/latest1.7]
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-failsafe-plugin:2.20:verify (default) @ log4j ---
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ log4j ---
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:test-jar-no-fork (attach-sources) @ log4j ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ log4j ---
[INFO] Installing <https://builds.apache.org/job/Log4j%202.x/ws/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/logging/log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT.pom
[INFO] Installing <https://builds.apache.org/job/Log4j%202.x/ws/target/log4j-2.9-SNAPSHOT-site.xml> to /home/jenkins/jenkins-slave/maven-repositories/0/org/apache/logging/log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Log4j API Java 9 support 2.9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: https://repository.apache.org/content/repositories/releases/org/apache/maven/plugins/maven-compiler-plugin/3.6.2/maven-compiler-plugin-3.6.2.pom
[INFO] Downloaded: https://repository.apache.org/content/repositories/releases/org/apache/maven/plugins/maven-compiler-plugin/3.6.2/maven-compiler-plugin-3.6.2.pom (11 KB at 11.3 KB/sec)
[INFO] Downloading: https://repository.apache.org/content/repositories/releases/org/apache/maven/plugins/maven-compiler-plugin/3.6.2/maven-compiler-plugin-3.6.2.jar
[INFO] Downloaded: https://repository.apache.org/content/repositories/releases/org/apache/maven/plugins/maven-compiler-plugin/3.6.2/maven-compiler-plugin-3.6.2.jar (74 KB at 99.7 KB/sec)
[INFO] Downloading: https://repository.apache.org/content/repositories/releases/org/apache/maven/plugins/maven-assembly-plugin/3.1.0/maven-assembly-plugin-3.1.0.pom
[INFO] Downloaded: https://repository.apache.org/content/repositories/releases/org/apache/maven/plugins/maven-assembly-plugin/3.1.0/maven-assembly-plugin-3.1.0.pom (16 KB at 23.1 KB/sec)
[INFO] Downloading: https://repository.apache.org/content/repositories/releases/org/apache/maven/plugins/maven-assembly-plugin/3.1.0/maven-assembly-plugin-3.1.0.jar
[INFO] Downloaded: https://repository.apache.org/content/repositories/releases/org/apache/maven/plugins/maven-assembly-plugin/3.1.0/maven-assembly-plugin-3.1.0.jar (236 KB at 258.1 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ log4j-api-java9 ---
[INFO] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/target>
[INFO] 
[INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ log4j-api-java9 ---
[INFO] Required toolchain: jdk [ version='9' ]
[INFO] Found matching toolchain for type jdk: JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ log4j-api-java9 ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ log4j-api-java9 ---
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ log4j-api-java9 ---
[INFO] Downloading: https://repository.apache.org/content/repositories/releases/com/thoughtworks/qdox/qdox/2.0-M6/qdox-2.0-M6.pom
[INFO] Downloading: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0-M6/qdox-2.0-M6.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0-M6/qdox-2.0-M6.pom (16 KB at 214.4 KB/sec)
[INFO] Downloading: https://repository.apache.org/content/repositories/releases/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.pom
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.pom (867 B at 47.0 KB/sec)
[INFO] Downloading: https://repository.apache.org/content/repositories/releases/org/codehaus/plexus/plexus-compiler/2.8.2/plexus-compiler-2.8.2.pom
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler/2.8.2/plexus-compiler-2.8.2.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler/2.8.2/plexus-compiler-2.8.2.pom (5 KB at 227.0 KB/sec)
[INFO] Downloading: https://repository.apache.org/content/repositories/releases/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.pom
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.pom (692 B at 37.5 KB/sec)
[INFO] Downloading: https://repository.apache.org/content/repositories/releases/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.pom
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.pom (771 B at 39.6 KB/sec)
[INFO] Downloading: https://repository.apache.org/content/repositories/releases/org/codehaus/plexus/plexus-compilers/2.8.2/plexus-compilers-2.8.2.pom
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/2.8.2/plexus-compilers-2.8.2.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/2.8.2/plexus-compilers-2.8.2.pom (2 KB at 68.9 KB/sec)
[INFO] Downloading: https://repository.apache.org/content/repositories/releases/com/thoughtworks/qdox/qdox/2.0-M6/qdox-2.0-M6.jar
[INFO] Downloading: https://repository.apache.org/content/repositories/releases/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.jar
[INFO] Downloading: https://repository.apache.org/content/repositories/releases/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.jar
[INFO] Downloading: https://repository.apache.org/content/repositories/releases/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.jar
[INFO] Downloading: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0-M6/qdox-2.0-M6.jar
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.jar
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.jar
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.jar
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.jar (5 KB at 67.3 KB/sec)
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.jar (26 KB at 362.9 KB/sec)
[INFO] Downloaded: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0-M6/qdox-2.0-M6.jar (307 KB at 4255.3 KB/sec)
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.jar (20 KB at 272.2 KB/sec)
[INFO] Toolchain in maven-compiler-plugin: JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/target/classes>
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56] error: cannot find symbol
  symbol:   method pid()
  location: interface ProcessHandle
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Log4j 2 ..................................... SUCCESS [ 20.323 s]
[INFO] Apache Log4j API Java 9 support .................... FAILURE [  9.757 s]
[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: 52.626 s
[INFO] Finished at: 2017-08-21T15:10:37+00:00
[INFO] Final Memory: 41M/554M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile (default-compile) on project log4j-api-java9: Compilation failure
[ERROR] <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56] error: cannot find symbol
[ERROR] symbol:   method pid()
[ERROR] location: interface ProcessHandle
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :log4j-api-java9
[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
[JENKINS] Archiving <https://builds.apache.org/job/Log4j%202.x/ws/target/log4j-2.9-SNAPSHOT-site.xml> to org.apache.logging.log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
[Fast Archiver] Compressed 72.60 KB of artifacts by 88.2% relative to #3005
[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

Re: Build failed in Jenkins: Log4j 2.x #3005

Posted by Matt Sicker <bo...@gmail.com>.
Can we build inside Docker containers on Jenkins? This would make
controlling specific compiler versions a lot easier (plus we can make an
array of versions to automatically run tests on that way).

On 21 August 2017 at 00:58, Apache <ra...@dslextreme.com> wrote:

> I guess it was changed from getPid() to pid() after 156. I will have to
> see if Jenkins has a newer release.
>
> Sent from my iPad
>
> > On Aug 20, 2017, at 7:51 PM, Apache Jenkins Server <
> jenkins@builds.apache.org> wrote:
> >
> > See <https://builds.apache.org/job/Log4j%202.x/3005/display/
> redirect?page=changes>
> >
> > Changes:
> >
> > [rgoers] Add missing license header. Message should implement
> >
> > ------------------------------------------
> > Started by an SCM change
> > Started by an SCM change
> > [EnvInject] - Loading node environment variables.
> > Building remotely on ubuntu-4 (ubuntu trusty) 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 c9a92d9de75f73390b3afa2ca9ade3097e478281
> (refs/remotes/origin/master)
> > Commit message: "Add missing license header. Message should implement
> StringBuilderFormattable"
> >> git config core.sparsecheckout # timeout=10
> >> git checkout -f c9a92d9de75f73390b3afa2ca9ade3097e478281
> >> git rev-list 39114a7af34a01312bcbefadf3e905dcb6fde75b # 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 49485
> > 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 49485
> > 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/1 -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] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/target>
> > [INFO]
> > [INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ log4j ---
> > [INFO] Required toolchain: jdk [ version='1.7' ]
> > [INFO] Found matching toolchain for type jdk:
> JDK[/home/jenkins/tools/java/latest1.7]
> > [INFO]
> > [INFO] --- maven-remote-resources-plugin:1.5:process
> (process-resource-bundles) @ log4j ---
> > [INFO]
> > [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ log4j
> ---
> > [INFO]
> > [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor)
> @ log4j ---
> > [INFO]
> > [INFO] --- maven-failsafe-plugin:2.20:integration-test (default) @
> log4j ---
> > [INFO] Toolchain in maven-failsafe-plugin: JDK[/home/jenkins/tools/java/
> latest1.7]
> > [INFO] No tests to run.
> > [JENKINS] Recording test results
> > [INFO]
> > [INFO] --- maven-failsafe-plugin:2.20:verify (default) @ log4j ---
> > [JENKINS] Recording test results
> > [INFO]
> > [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @
> log4j ---
> > [INFO]
> > [INFO] --- maven-source-plugin:3.0.1:test-jar-no-fork (attach-sources)
> @ log4j ---
> > [INFO]
> > [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ log4j
> ---
> > [INFO] Installing <https://builds.apache.org/job/Log4j%202.x/ws/pom.xml>
> to /home/jenkins/jenkins-slave/maven-repositories/1/org/
> apache/logging/log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT.pom
> > [INFO] Installing <https://builds.apache.org/job/Log4j%202.x/ws/target/
> log4j-2.9-SNAPSHOT-site.xml> to /home/jenkins/jenkins-slave/
> maven-repositories/1/org/apache/logging/log4j/log4j/2.
> 9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
> > [INFO]
> > [INFO] ------------------------------------------------------------
> ------------
> > [INFO] Building Apache Log4j API Java 9 support 2.9-SNAPSHOT
> > [INFO] ------------------------------------------------------------
> ------------
> > [INFO]
> > [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @
> log4j-api-java9 ---
> > [INFO] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-
> java9/target>
> > [INFO]
> > [INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @
> log4j-api-java9 ---
> > [INFO] Required toolchain: jdk [ version='9' ]
> > [INFO] Found matching toolchain for type jdk:
> JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
> > [INFO]
> > [INFO] --- maven-remote-resources-plugin:1.5:process
> (process-resource-bundles) @ log4j-api-java9 ---
> > [INFO]
> > [INFO] --- maven-remote-resources-plugin:1.5:process (default) @
> log4j-api-java9 ---
> > [INFO]
> > [INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @
> log4j-api-java9 ---
> > [INFO] Toolchain in maven-compiler-plugin: JDK[/home/jenkins/tools/java/
> jigsaw-jdk-9-ea-b156]
> > [INFO] Changes detected - recompiling the module!
> > [INFO] Compiling 2 source files to <https://builds.apache.org/
> job/Log4j%202.x/ws/log4j-api-java9/target/classes>
> > [INFO] -------------------------------------------------------------
> > [ERROR] COMPILATION ERROR :
> > [INFO] -------------------------------------------------------------
> > [ERROR] <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-
> java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56]
> error: cannot find symbol
> >  symbol:   method pid()
> >  location: interface ProcessHandle
> > [INFO] 1 error
> > [INFO] -------------------------------------------------------------
> > [INFO] ------------------------------------------------------------
> ------------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] Apache Log4j 2 ..................................... SUCCESS [
> 20.281 s]
> > [INFO] Apache Log4j API Java 9 support .................... FAILURE [
> 3.973 s]
> > [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: 48.310 s
> > [INFO] Finished at: 2017-08-21T02:50:59+00:00
> > [INFO] Final Memory: 38M/503M
> > [INFO] ------------------------------------------------------------
> ------------
> > [ERROR] Failed to execute goal org.apache.maven.plugins:
> maven-compiler-plugin:3.6.2:compile (default-compile) on project
> log4j-api-java9: Compilation failure
> > [ERROR] <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-
> java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56]
> error: cannot find symbol
> > [ERROR] symbol:   method pid()
> > [ERROR] location: interface ProcessHandle
> > [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
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with the
> command
> > [ERROR]   mvn <goals> -rf :log4j-api-java9
> > [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
> > [JENKINS] Archiving <https://builds.apache.org/
> job/Log4j%202.x/ws/target/log4j-2.9-SNAPSHOT-site.xml> to
> org.apache.logging.log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
> > [Fast Archiver] Compressed 72.60 KB of artifacts by 88.2% relative to
> #3004
> > [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
> >
>
>
>


-- 
Matt Sicker <bo...@gmail.com>

Re: Build failed in Jenkins: Log4j 2.x #3005

Posted by Apache <ra...@dslextreme.com>.
I guess it was changed from getPid() to pid() after 156. I will have to see if Jenkins has a newer release.

Sent from my iPad

> On Aug 20, 2017, at 7:51 PM, Apache Jenkins Server <je...@builds.apache.org> wrote:
> 
> See <https://builds.apache.org/job/Log4j%202.x/3005/display/redirect?page=changes>
> 
> Changes:
> 
> [rgoers] Add missing license header. Message should implement
> 
> ------------------------------------------
> Started by an SCM change
> Started by an SCM change
> [EnvInject] - Loading node environment variables.
> Building remotely on ubuntu-4 (ubuntu trusty) 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 c9a92d9de75f73390b3afa2ca9ade3097e478281 (refs/remotes/origin/master)
> Commit message: "Add missing license header. Message should implement StringBuilderFormattable"
>> git config core.sparsecheckout # timeout=10
>> git checkout -f c9a92d9de75f73390b3afa2ca9ade3097e478281
>> git rev-list 39114a7af34a01312bcbefadf3e905dcb6fde75b # 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 49485
> 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 49485
> 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/1 -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] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/target>
> [INFO] 
> [INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ log4j ---
> [INFO] Required toolchain: jdk [ version='1.7' ]
> [INFO] Found matching toolchain for type jdk: JDK[/home/jenkins/tools/java/latest1.7]
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ log4j ---
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ log4j ---
> [INFO] 
> [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ log4j ---
> [INFO] 
> [INFO] --- maven-failsafe-plugin:2.20:integration-test (default) @ log4j ---
> [INFO] Toolchain in maven-failsafe-plugin: JDK[/home/jenkins/tools/java/latest1.7]
> [INFO] No tests to run.
> [JENKINS] Recording test results
> [INFO] 
> [INFO] --- maven-failsafe-plugin:2.20:verify (default) @ log4j ---
> [JENKINS] Recording test results
> [INFO] 
> [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ log4j ---
> [INFO] 
> [INFO] --- maven-source-plugin:3.0.1:test-jar-no-fork (attach-sources) @ log4j ---
> [INFO] 
> [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ log4j ---
> [INFO] Installing <https://builds.apache.org/job/Log4j%202.x/ws/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/logging/log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT.pom
> [INFO] Installing <https://builds.apache.org/job/Log4j%202.x/ws/target/log4j-2.9-SNAPSHOT-site.xml> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/logging/log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Log4j API Java 9 support 2.9-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ log4j-api-java9 ---
> [INFO] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/target>
> [INFO] 
> [INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ log4j-api-java9 ---
> [INFO] Required toolchain: jdk [ version='9' ]
> [INFO] Found matching toolchain for type jdk: JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ log4j-api-java9 ---
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ log4j-api-java9 ---
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ log4j-api-java9 ---
> [INFO] Toolchain in maven-compiler-plugin: JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 2 source files to <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/target/classes>
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56] error: cannot find symbol
>  symbol:   method pid()
>  location: interface ProcessHandle
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Log4j 2 ..................................... SUCCESS [ 20.281 s]
> [INFO] Apache Log4j API Java 9 support .................... FAILURE [  3.973 s]
> [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: 48.310 s
> [INFO] Finished at: 2017-08-21T02:50:59+00:00
> [INFO] Final Memory: 38M/503M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile (default-compile) on project log4j-api-java9: Compilation failure
> [ERROR] <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56] error: cannot find symbol
> [ERROR] symbol:   method pid()
> [ERROR] location: interface ProcessHandle
> [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
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :log4j-api-java9
> [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
> [JENKINS] Archiving <https://builds.apache.org/job/Log4j%202.x/ws/target/log4j-2.9-SNAPSHOT-site.xml> to org.apache.logging.log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
> [Fast Archiver] Compressed 72.60 KB of artifacts by 88.2% relative to #3004
> [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
> 



Re: Build failed in Jenkins: Log4j 2.x #3005

Posted by Remko Popma <re...@gmail.com>.
Yes, renamed in build 166 apparently.
https://bugs.openjdk.java.net/browse/JDK-8178347


On Mon, Aug 21, 2017 at 13:40 Remko Popma <re...@gmail.com> wrote:

> Jenkins may be using an old Java 9:
>
> JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
>
> Also, it seems this method was previously called `getPid`. It must have
> been renamed recently.
> http://www.javaworld.com/article/3176874/java-language/java-9s-other-new-enhancements-part-3.html
>
>
> On Mon, Aug 21, 2017 at 13:17 Ralph Goers <ra...@dslextreme.com>
> wrote:
>
>> I don’t understand why this is failing. My local machine is running build
>> 174. Was ProcessHandle.pid() really added that late?
>>
>> Ralph
>>
>> > On Aug 20, 2017, at 7:51 PM, Apache Jenkins Server <
>> jenkins@builds.apache.org> wrote:
>> >
>> > See <
>> https://builds.apache.org/job/Log4j%202.x/3005/display/redirect?page=changes
>> >
>> >
>> > Changes:
>> >
>> > [rgoers] Add missing license header. Message should implement
>> >
>> > ------------------------------------------
>> > Started by an SCM change
>> > Started by an SCM change
>> > [EnvInject] - Loading node environment variables.
>> > Building remotely on ubuntu-4 (ubuntu trusty) 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 c9a92d9de75f73390b3afa2ca9ade3097e478281
>> (refs/remotes/origin/master)
>> > Commit message: "Add missing license header. Message should implement
>> StringBuilderFormattable"
>> >> git config core.sparsecheckout # timeout=10
>> >> git checkout -f c9a92d9de75f73390b3afa2ca9ade3097e478281
>> >> git rev-list 39114a7af34a01312bcbefadf3e905dcb6fde75b # 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 49485
>> > 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 49485
>> > 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/1 -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] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/target>
>> > [INFO]
>> > [INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ log4j ---
>> > [INFO] Required toolchain: jdk [ version='1.7' ]
>> > [INFO] Found matching toolchain for type jdk:
>> JDK[/home/jenkins/tools/java/latest1.7]
>> > [INFO]
>> > [INFO] --- maven-remote-resources-plugin:1.5:process
>> (process-resource-bundles) @ log4j ---
>> > [INFO]
>> > [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ log4j
>> ---
>> > [INFO]
>> > [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor)
>> @ log4j ---
>> > [INFO]
>> > [INFO] --- maven-failsafe-plugin:2.20:integration-test (default) @
>> log4j ---
>> > [INFO] Toolchain in maven-failsafe-plugin:
>> JDK[/home/jenkins/tools/java/latest1.7]
>> > [INFO] No tests to run.
>> > [JENKINS] Recording test results
>> > [INFO]
>> > [INFO] --- maven-failsafe-plugin:2.20:verify (default) @ log4j ---
>> > [JENKINS] Recording test results
>> > [INFO]
>> > [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @
>> log4j ---
>> > [INFO]
>> > [INFO] --- maven-source-plugin:3.0.1:test-jar-no-fork (attach-sources)
>> @ log4j ---
>> > [INFO]
>> > [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ log4j
>> ---
>> > [INFO] Installing <https://builds.apache.org/job/Log4j%202.x/ws/pom.xml>
>> to
>> /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/logging/log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT.pom
>> > [INFO] Installing <
>> https://builds.apache.org/job/Log4j%202.x/ws/target/log4j-2.9-SNAPSHOT-site.xml>
>> to
>> /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/logging/log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
>> > [INFO]
>> > [INFO]
>> ------------------------------------------------------------------------
>> > [INFO] Building Apache Log4j API Java 9 support 2.9-SNAPSHOT
>> > [INFO]
>> ------------------------------------------------------------------------
>> > [INFO]
>> > [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @
>> log4j-api-java9 ---
>> > [INFO] Deleting <
>> https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/target>
>> > [INFO]
>> > [INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @
>> log4j-api-java9 ---
>> > [INFO] Required toolchain: jdk [ version='9' ]
>> > [INFO] Found matching toolchain for type jdk:
>> JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
>> > [INFO]
>> > [INFO] --- maven-remote-resources-plugin:1.5:process
>> (process-resource-bundles) @ log4j-api-java9 ---
>> > [INFO]
>> > [INFO] --- maven-remote-resources-plugin:1.5:process (default) @
>> log4j-api-java9 ---
>> > [INFO]
>> > [INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @
>> log4j-api-java9 ---
>> > [INFO] Toolchain in maven-compiler-plugin:
>> JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
>> > [INFO] Changes detected - recompiling the module!
>> > [INFO] Compiling 2 source files to <
>> https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/target/classes
>> >
>> > [INFO] -------------------------------------------------------------
>> > [ERROR] COMPILATION ERROR :
>> > [INFO] -------------------------------------------------------------
>> > [ERROR] <
>> https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56]
>> error: cannot find symbol
>> >  symbol:   method pid()
>> >  location: interface ProcessHandle
>> > [INFO] 1 error
>> > [INFO] -------------------------------------------------------------
>> > [INFO]
>> ------------------------------------------------------------------------
>> > [INFO] Reactor Summary:
>> > [INFO]
>> > [INFO] Apache Log4j 2 ..................................... SUCCESS [
>> 20.281 s]
>> > [INFO] Apache Log4j API Java 9 support .................... FAILURE [
>> 3.973 s]
>> > [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: 48.310 s
>> > [INFO] Finished at: 2017-08-21T02:50:59+00:00
>> > [INFO] Final Memory: 38M/503M
>> > [INFO]
>> ------------------------------------------------------------------------
>> > [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile
>> (default-compile) on project log4j-api-java9: Compilation failure
>> > [ERROR] <
>> https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56]
>> error: cannot find symbol
>> > [ERROR] symbol:   method pid()
>> > [ERROR] location: interface ProcessHandle
>> > [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
>> > [ERROR]
>> > [ERROR] After correcting the problems, you can resume the build with
>> the command
>> > [ERROR]   mvn <goals> -rf :log4j-api-java9
>> > [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
>> > [JENKINS] Archiving <
>> https://builds.apache.org/job/Log4j%202.x/ws/target/log4j-2.9-SNAPSHOT-site.xml>
>> to org.apache.logging.log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
>> > [Fast Archiver] Compressed 72.60 KB of artifacts by 88.2% relative to
>> #3004
>> > [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
>> >
>>
>>
>>

Re: Build failed in Jenkins: Log4j 2.x #3005

Posted by Remko Popma <re...@gmail.com>.
Jenkins may be using an old Java 9:

JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]

Also, it seems this method was previously called `getPid`. It must have
been renamed recently.
http://www.javaworld.com/article/3176874/java-language/java-9s-other-new-enhancements-part-3.html


On Mon, Aug 21, 2017 at 13:17 Ralph Goers <ra...@dslextreme.com>
wrote:

> I don’t understand why this is failing. My local machine is running build
> 174. Was ProcessHandle.pid() really added that late?
>
> Ralph
>
> > On Aug 20, 2017, at 7:51 PM, Apache Jenkins Server <
> jenkins@builds.apache.org> wrote:
> >
> > See <
> https://builds.apache.org/job/Log4j%202.x/3005/display/redirect?page=changes
> >
> >
> > Changes:
> >
> > [rgoers] Add missing license header. Message should implement
> >
> > ------------------------------------------
> > Started by an SCM change
> > Started by an SCM change
> > [EnvInject] - Loading node environment variables.
> > Building remotely on ubuntu-4 (ubuntu trusty) 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 c9a92d9de75f73390b3afa2ca9ade3097e478281
> (refs/remotes/origin/master)
> > Commit message: "Add missing license header. Message should implement
> StringBuilderFormattable"
> >> git config core.sparsecheckout # timeout=10
> >> git checkout -f c9a92d9de75f73390b3afa2ca9ade3097e478281
> >> git rev-list 39114a7af34a01312bcbefadf3e905dcb6fde75b # 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 49485
> > 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 49485
> > 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/1 -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] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/target>
> > [INFO]
> > [INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ log4j ---
> > [INFO] Required toolchain: jdk [ version='1.7' ]
> > [INFO] Found matching toolchain for type jdk:
> JDK[/home/jenkins/tools/java/latest1.7]
> > [INFO]
> > [INFO] --- maven-remote-resources-plugin:1.5:process
> (process-resource-bundles) @ log4j ---
> > [INFO]
> > [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ log4j
> ---
> > [INFO]
> > [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @
> log4j ---
> > [INFO]
> > [INFO] --- maven-failsafe-plugin:2.20:integration-test (default) @ log4j
> ---
> > [INFO] Toolchain in maven-failsafe-plugin:
> JDK[/home/jenkins/tools/java/latest1.7]
> > [INFO] No tests to run.
> > [JENKINS] Recording test results
> > [INFO]
> > [INFO] --- maven-failsafe-plugin:2.20:verify (default) @ log4j ---
> > [JENKINS] Recording test results
> > [INFO]
> > [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @
> log4j ---
> > [INFO]
> > [INFO] --- maven-source-plugin:3.0.1:test-jar-no-fork (attach-sources) @
> log4j ---
> > [INFO]
> > [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ log4j
> ---
> > [INFO] Installing <https://builds.apache.org/job/Log4j%202.x/ws/pom.xml>
> to
> /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/logging/log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT.pom
> > [INFO] Installing <
> https://builds.apache.org/job/Log4j%202.x/ws/target/log4j-2.9-SNAPSHOT-site.xml>
> to
> /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/logging/log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
> > [INFO]
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] Building Apache Log4j API Java 9 support 2.9-SNAPSHOT
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO]
> > [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @
> log4j-api-java9 ---
> > [INFO] Deleting <
> https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/target>
> > [INFO]
> > [INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @
> log4j-api-java9 ---
> > [INFO] Required toolchain: jdk [ version='9' ]
> > [INFO] Found matching toolchain for type jdk:
> JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
> > [INFO]
> > [INFO] --- maven-remote-resources-plugin:1.5:process
> (process-resource-bundles) @ log4j-api-java9 ---
> > [INFO]
> > [INFO] --- maven-remote-resources-plugin:1.5:process (default) @
> log4j-api-java9 ---
> > [INFO]
> > [INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @
> log4j-api-java9 ---
> > [INFO] Toolchain in maven-compiler-plugin:
> JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
> > [INFO] Changes detected - recompiling the module!
> > [INFO] Compiling 2 source files to <
> https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/target/classes
> >
> > [INFO] -------------------------------------------------------------
> > [ERROR] COMPILATION ERROR :
> > [INFO] -------------------------------------------------------------
> > [ERROR] <
> https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56]
> error: cannot find symbol
> >  symbol:   method pid()
> >  location: interface ProcessHandle
> > [INFO] 1 error
> > [INFO] -------------------------------------------------------------
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] Apache Log4j 2 ..................................... SUCCESS [
> 20.281 s]
> > [INFO] Apache Log4j API Java 9 support .................... FAILURE [
> 3.973 s]
> > [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: 48.310 s
> > [INFO] Finished at: 2017-08-21T02:50:59+00:00
> > [INFO] Final Memory: 38M/503M
> > [INFO]
> ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile
> (default-compile) on project log4j-api-java9: Compilation failure
> > [ERROR] <
> https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56]
> error: cannot find symbol
> > [ERROR] symbol:   method pid()
> > [ERROR] location: interface ProcessHandle
> > [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
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with the
> command
> > [ERROR]   mvn <goals> -rf :log4j-api-java9
> > [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
> > [JENKINS] Archiving <
> https://builds.apache.org/job/Log4j%202.x/ws/target/log4j-2.9-SNAPSHOT-site.xml>
> to org.apache.logging.log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
> > [Fast Archiver] Compressed 72.60 KB of artifacts by 88.2% relative to
> #3004
> > [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
> >
>
>
>

Re: Build failed in Jenkins: Log4j 2.x #3005

Posted by Ralph Goers <ra...@dslextreme.com>.
I don’t understand why this is failing. My local machine is running build 174. Was ProcessHandle.pid() really added that late?

Ralph

> On Aug 20, 2017, at 7:51 PM, Apache Jenkins Server <je...@builds.apache.org> wrote:
> 
> See <https://builds.apache.org/job/Log4j%202.x/3005/display/redirect?page=changes>
> 
> Changes:
> 
> [rgoers] Add missing license header. Message should implement
> 
> ------------------------------------------
> Started by an SCM change
> Started by an SCM change
> [EnvInject] - Loading node environment variables.
> Building remotely on ubuntu-4 (ubuntu trusty) 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 c9a92d9de75f73390b3afa2ca9ade3097e478281 (refs/remotes/origin/master)
> Commit message: "Add missing license header. Message should implement StringBuilderFormattable"
>> git config core.sparsecheckout # timeout=10
>> git checkout -f c9a92d9de75f73390b3afa2ca9ade3097e478281
>> git rev-list 39114a7af34a01312bcbefadf3e905dcb6fde75b # 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 49485
> 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 49485
> 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/1 -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] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/target>
> [INFO] 
> [INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ log4j ---
> [INFO] Required toolchain: jdk [ version='1.7' ]
> [INFO] Found matching toolchain for type jdk: JDK[/home/jenkins/tools/java/latest1.7]
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ log4j ---
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ log4j ---
> [INFO] 
> [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ log4j ---
> [INFO] 
> [INFO] --- maven-failsafe-plugin:2.20:integration-test (default) @ log4j ---
> [INFO] Toolchain in maven-failsafe-plugin: JDK[/home/jenkins/tools/java/latest1.7]
> [INFO] No tests to run.
> [JENKINS] Recording test results
> [INFO] 
> [INFO] --- maven-failsafe-plugin:2.20:verify (default) @ log4j ---
> [JENKINS] Recording test results
> [INFO] 
> [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ log4j ---
> [INFO] 
> [INFO] --- maven-source-plugin:3.0.1:test-jar-no-fork (attach-sources) @ log4j ---
> [INFO] 
> [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ log4j ---
> [INFO] Installing <https://builds.apache.org/job/Log4j%202.x/ws/pom.xml> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/logging/log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT.pom
> [INFO] Installing <https://builds.apache.org/job/Log4j%202.x/ws/target/log4j-2.9-SNAPSHOT-site.xml> to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/logging/log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Log4j API Java 9 support 2.9-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ log4j-api-java9 ---
> [INFO] Deleting <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/target>
> [INFO] 
> [INFO] --- maven-toolchains-plugin:1.1:toolchain (default) @ log4j-api-java9 ---
> [INFO] Required toolchain: jdk [ version='9' ]
> [INFO] Found matching toolchain for type jdk: JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ log4j-api-java9 ---
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ log4j-api-java9 ---
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ log4j-api-java9 ---
> [INFO] Toolchain in maven-compiler-plugin: JDK[/home/jenkins/tools/java/jigsaw-jdk-9-ea-b156]
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 2 source files to <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/target/classes>
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56] error: cannot find symbol
>  symbol:   method pid()
>  location: interface ProcessHandle
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Log4j 2 ..................................... SUCCESS [ 20.281 s]
> [INFO] Apache Log4j API Java 9 support .................... FAILURE [  3.973 s]
> [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: 48.310 s
> [INFO] Finished at: 2017-08-21T02:50:59+00:00
> [INFO] Final Memory: 38M/503M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile (default-compile) on project log4j-api-java9: Compilation failure
> [ERROR] <https://builds.apache.org/job/Log4j%202.x/ws/log4j-api-java9/src/main/java/org/apache/logging/log4j/util/ProcessIdUtil.java>:[25,56] error: cannot find symbol
> [ERROR] symbol:   method pid()
> [ERROR] location: interface ProcessHandle
> [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
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :log4j-api-java9
> [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
> [JENKINS] Archiving <https://builds.apache.org/job/Log4j%202.x/ws/target/log4j-2.9-SNAPSHOT-site.xml> to org.apache.logging.log4j/log4j/2.9-SNAPSHOT/log4j-2.9-SNAPSHOT-site.xml
> [Fast Archiver] Compressed 72.60 KB of artifacts by 88.2% relative to #3004
> [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
>