You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@directory.apache.org by pc...@apache.org on 2016/08/06 10:35:35 UTC

Build failed in Jenkins: directory-mavibot #97

See <https://analysis.apache.org/jenkins/job/directory-mavibot/97/>

------------------------------------------
[...truncated 10 lines...]
Executing Maven:  -B -f <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/pom.xml> clean install -U -DskipTests -fae
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] ApacheDS Mavibot Parent
[INFO] ApacheDS MVCC BTree implementation
[INFO] Apache Mavibot Distribution
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ApacheDS Mavibot Parent 1.0.0-M9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ mavibot-parent ---
[INFO] Deleting <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-16) @ mavibot-parent ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ mavibot-parent ---
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ mavibot-parent ---
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-source) @ mavibot-parent ---
[INFO] 
[INFO] --- tools-maven-plugin:1.4:verify-legal-files (verify-legal-files) @ mavibot-parent ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ mavibot-parent ---
[INFO] Installing <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/pom.xml> to /x1/jenkins/mvn-repo/org/apache/directory/mavibot/mavibot-parent/1.0.0-M9-SNAPSHOT/mavibot-parent-1.0.0-M9-SNAPSHOT.pom
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ApacheDS MVCC BTree implementation 1.0.0-M9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ mavibot ---
[INFO] Deleting <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/mavibot/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-16) @ mavibot ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ mavibot ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ mavibot ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/mavibot/src/main/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ mavibot ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 124 source files to <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/mavibot/target/classes>
[INFO] <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/mavibot/src/main/java/org/apache/directory/mavibot/btree/BTreeHeader.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/mavibot/src/main/java/org/apache/directory/mavibot/btree/BTreeHeader.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ mavibot ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ mavibot ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 46 source files to <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/mavibot/target/test-classes>
[INFO] <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/mavibot/src/test/java/org/apache/directory/mavibot/btree/InMemoryBTreeTest.java>: Some input files use unchecked or unsafe operations.
[INFO] <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/mavibot/src/test/java/org/apache/directory/mavibot/btree/InMemoryBTreeTest.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ mavibot ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-bundle-plugin:2.5.3:bundle (default-bundle) @ mavibot ---
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ mavibot ---
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-source) @ mavibot ---
[INFO] Building jar: <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/mavibot/target/mavibot-1.0.0-M9-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- tools-maven-plugin:1.4:verify-legal-files (verify-legal-files) @ mavibot ---
[INFO] Checking legal files in: mavibot-1.0.0-M9-SNAPSHOT.jar
[INFO] Checking legal files in: mavibot-1.0.0-M9-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ mavibot ---
[INFO] Installing <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/mavibot/target/mavibot-1.0.0-M9-SNAPSHOT.jar> to /x1/jenkins/mvn-repo/org/apache/directory/mavibot/mavibot/1.0.0-M9-SNAPSHOT/mavibot-1.0.0-M9-SNAPSHOT.jar
[INFO] Installing <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/mavibot/pom.xml> to /x1/jenkins/mvn-repo/org/apache/directory/mavibot/mavibot/1.0.0-M9-SNAPSHOT/mavibot-1.0.0-M9-SNAPSHOT.pom
[INFO] Installing <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/mavibot/target/mavibot-1.0.0-M9-SNAPSHOT-sources.jar> to /x1/jenkins/mvn-repo/org/apache/directory/mavibot/mavibot/1.0.0-M9-SNAPSHOT/mavibot-1.0.0-M9-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-bundle-plugin:2.5.3:install (default-install) @ mavibot ---
[INFO] Installing org/apache/directory/mavibot/mavibot/1.0.0-M9-SNAPSHOT/mavibot-1.0.0-M9-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Mavibot Distribution 1.0.0-M9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ distribution ---
[INFO] Deleting <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/distribution/target>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-16) @ distribution ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ distribution ---
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ distribution ---
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-source) @ distribution ---
[INFO] 
[INFO] --- tools-maven-plugin:1.4:verify-legal-files (verify-legal-files) @ distribution ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ distribution ---
[INFO] Installing <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/distribution/pom.xml> to /x1/jenkins/mvn-repo/org/apache/directory/mavibot/distribution/1.0.0-M9-SNAPSHOT/distribution-1.0.0-M9-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] ApacheDS Mavibot Parent ........................... SUCCESS [9.194s]
[INFO] ApacheDS MVCC BTree implementation ................ SUCCESS [20.443s]
[INFO] Apache Mavibot Distribution ....................... SUCCESS [0.532s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34.798s
[INFO] Finished at: Sat Aug 06 10:34:18 UTC 2016
[INFO] Final Memory: 23M/314M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/mavibot/pom.xml> to org.apache.directory.mavibot/mavibot/1.0.0-M9-SNAPSHOT/mavibot-1.0.0-M9-SNAPSHOT.pom
[JENKINS] Archiving <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/mavibot/target/mavibot-1.0.0-M9-SNAPSHOT.jar> to org.apache.directory.mavibot/mavibot/1.0.0-M9-SNAPSHOT/mavibot-1.0.0-M9-SNAPSHOT.jar
[JENKINS] Archiving <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/mavibot/target/mavibot-1.0.0-M9-SNAPSHOT-sources.jar> to org.apache.directory.mavibot/mavibot/1.0.0-M9-SNAPSHOT/mavibot-1.0.0-M9-SNAPSHOT-sources.jar
[JENKINS] Archiving <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/pom.xml> to org.apache.directory.mavibot/mavibot-parent/1.0.0-M9-SNAPSHOT/mavibot-parent-1.0.0-M9-SNAPSHOT.pom
[JENKINS] Archiving <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/distribution/pom.xml> to org.apache.directory.mavibot/distribution/1.0.0-M9-SNAPSHOT/distribution-1.0.0-M9-SNAPSHOT.pom
channel stopped
[workspace] $ /x1/jenkins/jenkins-master/jenkins-home/tools/hudson.tasks.Maven_MavenInstallation/maven-3.0.5/bin/mvn -f <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/pom.xml> -e -B org.codehaus.mojo:sonar-maven-plugin:2.6:sonar -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.url=jdbc:mysql://192.168.0.64:3306/sonar?useUnicode=true&amp;characterEncoding=utf8 ******** ******** -Dsonar.host.url=http://localhost:9090 ******** ********
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] ApacheDS Mavibot Parent
[INFO] ApacheDS MVCC BTree implementation
[INFO] Apache Mavibot Distribution
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ApacheDS Mavibot Parent 1.0.0-M9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) @ mavibot-parent ---
[INFO] SonarQube version: 5.1
INFO: Default locale: "en_US", source code encoding: "UTF-8"
INFO: Work directory: <https://analysis.apache.org/jenkins/job/directory-mavibot/ws/target/sonar>
INFO: SonarQube Server 5.1
[INFO] [10:34:28.533] Load global repositories
[INFO] [10:34:28.812] Load global repositories (done) | time=295ms
[INFO] [10:34:28.816] Server id: 20160715070601
[INFO] [10:34:28.819] User cache: /home/jenkins/.sonar/cache
[INFO] [10:34:28.832] Install plugins
[INFO] [10:34:29.464] Install JDBC driver
[INFO] [10:34:29.473] Create JDBC datasource for jdbc:mysql://192.168.0.64:3306/sonar?useUnicode=true&amp;characterEncoding=utf8
[INFO] [10:34:33.369] Initializing Hibernate
[INFO] [10:34:38.251] Load project repositories
[INFO] [10:34:38.552] Load project repositories (done) | time=301ms
[INFO] [10:34:38.552] Load project settings
[INFO] [10:34:39.406] Load technical debt model
[INFO] [10:34:39.491] Apply project exclusions
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] ApacheDS Mavibot Parent ........................... FAILURE [1:09.638s]
[INFO] ApacheDS MVCC BTree implementation ................ SKIPPED
[INFO] Apache Mavibot Distribution ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:12.833s
[INFO] Finished at: Sat Aug 06 10:35:35 UTC 2016
[INFO] Final Memory: 17M/289M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project mavibot-parent: null: MojoExecutionException: NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project mavibot-parent: null
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
	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:320)
	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:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	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.MojoExecutionException
	at org.codehaus.mojo.sonar.bootstrap.ExceptionHandling.handle(ExceptionHandling.java:41)
	at org.codehaus.mojo.sonar.bootstrap.RunnerBootstraper.execute(RunnerBootstraper.java:139)
	at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:132)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 19 more
