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 <ralph.go...@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 < > jenk...@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 <boa...@gmail.com>