See <http://ci.chorem.org/jenkins/job/pollen-nightly/org.chorem.pollen$pollen-rest-api/136/display/redirect?page=changes> Changes: [Maven Release] release 3.1.2 success [skip ci] ------------------------------------------ [...truncated 5,47 KB...] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ pollen-rest-api --- [INFO] Compiling 5 source files to <http://ci.chorem.org/jenkins/job/pollen-nightly/org.chorem.pollen$pollen-rest-api/ws/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ pollen-rest-api --- [INFO] Surefire report directory: <http://ci.chorem.org/jenkins/job/pollen-nightly/org.chorem.pollen$pollen-rest-api/ws/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.chorem.pollen.rest.api.PollenUserApiTest 01:22:35 INFO (PollenServicesConfig.java:87) Pollen configuration: Filename: pollen-rest-api-test.properties pollen.data.directory = <http://ci.chorem.org/jenkins/job/pollen-nightly/org.chorem.pollen$pollen-rest-api/ws/target/surefire-workdir/47918809276707270/org.chorem.pollen.rest.api.PollenUserApiTest/getUser/h2> pollen.token.secret = !secret# pollen.token.issue = Pollen pollen.token.timeout = 3600 pollen.default.pollType = FREE pollen.default.voteCountingType = 1 pollen.default.voteVisibility = EVERYBODY pollen.default.commentVisibility = EVERYBODY pollen.default.resultVisibility = EVERYBODY pollen.default.continuousResults = true pollen.default.voteNotification = false pollen.default.commentNotification = false pollen.default.newChoiceNotification = false pollen.default.notifyMeHoursBeforePollEnds = 0 pollen.smtp.host = null pollen.smtp.port = 25 pollen.smtp.from = noreply@serveur.com pollen.smtp.wait = 1000 pollen.mailBox.host = null pollen.mailBox.protocol = imap pollen.mailBox.user = null pollen.mailBox.password = null pollen.mailBox.cronSchedule = 0 2/5 * * * ? pollen.logConfigurationFile = null pollen.sendEndPollRemindersCronSchedule = 0 0/1 * * * ? pollen.resource.maxSize = 10000000 pollen.resource.preview.max = 200 pollen.registration.emailAddressPattern = null pollen.resendEmailsCronSchedule = 0 0/5 * * * ? pollen.report.maxScore = 100 pollen.feedback.mails = null pollen.feedback.locale = en pollen.default.timeZoneId = Europe/Paris pollen.default.maxVoters = 0 pollen.default.userConnectedRequired = false pollen.default.usersCanCreatePoll = ALL_USERS pollen.deleteObsoleteSessionTokensCronSchedule = 0 0/5 * * * ? 01:22:47 INFO (PollenRestApiApplicationContext.java:245) will use default logging configuration 01:22:48 INFO (VoteCountingFactory.java:71) Detected strategy [5-Borda] : org.chorem.pollen.votecounting.BordaVoteCounting 01:22:48 INFO (VoteCountingFactory.java:71) Detected strategy [2-Cumulatif] : org.chorem.pollen.votecounting.CumulativeVoteCounting 01:22:48 INFO (VoteCountingFactory.java:71) Detected strategy [8-Jugement majoritaire] : org.chorem.pollen.votecounting.MajorityJudgmentVoteCounting 01:22:48 INFO (VoteCountingFactory.java:71) Detected strategy [1-Normal] : org.chorem.pollen.votecounting.NormalVoteCounting 01:22:48 INFO (VoteCountingFactory.java:71) Detected strategy [3-Condorcet] : org.chorem.pollen.votecounting.CondorcetVoteCounting 01:22:48 INFO (VoteCountingFactory.java:71) Detected strategy [4-Nombre] : org.chorem.pollen.votecounting.NumberVoteCounting 01:22:48 INFO (VoteCountingFactory.java:71) Detected strategy [6-Vote alternatif] : org.chorem.pollen.votecounting.InstantRunoffVoteCounting 01:22:48 INFO (VoteCountingFactory.java:71) Detected strategy [7-Coombs] : org.chorem.pollen.votecounting.CoombsVoteCounting févr. 03, 2018 1:22:52 AM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-9999"] févr. 03, 2018 1:22:53 AM org.apache.catalina.core.StandardService startInternal INFOS: Starting service Tomcat févr. 03, 2018 1:22:53 AM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.50 févr. 03, 2018 1:22:54 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment INFOS: No global web.xml found févr. 03, 2018 1:23:30 AM org.apache.catalina.util.SessionIdGenerator createSecureRandom INFOS: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [239] milliseconds. 01:23:30 INFO (PollenTopiaTransactionFilter.java:59) Init Topia Filter févr. 03, 2018 1:23:31 AM org.apache.coyote.AbstractProtocol start INFOS: Starting ProtocolHandler ["http-bio-9999"] 01:23:31 INFO (FixturesService.java:78) will restore database with fixture set 01:23:39 INFO (PollenRestApiRequestFilter.java:213) POST /login2?password=admin&login=admin@chorem.org ==> AuthApi.login2 ==> 200 : 533ms 01:23:39 INFO (PollenRestApiRequestFilter.java:213) GET /users/IJ31dqBSTCq9AYDQFT2bBg? ==> PollenUserApi.getUser ==> 200 : 337ms 01:23:39 INFO (AbstractPollenRestApiTest.java:199) test *getUser* result {"id":"IJ31dqBSTCq9AYDQFT2bBg","name":"J","administrator":true,"language":null,"password":null,"banned":false,"emailIsValidate":true,"withPassword":true,"credentials":[],"gtuValidated":true,"avatar":null,"premiumTo":null,"premium":false,"emailAddresses":[{"id":"0MmtIS3gRZ2FY9xCi3toDg","emailAddress":"jean@pollen.org","validated":true},{"id":"0Q9q5bZPRQ6Tw_sxx-w29Q","emailAddress":"jean2@pollen.org","validated":true},{"id":"4A1af2PXQZK6kLDwA3rFTg","emailAddress":"jean3@pollen.org","validated":true}],"defaultEmailAddress":{"id":"0MmtIS3gRZ2FY9xCi3toDg","emailAddress":"jean@pollen.org","validated":true},"canCreatePoll":false} févr. 03, 2018 1:23:39 AM org.apache.coyote.AbstractProtocol pause INFOS: Pausing ProtocolHandler ["http-bio-9999"] févr. 03, 2018 1:23:40 AM org.apache.catalina.core.StandardService stopInternal INFOS: Stopping service Tomcat 01:23:40 INFO (PollenRestApiApplicationListener.java:191) Stopping quartz sheduler févr. 03, 2018 1:23:40 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. févr. 03, 2018 1:23:40 AM org.apache.coyote.AbstractProtocol stop INFOS: Stopping ProtocolHandler ["http-bio-9999"] févr. 03, 2018 1:23:40 AM org.apache.coyote.AbstractProtocol destroy INFOS: Destroying ProtocolHandler ["http-bio-9999"] 01:23:40 INFO (PollenServicesConfig.java:87) Pollen configuration: Filename: pollen-rest-api-test.properties pollen.data.directory = <http://ci.chorem.org/jenkins/job/pollen-nightly/org.chorem.pollen$pollen-rest-api/ws/target/surefire-workdir/47918809276707270/org.chorem.pollen.rest.api.PollenUserApiTest/getUsers/h2> pollen.token.secret = !secret# pollen.token.issue = Pollen pollen.token.timeout = 3600 pollen.default.pollType = FREE pollen.default.voteCountingType = 1 pollen.default.voteVisibility = EVERYBODY pollen.default.commentVisibility = EVERYBODY pollen.default.resultVisibility = EVERYBODY pollen.default.continuousResults = true pollen.default.voteNotification = false pollen.default.commentNotification = false pollen.default.newChoiceNotification = false pollen.default.notifyMeHoursBeforePollEnds = 0 pollen.smtp.host = null pollen.smtp.port = 25 pollen.smtp.from = noreply@serveur.com pollen.smtp.wait = 1000 pollen.mailBox.host = null pollen.mailBox.protocol = imap pollen.mailBox.user = null pollen.mailBox.password = null pollen.mailBox.cronSchedule = 0 2/5 * * * ? pollen.logConfigurationFile = null pollen.sendEndPollRemindersCronSchedule = 0 0/1 * * * ? pollen.resource.maxSize = 10000000 pollen.resource.preview.max = 200 pollen.registration.emailAddressPattern = null pollen.resendEmailsCronSchedule = 0 0/5 * * * ? pollen.report.maxScore = 100 pollen.feedback.mails = null pollen.feedback.locale = en pollen.default.timeZoneId = Europe/Paris pollen.default.maxVoters = 0 pollen.default.userConnectedRequired = false pollen.default.usersCanCreatePoll = ALL_USERS pollen.deleteObsoleteSessionTokensCronSchedule = 0 0/5 * * * ? 01:23:49 INFO (PollenRestApiApplicationContext.java:245) will use default logging configuration 01:23:49 INFO (VoteCountingFactory.java:71) Detected strategy [5-Borda] : org.chorem.pollen.votecounting.BordaVoteCounting 01:23:49 INFO (VoteCountingFactory.java:71) Detected strategy [2-Cumulatif] : org.chorem.pollen.votecounting.CumulativeVoteCounting 01:23:49 INFO (VoteCountingFactory.java:71) Detected strategy [8-Jugement majoritaire] : org.chorem.pollen.votecounting.MajorityJudgmentVoteCounting 01:23:49 INFO (VoteCountingFactory.java:71) Detected strategy [1-Normal] : org.chorem.pollen.votecounting.NormalVoteCounting 01:23:49 INFO (VoteCountingFactory.java:71) Detected strategy [3-Condorcet] : org.chorem.pollen.votecounting.CondorcetVoteCounting 01:23:49 INFO (VoteCountingFactory.java:71) Detected strategy [4-Nombre] : org.chorem.pollen.votecounting.NumberVoteCounting 01:23:49 INFO (VoteCountingFactory.java:71) Detected strategy [6-Vote alternatif] : org.chorem.pollen.votecounting.InstantRunoffVoteCounting 01:23:49 INFO (VoteCountingFactory.java:71) Detected strategy [7-Coombs] : org.chorem.pollen.votecounting.CoombsVoteCounting févr. 03, 2018 1:23:49 AM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-10000"] févr. 03, 2018 1:23:49 AM org.apache.catalina.core.StandardService startInternal INFOS: Starting service Tomcat févr. 03, 2018 1:23:49 AM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.50 févr. 03, 2018 1:23:50 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment INFOS: No global web.xml found 01:24:07 INFO (PollenTopiaTransactionFilter.java:59) Init Topia Filter févr. 03, 2018 1:24:16 AM org.apache.coyote.AbstractProtocol start INFOS: Starting ProtocolHandler ["http-bio-10000"] 01:24:16 INFO (FixturesService.java:78) will restore database with fixture set 01:24:17 ERROR (SecurityService.java:241) Not find user from token : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJZSzVoN0pjQlQ0aXRFTW1ZVmdYMThnIiwiaXNzIjoiUG9sbGVuIiwiZXhwIjoxMzg4NTM0NDAwLCJpYXQiOjEzODg1MzA4MDB9.WnmNoaYKopLgex3eGKBvnozax2rcAQtvbeuQOQHsrNo 01:24:17 INFO (PollenRestApiRequestFilter.java:213) POST /login2?password=admin&login=admin@chorem.org ==> AuthApi.login2 ==> 200 : 28ms 01:24:17 INFO (PollenRestApiRequestFilter.java:213) GET /users?pageNumber=0&pageSize=-1 ==> PollenUserApi.getUsers ==> 200 : 48ms 01:24:17 INFO (AbstractPollenRestApiTest.java:199) test *getUsers* result {"elements":[{"id":"83-181AETgGjOj90y42hpg","name":"J","administrator":true,"language":null,"password":null,"banned":false,"emailIsValidate":true,"withPassword":true,"credentials":[],"gtuValidated":true,"avatar":null,"premiumTo":null,"premium":false,"emailAddresses":[{"id":"o20WUymPStiiZxU-gooB-Q","emailAddress":"jean@pollen.org","validated":true},{"id":"P6rkIpfKSPS_cfosqKvj7w","emailAddress":"jean2@pollen.org","validated":true},{"id":"0Z4rf0e5QmGm9CHYhmf7OQ","emailAddress":"jean3@pollen.org","validated":true}],"defaultEmailAddress":{"id":"o20WUymPStiiZxU-gooB-Q","emailAddress":"jean@pollen.org","validated":true},"canCreatePoll":false},{"id":"G6chA8kFRYeb25Z2nzDIrQ","name":"J","administrator":true,"language":null,"password":null,"banned":false,"emailIsValidate":true,"withPassword":true,"credentials":[],"gtuValidated":true,"avatar":null,"premiumTo":null,"premium":false,"emailAddresses":[{"id":"-bsascK8Sk2ExkJY0RV3cA","emailAddress":"julien@pollen.org","validated":true}],"defaultEmailAddress":{"id":"-bsascK8Sk2ExkJY0RV3cA","emailAddress":"julien@pollen.org","validated":true},"canCreatePoll":false},{"id":"qA1Jw0xXT8SwybA04EtrfA","name":"T","administrator":false,"language":null,"password":null,"banned":false,"emailIsValidate":true,"withPassword":true,"credentials":[],"gtuValidated":true,"avatar":null,"premiumTo":null,"premium":false,"emailAddresses":[{"id":"i5KI80RFSFWMEIGH53tDXQ","emailAddress":"tony@pollen.org","validated":true},{"id":"wWcw1xjUSpSl8fAQDcGg3Q","emailAddress":"tony2@pollen.org","validated":true}],"defaultEmailAddress":{"id":"i5KI80RFSFWMEIGH53tDXQ","emailAddress":"tony@pollen.org","validated":true},"canCreatePoll":false},{"id":"-yMPHa4FR5-d_rPriVMsuw","name":"admin","administrator":true,"language":null,"password":null,"banned":false,"emailIsValidate":true,"withPassword":true,"credentials":[],"gtuValidated":true,"avatar":null,"premiumTo":null,"premium":false,"emailAddresses":[{"id":"hEQ5gGD5RJqCXo3pTqGT6Q","emailAddress":"admin@chorem.org","validated":true}],"defaultEmailAddress":{"id":"hEQ5gGD5RJqCXo3pTqGT6Q","emailAddress":"admin@chorem.org","validated":true},"canCreatePoll":false}],"pagination":{"count":4,"currentPage":0,"lastPage":0,"pageSize":-1,"order":"name","desc":false}} févr. 03, 2018 1:24:17 AM org.apache.coyote.AbstractProtocol pause INFOS: Pausing ProtocolHandler ["http-bio-10000"] févr. 03, 2018 1:24:17 AM org.apache.catalina.core.StandardService stopInternal INFOS: Stopping service Tomcat 01:24:20 INFO (PollenRestApiApplicationListener.java:191) Stopping quartz sheduler févr. 03, 2018 1:24:20 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. févr. 03, 2018 1:24:20 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. févr. 03, 2018 1:24:20 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. févr. 03, 2018 1:24:20 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. févr. 03, 2018 1:24:20 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. févr. 03, 2018 1:24:20 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. févr. 03, 2018 1:24:20 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. févr. 03, 2018 1:24:20 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. févr. 03, 2018 1:24:20 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. févr. 03, 2018 1:24:20 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. févr. 03, 2018 1:24:20 AM org.apache.coyote.AbstractProtocol stop INFOS: Stopping ProtocolHandler ["http-bio-10000"] févr. 03, 2018 1:24:20 AM org.apache.coyote.AbstractProtocol destroy INFOS: Destroying ProtocolHandler ["http-bio-10000"] Tests run: 6, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 106.177 sec - in org.chorem.pollen.rest.api.PollenUserApiTest Running org.chorem.pollen.rest.api.PollApiTest 01:24:20 INFO (PollenServicesConfig.java:87) Pollen configuration: Filename: pollen-rest-api-test.properties pollen.data.directory = <http://ci.chorem.org/jenkins/job/pollen-nightly/org.chorem.pollen$pollen-rest-api/ws/target/surefire-workdir/47918809276707270/org.chorem.pollen.rest.api.PollApiTest/getPollsNew/h2> pollen.token.secret = !secret# pollen.token.issue = Pollen pollen.token.timeout = 3600 pollen.default.pollType = FREE pollen.default.voteCountingType = 1 pollen.default.voteVisibility = EVERYBODY pollen.default.commentVisibility = EVERYBODY pollen.default.resultVisibility = EVERYBODY pollen.default.continuousResults = true pollen.default.voteNotification = false pollen.default.commentNotification = false pollen.default.newChoiceNotification = false pollen.default.notifyMeHoursBeforePollEnds = 0 pollen.smtp.host = null pollen.smtp.port = 25 pollen.smtp.from = noreply@serveur.com pollen.smtp.wait = 1000 pollen.mailBox.host = null pollen.mailBox.protocol = imap pollen.mailBox.user = null pollen.mailBox.password = null pollen.mailBox.cronSchedule = 0 2/5 * * * ? pollen.logConfigurationFile = null pollen.sendEndPollRemindersCronSchedule = 0 0/1 * * * ? pollen.resource.maxSize = 10000000 pollen.resource.preview.max = 200 pollen.registration.emailAddressPattern = null pollen.resendEmailsCronSchedule = 0 0/5 * * * ? pollen.report.maxScore = 100 pollen.feedback.mails = null pollen.feedback.locale = en pollen.default.timeZoneId = Europe/Paris pollen.default.maxVoters = 0 pollen.default.userConnectedRequired = false pollen.default.usersCanCreatePoll = ALL_USERS pollen.deleteObsoleteSessionTokensCronSchedule = 0 0/5 * * * ? 01:24:47 INFO (PollenRestApiApplicationContext.java:245) will use default logging configuration 01:24:47 INFO (VoteCountingFactory.java:71) Detected strategy [5-Borda] : org.chorem.pollen.votecounting.BordaVoteCounting 01:24:47 INFO (VoteCountingFactory.java:71) Detected strategy [2-Cumulatif] : org.chorem.pollen.votecounting.CumulativeVoteCounting 01:24:47 INFO (VoteCountingFactory.java:71) Detected strategy [8-Jugement majoritaire] : org.chorem.pollen.votecounting.MajorityJudgmentVoteCounting 01:24:47 INFO (VoteCountingFactory.java:71) Detected strategy [1-Normal] : org.chorem.pollen.votecounting.NormalVoteCounting 01:24:47 INFO (VoteCountingFactory.java:71) Detected strategy [3-Condorcet] : org.chorem.pollen.votecounting.CondorcetVoteCounting 01:24:47 INFO (VoteCountingFactory.java:71) Detected strategy [4-Nombre] : org.chorem.pollen.votecounting.NumberVoteCounting 01:24:47 INFO (VoteCountingFactory.java:71) Detected strategy [6-Vote alternatif] : org.chorem.pollen.votecounting.InstantRunoffVoteCounting 01:24:47 INFO (VoteCountingFactory.java:71) Detected strategy [7-Coombs] : org.chorem.pollen.votecounting.CoombsVoteCounting févr. 03, 2018 1:24:47 AM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-10001"] févr. 03, 2018 1:24:47 AM org.apache.catalina.core.StandardService startInternal INFOS: Starting service Tomcat févr. 03, 2018 1:24:47 AM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.50 févr. 03, 2018 1:24:47 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment INFOS: No global web.xml found Results : Tests run: 6, Failures: 0, Errors: 0, Skipped: 4 [JENKINS] Recording test results [JENKINS] Archiving disabled