Build failed in Jenkins: pollen-sonar » Pollen :: Rest Api #8
See <http://ci.chorem.org/jenkins/job/pollen-sonar/org.chorem.pollen$pollen-rest-api/8/display/redirect?page=changes> Changes: [Tony CHEMIT] clean code and improve CORS management [Tony CHEMIT] Use same configuration as default bundle application for dev [Tony CHEMIT] Review security and use now cookies to store authentication informations [Tony CHEMIT] Amélioration tests [Tony CHEMIT] Add resendValidation backend + use now cookies to manage auth cache [Tony CHEMIT] Can authentice via the cookie [Tony CHEMIT] Suppression EmitterService (tout est dans la session), enfin on peut [Tony CHEMIT] Add missing license header + remove my organisation [Tony CHEMIT] Début de documentation de l'api REST [Tony CHEMIT] Mise en place des commentaires sur sondage + continue page de vote [Tony CHEMIT] Pouvoir réouvrir le sondage [Tony CHEMIT] fix tests [Tony CHEMIT] Mise en place des différents types de scrutin + revue des éditeurs de [Tony CHEMIT] Ajout de la gestion des utilisateurs [Kevin Morin] upgrade all poms to 3.0 + remove old js folders ------------------------------------------ [...truncated 70.58 KB...] 03:42:45 INFO (VoteCountingFactory.java:70) Detected strategy [5-Borda] : org.chorem.pollen.votecounting.BordaVoteCounting 03:42:45 INFO (VoteCountingFactory.java:70) Detected strategy [6-Vote alternatif] : org.chorem.pollen.votecounting.InstantRunoffVoteCounting 03:42:45 INFO (VoteCountingFactory.java:70) Detected strategy [7-Coombs] : org.chorem.pollen.votecounting.CoombsVoteCounting 03:43:01 INFO (EmailService.java:222) an email should have been sent if not in devMode: tos = [admin@pollen.org]. subject = '[Pollen] Confirmation de création du compte admin'. body = Bonjour admin, Vous venez de créer un compte sur l'application en ligne Pollen Courriel: admin@pollen.org Password: admin Vous devez valider votre courriel en allant sur cette adresse : <a href="http://localhost:8888/app#signcheck/OTQyMjU2MGMtZmNkYy00MDY0LWI1OGUtMjMzZDZhNmIyMDdj/ZurK5UGlQcezvVbChdm1ew"></a> Vous pouvez gérer vos sondages en vous connectant sur <a href="http://localhost:8888/app">Pollen</a>. 03:43:01 INFO (EmailService.java:222) 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 Password: user Vous devez valider votre courriel en allant sur cette adresse : <a href="http://localhost:8888/app#signcheck/OTEwMDA0MzAtOWExYS00ZjY0LThiNTItY2NlMmNiZTNiMjdl/4jVPWOZnSOWeijbfur-vWw"></a> Vous pouvez gérer vos sondages en vous connectant sur <a href="http://localhost:8888/app">Pollen</a>. févr. 25, 2017 3:43:01 AM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-10006"] févr. 25, 2017 3:43:01 AM org.apache.catalina.core.StandardService startInternal INFOS: Starting service Tomcat févr. 25, 2017 3:43:01 AM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.50 févr. 25, 2017 3:44:49 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment INFOS: No global web.xml found 03:45:33 INFO (JCLLoggerAdapter.java:260) Parsed mapping <http://ci.chorem.org/jenkins/job/pollen-sonar/org.chorem.pollen$pollen-rest-api/ws/target/classes/mapping> 03:45:33 INFO (JCLLoggerAdapter.java:260) WebMotion is started 03:45:33 INFO (PollenTopiaTransactionFilter.java:58) Init Topia Filter févr. 25, 2017 3:46:49 AM org.apache.coyote.AbstractProtocol start INFOS: Starting ProtocolHandler ["http-bio-10006"] 03:46:57 INFO (PollenRestApiRequestFilter.java:199) Use default language: fr 03:46:57 INFO (SecurityService.java:488) All permissions: 03:46:57 INFO (AbstractPollenRestApiTest.java:166) test *loginThenLogout* result { "permission": "vO-AdT8URMWytfY8nt2NlQ", "id": "OTQyMjU2MGMtZmNkYy00MDY0LWI1OGUtMjMzZDZhNmIyMDdj" } 03:46:57 INFO (PollenRestApiRequestFilter.java:199) Use default language: fr 03:46:57 INFO (SecurityService.java:488) All permissions: *:*:* 03:47:00 INFO (AbstractPollenRestApiTest.java:166) test *loginThenLogout* result null févr. 25, 2017 3:47:00 AM org.apache.coyote.AbstractProtocol pause INFOS: Pausing ProtocolHandler ["http-bio-10006"] févr. 25, 2017 3:47:00 AM org.apache.catalina.core.StandardService stopInternal INFOS: Stopping service Tomcat févr. 25, 2017 3:47:01 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads GRAVE: The web application [/] appears to have started a thread named [Thread-22] but has failed to stop it. This is very likely to create a memory leak. févr. 25, 2017 3:47:01 AM org.apache.coyote.AbstractProtocol stop INFOS: Stopping ProtocolHandler ["http-bio-10006"] févr. 25, 2017 3:47:01 AM org.apache.coyote.AbstractProtocol destroy INFOS: Destroying ProtocolHandler ["http-bio-10006"] 03:47:01 INFO (PollenServicesConfig.java:82) Pollen configuration: Filename: pollen-rest-api.properties pollen.devMode = true pollen.data.directory = <http://ci.chorem.org/jenkins/job/pollen-sonar/org.chorem.pollen$pollen-rest-api/ws/target/surefire-workdir/18291305473687305/org.chorem.pollen.rest.api.AuthApiTest/badPassword/h2> pollen.secret = !secret# pollen.default.pollType = FREE pollen.default.voteCountingType = 1 pollen.default.voteVisibility = EVERYBODY pollen.default.commentVisibility = EVERYBODY pollen.default.resultVisibility = EVERYBODY pollen.default.choiceType = 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 = localhost pollen.smtp.port = 1025 pollen.smtp.from = no-reply@pollen.com pollen.logConfigurationFile = null pollen.version = 3.0-SNAPSHOT pollen.ui.host = http://localhost:8888/app pollen.ui.url.poll.edit = http://localhost:8888/app#poll/edit/{pollId}/{pollToken} pollen.ui.url.poll.vote = http://localhost:8888/app#poll/vote/{pollId}/{pollToken} pollen.ui.url.poll.vote.edit = http://localhost:8888/app#poll/vote/{pollId}/{pollToken}/vote/{voteToken} pollen.ui.url.user.validate = http://localhost:8888/app#signcheck/{userId}/{token} 03:48:53 INFO (PollenRestApiApplicationContext.java:248) will use default logging configuration 03:57:07 INFO (PollenServicesConfig.java:82) Pollen configuration: Filename: pollen-rest-api.properties pollen.devMode = true pollen.data.directory = <http://ci.chorem.org/jenkins/job/pollen-sonar/org.chorem.pollen$pollen-rest-api/ws/target/surefire-workdir/18291305473687305/org.chorem.pollen.rest.api.AuthApiTest/login/h2> pollen.secret = !secret# pollen.default.pollType = FREE pollen.default.voteCountingType = 1 pollen.default.voteVisibility = EVERYBODY pollen.default.commentVisibility = EVERYBODY pollen.default.resultVisibility = EVERYBODY pollen.default.choiceType = 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 = localhost pollen.smtp.port = 1025 pollen.smtp.from = no-reply@pollen.com pollen.logConfigurationFile = null pollen.version = 3.0-SNAPSHOT pollen.ui.host = http://localhost:8888/app pollen.ui.url.poll.edit = http://localhost:8888/app#poll/edit/{pollId}/{pollToken} pollen.ui.url.poll.vote = http://localhost:8888/app#poll/vote/{pollId}/{pollToken} pollen.ui.url.poll.vote.edit = http://localhost:8888/app#poll/vote/{pollId}/{pollToken}/vote/{voteToken} pollen.ui.url.user.validate = http://localhost:8888/app#signcheck/{userId}/{token} 03:57:14 INFO (PollenRestApiApplicationContext.java:248) will use default logging configuration 03:57:34 INFO (VoteCountingFactory.java:70) Detected strategy [1-Normal] : org.chorem.pollen.votecounting.NormalVoteCounting 03:57:34 INFO (VoteCountingFactory.java:70) Detected strategy [2-Pourcentage] : org.chorem.pollen.votecounting.PercentageVoteCounting 03:57:34 INFO (VoteCountingFactory.java:70) Detected strategy [3-Condorcet] : org.chorem.pollen.votecounting.CondorcetVoteCounting 03:57:34 INFO (VoteCountingFactory.java:70) Detected strategy [4-Nombre] : org.chorem.pollen.votecounting.NumberVoteCounting 03:57:34 INFO (VoteCountingFactory.java:70) Detected strategy [5-Borda] : org.chorem.pollen.votecounting.BordaVoteCounting 03:57:34 INFO (VoteCountingFactory.java:70) Detected strategy [6-Vote alternatif] : org.chorem.pollen.votecounting.InstantRunoffVoteCounting 03:57:34 INFO (VoteCountingFactory.java:70) Detected strategy [7-Coombs] : org.chorem.pollen.votecounting.CoombsVoteCounting 03:57:35 INFO (EmailService.java:222) an email should have been sent if not in devMode: tos = [admin@pollen.org]. subject = '[Pollen] Confirmation de création du compte admin'. body = Bonjour admin, Vous venez de créer un compte sur l'application en ligne Pollen Courriel: admin@pollen.org Password: admin Vous devez valider votre courriel en allant sur cette adresse : <a href="http://localhost:8888/app#signcheck/OTAyNGEyZWYtMDNiNi00MmExLWJmZDEtMjJiY2I1ZWE4ZDNl/p02xyj1TRnqrVVACVH0FcA"></a> Vous pouvez gérer vos sondages en vous connectant sur <a href="http://localhost:8888/app">Pollen</a>. 03:57:35 INFO (EmailService.java:222) 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 Password: user Vous devez valider votre courriel en allant sur cette adresse : <a href="http://localhost:8888/app#signcheck/MjliZDJmYjktY2IzZi00ZGM3LWIwMWUtMmU1ZjAyZWViOTNl/L_FvSdgkS4yGiBfQFr2NjQ"></a> Vous pouvez gérer vos sondages en vous connectant sur <a href="http://localhost:8888/app">Pollen</a>. févr. 25, 2017 3:57:35 AM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-10008"] févr. 25, 2017 3:57:35 AM org.apache.catalina.core.StandardService startInternal INFOS: Starting service Tomcat févr. 25, 2017 3:57:35 AM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.50 févr. 25, 2017 3:59:24 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment INFOS: No global web.xml found 04:00:47 INFO (JCLLoggerAdapter.java:260) Parsed mapping <http://ci.chorem.org/jenkins/job/pollen-sonar/org.chorem.pollen$pollen-rest-api/ws/target/classes/mapping> 04:00:47 INFO (JCLLoggerAdapter.java:260) WebMotion is started 04:00:47 INFO (PollenTopiaTransactionFilter.java:58) Init Topia Filter févr. 25, 2017 4:04:01 AM org.apache.coyote.AbstractProtocol start INFOS: Starting ProtocolHandler ["http-bio-10008"] 04:07:12 INFO (PollenRestApiRequestFilter.java:199) Use default language: fr 04:07:13 INFO (SecurityService.java:488) All permissions: 04:07:13 INFO (AbstractPollenRestApiTest.java:166) test *login* result { "permission": "w_5MQ23tQpGvcqgIbPa8gA", "id": "OTAyNGEyZWYtMDNiNi00MmExLWJmZDEtMjJiY2I1ZWE4ZDNl" } févr. 25, 2017 4:07:13 AM org.apache.coyote.AbstractProtocol pause INFOS: Pausing ProtocolHandler ["http-bio-10008"] févr. 25, 2017 4:07:13 AM org.apache.catalina.core.StandardService stopInternal INFOS: Stopping service Tomcat févr. 25, 2017 4:07:15 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads GRAVE: The web application [/] appears to have started a thread named [Thread-28] but has failed to stop it. This is very likely to create a memory leak. févr. 25, 2017 4:07:15 AM org.apache.coyote.AbstractProtocol stop INFOS: Stopping ProtocolHandler ["http-bio-10008"] févr. 25, 2017 4:07:15 AM org.apache.coyote.AbstractProtocol destroy INFOS: Destroying ProtocolHandler ["http-bio-10008"] 04:07:15 INFO (PollenServicesConfig.java:82) Pollen configuration: Filename: pollen-rest-api.properties pollen.devMode = true pollen.data.directory = <http://ci.chorem.org/jenkins/job/pollen-sonar/org.chorem.pollen$pollen-rest-api/ws/target/surefire-workdir/18291305473687305/org.chorem.pollen.rest.api.AuthApiTest/badLogin/h2> pollen.secret = !secret# pollen.default.pollType = FREE pollen.default.voteCountingType = 1 pollen.default.voteVisibility = EVERYBODY pollen.default.commentVisibility = EVERYBODY pollen.default.resultVisibility = EVERYBODY pollen.default.choiceType = 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 = localhost pollen.smtp.port = 1025 pollen.smtp.from = no-reply@pollen.com pollen.logConfigurationFile = null pollen.version = 3.0-SNAPSHOT pollen.ui.host = http://localhost:8888/app pollen.ui.url.poll.edit = http://localhost:8888/app#poll/edit/{pollId}/{pollToken} pollen.ui.url.poll.vote = http://localhost:8888/app#poll/vote/{pollId}/{pollToken} pollen.ui.url.poll.vote.edit = http://localhost:8888/app#poll/vote/{pollId}/{pollToken}/vote/{voteToken} pollen.ui.url.user.validate = http://localhost:8888/app#signcheck/{userId}/{token} 04:07:19 INFO (PollenRestApiApplicationContext.java:248) will use default logging configuration 04:07:19 INFO (VoteCountingFactory.java:70) Detected strategy [1-Normal] : org.chorem.pollen.votecounting.NormalVoteCounting 04:07:19 INFO (VoteCountingFactory.java:70) Detected strategy [2-Pourcentage] : org.chorem.pollen.votecounting.PercentageVoteCounting 04:07:19 INFO (VoteCountingFactory.java:70) Detected strategy [3-Condorcet] : org.chorem.pollen.votecounting.CondorcetVoteCounting 04:07:19 INFO (VoteCountingFactory.java:70) Detected strategy [4-Nombre] : org.chorem.pollen.votecounting.NumberVoteCounting 04:07:19 INFO (VoteCountingFactory.java:70) Detected strategy [5-Borda] : org.chorem.pollen.votecounting.BordaVoteCounting 04:07:19 INFO (VoteCountingFactory.java:70) Detected strategy [6-Vote alternatif] : org.chorem.pollen.votecounting.InstantRunoffVoteCounting 04:07:19 INFO (VoteCountingFactory.java:70) Detected strategy [7-Coombs] : org.chorem.pollen.votecounting.CoombsVoteCounting 04:07:19 INFO (EmailService.java:222) an email should have been sent if not in devMode: tos = [admin@pollen.org]. subject = '[Pollen] Confirmation de création du compte admin'. body = Bonjour admin, Vous venez de créer un compte sur l'application en ligne Pollen Courriel: admin@pollen.org Password: admin Vous devez valider votre courriel en allant sur cette adresse : <a href="http://localhost:8888/app#signcheck/NWRjZTBkYjYtMmEyYi00OGM2LWExMDctM2IwZTE1MmJhZDBi/SXqBqthmS4GCTyAT_GLOCA"></a> Vous pouvez gérer vos sondages en vous connectant sur <a href="http://localhost:8888/app">Pollen</a>. 04:07:19 INFO (EmailService.java:222) 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 Password: user Vous devez valider votre courriel en allant sur cette adresse : <a href="http://localhost:8888/app#signcheck/MTMwYmJiN2ItZTg1NC00YWZiLThkMGEtM2VlMmUyOGIwYTEy/eUXkjcoKQOKQij7VYfRfzw"></a> Vous pouvez gérer vos sondages en vous connectant sur <a href="http://localhost:8888/app">Pollen</a>. févr. 25, 2017 4:07:19 AM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-10009"] févr. 25, 2017 4:07:19 AM org.apache.catalina.core.StandardService startInternal INFOS: Starting service Tomcat févr. 25, 2017 4:07:19 AM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.50 févr. 25, 2017 4:07:19 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment INFOS: No global web.xml found Results : Tests run: 22, Failures: 0, Errors: 0, Skipped: 12 [JENKINS] Recording test results [JENKINS] Archiving disabled
participants (1)
-
admin+ci-chorem.org@codelutin.com