See <http://ci.chorem.org/jenkins/job/pollen-bundle-demo-latest/18/display/redirect?page=changes> Changes: [Sylvain Bavencoff] enregistrement du la connexion dans le cooki du navigateur [Sylvain Bavencoff] correction dépendance de la session ------------------------------------------ [...truncated 325.56 KB...] Vous pouvez gérer vos sondages en vous connectant sur <a href="">Pollen</a>. 12:37:05 INFO (EmailService.java:226) 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>. mars 09, 2017 12:37:05 AM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-10009"] mars 09, 2017 12:37:05 AM org.apache.catalina.core.StandardService startInternal INFOS: Starting service Tomcat mars 09, 2017 12:37:05 AM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.50 mars 09, 2017 12:37:05 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment INFOS: No global web.xml found 12:37:06 INFO (JCLLoggerAdapter.java:260) Parsed mapping <http://ci.chorem.org/jenkins/job/pollen-bundle-demo-latest/ws/pollen-rest-api/target/classes/mapping> 12:37:06 INFO (JCLLoggerAdapter.java:260) WebMotion is started 12:37:06 INFO (PollenTopiaTransactionFilter.java:58) Init Topia Filter mars 09, 2017 12:37:06 AM org.apache.coyote.AbstractProtocol start INFOS: Starting ProtocolHandler ["http-bio-10009"] 12:37:06 INFO (PollenRestApiRequestFilter.java:199) Use default language: fr 12:37:06 INFO (SecurityService.java:488) All permissions: mars 09, 2017 12:37:06 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:100) 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:136) at org.chorem.pollen.rest.api.v1.AuthApi.login2(AuthApi.java:114) ... 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:134) ... 39 more 12:37:06 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:100) 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:136) at org.chorem.pollen.rest.api.v1.AuthApi.login2(AuthApi.java:114) ... 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:134) ... 39 more mars 09, 2017 12:37:06 AM org.apache.coyote.AbstractProtocol pause INFOS: Pausing ProtocolHandler ["http-bio-10009"] mars 09, 2017 12:37:06 AM org.apache.catalina.core.StandardService stopInternal INFOS: Stopping service Tomcat mars 09, 2017 12:37:06 AM org.apache.coyote.AbstractProtocol stop INFOS: Stopping ProtocolHandler ["http-bio-10009"] mars 09, 2017 12:37:06 AM org.apache.coyote.AbstractProtocol destroy INFOS: Destroying ProtocolHandler ["http-bio-10009"] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.878 sec - in org.chorem.pollen.rest.api.AuthApiTest Results : Tests run: 26, Failures: 0, Errors: 0, Skipped: 12 [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-bundle-demo-latest/ws/pollen-rest-api/target/pollen-rest-api-3.0-rev77b9935]> [INFO] Processing war project [INFO] Copying webapp resources [<http://ci.chorem.org/jenkins/job/pollen-bundle-demo-latest/ws/pollen-rest-api/src/main/webapp]> [INFO] Webapp assembled in [1213 msecs] [INFO] Building war: <http://ci.chorem.org/jenkins/job/pollen-bundle-demo-latest/ws/pollen-rest-api/target/pollen-rest-api-3.0-rev77b9935.war> [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ pollen-rest-api >>> [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-project-files) @ pollen-rest-api --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-platform) @ pollen-rest-api --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-platformDomain) @ pollen-rest-api --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-projectId) @ pollen-rest-api --- [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ pollen-rest-api <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ pollen-rest-api --- [INFO] Skipping source per configuration. [INFO] [INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @ pollen-rest-api --- [INFO] Skipping javadoc generation [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ pollen-rest-api --- [INFO] [INFO] --- helper-maven-plugin:2.3.2:collect-files (collect-deploy-files) @ pollen-rest-api --- [WARNING] Skipping goal (No file to collect). [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 [ 17.594 s] [INFO] Pollen :: VoteCounting (Api) ....................... SUCCESS [ 39.521 s] [INFO] Pollen :: VoteCounting :: Normal ................... SUCCESS [ 6.747 s] [INFO] Pollen :: VoteCounting :: Percentage ............... SUCCESS [ 3.368 s] [INFO] Pollen :: VoteCounting :: Condorcet ................ SUCCESS [ 2.709 s] [INFO] Pollen :: VoteCounting :: Number ................... SUCCESS [ 3.435 s] [INFO] Pollen :: VoteCounting :: Borda .................... SUCCESS [ 2.953 s] [INFO] Pollen :: VoteCounting :: Instant Runoff ........... SUCCESS [ 2.395 s] [INFO] Pollen :: VoteCounting :: Coombs ................... SUCCESS [ 2.984 s] [INFO] Pollen :: VoteCounting (Aggregator) ................ SUCCESS [ 0.687 s] [INFO] Pollen :: Persistence .............................. SUCCESS [ 24.630 s] [INFO] Pollen :: Service .................................. SUCCESS [ 30.935 s] [INFO] Pollen :: Rest Api ................................. SUCCESS [01:25 min] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 05:32 min [INFO] Finished at: 2017-03-09T00:37:15+01:00 [INFO] Final Memory: 97M/469M [INFO] ------------------------------------------------------------------------ [WARNING] The requested profile "deploy-bundle" could not be activated because it does not exist. Waiting for Jenkins to finish collecting data channel stopped [pollen-bundle-demo-latest] $ /bin/sh -xe /var/local/forge/exec/tomcat-chorem.org/temp/hudson670878879193030045.sh + /opt/ci_jobs_scripts/deploy-to-demo.sh latest 7 pollen-bundle-latest pollen-rest-api.properties <http://ci.chorem.org/jenkins/job/pollen-bundle-demo-latest/ws/> cat: <http://ci.chorem.org/jenkins/job/pollen-bundle-demo-latest/ws/target/collect-deploy-files.txt>: No such file or directory curl -s -F "TOMCAT_INSTANCE=latest" -F "TOMCAT_VERSION=7" -F "APP_NAME=pollen-bundle-latest" -F "CONFIG_FILE_NAME=pollen-rest-api.properties" http://demo.codelutin.com/deploy2.cgi Error while deploying to demo : <h1>Did not find configuration file at <strong>/var/local/demo/app/configs/pollen-bundle-latest-latest</strong></h1> <h1>Did not find configuration file at <strong>/var/local/demo/app/configs/pollen-bundle-latest-latest</strong></h1> Build step 'Execute shell' 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