See <http://ci.chorem.org/jenkins/job/pollen-sonar/8/display/redirect?page=changes> Changes: [Tony CHEMIT] clean code and improve CORS management [Tony CHEMIT] initial import of pollen-ui-riot-js [Tony CHEMIT] debut formulaire de création de sondage (le squelette) + améliorations [Tony CHEMIT] ajout des choix de type text + quelques améliorations ailleurs [Tony CHEMIT] Use same configuration as default bundle application for dev [Tony CHEMIT] Amélioration i18n + utilisation base par défaut sinon certaines pages ne [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] Use a package for poll tags + continue ui [Tony CHEMIT] Suppression EmitterService (tout est dans la session), enfin on peut [Tony CHEMIT] Add help mecanism on settings [Tony CHEMIT] Add missing license header + remove my organisation [Tony CHEMIT] fix node build [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] improve PollenBean [Tony CHEMIT] Ajout des votes [Tony CHEMIT] ajout de nombre de votes sur un sondage [Tony CHEMIT] Ajout des résultats + ... [Tony CHEMIT] Utilisation de moment pour afficher les dates + continue le dev sur les [Tony CHEMIT] correction de la récupération de l'utilisateur [Tony CHEMIT] Pouvoir réouvrir le sondage [Tony CHEMIT] i18n pagination + améliorations [Tony CHEMIT] gestion des choix en mode edition [Tony CHEMIT] Amélioration settings [Tony CHEMIT] fix tests [Tony CHEMIT] Mise en place des différents types de scrutin + revue des éditeurs de [Tony CHEMIT] Meilleure organisation de la configuration + édition [Tony CHEMIT] i18n sur la page de création du sondage [Tony CHEMIT] Mise en place des choix de type date [Tony CHEMIT] amélioration rendu choix de date [Tony CHEMIT] ajout menu de création de sondage + amélioration rendu des choix dans [Tony CHEMIT] gestion i18n des checkbox :) [Tony CHEMIT] quelques retouches de styles [Tony CHEMIT] Ajout de la gestion des utilisateurs [Tony CHEMIT] gestion des utilisateurs bannis [Tony CHEMIT] Renommage de tags + gestion des participants à un sondage [Sylvain Bavencoff] mise en place du linter pour le js et les tag riot et correction de ces [Kevin Morin] fix popup background style: in firefox, it started from the middle of [Kevin Morin] Even in dev mode, the emails are sent. By default, the SMTP is [Kevin Morin] style i18n header [Kevin Morin] refs #2 Create a basic poll : the creator info did not have the right [Kevin Morin] change parent pom + upgrade version to 3.0 [Kevin Morin] revert changes to fix tests [Kevin Morin] upgrade all poms to 3.0 + remove old js folders [Tony CHEMIT] Generate poll participants for restricted poll [Tony CHEMIT] Add my participant polls and my invited polls [Kevin Morin] rename tag extension to tag.html [Sylvain Bavencoff] mise en place gitlab-ci [Sylvain Bavencoff] mise en place gitlab-ci [Sylvain Bavencoff] test CI [Sylvain Bavencoff] fix test ------------------------------------------ [...truncated 263.77 KB...] 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/ws/pollen-rest-api/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/ws/pollen-rest-api/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 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 [JENKINS] Archiving disabled [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Pollen ............................................. SUCCESS [01:15 min] [INFO] Pollen :: VoteCounting (Api) ....................... SUCCESS [04:30 min] [INFO] Pollen :: VoteCounting :: Normal ................... SUCCESS [12:50 min] [INFO] Pollen :: VoteCounting :: Percentage ............... SUCCESS [02:37 min] [INFO] Pollen :: VoteCounting :: Condorcet ................ SUCCESS [03:12 min] [INFO] Pollen :: VoteCounting :: Number ................... SUCCESS [01:39 min] [INFO] Pollen :: VoteCounting :: Borda .................... SUCCESS [02:16 min] [INFO] Pollen :: VoteCounting :: Instant Runoff ........... SUCCESS [ 32.724 s] [INFO] Pollen :: VoteCounting :: Coombs ................... SUCCESS [02:33 min] [INFO] Pollen :: VoteCounting (Aggregator) ................ SUCCESS [ 2.582 s] [INFO] Pollen :: Persistence .............................. SUCCESS [01:14 min] [INFO] Pollen :: Service .................................. SUCCESS [12:06 min] [INFO] Pollen :: Rest Api ................................. FAILURE [46:57 min] [INFO] Pollen :: UI (Riot Js) ............................. SKIPPED [INFO] Pollen :: Bundle ................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:52 h [INFO] Finished at: 2017-02-25T04:12:44+01:00 [INFO] Final Memory: 64M/313M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project pollen-rest-api: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? [ERROR] Command was /bin/sh -c cd <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api> && /opt/repository/jdk1.8.0_121/jre/bin/java -jar <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api/target/surefire/surefirebooter149847124226017225.jar> <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api/target/surefire/surefire8006091558971949704tmp> <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api/target/surefire/surefire_95889128775373427117tmp> [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project pollen-rest-api: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? Command was /bin/sh -c cd <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api> && /opt/repository/jdk1.8.0_121/jre/bin/java -jar <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api/target/surefire/surefirebooter149847124226017225.jar> <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api/target/surefire/surefire8006091558971949704tmp> <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api/target/surefire/surefire_95889128775373427117tmp> 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:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.jvnet.hudson.maven3.launcher.Maven33Launcher.main(Maven33Launcher.java:129) 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.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at jenkins.maven3.agent.Maven33Main.launch(Maven33Main.java:176) 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 hudson.maven.Maven3Builder.call(Maven3Builder.java:139) at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) at hudson.remoting.UserRequest.perform(UserRequest.java:153) at hudson.remoting.UserRequest.perform(UserRequest.java:50) at hudson.remoting.Request$2.run(Request.java:336) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) 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: org.apache.maven.plugin.PluginExecutionException: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? Command was /bin/sh -c cd <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api> && /opt/repository/jdk1.8.0_121/jre/bin/java -jar <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api/target/surefire/surefirebooter149847124226017225.jar> <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api/target/surefire/surefire8006091558971949704tmp> <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api/target/surefire/surefire_95889128775373427117tmp> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 31 more Caused by: java.lang.RuntimeException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? Command was /bin/sh -c cd <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api> && /opt/repository/jdk1.8.0_121/jre/bin/java -jar <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api/target/surefire/surefirebooter149847124226017225.jar> <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api/target/surefire/surefire8006091558971949704tmp> <http://ci.chorem.org/jenkins/job/pollen-sonar/ws/pollen-rest-api/target/surefire/surefire_95889128775373427117tmp> at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:590) at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:460) at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:229) at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:201) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1026) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:862) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:755) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ... 32 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/PluginExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :pollen-rest-api Sending e-mails to: pollen-build@list.chorem.org dev@tchemit.fr morin@codelutin.com channel stopped FATAL: No SonarQube installation assigned for this job. There are 0 available installations that can be configured. If you want to reassign a lot of jobs to a different SonarQube installation see http://docs.sonarqube.org/display/PLUG/Reassign+Jobs+to+Another+SonarQube+In... Build step 'SonarQube analysis with Maven' 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 1 second