Oh no, the Java 9 support has changed somehow. On 16 July 2017 at 11:57, Apache Jenkins Server <[email protected]> wrote:
> See <https://builds.apache.org/job/Log4j%202.x/2902/display/ > redirect?page=changes> > > Changes: > > [matthias.kappeller] Support capped collection for MongoDB Log-Provider > > [matthias.kappeller] LOG4J2-1864: Introduce builder to MongoDbProvider to > preserve backwards > > [Matt Sicker] [LOG4J2-1864] Update manual regarding capped collection > support > > [Matt Sicker] [LOG4J2-1864] Add changelog entry > > ------------------------------------------ > 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 662d8387cc553287b54dcf11f999239cba65c4bc > (refs/remotes/origin/master) > Commit message: "[LOG4J2-1864] Add changelog entry" > > git config core.sparsecheckout # timeout=10 > > git checkout -f 662d8387cc553287b54dcf11f999239cba65c4bc > > git rev-list 698bf360f3880eefdf58989ef63911b955602f2d # 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 33910 > 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.7/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 33910 > <===[JENKINS REMOTING CAPACITY]===> channel started > ERROR: ============================================================ > ==================== > ERROR: Invalid project setup: jenkins/security/MasterToSlaveCallable : > Unsupported major.minor version 52.0 > ERROR: [JENKINS-18403][JENKINS-28294] JDK 'JDK 1.7 (latest)' not supported > to run Maven projects. > ERROR: Maven projects have to be launched with a Java version greater or > equal to the minimum version required by the master. > ERROR: Use the Maven JDK Toolchains (plugin) to build your maven project > with an older JDK. > ERROR: Retrying with slave Java and setting compile/test properties to > point to /home/jenkins/tools/java/latest1.7. > ERROR: ============================================================ > ==================== > Established TCP socket on 59027 > 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] $ /usr/local/asfpackages/java/jdk1.8.0_131/jre/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 59027 > 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 > 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 Scala 2.11 wrapper for Log4j API > [INFO] Apache Log4j Samples: Scala API > [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] Apache Log4j Scala 2.10 wrapper for Log4j API > [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-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] 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.1:compile (default-compile) @ > log4j-api-java9 --- > [INFO] Toolchain in maven-compiler-plugin: JDK[/home/jenkins/tools/java/ > jigsaw-jdk-9-ea-b156] > [WARNING] Toolchains are ignored, 'executable' parameter is set to > /home/jenkins/tools/java/latest1.7/bin/javac > [INFO] Changes detected - recompiling the module! > [INFO] Compiling 1 source file to <https://builds.apache.org/ > job/Log4j%202.x/ws/log4j-api-java9/target/classes> > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] javac: invalid flag: --release > Usage: javac <options> <source files> > use -help for a list of possible options > > [INFO] 1 error > [INFO] ------------------------------------------------------------- > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache Log4j 2 ..................................... SUCCESS > [01:03 min] > [INFO] Apache Log4j API Java 9 support .................... FAILURE [ > 2.975 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 Scala 2.11 wrapper for Log4j API ...... SKIPPED > [INFO] Apache Log4j Samples: Scala API .................... 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] Apache Log4j Scala 2.10 wrapper for Log4j API ...... SKIPPED > [INFO] ------------------------------------------------------------ > ------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Total time: 01:32 min > [INFO] Finished at: 2017-07-16T16:57:32+00:00 > [INFO] Final Memory: 41M/527M > [INFO] ------------------------------------------------------------ > ------------ > [ERROR] Failed to execute goal org.apache.maven.plugins: > maven-compiler-plugin:3.6.1:compile (default-compile) on project > log4j-api-java9: Compilation failure > [ERROR] javac: invalid flag: --release > [ERROR] Usage: javac <options> <source files> > [ERROR] use -help for a list of possible options > [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- > samples/scala-api/pom.xml> to org.apache.logging.log4j. > samples/log4j-samples-scala-api/2.9-SNAPSHOT/log4j-samples-scala-api-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-api-scala_2.10/pom.xml> to > org.apache.logging.log4j/log4j-api-scala_2.10/2.9- > SNAPSHOT/log4j-api-scala_2.10-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-api-scala_2.11/pom.xml> to > org.apache.logging.log4j/log4j-api-scala_2.11/2.9- > SNAPSHOT/log4j-api-scala_2.11-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 71.84 KB of artifacts by 89.1% relative to #2901 > [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 <[email protected]>
