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-core #56
Date Mon, 27 Jun 2016 01:08:54 GMT
See <https://analysis.apache.org/jenkins/job/directory-fortress-core/56/>

------------------------------------------
[...truncated 26 lines...]
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ fortress-core ---
[INFO] Deleting <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/target>
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ fortress-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ fortress-core ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ fortress-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ fortress-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 222 source files to <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/target/classes>
[INFO] <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/src/main/java/org/apache/directory/fortress/core/model/Hier.java>:
<https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/src/main/java/org/apache/directory/fortress/core/model/Hier.java>
uses or overrides a deprecated API.
[INFO] <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/src/main/java/org/apache/directory/fortress/core/model/Hier.java>:
Recompile with -Xlint:deprecation for details.
[INFO] <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/src/main/java/org/apache/directory/fortress/core/model/FortResponse.java>:
Some input files use unchecked or unsafe operations.
[INFO] <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/src/main/java/org/apache/directory/fortress/core/model/FortResponse.java>:
Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ fortress-core
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ fortress-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 69 source files to <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/target/test-classes>
[INFO] <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/src/test/java/org/apache/directory/fortress/core/impl/FortressAntLoadTest.java>:
Some input files use unchecked or unsafe operations.
[INFO] <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/src/test/java/org/apache/directory/fortress/core/impl/FortressAntLoadTest.java>:
Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ fortress-core ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (default) @ fortress-core ---
[INFO] Executing tasks

fortress-load:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (initialize-fortress-config) @ fortress-core ---
[WARNING] Parameter tasks is deprecated, use target instead
[INFO] Executing tasks

main:

init:

init-fortress-config:
     [echo] Determine configuration requirements

init:

init-fortress-config-local:
     [echo] ###############  Modify fortress configuration per user settings  ###############
   [delete] Deleting: <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/config/bootstrap/fortress.properties>
   [delete] Deleting: <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/config/fortress.properties>
     [copy] Copying 1 file to <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/config/bootstrap>
     [copy] Copying 1 file to <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/config>
     [echo] ###############  Modify fortress load scripts per user settings  ###############
   [delete] Deleting: <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/ldap/setup/refreshLDAPData.xml>
     [copy] Copying 1 file to <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/ldap/setup>
     [echo] ###############  Copy ehcache config to bootstrap config folder  ###############
   [delete] Deleting: <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/config/bootstrap/ehcache.xml>
     [copy] Copying 1 file to <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/config/bootstrap>
     [echo] Target init-fortress-config-local complete.

init:

