See <http://ci.chorem.org/jenkins/job/pollen-ci/76/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 ------------------------------------------ [...truncated 296.60 KB...] févr. 24, 2017 2:42:39 PM org.apache.coyote.AbstractProtocol stop INFOS: Stopping ProtocolHandler ["http-bio-10009"] févr. 24, 2017 2:42:39 PM org.apache.coyote.AbstractProtocol destroy INFOS: Destroying ProtocolHandler ["http-bio-10009"] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.844 sec - in org.chorem.pollen.rest.api.AuthApiTest Results : Tests run: 26, Failures: 0, Errors: 0, Skipped: 12 [JENKINS] Recording test results [INFO] [INFO] --- maven-war-plugin:3.0.0:war (default-war) @ pollen-rest-api --- [INFO] Packaging webapp [INFO] Assembling webapp [pollen-rest-api] in [<http://ci.chorem.org/jenkins/job/pollen-ci/ws/pollen-rest-api/target/pollen-rest-api-3.0-SNAPSHOT]> [INFO] Processing war project [INFO] Copying webapp resources [<http://ci.chorem.org/jenkins/job/pollen-ci/ws/pollen-rest-api/src/main/webapp]> [INFO] Webapp assembled in [71 msecs] [INFO] Building war: <http://ci.chorem.org/jenkins/job/pollen-ci/ws/pollen-rest-api/target/pollen-rest-api-3.0-SNAPSHOT.war> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ pollen-rest-api --- [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 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Pollen :: UI (Riot Js) 3.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ pollen-ui-riot-js --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-project-files) @ pollen-ui-riot-js --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-platform) @ pollen-ui-riot-js --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-platformDomain) @ pollen-ui-riot-js --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-projectId) @ pollen-ui-riot-js --- [INFO] [INFO] --- frontend-maven-plugin:1.3:install-node-and-npm (install node and npm) @ pollen-ui-riot-js --- [INFO] Node v4.2.6 is already installed. [INFO] NPM 3.5.2 is already installed. [INFO] [INFO] --- exec-maven-plugin:1.5.0:exec (npm install) @ pollen-ui-riot-js --- npm WARN package.json copy-webpack-plugin@3.0.1 No README data npm WARN package.json loader-utils@0.2.16 No README data npm ERR! Error: Attempt to unlock eslint@^3.16.0, which hasn't been locked npm ERR! at unlock (/usr/lib/node_modules/npm/lib/utils/locker.js:44:11) npm ERR! at cb (/usr/lib/node_modules/npm/lib/cache/add-named.js:32:5) npm ERR! at /usr/lib/node_modules/npm/lib/cache/add-named.js:41:20 npm ERR! at /usr/lib/node_modules/npm/lib/utils/locker.js:30:7 npm ERR! at /usr/lib/node_modules/npm/node_modules/lockfile/lockfile.js:167:38 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this *entire* log, npm ERR! including the npm and node versions, at: npm ERR! <http://github.com/npm/npm/issues> npm ERR! System Linux 3.16.0-4-amd64 npm ERR! command "node" "/usr/bin/npm" "install" "--no-optional" npm ERR! cwd <http://ci.chorem.org/jenkins/job/pollen-ci/ws/pollen-ui-riot-js> npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.16 npm ERR! Error: Attempt to unlock eslint-plugin-riot@^0.1.6, which hasn't been locked npm ERR! at unlock (/usr/lib/node_modules/npm/lib/utils/locker.js:44:11) npm ERR! at cb (/usr/lib/node_modules/npm/lib/cache/add-named.js:32:5) npm ERR! at /usr/lib/node_modules/npm/lib/cache/add-named.js:41:20 npm ERR! at /usr/lib/node_modules/npm/lib/utils/locker.js:30:7 npm ERR! at /usr/lib/node_modules/npm/node_modules/lockfile/lockfile.js:167:38 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this *entire* log, npm ERR! including the npm and node versions, at: npm ERR! <http://github.com/npm/npm/issues> npm ERR! System Linux 3.16.0-4-amd64 npm ERR! command "node" "/usr/bin/npm" "install" "--no-optional" npm ERR! cwd <http://ci.chorem.org/jenkins/job/pollen-ci/ws/pollen-ui-riot-js> npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.16 npm ERR! Error: Attempt to unlock font-awesome@4.7.0, which hasn't been locked npm ERR! at unlock (/usr/lib/node_modules/npm/lib/utils/locker.js:44:11) npm ERR! at cb (/usr/lib/node_modules/npm/lib/cache/add-named.js:32:5) npm ERR! at /usr/lib/node_modules/npm/lib/cache/add-named.js:41:20 npm ERR! at /usr/lib/node_modules/npm/lib/utils/locker.js:30:7 npm ERR! at /usr/lib/node_modules/npm/node_modules/lockfile/lockfile.js:167:38 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this *entire* log, npm ERR! including the npm and node versions, at: npm ERR! <http://github.com/npm/npm/issues> npm ERR! System Linux 3.16.0-4-amd64 npm ERR! command "node" "/usr/bin/npm" "install" "--no-optional" npm ERR! cwd <http://ci.chorem.org/jenkins/job/pollen-ci/ws/pollen-ui-riot-js> npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.16 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! <http://ci.chorem.org/jenkins/job/pollen-ci/ws/pollen-ui-riot-js/npm-debug.log> npm ERR! not ok code 0 [ERROR] Command execution failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711) at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) 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) [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 [ 1.651 s] [INFO] Pollen :: VoteCounting (Api) ....................... SUCCESS [ 5.658 s] [INFO] Pollen :: VoteCounting :: Normal ................... SUCCESS [ 2.092 s] [INFO] Pollen :: VoteCounting :: Percentage ............... SUCCESS [ 1.897 s] [INFO] Pollen :: VoteCounting :: Condorcet ................ SUCCESS [ 1.801 s] [INFO] Pollen :: VoteCounting :: Number ................... SUCCESS [ 1.789 s] [INFO] Pollen :: VoteCounting :: Borda .................... SUCCESS [ 1.825 s] [INFO] Pollen :: VoteCounting :: Instant Runoff ........... SUCCESS [ 1.709 s] [INFO] Pollen :: VoteCounting :: Coombs ................... SUCCESS [ 1.697 s] [INFO] Pollen :: VoteCounting (Aggregator) ................ SUCCESS [ 0.365 s] [INFO] Pollen :: Persistence .............................. SUCCESS [ 2.608 s] [INFO] Pollen :: Service .................................. SUCCESS [ 21.027 s] [INFO] Pollen :: Rest Api ................................. SUCCESS [ 36.136 s] [INFO] Pollen :: UI (Riot Js) ............................. FAILURE [ 1.009 s] [INFO] Pollen :: Bundle ................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:26 min [INFO] Finished at: 2017-02-24T14:42:43+01:00 [INFO] Final Memory: 92M/551M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (npm install) on project pollen-ui-riot-js: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (npm install) on project pollen-ui-riot-js: Command execution failed. 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.MojoExecutionException: Command execution failed. at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:302) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 31 more Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:764) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:711) at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:289) ... 33 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/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :pollen-ui-riot-js Sending e-mails to: pollen-build@list.chorem.org dev@tchemit.fr bavencoff@codelutin.com morin@codelutin.com Sending e-mails to: pollen-build@list.chorem.org dev@tchemit.fr bavencoff@codelutin.com morin@codelutin.com Set build name. New build name is '#76-origin/develop' channel stopped Variable with name 'BUILD_DISPLAY_NAME' already exists, current value: '#76-origin/develop', new value: '#76-origin/develop' 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