See <http://ci.chorem.org/jenkins/job/pollen-sonar/43/display/redirect?page=changes> Changes: [Kevin Morin] affichage du libellé "anonyme" en cas de vote anonyme [Kevin Morin] refs #23 ajout des confs pour les notifications [Kevin Morin] refs #23 ajout des confs pour les notifications [Kevin Morin] refs #23 mails de notification de vote et de fin de sondage [Kevin Morin] refs #23 conf par défaut dans le sondage [Kevin Morin] refs #23 ajout des méthodes pour récupérer les infos pour les mails [Kevin Morin] refs #23 création des jobs pour l'envoi de mails différés ------------------------------------------ [...truncated 314.01 KB...] Courriel: admin@pollen.org Vous devez valider votre courriel en allant sur cette adresse : <a href=""></a> Vous pouvez gérer vos sondages en vous connectant sur <a href="">Pollen</a>. 01:19:06 INFO (EmailService.java:282) an email should have been sent if not in devMode: tos = [user@pollen.org]. subject = '[Pollen] Confirmation de création du compte user'. body = Bonjour user, Vous venez de créer un compte sur l'application en ligne Pollen Courriel: user@pollen.org Vous devez valider votre courriel en allant sur cette adresse : <a href=""></a> Vous pouvez gérer vos sondages en vous connectant sur <a href="">Pollen</a>. mai 10, 2017 1:19:06 AM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-10009"] mai 10, 2017 1:19:06 AM org.apache.catalina.core.StandardService startInternal INFOS: Starting service Tomcat mai 10, 2017 1:19:06 AM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.50 mai 10, 2017 1:19:06 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment INFOS: No global web.xml found 01:19:08 INFO (JCLLoggerAdapter.java:260) Parsed mapping <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api/target/classes/mapping> 01:19:08 INFO (JCLLoggerAdapter.java:260) WebMotion is started 01:19:08 INFO (PollenTopiaTransactionFilter.java:58) Init Topia Filter mai 10, 2017 1:19:08 AM org.apache.coyote.AbstractProtocol start INFOS: Starting ProtocolHandler ["http-bio-10009"] 01:19:08 INFO (PollenRestApiRequestFilter.java:207) Use default language: fr 01:19:08 INFO (SecurityService.java:487) All permissions: mai 10, 2017 1:19:08 AM org.apache.catalina.core.StandardWrapperValve invoke GRAVE: Servlet.service() for servlet [default] in context with path [/] threw exception org.debux.webmotion.server.WebMotionException: Error during invoke method for action org.chorem.pollen.rest.api.v1.AuthApi on method login2 at org.debux.webmotion.server.handler.ExecutorMethodInvokerHandler$RunnableHandler.processAction(ExecutorMethodInvokerHandler.java:283) at org.debux.webmotion.server.handler.ExecutorMethodInvokerHandler$RunnableHandler.handle(ExecutorMethodInvokerHandler.java:225) at org.debux.webmotion.server.WebMotionFilter.doProcess(WebMotionFilter.java:73) at org.debux.webmotion.server.WebMotionFilter.doProcess(WebMotionFilter.java:61) at org.chorem.pollen.rest.api.PollenRestApiRequestFilter.inject(PollenRestApiRequestFilter.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.debux.webmotion.server.handler.ExecutorMethodInvokerHandler$RunnableHandler.processFilter(ExecutorMethodInvokerHandler.java:310) at org.debux.webmotion.server.handler.ExecutorMethodInvokerHandler$RunnableHandler.handle(ExecutorMethodInvokerHandler.java:222) at org.debux.webmotion.server.handler.ExecutorMethodInvokerHandler.handle(ExecutorMethodInvokerHandler.java:120) at org.debux.webmotion.server.WebMotionMainHandler.chainHandlers(WebMotionMainHandler.java:270) at org.debux.webmotion.server.WebMotionMainHandler.handleExecutors(WebMotionMainHandler.java:260) at org.debux.webmotion.server.WebMotionMainHandler.handle(WebMotionMainHandler.java:196) at org.debux.webmotion.server.WebMotionServer.doAction(WebMotionServer.java:159) at org.debux.webmotion.server.WebMotionServer.doFilter(WebMotionServer.java:136) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.nuiton.web.filter.TypedTopiaTransactionFilter.doFilter(TypedTopiaTransactionFilter.java:245) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.debux.webmotion.server.handler.ExecutorMethodInvokerHandler$RunnableHandler.processAction(ExecutorMethodInvokerHandler.java:255) ... 33 more Caused by: org.chorem.pollen.services.service.security.PollenAuthenticationException: org.apache.shiro.authc.AuthenticationException at org.chorem.pollen.services.service.security.SecurityService.login(SecurityService.java:135) at org.chorem.pollen.rest.api.v1.AuthApi.login2(AuthApi.java:127) ... 38 more Caused by: org.apache.shiro.authc.AuthenticationException at org.chorem.pollen.services.service.security.PollenSecurityRealm.doGetAuthenticationInfo(PollenSecurityRealm.java:86) at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:568) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267) at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198) at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270) at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256) at org.chorem.pollen.services.service.security.SecurityService.login(SecurityService.java:133) ... 39 more 01:19:08 ERROR (JCLLoggerAdapter.java:528) Error 500 : Error during invoke method for action org.chorem.pollen.rest.api.v1.AuthApi on method login2 on /v1/login2 org.debux.webmotion.server.WebMotionException: Error during invoke method for action org.chorem.pollen.rest.api.v1.AuthApi on method login2 at org.debux.webmotion.server.handler.ExecutorMethodInvokerHandler$RunnableHandler.processAction(ExecutorMethodInvokerHandler.java:283) at org.debux.webmotion.server.handler.ExecutorMethodInvokerHandler$RunnableHandler.handle(ExecutorMethodInvokerHandler.java:225) at org.debux.webmotion.server.WebMotionFilter.doProcess(WebMotionFilter.java:73) at org.debux.webmotion.server.WebMotionFilter.doProcess(WebMotionFilter.java:61) at org.chorem.pollen.rest.api.PollenRestApiRequestFilter.inject(PollenRestApiRequestFilter.java:103) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.debux.webmotion.server.handler.ExecutorMethodInvokerHandler$RunnableHandler.processFilter(ExecutorMethodInvokerHandler.java:310) at org.debux.webmotion.server.handler.ExecutorMethodInvokerHandler$RunnableHandler.handle(ExecutorMethodInvokerHandler.java:222) at org.debux.webmotion.server.handler.ExecutorMethodInvokerHandler.handle(ExecutorMethodInvokerHandler.java:120) at org.debux.webmotion.server.WebMotionMainHandler.chainHandlers(WebMotionMainHandler.java:270) at org.debux.webmotion.server.WebMotionMainHandler.handleExecutors(WebMotionMainHandler.java:260) at org.debux.webmotion.server.WebMotionMainHandler.handle(WebMotionMainHandler.java:196) at org.debux.webmotion.server.WebMotionServer.doAction(WebMotionServer.java:159) at org.debux.webmotion.server.WebMotionServer.doFilter(WebMotionServer.java:136) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.nuiton.web.filter.TypedTopiaTransactionFilter.doFilter(TypedTopiaTransactionFilter.java:245) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.debux.webmotion.server.handler.ExecutorMethodInvokerHandler$RunnableHandler.processAction(ExecutorMethodInvokerHandler.java:255) ... 33 more Caused by: org.chorem.pollen.services.service.security.PollenAuthenticationException: org.apache.shiro.authc.AuthenticationException at org.chorem.pollen.services.service.security.SecurityService.login(SecurityService.java:135) at org.chorem.pollen.rest.api.v1.AuthApi.login2(AuthApi.java:127) ... 38 more Caused by: org.apache.shiro.authc.AuthenticationException at org.chorem.pollen.services.service.security.PollenSecurityRealm.doGetAuthenticationInfo(PollenSecurityRealm.java:86) at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:568) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267) at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198) at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270) at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256) at org.chorem.pollen.services.service.security.SecurityService.login(SecurityService.java:133) ... 39 more mai 10, 2017 1:19:08 AM org.apache.coyote.AbstractProtocol pause INFOS: Pausing ProtocolHandler ["http-bio-10009"] mai 10, 2017 1:19:08 AM org.apache.catalina.core.StandardService stopInternal INFOS: Stopping service Tomcat 01:19:08 INFO (PollenRestApiApplicationListener.java:190) Stopping quartz sheduler mai 10, 2017 1:19:08 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads GRAVE: The web application [/] appears to have started a thread named [DefaultQuartzScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak. mai 10, 2017 1:19:08 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads GRAVE: The web application [/] appears to have started a thread named [DefaultQuartzScheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak. mai 10, 2017 1:19:08 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads GRAVE: The web application [/] appears to have started a thread named [DefaultQuartzScheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak. mai 10, 2017 1:19:08 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads GRAVE: The web application [/] appears to have started a thread named [DefaultQuartzScheduler_Worker-4] but has failed to stop it. This is very likely to create a memory leak. mai 10, 2017 1:19:08 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads GRAVE: The web application [/] appears to have started a thread named [DefaultQuartzScheduler_Worker-5] but has failed to stop it. This is very likely to create a memory leak. mai 10, 2017 1:19:08 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads GRAVE: The web application [/] appears to have started a thread named [DefaultQuartzScheduler_Worker-6] but has failed to stop it. This is very likely to create a memory leak. mai 10, 2017 1:19:08 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads GRAVE: The web application [/] appears to have started a thread named [DefaultQuartzScheduler_Worker-7] but has failed to stop it. This is very likely to create a memory leak. mai 10, 2017 1:19:08 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads GRAVE: The web application [/] appears to have started a thread named [DefaultQuartzScheduler_Worker-8] but has failed to stop it. This is very likely to create a memory leak. mai 10, 2017 1:19:08 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads GRAVE: The web application [/] appears to have started a thread named [DefaultQuartzScheduler_Worker-9] but has failed to stop it. This is very likely to create a memory leak. mai 10, 2017 1:19:08 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads GRAVE: The web application [/] appears to have started a thread named [DefaultQuartzScheduler_Worker-10] but has failed to stop it. This is very likely to create a memory leak. mai 10, 2017 1:19:08 AM org.apache.coyote.AbstractProtocol stop INFOS: Stopping ProtocolHandler ["http-bio-10009"] mai 10, 2017 1:19:08 AM org.apache.coyote.AbstractProtocol destroy INFOS: Destroying ProtocolHandler ["http-bio-10009"] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.589 sec - in org.chorem.pollen.rest.api.AuthApiTest Results : Tests run: 27, Failures: 0, Errors: 0, Skipped: 13 [JENKINS] Recording test results [INFO] [INFO] --- maven-war-plugin:3.0.0:war (default-war) @ pollen-rest-api --- [INFO] Packaging webapp [INFO] Assembling webapp [pollen-rest-api] in [<http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api/target/pollen-rest-api-3.0-SNAPSHOT]> [INFO] Processing war project [INFO] Copying webapp resources [<http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api/src/main/webapp]> [INFO] Webapp assembled in [494 msecs] [INFO] Building war: <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api/target/pollen-rest-api-3.0-SNAPSHOT.war> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ pollen-rest-api --- [JENKINS] Archiving disabled Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [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 [ 11.628 s] [INFO] Pollen :: VoteCounting (Api) ....................... SUCCESS [ 15.191 s] [INFO] Pollen :: VoteCounting :: Normal ................... SUCCESS [ 4.490 s] [INFO] Pollen :: VoteCounting :: Percentage ............... SUCCESS [ 2.208 s] [INFO] Pollen :: VoteCounting :: Condorcet ................ SUCCESS [ 2.480 s] [INFO] Pollen :: VoteCounting :: Number ................... SUCCESS [ 4.041 s] [INFO] Pollen :: VoteCounting :: Borda .................... SUCCESS [ 10.303 s] [INFO] Pollen :: VoteCounting :: Instant Runoff ........... SUCCESS [ 6.795 s] [INFO] Pollen :: VoteCounting :: Coombs ................... SUCCESS [ 12.921 s] [INFO] Pollen :: VoteCounting (Aggregator) ................ SUCCESS [ 0.449 s] [INFO] Pollen :: Persistence .............................. SUCCESS [ 8.881 s] [INFO] Pollen :: Service .................................. SUCCESS [ 47.185 s] [INFO] Pollen :: Rest Api ................................. SUCCESS [01:11 min] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 06:31 min [INFO] Finished at: 2017-05-10T01:19:15+02:00 [INFO] Final Memory: 97M/474M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data channel stopped FATAL: No SonarQube installation assigned for this job. There are 0 available installations that can be configured. If you want to reassign a lot of jobs to a different SonarQube installation see http://docs.sonarqube.org/display/PLUG/Reassign+Jobs+to+Another+SonarQube+In... Build step 'SonarQube analysis with Maven' marked build as failure Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds Not sending mail to unregistered user bavencoff@codelutin.com Not sending mail to unregistered user dev@tchemit.fr Not sending mail to unregistered user morin@codelutin.com Not sending mail to unregistered user poussin@codelutin.com