directory-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pct...@apache.org
Subject Build failed in Jenkins: directory-fortress-enmasse #317
Date Wed, 31 Aug 2016 07:51:38 GMT
See <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/317/>

------------------------------------------
Started by timer
Building in workspace <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/>
Checkout:workspace / <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/>
- hudson.remoting.LocalChannel@7dc2d985
Using strategy: Default
Last Built Revision: Revision bad5daf3d1748487860054172fe89c2139fb129d (origin/master, origin/HEAD)
Fetching changes from 1 remote Git repository
Fetching upstream changes from origin
Seen branch in repository origin/1.0-RC41
Seen branch in repository origin/HEAD
Seen branch in repository origin/master
Seen 3 remote branches
Commencing build of Revision bad5daf3d1748487860054172fe89c2139fb129d (origin/master, origin/HEAD)
Checking out Revision bad5daf3d1748487860054172fe89c2139fb129d (origin/master, origin/HEAD)
Warning : There are multiple branch changesets here
Parsing POMs
[workspace] $ /x1/jenkins/jenkins-master/jenkins-home/tools/hudson.model.JDK/jdk1.7.0_65/bin/java
-Xms256m -Xmx512m -XX:+UseCompressedOops -XX:MaxPermSize=256m -cp /x1/jenkins/jenkins-master/jenkins-home/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.6.jar:/x1/jenkins/jenkins-master/jenkins-home/tools/hudson.tasks.Maven_MavenInstallation/maven-3.0.5/boot/plexus-classworlds-2.4.jar
org.jvnet.hudson.maven3.agent.Maven3Main /x1/jenkins/jenkins-master/jenkins-home/tools/hudson.tasks.Maven_MavenInstallation/maven-3.0.5
/x1/jenkins/jenkins-master/catalina-base/webapps/jenkins/WEB-INF/lib/remoting-2.36.jar /x1/jenkins/jenkins-master/jenkins-home/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.6.jar
/x1/jenkins/jenkins-master/jenkins-home/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.6.jar
55425
<===[JENKINS REMOTING CAPACITY]===>   channel started
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
Executing Maven:  -B -f <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/pom.xml>
clean install -U -DskipTests -fae
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.directory.fortress:fortress-rest:war:1.0.2-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:tomcat-maven-plugin is missing.
@ line 280, column 15
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin
is missing. @ line 405, column 15
[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] ------------------------------------------------------------------------
[INFO] Building Apache Fortress Rest 1.0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/tomcat-maven-plugin/maven-metadata.xml
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/tomcat-maven-plugin/maven-metadata.xml
(439 B at 1.5 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ fortress-rest ---
[INFO] Deleting <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/target>
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ fortress-rest ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ fortress-rest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ fortress-rest ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ fortress-rest
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 16 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ fortress-rest ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ fortress-rest ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (default) @ fortress-rest ---
[INFO] Executing tasks

fortress-load:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-war-plugin:2.4:war (default-war) @ fortress-rest ---
[INFO] Packaging webapp
[INFO] Assembling webapp [fortress-rest] in [<https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/target/fortress-rest-1.0.2-SNAPSHOT]>
[INFO] Processing war project
[INFO] Copying webapp webResources [<https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/src/main/resources]>
to [<https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/target/fortress-rest-1.0.2-SNAPSHOT]>
[INFO] Copying webapp resources [<https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/src/main/webapp]>
[INFO] Webapp assembled in [338 msecs]
[INFO] Building war: <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/target/fortress-rest.war>
[INFO] Packaging classes
[INFO] Building jar: <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/target/fortress-rest-classes.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ fortress-rest ---
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ fortress-rest ---
[INFO] Building jar: <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/target/fortress-rest-1.0.2-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- tools-maven-plugin:1.4:verify-legal-files (verify-legal-files) @ fortress-rest
---
[INFO] Checking legal files in: fortress-rest.war
[INFO] Checking legal files in: fortress-rest-classes.jar
[INFO] Checking legal files in: fortress-rest-1.0.2-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ fortress-rest ---
[INFO] Installing <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/target/fortress-rest.war>
to /x1/jenkins/mvn-repo/org/apache/directory/fortress/fortress-rest/1.0.2-SNAPSHOT/fortress-rest-1.0.2-SNAPSHOT.war
[INFO] Installing <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/pom.xml>
to /x1/jenkins/mvn-repo/org/apache/directory/fortress/fortress-rest/1.0.2-SNAPSHOT/fortress-rest-1.0.2-SNAPSHOT.pom
[INFO] Installing <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/target/fortress-rest-classes.jar>
to /x1/jenkins/mvn-repo/org/apache/directory/fortress/fortress-rest/1.0.2-SNAPSHOT/fortress-rest-1.0.2-SNAPSHOT-classes.jar
[INFO] Installing <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/target/fortress-rest-1.0.2-SNAPSHOT-sources.jar>
to /x1/jenkins/mvn-repo/org/apache/directory/fortress/fortress-rest/1.0.2-SNAPSHOT/fortress-rest-1.0.2-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31.426s
[INFO] Finished at: Wed Aug 31 07:50:19 UTC 2016
[INFO] Final Memory: 31M/311M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/pom.xml>
to org.apache.directory.fortress/fortress-rest/1.0.2-SNAPSHOT/fortress-rest-1.0.2-SNAPSHOT.pom
[JENKINS] Archiving <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/target/fortress-rest.war>
to org.apache.directory.fortress/fortress-rest/1.0.2-SNAPSHOT/fortress-rest-1.0.2-SNAPSHOT.war
[JENKINS] Archiving <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/target/fortress-rest-classes.jar>
to org.apache.directory.fortress/fortress-rest/1.0.2-SNAPSHOT/fortress-rest-1.0.2-SNAPSHOT-classes.jar
[JENKINS] Archiving <https://analysis.apache.org/jenkins/job/directory-fortress-enmasse/ws/target/fortress-rest-1.0.2-SNAPSHOT-sources.jar>
to org.apache.directory.fortress/fortress-rest/1.0.2-SNAPSHOT/fortress-rest-1.0.2-SNAPSHOT-sources.jar
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-fortress-enmasse/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...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.directory.fortress:fortress-rest:war:1.0.2-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:tomcat-maven-plugin is missing.
@ line 280, column 15
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin
is missing. @ line 405, column 15
[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] ------------------------------------------------------------------------
[INFO] Building Apache Fortress Rest 1.0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) @ fortress-rest ---
[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-fortress-enmasse/ws/target/sonar>
INFO: SonarQube Server 5.1
[INFO] [07:50:33.022] Load global repositories
[INFO] [07:50:33.432] Load global repositories (done) | time=412ms
[INFO] [07:50:33.445] Server id: 20160830065906
[INFO] [07:50:33.458] User cache: /home/jenkins/.sonar/cache
[INFO] [07:50:33.488] Install plugins
[INFO] [07:50:34.148] Install JDBC driver
[INFO] [07:50:34.181] Create JDBC datasource for jdbc:mysql://192.168.0.64:3306/sonar?useUnicode=true&amp;characterEncoding=utf8
[INFO] [07:50:38.268] Initializing Hibernate
[INFO] [07:50:44.651] Load project repositories
[INFO] [07:50:45.114] Load project repositories (done) | time=463ms
[INFO] [07:50:45.122] Load project settings
[INFO] [07:50:45.935] Load technical debt model
[INFO] [07:50:45.976] Apply project exclusions
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:14.470s
[INFO] Finished at: Wed Aug 31 07:51:38 UTC 2016
[INFO] Final Memory: 22M/298M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli)
on project fortress-rest: 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 fortress-rest: 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

Mime
View raw message