Done. Generally that means that we always to compile with and without security to check a change? And also run all tests in both modes?
----- Original Message ----- From: lars hofhansl <lhofha...@yahoo.com> To: "dev@hbase.apache.org" <dev@hbase.apache.org> Cc: Sent: Thursday, December 1, 2011 9:31 PM Subject: Re: Build failed in Jenkins: HBase-TRUNK-security #18 Definitely did a clean compile before commit. Checking now... Hmm... This only fails when I build with -Psecurity Will check in an addendum momentarily. -- Lars ----- Original Message ----- From: Stack <st...@duboce.net> To: dev@hbase.apache.org Cc: Sent: Thursday, December 1, 2011 9:16 PM Subject: Re: Build failed in Jenkins: HBase-TRUNK-security #18 On Thu, Dec 1, 2011 at 9:05 PM, Apache Jenkins Server <jenk...@builds.apache.org> wrote: > See <https://builds.apache.org/job/HBase-TRUNK-security/18/changes> > > Changes: > > [dmeil] hbase-4928. overhauled FAQ in book. > > [stack] HBASE-4918 HTablePool Constructor may cause unintended behavior > > [larsh] HBASE-4903 Return a result from RegionObserver.preIncrement (Daniel > Gómez Ferro) > Lars, did you forget to change the below: > [ERROR] > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/security/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java>:[787,2] > method does not override or implement a method from a supertype St.Ack > ------------------------------------------ > [...truncated 1360 lines...] > U . > At revision 1209359 > [locks-and-latches] Checking to see if we really have the locks > [locks-and-latches] Have all the locks, build can start > [HBase-TRUNK-security] $ /bin/bash -xe /tmp/hudson7682337654775029723.sh > + uname -a > Linux janus 2.6.32-33-server #70-Ubuntu SMP Thu Jul 7 22:28:30 UTC 2011 > x86_64 GNU/Linux > [HBase-TRUNK-security] $ /bin/bash -xe /tmp/hudson3949458907609163442.sh > + ulimit -a > core file size (blocks, -c) 0 > data seg size (kbytes, -d) unlimited > scheduling priority (-e) 0 > file size (blocks, -f) unlimited > pending signals (-i) 128588 > max locked memory (kbytes, -l) 64 > max memory size (kbytes, -m) unlimited > open files (-n) 40000 > pipe size (512 bytes, -p) 8 > POSIX message queues (bytes, -q) 819200 > real-time priority (-r) 0 > stack size (kbytes, -s) 10240 > cpu time (seconds, -t) unlimited > max user processes (-u) 128588 > virtual memory (kbytes, -v) unlimited > file locks (-x) unlimited > [trunk] $ /home/hudson/tools/maven/latest3/bin/mvn -e clean > -Dmaven.test.redirectTestOutputToFile=true -P security site assembly:assembly > [INFO] Error stacktraces are turned on. > [INFO] Scanning for projects... > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building HBase 0.93-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > Downloading: > http://people.apache.org/~garyh/mvn/org/apache/hadoop/hadoop-core/0.20.205.1-7070-SNAPSHOT/maven-metadata.xml > Downloading: > http://repository.apache.org/snapshots/org/apache/hadoop/hadoop-core/0.20.205.1-7070-SNAPSHOT/maven-metadata.xml > Downloading: > https://repository.apache.org/content/repositories/releases/org/apache/hadoop/hadoop-core/0.20.205.1-7070-SNAPSHOT/maven-metadata.xml > 374 B > > Downloaded: > http://people.apache.org/~garyh/mvn/org/apache/hadoop/hadoop-core/0.20.205.1-7070-SNAPSHOT/maven-metadata.xml > (374 B at 2.5 KB/sec) > > > Downloading: > https://repository.apache.org/content/repositories/releases/org/apache/hadoop/hadoop-test/0.20.205.1-7070-SNAPSHOT/maven-metadata.xml > Downloading: > http://repository.apache.org/snapshots/org/apache/hadoop/hadoop-test/0.20.205.1-7070-SNAPSHOT/maven-metadata.xml > Downloading: > http://people.apache.org/~garyh/mvn/org/apache/hadoop/hadoop-test/0.20.205.1-7070-SNAPSHOT/maven-metadata.xml > 374 B > > Downloaded: > http://people.apache.org/~garyh/mvn/org/apache/hadoop/hadoop-test/0.20.205.1-7070-SNAPSHOT/maven-metadata.xml > (374 B at 5.5 KB/sec) > > > [INFO] > [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ hbase --- > [INFO] > [INFO] --- xml-maven-plugin:1.0-beta-3:transform (default) @ hbase --- > [INFO] Transforming file: > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/src/main/resources/hbase-default.xml> > [INFO] Transformed 1 file(s). > [INFO] > [INFO] --- docbkx-maven-plugin:2.0.11:generate-html (multipage) @ hbase --- > [INFO] Processing input file: developer.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/site/book/developer.html> > has been generated. > [INFO] Processing input file: preface.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/site/book/preface.html> > has been generated. > [INFO] Processing input file: ops_mgt.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/site/book/ops_mgt.html> > has been generated. > [INFO] Processing input file: performance.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/site/book/performance.html> > has been generated. > [INFO] Processing input file: upgrading.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/site/book/upgrading.html> > has been generated. > [INFO] Processing input file: external_apis.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/site/book/external_apis.html> > has been generated. > [INFO] Processing input file: configuration.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/site/book/configuration.html> > has been generated. > [INFO] Processing input file: getting_started.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/site/book/getting_started.html> > has been generated. > [INFO] Processing input file: shell.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/site/book/shell.html> > has been generated. > [INFO] Processing input file: book.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/site/book/book.html> > has been generated. > [INFO] Processing input file: troubleshooting.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/site/book/troubleshooting.html> > has been generated. > [INFO] > [INFO] --- docbkx-maven-plugin:2.0.11:generate-html (onepage) @ hbase --- > [INFO] Processing input file: developer.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/18/artifact/trunk/target/site/developer.html> > has been generated. > [INFO] Processing input file: preface.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/18/artifact/trunk/target/site/preface.html> > has been generated. > [INFO] Processing input file: ops_mgt.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/18/artifact/trunk/target/site/ops_mgt.html> > has been generated. > [INFO] Processing input file: performance.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/18/artifact/trunk/target/site/performance.html> > has been generated. > [INFO] Processing input file: upgrading.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/18/artifact/trunk/target/site/upgrading.html> > has been generated. > [INFO] Processing input file: external_apis.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/18/artifact/trunk/target/site/external_apis.html> > has been generated. > [INFO] Processing input file: configuration.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/18/artifact/trunk/target/site/configuration.html> > has been generated. > [INFO] Processing input file: getting_started.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/18/artifact/trunk/target/site/getting_started.html> > has been generated. > [INFO] Processing input file: shell.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/18/artifact/trunk/target/site/shell.html> > has been generated. > [INFO] Processing input file: book.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/18/artifact/trunk/target/site/book.html> > has been generated. > [INFO] Processing input file: troubleshooting.xml > [INFO] > <https://builds.apache.org/job/HBase-TRUNK-security/18/artifact/trunk/target/site/troubleshooting.html> > has been generated. > [INFO] > [INFO] --- maven-site-plugin:2.0.1:site (default-site) @ hbase --- > [INFO] Parent project loaded from repository. > [INFO] Parent project loaded from repository. > Downloading: > http://people.apache.org/~rawson/repo/org/apache/maven/skins/maven-stylus-skin/maven-metadata.xml > Downloading: > https://repository.apache.org/content/repositories/releases/org/apache/maven/skins/maven-stylus-skin/maven-metadata.xml > Downloading: > http://repository.codehaus.org/org/apache/maven/skins/maven-stylus-skin/maven-metadata.xml > Downloading: > http://download.java.net/maven/2/org/apache/maven/skins/maven-stylus-skin/maven-metadata.xml > > Downloading: > http://repository.jboss.org/nexus/content/groups/public-jboss/org/apache/maven/skins/maven-stylus-skin/maven-metadata.xml > 458 B > > Downloaded: > https://repository.apache.org/content/repositories/releases/org/apache/maven/skins/maven-stylus-skin/maven-metadata.xml > (458 B at 3.1 KB/sec) > Downloading: > http://people.apache.org/~garyh/mvn/org/apache/maven/skins/maven-stylus-skin/maven-metadata.xml > > Downloading: > http://repo1.maven.org/maven2/org/apache/maven/skins/maven-stylus-skin/maven-metadata.xml > > > 458 B > > Downloaded: > http://repo1.maven.org/maven2/org/apache/maven/skins/maven-stylus-skin/maven-metadata.xml > (458 B at 1.0 KB/sec) > > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building HBase 0.93-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] >>> maven-assembly-plugin:2.2-beta-5:assembly (default-cli) @ hbase >>> > [INFO] > [INFO] --- maven-antrun-plugin:1.6:run (arc-setup) @ hbase --- > [WARNING] Parameter tasks is deprecated, use target instead > [INFO] Executing tasks > > main: > [INFO] Executed tasks > [INFO] > [INFO] --- avro-maven-plugin:1.5.3:schema (generate-avro-sources) @ hbase --- > [INFO] > [INFO] --- avro-maven-plugin:1.5.3:protocol (generate-avro-sources) @ hbase > --- > [INFO] > [INFO] --- maven-antrun-plugin:1.6:run (generate) @ hbase --- > [INFO] Executing tasks > > main: > [mkdir] Created dir: > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/hbase-webapps> > [copy] Copying 5 files to > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/hbase-webapps> > 11/12/02 05:05:32 INFO mortbay.log: Logging to > org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via > org.mortbay.log.Slf4jLog > [mkdir] Created dir: > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/hbase-webapps/master/WEB-INF> > [mkdir] Created dir: > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/hbase-webapps/regionserver/WEB-INF> > [INFO] Executed tasks > [INFO] > [INFO] --- build-helper-maven-plugin:1.5:add-source > (jspcSource-packageInfo-Avro-source) @ hbase --- > [INFO] Source directory: > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/generated-jamon> > added. > [INFO] Source directory: > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/generated-sources/java> > added. > [INFO] > [INFO] --- build-helper-maven-plugin:1.5:add-source (add-source) @ hbase --- > [INFO] Source directory: > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/security/src/main/java> > added. > [INFO] > [INFO] --- jamon-maven-plugin:2.3.4:translate (default) @ hbase --- > [INFO] Translating 4 templates from > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/src/main/jamon> > to > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/generated-jamon> > [INFO] > [INFO] --- maven-remote-resources-plugin:1.1:process (default) @ hbase --- > [INFO] Setting property: classpath.resource.loader.class => > 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. > [INFO] Setting property: velocimacro.messages.on => 'false'. > [INFO] Setting property: resource.loader => 'classpath'. > [INFO] Setting property: resource.manager.logwhenfound => 'false'. > [INFO] > [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ hbase > --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 1 resource > [INFO] Copying 7 resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-antrun-plugin:1.6:run (default) @ hbase --- > [INFO] Executing tasks > > main: > [mkdir] Created dir: > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/nativelib> > [exec] tar: hadoop-snappy-nativelibs.tar: Cannot open: No such file or > directory > [exec] tar: Error is not recoverable: exiting now > [exec] Result: 2 > [INFO] Executed tasks > [INFO] > [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ hbase --- > [INFO] Compiling 665 source files to > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/target/classes> > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 45.744s > [INFO] Finished at: Fri Dec 02 05:05:45 UTC 2011 > [INFO] Final Memory: 49M/1071M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile > (default-compile) on project hbase: Compilation failure: Compilation failure: > [ERROR] > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/src/main/java/org/apache/hadoop/hbase/util/Bytes.java>:[44,15] > sun.misc.Unsafe is Sun proprietary API and may be removed in a future release > [ERROR] > [ERROR] > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/src/main/java/org/apache/hadoop/hbase/util/Bytes.java>:[1035,19] > sun.misc.Unsafe is Sun proprietary API and may be removed in a future release > [ERROR] > [ERROR] > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/src/main/java/org/apache/hadoop/hbase/util/Bytes.java>:[1041,21] > sun.misc.Unsafe is Sun proprietary API and may be removed in a future release > [ERROR] > [ERROR] > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/src/main/java/org/apache/hadoop/hbase/util/Bytes.java>:[1046,28] > sun.misc.Unsafe is Sun proprietary API and may be removed in a future release > [ERROR] > [ERROR] > <https://builds.apache.org/job/HBase-TRUNK-security/ws/trunk/security/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java>:[787,2] > method does not override or implement a method from a supertype > [ERROR] -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile > (default-compile) on project hbase: Compilation failure > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > at > org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:365) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) > Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation > failure > at > org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) > at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114) > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) > ... 23 more > [ERROR] > [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 > Build step 'Invoke top-level Maven targets' marked build as failure > [locks-and-latches] Releasing all the locks > [locks-and-latches] All the locks released > Archiving artifacts > Recording test results > Updating HBASE-4903 > Updating HBASE-4918 > Updating HBASE-4928 >