init-fortress-config-remote:
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ fortress-core ---
[INFO] Building jar: <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/target/fortress-core-1.0.1-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ fortress-core ---
[INFO] 
[INFO] --- maven-jar-plugin:2.6:test-jar (default) @ fortress-core ---
[INFO] Building jar: <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/target/fortress-core-1.0.1-SNAPSHOT-tests.jar>
[INFO] 
[INFO] --- tools-maven-plugin:1.4:verify-legal-files (verify-legal-files) @ fortress-core
---
[INFO] Checking legal files in: fortress-core-1.0.1-SNAPSHOT.jar
[INFO] Checking legal files in: fortress-core-1.0.1-SNAPSHOT-tests.jar
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-sources) @ fortress-core ---
[INFO] Building jar: <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/target/fortress-core-1.0.1-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ fortress-core ---
[INFO] Installing <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/target/fortress-core-1.0.1-SNAPSHOT.jar>
to /x1/jenkins/mvn-repo/org/apache/directory/fortress/fortress-core/1.0.1-SNAPSHOT/fortress-core-1.0.1-SNAPSHOT.jar
[INFO] Installing <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/pom.xml>
to /x1/jenkins/mvn-repo/org/apache/directory/fortress/fortress-core/1.0.1-SNAPSHOT/fortress-core-1.0.1-SNAPSHOT.pom
[INFO] Installing <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/target/fortress-core-1.0.1-SNAPSHOT-tests.jar>
to /x1/jenkins/mvn-repo/org/apache/directory/fortress/fortress-core/1.0.1-SNAPSHOT/fortress-core-1.0.1-SNAPSHOT-tests.jar
[INFO] Installing <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/target/fortress-core-1.0.1-SNAPSHOT-sources.jar>
to /x1/jenkins/mvn-repo/org/apache/directory/fortress/fortress-core/1.0.1-SNAPSHOT/fortress-core-1.0.1-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38.504s
[INFO] Finished at: Mon Jun 27 01:08:30 UTC 2016
[INFO] Final Memory: 40M/300M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/pom.xml>
to org.apache.directory.fortress/fortress-core/1.0.1-SNAPSHOT/fortress-core-1.0.1-SNAPSHOT.pom
[JENKINS] Archiving <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/target/fortress-core-1.0.1-SNAPSHOT.jar>
to org.apache.directory.fortress/fortress-core/1.0.1-SNAPSHOT/fortress-core-1.0.1-SNAPSHOT.jar
[JENKINS] Archiving <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/target/fortress-core-1.0.1-SNAPSHOT-tests.jar>
to org.apache.directory.fortress/fortress-core/1.0.1-SNAPSHOT/fortress-core-1.0.1-SNAPSHOT-tests.jar
[JENKINS] Archiving <https://analysis.apache.org/jenkins/job/directory-fortress-core/ws/target/fortress-core-1.0.1-SNAPSHOT-sources.jar>
to org.apache.directory.fortress/fortress-core/1.0.1-SNAPSHOT/fortress-core-1.0.1-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-core/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] ------------------------------------------------------------------------
[INFO] Building Apache Fortress Core 1.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) @ fortress-core ---
[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-core/ws/target/sonar>
INFO: SonarQube Server 5.1
[INFO] [01:08:46.644] Load global repositories
[INFO] [01:08:46.891] Load global repositories (done) | time=250ms
[INFO] [01:08:46.895] Server id: 20160616020904
[INFO] [01:08:46.898] User cache: /home/jenkins/.sonar/cache
[INFO] [01:08:46.909] Install plugins
[INFO] [01:08:47.323] Install JDBC driver
[INFO] [01:08:47.332] Create JDBC datasource for jdbc:mysql://192.168.0.64:3306/sonar?useUnicode=true&amp;characterEncoding=utf8
[INFO] [01:08:49.684] Initializing Hibernate
[INFO] [01:08:52.516] Load project repositories
[INFO] [01:08:52.826] Load project repositories (done) | time=310ms
[INFO] [01:08:52.827] Load project settings
[INFO] [01:08:53.378] Load technical debt model
[INFO] [01:08:53.417] Apply project exclusions
[WARN] [01:08:53.750] SQL Error: 1030, SQLState: HY000
[ERROR] [01:08:53.750] Got error 28 from storage engine
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.149s
[INFO] Finished at: Mon Jun 27 01:08:53 UTC 2016
[INFO] Final Memory: 61M/249M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli)
on project fortress-core: could not execute query: Got error 28 from storage engine ->
[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-core: could not execute query
	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: could not execute query
	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: org.hibernate.exception.GenericJDBCException: could not execute query
	at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.loader.Loader.doList(Loader.java:2235)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2129)
	at org.hibernate.loader.Loader.list(Loader.java:2124)
	at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:401)
	at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)
	at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1149)
	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
	at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:67)
	at org.sonar.batch.repository.ProjectScmRepositoryLoader.query(ProjectScmRepositoryLoader.java:124)
	at org.sonar.batch.repository.ProjectScmRepositoryLoader.complete(ProjectScmRepositoryLoader.java:74)
	at org.sonar.batch.scan.ProjectReactorReady.start(ProjectReactorReady.java:85)
	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
Caused by: java.sql.SQLException: Got error 28 from storage engine
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:996)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2435)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2582)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2530)
	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1907)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2030)
	at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
	at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:1812)
	at org.hibernate.loader.Loader.doQuery(Loader.java:697)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	at org.hibernate.loader.Loader.doList(Loader.java:2232)
	... 69 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