Ya, i changed the precommit, but not the trunk build because I didn't think it needed it. Changing now.
-Ivan On 15 October 2014 07:57, Sijie Guo <[email protected]> wrote: > Ivan: > > Do we need to configure Jenkins to use java 7? I don't know why the build > failed on compiling hedwig-protocol. > > - Sijie > > On Tue, Oct 14, 2014 at 10:31 PM, Apache Jenkins Server < > [email protected]> wrote: > >> See <https://builds.apache.org/job/bookkeeper-trunk/817/changes> >> >> Changes: >> >> [sijie] BOOKKEEPER-793: Move to java 7 >> >> ------------------------------------------ >> [...truncated 1477 lines...] >> [INFO] Including org.apache.zookeeper:zookeeper:jar:3.4.0 in the shaded >> jar. >> [INFO] Excluding jline:jline:jar:0.9.94 from the shaded jar. >> [INFO] Including org.apache.bookkeeper:bookkeeper-server:jar:4.0.0 in the >> shaded jar. >> [INFO] Including commons-cli:commons-cli:jar:1.2 in the shaded jar. >> [INFO] Excluding log4j:log4j:jar:1.2.15 from the shaded jar. >> [INFO] Replacing original artifact with shaded artifact. >> [INFO] Replacing < >> https://builds.apache.org/job/bookkeeper-trunk/ws/compat-deps/hedwig-server-compat-4.0.0/target/hedwig-server-compat400-4.0.0.jar> >> with < >> https://builds.apache.org/job/bookkeeper-trunk/ws/compat-deps/hedwig-server-compat-4.0.0/target/hedwig-server-compat400-4.0.0-shaded.jar >> > >> [INFO] >> [INFO] >>> findbugs-maven-plugin:2.5.2:check (default-cli) @ >> hedwig-server-compat400 >>> >> [INFO] >> [INFO] --- findbugs-maven-plugin:2.5.2:findbugs (findbugs) @ >> hedwig-server-compat400 --- >> [INFO] >> [INFO] <<< findbugs-maven-plugin:2.5.2:check (default-cli) @ >> hedwig-server-compat400 <<< >> [INFO] >> [INFO] --- findbugs-maven-plugin:2.5.2:check (default-cli) @ >> hedwig-server-compat400 --- >> [INFO] >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Building hedwig-server-compat410 4.1.0 >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] >> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ >> hedwig-server-compat410 --- >> [INFO] >> [INFO] --- apache-rat-plugin:0.7:check (default-cli) @ >> hedwig-server-compat410 --- >> [INFO] Exclude: .git/**/* >> [INFO] Exclude: **/.svn/**/* >> [INFO] Exclude: CHANGES.txt >> [INFO] Exclude: **/README >> [INFO] Exclude: **/apidocs/* >> [INFO] Exclude: test-patch/**/* >> [INFO] >> [INFO] --- maven-remote-resources-plugin:1.1:process (default) @ >> hedwig-server-compat410 --- >> [INFO] >> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ >> hedwig-server-compat410 --- >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> [INFO] skip non existing resourceDirectory < >> https://builds.apache.org/job/bookkeeper-trunk/ws/compat-deps/hedwig-server-compat-4.1.0/src/main/resources >> > >> [INFO] Copying 3 resources >> [INFO] >> [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ >> hedwig-server-compat410 --- >> [INFO] No sources to compile >> [INFO] >> [INFO] --- maven-resources-plugin:2.4.3:testResources >> (default-testResources) @ hedwig-server-compat410 --- >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> [INFO] skip non existing resourceDirectory < >> https://builds.apache.org/job/bookkeeper-trunk/ws/compat-deps/hedwig-server-compat-4.1.0/src/test/resources >> > >> [INFO] Copying 3 resources >> [INFO] >> [INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ >> hedwig-server-compat410 --- >> [INFO] No sources to compile >> [INFO] >> [INFO] --- maven-surefire-plugin:2.9:test (default-test) @ >> hedwig-server-compat410 --- >> [INFO] Surefire report directory: < >> https://builds.apache.org/job/bookkeeper-trunk/ws/compat-deps/hedwig-server-compat-4.1.0/target/surefire-reports >> > >> >> ------------------------------------------------------- >> T E S T S >> ------------------------------------------------------- >> >> ------------------------------------------------------- >> T E S T S >> ------------------------------------------------------- >> >> Results : >> >> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 >> >> [INFO] >> [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ >> hedwig-server-compat410 --- >> [INFO] Building jar: < >> https://builds.apache.org/job/bookkeeper-trunk/ws/compat-deps/hedwig-server-compat-4.1.0/target/hedwig-server-compat410-4.1.0.jar >> > >> [INFO] >> [INFO] --- maven-shade-plugin:1.5:shade (default) @ >> hedwig-server-compat410 --- >> [INFO] Including org.apache.bookkeeper:hedwig-server:jar:4.1.0 in the >> shaded jar. >> [INFO] Excluding org.slf4j:slf4j-api:jar:1.6.4 from the shaded jar. >> [INFO] Excluding org.slf4j:slf4j-log4j12:jar:1.6.4 from the shaded jar. >> [INFO] Including org.apache.bookkeeper:hedwig-client:jar:4.1.0 in the >> shaded jar. >> [INFO] Including org.apache.bookkeeper:hedwig-protocol:jar:4.1.0 in the >> shaded jar. >> [INFO] Excluding com.google.protobuf:protobuf-java:jar:2.3.0 from the >> shaded jar. >> [INFO] Including org.jboss.netty:netty:jar:3.2.4.Final in the shaded jar. >> [INFO] Including commons-configuration:commons-configuration:jar:1.6 in >> the shaded jar. >> [INFO] Including commons-collections:commons-collections:jar:3.2.1 in the >> shaded jar. >> [INFO] Including commons-lang:commons-lang:jar:2.4 in the shaded jar. >> [INFO] Including commons-logging:commons-logging:jar:1.1.1 in the shaded >> jar. >> [INFO] Including commons-digester:commons-digester:jar:1.8 in the shaded >> jar. >> [INFO] Excluding commons-beanutils:commons-beanutils:jar:1.7.0 from the >> shaded jar. >> [INFO] Excluding commons-beanutils:commons-beanutils-core:jar:1.8.0 from >> the shaded jar. >> [INFO] Including org.apache.derby:derby:jar:10.8.2.2 in the shaded jar. >> [INFO] Including org.apache.zookeeper:zookeeper:jar:3.4.3 in the shaded >> jar. >> [INFO] Including org.apache.bookkeeper:bookkeeper-server:jar:4.1.0 in the >> shaded jar. >> [INFO] Including commons-cli:commons-cli:jar:1.2 in the shaded jar. >> [INFO] Including commons-io:commons-io:jar:2.1 in the shaded jar. >> [INFO] Excluding log4j:log4j:jar:1.2.15 from the shaded jar. >> [INFO] Excluding jline:jline:jar:0.9.94 from the shaded jar. >> [INFO] Excluding junit:junit:jar:3.8.1 from the shaded jar. >> [INFO] Replacing original artifact with shaded artifact. >> [INFO] Replacing < >> https://builds.apache.org/job/bookkeeper-trunk/ws/compat-deps/hedwig-server-compat-4.1.0/target/hedwig-server-compat410-4.1.0.jar> >> with < >> https://builds.apache.org/job/bookkeeper-trunk/ws/compat-deps/hedwig-server-compat-4.1.0/target/hedwig-server-compat410-4.1.0-shaded.jar >> > >> [INFO] >> [INFO] >>> findbugs-maven-plugin:2.5.2:check (default-cli) @ >> hedwig-server-compat410 >>> >> [INFO] >> [INFO] --- findbugs-maven-plugin:2.5.2:findbugs (findbugs) @ >> hedwig-server-compat410 --- >> [INFO] >> [INFO] <<< findbugs-maven-plugin:2.5.2:check (default-cli) @ >> hedwig-server-compat410 <<< >> [INFO] >> [INFO] --- findbugs-maven-plugin:2.5.2:check (default-cli) @ >> hedwig-server-compat410 --- >> [INFO] >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Building hedwig-server-compat420 4.2.0 >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] >> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ >> hedwig-server-compat420 --- >> [INFO] >> [INFO] --- apache-rat-plugin:0.7:check (default-cli) @ >> hedwig-server-compat420 --- >> [INFO] Exclude: .git/**/* >> [INFO] Exclude: **/.svn/**/* >> [INFO] Exclude: CHANGES.txt >> [INFO] Exclude: **/README >> [INFO] Exclude: **/apidocs/* >> [INFO] Exclude: test-patch/**/* >> [INFO] >> [INFO] --- maven-remote-resources-plugin:1.1:process (default) @ >> hedwig-server-compat420 --- >> [INFO] >> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ >> hedwig-server-compat420 --- >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> [INFO] skip non existing resourceDirectory < >> https://builds.apache.org/job/bookkeeper-trunk/ws/compat-deps/hedwig-server-compat-4.2.0/src/main/resources >> > >> [INFO] Copying 3 resources >> [INFO] >> [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ >> hedwig-server-compat420 --- >> [INFO] No sources to compile >> [INFO] >> [INFO] --- maven-resources-plugin:2.4.3:testResources >> (default-testResources) @ hedwig-server-compat420 --- >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> [INFO] skip non existing resourceDirectory < >> https://builds.apache.org/job/bookkeeper-trunk/ws/compat-deps/hedwig-server-compat-4.2.0/src/test/resources >> > >> [INFO] Copying 3 resources >> [INFO] >> [INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ >> hedwig-server-compat420 --- >> [INFO] No sources to compile >> [INFO] >> [INFO] --- maven-surefire-plugin:2.9:test (default-test) @ >> hedwig-server-compat420 --- >> [INFO] Surefire report directory: < >> https://builds.apache.org/job/bookkeeper-trunk/ws/compat-deps/hedwig-server-compat-4.2.0/target/surefire-reports >> > >> >> ------------------------------------------------------- >> T E S T S >> ------------------------------------------------------- >> >> ------------------------------------------------------- >> T E S T S >> ------------------------------------------------------- >> >> Results : >> >> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 >> >> [INFO] >> [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ >> hedwig-server-compat420 --- >> [INFO] Building jar: < >> https://builds.apache.org/job/bookkeeper-trunk/ws/compat-deps/hedwig-server-compat-4.2.0/target/hedwig-server-compat420-4.2.0.jar >> > >> [INFO] >> [INFO] --- maven-shade-plugin:1.5:shade (default) @ >> hedwig-server-compat420 --- >> [INFO] Including org.apache.bookkeeper:hedwig-server:jar:4.2.0 in the >> shaded jar. >> [INFO] Excluding org.slf4j:slf4j-api:jar:1.6.4 from the shaded jar. >> [INFO] Excluding org.slf4j:slf4j-log4j12:jar:1.6.4 from the shaded jar. >> [INFO] Including org.apache.bookkeeper:hedwig-client:jar:4.2.0 in the >> shaded jar. >> [INFO] Including org.apache.bookkeeper:hedwig-protocol:jar:4.2.0 in the >> shaded jar. >> [INFO] Including org.jboss.netty:netty:jar:3.2.4.Final in the shaded jar. >> [INFO] Including commons-configuration:commons-configuration:jar:1.6 in >> the shaded jar. >> [INFO] Including commons-collections:commons-collections:jar:3.2.1 in the >> shaded jar. >> [INFO] Including commons-lang:commons-lang:jar:2.4 in the shaded jar. >> [INFO] Including commons-logging:commons-logging:jar:1.1.1 in the shaded >> jar. >> [INFO] Including commons-digester:commons-digester:jar:1.8 in the shaded >> jar. >> [INFO] Excluding commons-beanutils:commons-beanutils:jar:1.7.0 from the >> shaded jar. >> [INFO] Excluding commons-beanutils:commons-beanutils-core:jar:1.8.0 from >> the shaded jar. >> [INFO] Including org.apache.derby:derby:jar:10.8.2.2 in the shaded jar. >> [INFO] Including org.apache.zookeeper:zookeeper:jar:3.4.3 in the shaded >> jar. >> [INFO] Including org.apache.bookkeeper:bookkeeper-server:jar:4.2.0 in the >> shaded jar. >> [INFO] Excluding com.google.protobuf:protobuf-java:jar:2.4.1 from the >> shaded jar. >> [INFO] Excluding com.google.guava:guava:jar:13.0.1 from the shaded jar. >> [INFO] Including commons-cli:commons-cli:jar:1.2 in the shaded jar. >> [INFO] Including commons-codec:commons-codec:jar:1.6 in the shaded jar. >> [INFO] Including commons-io:commons-io:jar:2.1 in the shaded jar. >> [INFO] Excluding log4j:log4j:jar:1.2.15 from the shaded jar. >> [INFO] Excluding jline:jline:jar:0.9.94 from the shaded jar. >> [INFO] Excluding junit:junit:jar:3.8.1 from the shaded jar. >> [INFO] Replacing original artifact with shaded artifact. >> [INFO] Replacing < >> https://builds.apache.org/job/bookkeeper-trunk/ws/compat-deps/hedwig-server-compat-4.2.0/target/hedwig-server-compat420-4.2.0.jar> >> with < >> https://builds.apache.org/job/bookkeeper-trunk/ws/compat-deps/hedwig-server-compat-4.2.0/target/hedwig-server-compat420-4.2.0-shaded.jar >> > >> [INFO] >> [INFO] >>> findbugs-maven-plugin:2.5.2:check (default-cli) @ >> hedwig-server-compat420 >>> >> [INFO] >> [INFO] --- findbugs-maven-plugin:2.5.2:findbugs (findbugs) @ >> hedwig-server-compat420 --- >> [INFO] >> [INFO] <<< findbugs-maven-plugin:2.5.2:check (default-cli) @ >> hedwig-server-compat420 <<< >> [INFO] >> [INFO] --- findbugs-maven-plugin:2.5.2:check (default-cli) @ >> hedwig-server-compat420 --- >> [INFO] >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Building hedwig-protocol 4.4.0-SNAPSHOT >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] >> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ >> hedwig-protocol --- >> [INFO] >> [INFO] --- apache-rat-plugin:0.7:check (default-cli) @ hedwig-protocol --- >> [INFO] Exclude: **/PubSubProtocol.java >> [INFO] >> [INFO] --- maven-remote-resources-plugin:1.1:process (default) @ >> hedwig-protocol --- >> [INFO] >> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ >> hedwig-protocol --- >> [INFO] Using 'UTF-8' encoding to copy filtered resources. >> [INFO] Copying 1 resource >> [INFO] Copying 3 resources >> [INFO] >> [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ >> hedwig-protocol --- >> [INFO] Changes detected - recompiling the module! >> [INFO] Compiling 6 source files to < >> https://builds.apache.org/job/bookkeeper-trunk/ws/hedwig-protocol/target/classes >> > >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Reactor Summary: >> [INFO] >> [INFO] bookkeeper ........................................ SUCCESS [ >> 2.503 s] >> [INFO] compability dependencies .......................... SUCCESS [ >> 0.075 s] >> [INFO] bookkeeper-server-compat400 ....................... SUCCESS [ >> 4.949 s] >> [INFO] bookkeeper-server-compat410 ....................... SUCCESS [ >> 2.261 s] >> [INFO] bookkeeper-server-compat420 ....................... SUCCESS [ >> 2.678 s] >> [INFO] hedwig-server-compat400 ........................... SUCCESS [ >> 3.750 s] >> [INFO] hedwig-server-compat410 ........................... SUCCESS [ >> 3.507 s] >> [INFO] hedwig-server-compat420 ........................... SUCCESS [ >> 3.995 s] >> [INFO] hedwig-protocol ................................... FAILURE [ >> 0.133 s] >> [INFO] Stats API for bookkeeper .......................... SKIPPED >> [INFO] bookkeeper-server ................................. SKIPPED >> [INFO] hedwig-client ..................................... SKIPPED >> [INFO] hedwig-server ..................................... SKIPPED >> [INFO] hedwig-client-jms ................................. SKIPPED >> [INFO] bookkeeper-benchmark .............................. SKIPPED >> [INFO] Stats provider for twitter-stats package .......... SKIPPED >> [INFO] Stats provider for twitter-ostrich package ........ SKIPPED >> [INFO] Stats provider for codahale metrics ............... SKIPPED >> [INFO] bookkeeper-stats-providers ........................ SKIPPED >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 24.681 s >> [INFO] Finished at: 2014-10-15T05:31:18+00:00 >> [INFO] Final Memory: 36M/959M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-compiler-plugin:3.0:compile >> (default-compile) on project hedwig-protocol: Fatal error compiling: >> invalid target release: 1.7 -> [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 >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn <goals> -rf :hedwig-protocol >> Build step 'Execute shell' marked build as failure >> Recording test results >> Updating BOOKKEEPER-793 >>