Caused by: java.lang.NullPointerException
	at org.sonar.core.persistence.SemaphoreDao.createLock(SemaphoreDao.java:127)
	at org.sonar.core.persistence.SemaphoreDao.acquire(SemaphoreDao.java:59)
	at org.sonar.core.persistence.SemaphoresImpl.acquire(SemaphoresImpl.java:39)
	at org.sonar.batch.scan.ProjectLock.acquire(ProjectLock.java:75)
	at org.sonar.batch.scan.ProjectLock.start(ProjectLock.java:52)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
	at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
	at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
	at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
	at org.picocontainer.behaviors.Stored.start(Stored.java:110)
	at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1015)
	at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1008)
	at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:766)
	at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:91)
	at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
	at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:57)
	at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:45)
	at org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:135)
	at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
	at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
	at org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:158)
	at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:95)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67)
	at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:48)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
	at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
	at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
	at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
	at org.sonar.runner.api.Runner.execute(Runner.java:100)
	at org.codehaus.mojo.sonar.bootstrap.RunnerBootstraper.execute(RunnerBootstraper.java:135)
	... 22 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/MojoExecutionException
Sonar analysis completed: FAILURE
Build step 'Sonar' changed build result to FAILURE
Build step 'Sonar' marked build as failure

Jenkins build is back to normal : directory-mavibot #98

Posted by pc...@apache.org.
See <https://analysis.apache.org/jenkins/job/directory-mavibot/98/>