Build failed in Jenkins: pollen-bundle-demo-latest » Pollen :: Rest Api #24
See <http://ci.chorem.org/jenkins/job/pollen-bundle-demo-latest/org.chorem.pollen$pollen-rest-api/24/display/redirect> ------------------------------------------ [...truncated 9.49 KB...] pollen.data.directory = <http://ci.chorem.org/jenkins/job/pollen-bundle-demo-latest/org.chorem.pollen$pollen-rest-api/ws/target/surefire-workdir/20018528896767190/org.chorem.pollen.rest.api.PollenUserApiTest/getUsers/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-rev63db587 03:20:33 INFO (PollenRestApiApplicationContext.java:248) will use default logging configuration 03:21:21 INFO (VoteCountingFactory.java:70) Detected strategy [1-Normal] : org.chorem.pollen.votecounting.NormalVoteCounting 03:21:21 INFO (VoteCountingFactory.java:70) Detected strategy [2-Pourcentage] : org.chorem.pollen.votecounting.PercentageVoteCounting 03:21:21 INFO (VoteCountingFactory.java:70) Detected strategy [3-Condorcet] : org.chorem.pollen.votecounting.CondorcetVoteCounting 03:21:21 INFO (VoteCountingFactory.java:70) Detected strategy [4-Nombre] : org.chorem.pollen.votecounting.NumberVoteCounting 03:21:21 INFO (VoteCountingFactory.java:70) Detected strategy [5-Borda] : org.chorem.pollen.votecounting.BordaVoteCounting 03:21:21 INFO (VoteCountingFactory.java:70) Detected strategy [6-Vote alternatif] : org.chorem.pollen.votecounting.InstantRunoffVoteCounting 03:21:21 INFO (VoteCountingFactory.java:70) Detected strategy [7-Coombs] : org.chorem.pollen.votecounting.CoombsVoteCounting 03:21:28 INFO (EmailService.java:228) 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 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>. 03:21:28 INFO (EmailService.java:228) 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 17, 2017 3:21:33 AM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-10000"] mars 17, 2017 3:21:33 AM org.apache.catalina.core.StandardService startInternal INFOS: Starting service Tomcat mars 17, 2017 3:21:33 AM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.50 mars 17, 2017 3:22:27 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment INFOS: No global web.xml found 03:23:48 INFO (JCLLoggerAdapter.java:260) Parsed mapping <http://ci.chorem.org/jenkins/job/pollen-bundle-demo-latest/org.chorem.pollen$pollen-rest-api/ws/target/classes/mapping> 03:23:49 INFO (JCLLoggerAdapter.java:260) WebMotion is started mars 17, 2017 3:23:55 AM org.apache.catalina.util.SessionIdGenerator createSecureRandom INFOS: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [6,739] milliseconds. 03:23:55 INFO (PollenTopiaTransactionFilter.java:58) Init Topia Filter mars 17, 2017 3:24:29 AM org.apache.coyote.AbstractProtocol start INFOS: Starting ProtocolHandler ["http-bio-10000"] 03:24:31 INFO (FixturesService.java:80) will restore database with fixture set 03:24:31 INFO (EmailService.java:228) an email should have been sent if not in devMode: tos = [poll_creator@pollen.chorem.org]. subject = '[Pollen] Création du sondage Sondage normal'. body = Bonjour poll creator, Le sondage vient d'être créé : <a href="http://pollen.chorem.org/#poll/edit/MWJkMmZlOGQtZjBiOS00NDQ0LThiMzEtOTJmYWI3Y2RlZDJj/I-FmgWBwQoSFHIQzeM5Arg">Sondage normal</a> ------------------------------------- Sondage de type 'normal' ------------------------------------- Vous pouvez gérer votre sondage en vous connectant sur <a href="http://pollen.chorem.org">Pollen</a>. 03:25:26 INFO (PollenRestApiRequestFilter.java:191) Use default language: fr 03:25:30 INFO (SecurityService.java:488) All permissions: *:addComment:org.chorem.pollen.persistence.entity.Poll_1bd2fe8d-f0b9-4444-8b31-92fab7cded2c *:readVote:org.chorem.pollen.persistence.entity.Poll_1bd2fe8d-f0b9-4444-8b31-92fab7cded2c *:readComment:org.chorem.pollen.persistence.entity.Poll_1bd2fe8d-f0b9-4444-8b31-92fab7cded2c *:readPoll:org.chorem.pollen.persistence.entity.Poll_1bd2fe8d-f0b9-4444-8b31-92fab7cded2c *:addVote:org.chorem.pollen.persistence.entity.Poll_1bd2fe8d-f0b9-4444-8b31-92fab7cded2c *:readChoice:org.chorem.pollen.persistence.entity.Choice_73e300d1-b7b9-48cb-93a0-de9e060af551 *:readChoice:org.chorem.pollen.persistence.entity.Choice_c192ad9e-d10e-4c2c-8488-31f5141e0473 03:26:07 INFO (AbstractPollenRestApiTest.java:166) test *getUsers* result { "permission": "8awimuz7SxW9HJKhWh2myw", "id": "ZWViZDM2NzQtZWNhOS00ZjQwLWE2NTAtMjVhNDM5OGQzMjA3" } 03:26:38 INFO (PollenRestApiRequestFilter.java:191) Use default language: fr 03:26:47 INFO (AbstractPollenRestApiTest.java:166) test *getUsers* result { "elements": [ { "name": "J", "administrator": true, "email": "julien@pollen.fake", "isDisabled": false, "isBanned": false, "emailIsValidate": true, "id": "MWQyNzdlYWItZDg4Yy00MDgwLTk5NzYtZjFhZDRhMTAzODM0" }, { "name": "J", "administrator": true, "email": "jean@pollen.fake", "isDisabled": false, "isBanned": false, "emailIsValidate": true, "id": "ZjhkYTI2NGYtYWEyMC00ZmQ2LWExMTctYWFiNDk1NWZmYTBm" }, { "name": "T", "administrator": false, "email": "tony@pollen.fake", "isDisabled": false, "isBanned": false, "emailIsValidate": true, "id": "YjgwOGMyZDUtMmMwYS00NTVmLTg2OWQtOTJiZDVjNmM0ZTRh" }, { "name": "admin", "administrator": true, "email": "admin@pollen.org", "isDisabled": false, "isBanned": false, "emailIsValidate": true, "id": "ZWViZDM2NzQtZWNhOS00ZjQwLWE2NTAtMjVhNDM5OGQzMjA3" }, { "name": "user", "administrator": false, "email": "user@pollen.org", "isDisabled": false, "isBanned": false, "emailIsValidate": true, "id": "MThiZjUyODctNTdiOC00OTIyLTkzOTgtYjAxMmE5ZmFlMWJi" } ], "pagination": { "count": 5, "currentPage": 0, "lastPage": 0, "pageSize": 10, "order": "name", "desc": false } } mars 17, 2017 3:27:11 AM org.apache.coyote.AbstractProtocol pause INFOS: Pausing ProtocolHandler ["http-bio-10000"] mars 17, 2017 3:27:12 AM org.apache.catalina.core.StandardService stopInternal INFOS: Stopping service Tomcat mars 17, 2017 3:27:41 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads GRAVE: The web application [/] appears to have started a thread named [Thread-6] but has failed to stop it. This is very likely to create a memory leak. mars 17, 2017 3:27:42 AM org.apache.coyote.AbstractProtocol stop INFOS: Stopping ProtocolHandler ["http-bio-10000"] mars 17, 2017 3:27:42 AM org.apache.coyote.AbstractProtocol destroy INFOS: Destroying ProtocolHandler ["http-bio-10000"] Tests run: 8, Failures: 0, Errors: 3, Skipped: 4, Time elapsed: 587.694 sec <<< FAILURE! - in org.chorem.pollen.rest.api.PollenUserApiTest getUser(org.chorem.pollen.rest.api.PollenUserApiTest) Time elapsed: 146.161 sec <<< ERROR! java.lang.NullPointerException getUser(org.chorem.pollen.rest.api.PollenUserApiTest) Time elapsed: 146.161 sec <<< ERROR! java.lang.NullPointerException: topiaApplicationContext can not be null! getUser(org.chorem.pollen.rest.api.PollenUserApiTest) Time elapsed: 146.161 sec <<< ERROR! java.lang.NullPointerException Running org.chorem.pollen.rest.api.PollApiTest 03:27:42 INFO (PollenServicesConfig.java:82) Pollen configuration: Filename: pollen-rest-api.properties pollen.devMode = true pollen.data.directory = <http://ci.chorem.org/jenkins/job/pollen-bundle-demo-latest/org.chorem.pollen$pollen-rest-api/ws/target/surefire-workdir/20018528896767190/org.chorem.pollen.rest.api.PollApiTest/getPollsNew/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-rev63db587 03:28:21 INFO (PollenRestApiApplicationContext.java:248) will use default logging configuration 03:28:22 INFO (VoteCountingFactory.java:70) Detected strategy [1-Normal] : org.chorem.pollen.votecounting.NormalVoteCounting 03:28:22 INFO (VoteCountingFactory.java:70) Detected strategy [2-Pourcentage] : org.chorem.pollen.votecounting.PercentageVoteCounting 03:28:22 INFO (VoteCountingFactory.java:70) Detected strategy [3-Condorcet] : org.chorem.pollen.votecounting.CondorcetVoteCounting 03:28:22 INFO (VoteCountingFactory.java:70) Detected strategy [4-Nombre] : org.chorem.pollen.votecounting.NumberVoteCounting 03:28:22 INFO (VoteCountingFactory.java:70) Detected strategy [5-Borda] : org.chorem.pollen.votecounting.BordaVoteCounting 03:28:22 INFO (VoteCountingFactory.java:70) Detected strategy [6-Vote alternatif] : org.chorem.pollen.votecounting.InstantRunoffVoteCounting 03:28:22 INFO (VoteCountingFactory.java:70) Detected strategy [7-Coombs] : org.chorem.pollen.votecounting.CoombsVoteCounting 03:28:22 INFO (EmailService.java:228) 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 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>. 03:28:22 INFO (EmailService.java:228) 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 17, 2017 3:28:22 AM org.apache.coyote.AbstractProtocol init INFOS: Initializing ProtocolHandler ["http-bio-10001"] mars 17, 2017 3:28:22 AM org.apache.catalina.core.StandardService startInternal INFOS: Starting service Tomcat mars 17, 2017 3:28:22 AM org.apache.catalina.core.StandardEngine startInternal INFOS: Starting Servlet Engine: Apache Tomcat/7.0.50 mars 17, 2017 3:28:22 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment INFOS: No global web.xml found 03:31:09 INFO (JCLLoggerAdapter.java:260) Parsed mapping <http://ci.chorem.org/jenkins/job/pollen-bundle-demo-latest/org.chorem.pollen$pollen-rest-api/ws/target/classes/mapping> 03:31:09 INFO (JCLLoggerAdapter.java:260) WebMotion is started 03:31:09 INFO (PollenTopiaTransactionFilter.java:58) Init Topia Filter mars 17, 2017 3:31:38 AM org.apache.coyote.AbstractProtocol start INFOS: Starting ProtocolHandler ["http-bio-10001"] Results : Tests in error: org.chorem.pollen.rest.api.PollenUserApiTest.getUser(org.chorem.pollen.rest.api.PollenUserApiTest) Run 1: PollenUserApiTest.getUser » NullPointer Run 2: PollenUserApiTest>AbstractPollenRestApiTest.startServer:107 » NullPointer topi... Run 3: PollenUserApiTest>AbstractPollenRestApiTest.stopServer:156 » NullPointer Tests run: 6, Failures: 0, Errors: 1, Skipped: 4 [JENKINS] Recording test results [JENKINS] Archiving disabled
participants (1)
-
admin+ci-chorem.org@codelutin.com