Build failed in Jenkins: pollen-rest-api-ci #611
See <http://ci.chorem.org/jenkins/job/pollen-rest-api-ci/611/changes> Changes: [a.garandel] add unit test for alert ------------------------------------------ [...truncated 5635 lines...] pollen.default.voteCountingType = 1 pollen.default.pollVoteVisibility = EVERYBODY pollen.default.pollCommentVisibility = EVERYBODY pollen.default.pollResultVisibility = EVERYBODY pollen.default.pollChoiceType = TEXT pollen.default.pollPageSize = 10 pollen.default.commentPageSize = 10 pollen.default.favoriteListPageSize = 10 pollen.default.favoriteListMemberPageSize = 10 pollen.default.pollenUserPageSize = 10 pollen.default.sessionTimeoutDelay = 3600 pollen.smtp.host = pollen.smtp.port = 25 pollen.smtp.from = pollen.devMode = true logConfigurationFile = null pollen.version = 2.0-SNAPSHOT 04:05:10 INFO (PollenRestApiApplicationContext.java:249) will use default logging configuration 04:05:10 INFO (VoteCountingFactory.java:72) Detected strategy [1-Normal] : org.chorem.pollen.votecounting.NormalVoteCounting 04:05:10 INFO (VoteCountingFactory.java:72) Detected strategy [2-Pourcentage] : org.chorem.pollen.votecounting.PercentageVoteCounting 04:05:10 INFO (VoteCountingFactory.java:72) Detected strategy [3-Condorcet] : org.chorem.pollen.votecounting.CondorcetVoteCounting 04:05:10 INFO (VoteCountingFactory.java:72) Detected strategy [4-Nombre] : org.chorem.pollen.votecounting.NumberVoteCounting 04:05:10 INFO (VoteCountingFactory.java:72) Detected strategy [5-Borda] : org.chorem.pollen.votecounting.BordaVoteCounting 04:05:10 INFO (VoteCountingFactory.java:72) Detected strategy [6-Vote alternatif] : org.chorem.pollen.votecounting.InstantRunoffVoteCounting 04:05:10 INFO (VoteCountingFactory.java:72) Detected strategy [7-Coombs] : org.chorem.pollen.votecounting.CoombsVoteCounting juil. 16, 2014 4:05:10 PM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-10009"] juil. 16, 2014 4:05:10 PM org.apache.catalina.core.StandardService startInternal INFOS: Starting service Tomcat juil. 16, 2014 4:05:10 PM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.50 juil. 16, 2014 4:05:10 PM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment INFOS: No global web.xml found 04:05:12 INFO (JCLLoggerAdapter.java:263) Parsed mapping <http://ci.chorem.org/jenkins/job/pollen-rest-api-ci/ws/pollen-rest-api/target/classes/mapping> 04:05:12 INFO (JCLLoggerAdapter.java:263) WebMotion is started 04:05:12 INFO (PollenTopiaTransactionFilter.java:63) Init Topia Filter juil. 16, 2014 4:05:12 PM org.apache.coyote.AbstractProtocol start INFOS: Starting ProtocolHandler ["http-bio-10009"] 04:05:12 INFO (PollenRestApiRequestFilter.java:137) Found Accept-Language: null 04:05:12 INFO (PollenRestApiRequestFilter.java:159) Use default language: fr 04:05:12 INFO (SecurityService.java:326) All permissions: juil. 16, 2014 4:05:12 PM 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 login 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:80) 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.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:248) 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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 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:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.debux.webmotion.server.handler.ExecutorMethodInvokerHandler$RunnableHandler.processAction(ExecutorMethodInvokerHandler.java:255) ... 34 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:70) at org.chorem.pollen.rest.api.v1.AuthApi.login(AuthApi.java:42) ... 39 more Caused by: org.apache.shiro.authc.AuthenticationException at org.chorem.pollen.services.service.security.PollenSecurityRealm.doGetAuthenticationInfo(PollenSecurityRealm.java:90) 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:68) ... 40 more 04:05:12 ERROR (JCLLoggerAdapter.java:534) Error 500 : Error during invoke method for action org.chorem.pollen.rest.api.v1.AuthApi on method login on /v1/login org.debux.webmotion.server.WebMotionException: Error during invoke method for action org.chorem.pollen.rest.api.v1.AuthApi on method login 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:80) 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.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:248) 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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 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:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.debux.webmotion.server.handler.ExecutorMethodInvokerHandler$RunnableHandler.processAction(ExecutorMethodInvokerHandler.java:255) ... 34 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:70) at org.chorem.pollen.rest.api.v1.AuthApi.login(AuthApi.java:42) ... 39 more Caused by: org.apache.shiro.authc.AuthenticationException at org.chorem.pollen.services.service.security.PollenSecurityRealm.doGetAuthenticationInfo(PollenSecurityRealm.java:90) 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:68) ... 40 more juil. 16, 2014 4:05:12 PM org.apache.coyote.AbstractProtocol pause INFOS: Pausing ProtocolHandler ["http-bio-10009"] juil. 16, 2014 4:05:12 PM org.apache.catalina.core.StandardService stopInternal INFOS: Stopping service Tomcat juil. 16, 2014 4:05:12 PM org.apache.coyote.AbstractProtocol stop INFOS: Stopping ProtocolHandler ["http-bio-10009"] juil. 16, 2014 4:05:12 PM org.apache.coyote.AbstractProtocol destroy INFOS: Destroying ProtocolHandler ["http-bio-10009"] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.163 sec - in org.chorem.pollen.rest.api.AuthApiTest Results : Tests in error: PollApiTest.setUp:51->AbstractPollenRestApiTest.loadFixtures:88 » Topia An err... Tests run: 26, Failures: 0, Errors: 1, Skipped: 12 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Pollen ............................................. SUCCESS [ 2.067 s] [INFO] Pollen :: VoteCounting (Api) ....................... SUCCESS [ 5.914 s] [INFO] Pollen :: VoteCounting :: Normal ................... SUCCESS [ 1.573 s] [INFO] Pollen :: VoteCounting :: Percentage ............... SUCCESS [ 1.550 s] [INFO] Pollen :: VoteCounting :: Condorcet ................ SUCCESS [ 1.510 s] [INFO] Pollen :: VoteCounting :: Number ................... SUCCESS [ 1.444 s] [INFO] Pollen :: VoteCounting :: Borda .................... SUCCESS [ 1.455 s] [INFO] Pollen :: VoteCounting :: Instant Runoff ........... SUCCESS [ 1.515 s] [INFO] Pollen :: VoteCounting :: Coombs ................... SUCCESS [ 1.484 s] [INFO] Pollen :: VoteCounting (Aggregator) ................ SUCCESS [ 0.062 s] [INFO] Pollen :: Persistence .............................. SUCCESS [ 6.572 s] [INFO] Pollen :: Service .................................. SUCCESS [ 21.568 s] [INFO] Pollen :: Rest Api ................................. FAILURE [ 30.226 s] [INFO] Pollen :: UI (Angular) ............................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:17 min [INFO] Finished at: 2014-07-16T16:05:12+02:00 [INFO] Final Memory: 65M/378M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project pollen-rest-api: There are test failures. [ERROR] [ERROR] Please refer to <http://ci.chorem.org/jenkins/job/pollen-rest-api-ci/ws/pollen-rest-api/target/surefire-reports> for the individual test results. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project pollen-rest-api: There are test failures. Please refer to <http://ci.chorem.org/jenkins/job/pollen-rest-api-ci/ws/pollen-rest-api/target/surefire-reports> for the individual test results. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213) at org.apache.maven.cli.MavenCli.main(MavenCli.java:157) 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:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures. Please refer to <http://ci.chorem.org/jenkins/job/pollen-rest-api-ci/ws/pollen-rest-api/target/surefire-reports> for the individual test results. at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:82) at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:195) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:861) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:729) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :pollen-rest-api Build step 'Invoke top-level Maven targets' marked build as failure
participants (1)
-
admin+ci-chorem.org@codelutin.com