See <http://ci.chorem.org/jenkins/job/pollen-nightly/17/changes> Changes: [Tony CHEMIT] some dev fixes [Tony CHEMIT] some dev fixes [Tony CHEMIT] security + sumplify exceptions + ... [Tony CHEMIT] begin of site v2 [Tony CHEMIT] optimize dependenceis + add license headers + use commons-collections4 [Tony CHEMIT] improve rest api [Tony CHEMIT] continue dev + begin of implements correct security ------------------------------------------ [...truncated 2485 lines...] 01:02:42 INFO (AbstractPollenRestApiTest.java:137) test *postPoll* result { "commentVisibility": "EVERYBODY", "creator": { "token": { "creationDate": 1388530800000, "token": "a58wIPxlRKWUsY3qwboCaA", "topiaCreateDate": 1399244562714, "topiaId": "org.chorem.pollen.persistence.entity.PollenToken_889ebaa6-5d25-481e-9e7b-bd79ee7760e9" }, "topiaCreateDate": 1399244562714, "topiaId": "org.chorem.pollen.persistence.entity.PollenPrincipal_e0d0b1f3-9627-4b3f-bfc6-60241a4d0f86" }, "pollType": "FREE", "title": "title", "topiaCreateDate": 1399244562714, "topiaId": "org.chorem.pollen.persistence.entity.Poll_e0ca21a0-de9a-4fca-9807-d1d5c753a798", "voteCountingType": 1, "voteVisibility": "EVERYBODY" } mai 05, 2014 1:02:42 AM org.apache.coyote.AbstractProtocol pause Infos: Pausing ProtocolHandler ["http-bio-10001"] mai 05, 2014 1:02:42 AM org.apache.catalina.core.StandardService stopInternal Infos: Stopping service Tomcat mai 05, 2014 1:02:42 AM org.apache.coyote.AbstractProtocol stop Infos: Stopping ProtocolHandler ["http-bio-10001"] mai 05, 2014 1:02:47 AM org.apache.tomcat.util.net.AbstractEndpoint shutdownExecutor Avertissement: The executor associated with thread pool [http-bio-10001] has not fully shutdown. Some application threads may still be running. mai 05, 2014 1:02:47 AM org.apache.coyote.AbstractProtocol destroy Infos: Destroying ProtocolHandler ["http-bio-10001"] 01:02:47 INFO (PollenServiceConfig.java:88) Pollen configuration: Filename: pollen-rest-api.properties pollen.data.directory = <http://ci.chorem.org/jenkins/job/pollen-nightly/ws/trunk/pollen-rest-api/target/surefire-workdir/org.chorem.pollen.rest.api.PollApiTest/deletePoll_27814955111284417> pollen.default.pollType = FREE pollen.default.voteCountingType = 1 pollen.default.pollVoteVisibility = EVERYBODY pollen.default.pollCommentVisibility = EVERYBODY pollen.smtp.host = pollen.smtp.port = 25 pollen.smtp.from = pollen.devMode = true logConfigurationFile = null 01:02:48 INFO (PollenRestApiApplicationContext.java:231) will use default logging configuration mai 05, 2014 1:02:48 AM org.apache.coyote.AbstractProtocol init Infos: Initializing ProtocolHandler ["http-bio-10002"] mai 05, 2014 1:02:48 AM org.apache.catalina.core.StandardService startInternal Infos: Starting service Tomcat mai 05, 2014 1:02:48 AM org.apache.catalina.core.StandardEngine startInternal Infos: Starting Servlet Engine: Apache Tomcat/7.0.47 mai 05, 2014 1:02:48 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment Infos: No global web.xml found 01:02:50 INFO (JCLLoggerAdapter.java:263) Parsed mapping <http://ci.chorem.org/jenkins/job/pollen-nightly/ws/trunk/pollen-rest-api/target/classes/mapping> 01:02:50 INFO (JCLLoggerAdapter.java:263) WebMotion is started 01:02:50 INFO (PollenTopiaTransactionFilter.java:63) Init Topia Filter mai 05, 2014 1:02:50 AM org.apache.coyote.AbstractProtocol start Infos: Starting ProtocolHandler ["http-bio-10002"] 01:02:50 INFO (FixturesService.java:75) will restore database with fixture set 01:02:50 INFO (SecurityService.java:237) All permissions: *:readChoice:org.chorem.pollen.persistence.entity.Choice_5b7ac6e5-4910-407e-ab25-0349b4b8fcbc *:readPoll:org.chorem.pollen.persistence.entity.Poll_eb68b92f-6817-4e87-9fce-52a525dfefa9 *:*:org.chorem.pollen.persistence.entity.Poll_eb68b92f-6817-4e87-9fce-52a525dfefa9 *:*:org.chorem.pollen.persistence.entity.Choice_3a1d4705-5d35-4e71-84d8-104335909543 *:*:org.chorem.pollen.persistence.entity.Choice_5b7ac6e5-4910-407e-ab25-0349b4b8fcbc *:readChoice:org.chorem.pollen.persistence.entity.Choice_694281b4-5f63-495c-8512-ac28bff773a3 *:*:org.chorem.pollen.persistence.entity.Choice_694281b4-5f63-495c-8512-ac28bff773a3 *:readChoice:org.chorem.pollen.persistence.entity.Choice_3a1d4705-5d35-4e71-84d8-104335909543 01:02:50 INFO (SecurityService.java:213) Check permission: :deletePoll:org.chorem.pollen.persistence.entity.Poll_eb68b92f-6817-4e87-9fce-52a525dfefa9 01:02:50 INFO (SecurityService.java:213) Check permission: :readPoll:org.chorem.pollen.persistence.entity.Poll_eb68b92f-6817-4e87-9fce-52a525dfefa9 01:02:50 INFO (AbstractPollenRestApiTest.java:137) test *deletePoll* result null mai 05, 2014 1:02:50 AM org.apache.coyote.AbstractProtocol pause Infos: Pausing ProtocolHandler ["http-bio-10002"] mai 05, 2014 1:02:50 AM org.apache.catalina.core.StandardService stopInternal Infos: Stopping service Tomcat mai 05, 2014 1:02:50 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads Grave: The web application [/] appears to have started a thread named [Thread-7] but has failed to stop it. This is very likely to create a memory leak. mai 05, 2014 1:02:50 AM org.apache.coyote.AbstractProtocol stop Infos: Stopping ProtocolHandler ["http-bio-10002"] mai 05, 2014 1:02:55 AM org.apache.tomcat.util.net.AbstractEndpoint shutdownExecutor Avertissement: The executor associated with thread pool [http-bio-10002] has not fully shutdown. Some application threads may still be running. mai 05, 2014 1:02:55 AM org.apache.coyote.AbstractProtocol destroy Infos: Destroying ProtocolHandler ["http-bio-10002"] Tests run: 12, Failures: 0, Errors: 0, Skipped: 8, Time elapsed: 36.312 sec - in org.chorem.pollen.rest.api.PollApiTest Results : Tests run: 13, Failures: 0, Errors: 0, Skipped: 9 [JENKINS] Recording test results [INFO] [INFO] --- maven-war-plugin:2.4:war (default-war) @ pollen-rest-api --- [INFO] Packaging webapp [INFO] Assembling webapp [pollen-rest-api] in [<http://ci.chorem.org/jenkins/job/pollen-nightly/ws/trunk/pollen-rest-api/target/pollen-rest-api-2.0-SNAPSHOT]> [INFO] Processing war project [INFO] Copying webapp webResources [<http://ci.chorem.org/jenkins/job/pollen-nightly/ws/trunk/pollen-rest-api/src/main/webapp/WEB-INF]> to [<http://ci.chorem.org/jenkins/job/pollen-nightly/ws/trunk/pollen-rest-api/target/pollen-rest-api-2.0-SNAPSHOT]> [INFO] Copying webapp resources [<http://ci.chorem.org/jenkins/job/pollen-nightly/ws/trunk/pollen-rest-api/src/main/webapp]> [INFO] Webapp assembled in [96 msecs] [INFO] Building war: <http://ci.chorem.org/jenkins/job/pollen-nightly/ws/trunk/pollen-rest-api/target/pollen-rest-api-2.0-SNAPSHOT.war> [INFO] [INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @ pollen-rest-api >>> [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (ensure-no-container-api) @ pollen-rest-api --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (check-project-files) @ pollen-rest-api --- [INFO] [INFO] --- helper-maven-plugin:2.1:share-server-secret (get-redmine-login) @ pollen-rest-api --- [INFO] Skipping goal (runOnce flag is on and goal was already executed). [WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) @ pollen-rest-api <<< [INFO] [INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ pollen-rest-api --- [INFO] Building jar: <http://ci.chorem.org/jenkins/job/pollen-nightly/ws/trunk/pollen-rest-api/target/pollen-rest-api-2.0-SNAPSHOT-sources.jar> [INFO] [INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ pollen-rest-api --- [INFO] Building jar: <http://ci.chorem.org/jenkins/job/pollen-nightly/ws/trunk/pollen-rest-api/target/pollen-rest-api-2.0-SNAPSHOT-javadoc.jar> [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ pollen-rest-api --- [INFO] [INFO] --- helper-maven-plugin:2.1:share-server-secret (get-pgp-passphrase) @ pollen-rest-api --- [INFO] Exporting server [gpg-signer] username in ${gpg.keyname} [INFO] Exporting server [gpg-signer] password in ${gpg.passphrase} [INFO] [INFO] --- helper-maven-plugin:2.1:collect-files (collect-build-artifacts) @ pollen-rest-api --- [INFO] Loaded <http://ci.chorem.org/jenkins/job/pollen-nightly/ws/trunk/target/collect-artifacts.txt> [INFO] Copying pollen-rest-api-2.0-SNAPSHOT.war to <http://ci.chorem.org/jenkins/job/pollen-nightly/ws/trunk/target/collect/org.chorem.pollen--pollen-rest-api/pollen-rest-api-2.0-SNAPSHOT.war> [INFO] Copying THIRD-PARTY.properties to <http://ci.chorem.org/jenkins/job/pollen-nightly/ws/trunk/target/collect/org.chorem.pollen--pollen-rest-api/THIRD-PARTY.properties> [INFO] Copying pollen-rest-api-2.0-SNAPSHOT-sources.jar to <http://ci.chorem.org/jenkins/job/pollen-nightly/ws/trunk/target/collect/org.chorem.pollen--pollen-rest-api/pollen-rest-api-2.0-SNAPSHOT-sources.jar> [INFO] Copying pollen-rest-api-2.0-SNAPSHOT-javadoc.jar to <http://ci.chorem.org/jenkins/job/pollen-nightly/ws/trunk/target/collect/org.chorem.pollen--pollen-rest-api/pollen-rest-api-2.0-SNAPSHOT-javadoc.jar> [INFO] [INFO] --- helper-maven-plugin:2.1:collect-files (collect-build-attachements) @ pollen-rest-api --- [WARNING] Skipping goal (No file to collect). [INFO] [INFO] --- maven-gpg-plugin:1.5:sign (sign-artifacts) @ pollen-rest-api --- [INFO] [INFO] --- maven-dependency-plugin:2.8:analyze-only (analyze) @ pollen-rest-api --- [INFO] Used declared dependencies found: [INFO] org.chorem.pollen:pollen-persistence:jar:2.0-SNAPSHOT:compile [INFO] org.chorem.pollen:pollen-services:jar:2.0-SNAPSHOT:compile [INFO] org.nuiton.topia:topia-persistence:jar:3.0-SNAPSHOT:compile [INFO] org.debux.webmotion:webmotion:jar:2.4.1-SNAPSHOT:compile [INFO] org.debux.webmotion:webmotion-unittest:jar:2.4.1-SNAPSHOT:test [INFO] org.nuiton.web:nuiton-web:jar:1.16:compile [INFO] org.nuiton.i18n:nuiton-i18n:jar:3.0:compile [INFO] javax:javaee-api:jar:7.0:provided [INFO] commons-logging:commons-logging:jar:1.1.3:compile [INFO] commons-beanutils:commons-beanutils:jar:1.9.1:compile [INFO] commons-io:commons-io:jar:2.4:compile [INFO] org.apache.httpcomponents:fluent-hc:jar:4.2.3:compile [INFO] com.google.guava:guava:jar:16.0.1:compile [INFO] com.google.code.gson:gson:jar:2.2.4:compile [INFO] org.apache.tomcat.embed:tomcat-embed-core:jar:7.0.47:provided [INFO] junit:junit:jar:4.11:test [INFO] org.nuiton:nuiton-utils:jar:2.7.1:compile [INFO] log4j:log4j:jar:1.2.17:compile [WARNING] Used undeclared dependencies found: [WARNING] org.apache.shiro:shiro-core:jar:1.2.2:compile [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Pollen ............................................ SUCCESS [ 13.505 s] [INFO] Pollen :: VoteCounting (Api) ...................... SUCCESS [ 9.802 s] [INFO] Pollen :: VoteCounting :: Normal .................. SUCCESS [ 4.570 s] [INFO] Pollen :: VoteCounting :: Percentage .............. SUCCESS [ 4.153 s] [INFO] Pollen :: VoteCounting :: Condorcet ............... SUCCESS [ 3.962 s] [INFO] Pollen :: VoteCounting :: Number .................. SUCCESS [ 3.981 s] [INFO] Pollen :: VoteCounting :: Borda ................... SUCCESS [ 4.972 s] [INFO] Pollen :: VoteCounting :: Instant Runoff .......... SUCCESS [ 3.922 s] [INFO] Pollen :: VoteCounting :: Coombs .................. SUCCESS [ 3.942 s] [INFO] Pollen :: VoteCounting (Aggregator) ............... SUCCESS [ 1.322 s] [INFO] Pollen :: Persistence ............................. SUCCESS [ 12.483 s] [INFO] Pollen :: Service ................................. SUCCESS [ 16.218 s] [INFO] Pollen :: Rest Api ................................ FAILURE [ 47.952 s] [INFO] Pollen :: UI (CanJS) .............................. SKIPPED [INFO] Pollen :: UI (Angular) ............................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:14 min [INFO] Finished at: 2014-05-05T01:03:02+01:00 [INFO] Final Memory: 90M/295M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:analyze-only (analyze) on project pollen-rest-api: Dependency problems found -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:analyze-only (analyze) on project pollen-rest-api: Dependency problems found at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) 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:108) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at org.jvnet.hudson.maven3.launcher.Maven31Launcher.main(Maven31Launcher.java:132) 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.launchStandard(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181) 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 hudson.maven.Maven3Builder.call(Maven3Builder.java:134) at hudson.maven.Maven3Builder.call(Maven3Builder.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.maven.plugin.MojoExecutionException: Dependency problems found at org.apache.maven.plugin.dependency.analyze.AbstractAnalyzeMojo.execute(AbstractAnalyzeMojo.java:188) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 30 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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :pollen-rest-api Sending e-mails to: pollen-commits@list.chorem.org chemit+chorem-ci@codelutin.com Sending e-mails to: pollen-commits@list.chorem.org chemit+chorem-ci@codelutin.com channel stopped Skipping sonar analysis due to bad build status FAILURE Failed to send e-mail to garandel because no e-mail address is known, and no default e-mail domain is configured