Skip to content
Succès

Sortie de la console

09:42:53 [2024-02-07T08:42:53.007Z] Démarré par l'utilisateur Miguel Moquillon
09:42:53 [2024-02-07T08:42:53.008Z] Running as userbuild
09:42:53 [2024-02-07T08:42:53.676Z] Obtained src/releases/docker-build/Jenkinsfile from git https://github.com/Silverpeas/Jenkins-Pipelines.git
09:42:55 [2024-02-07T08:42:55.641Z] [Pipeline] Start of Pipeline
09:42:57 [2024-02-07T08:42:57.358Z] [Pipeline] node
09:42:57 [2024-02-07T08:42:57.384Z] Running on Jenkins in /var/lib/jenkins/workspace/Silverpeas Projects Build Image
09:42:57 [2024-02-07T08:42:57.397Z] [Pipeline] {
09:42:57 [2024-02-07T08:42:57.443Z] [Pipeline] stage
09:42:57 [2024-02-07T08:42:57.447Z] [Pipeline] { (Declarative: Checkout SCM)
09:42:57 [2024-02-07T08:42:57.469Z] [Pipeline] checkout
09:42:57 [2024-02-07T08:42:57.547Z] Selected Git installation does not exist. Using Default
09:42:57 [2024-02-07T08:42:57.547Z] The recommended git tool is: NONE
09:42:57 [2024-02-07T08:42:57.547Z] No credentials specified
09:42:57 [2024-02-07T08:42:57.549Z]  > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Projects Build Image/.git # timeout=10
09:42:57 [2024-02-07T08:42:57.553Z] Fetching changes from the remote Git repository
09:42:57 [2024-02-07T08:42:57.558Z]  > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/Jenkins-Pipelines.git # timeout=10
09:42:57 [2024-02-07T08:42:57.564Z] Fetching upstream changes from https://github.com/Silverpeas/Jenkins-Pipelines.git
09:42:57 [2024-02-07T08:42:57.564Z]  > /usr/bin/git --version # timeout=10
09:42:57 [2024-02-07T08:42:57.569Z]  > git --version # 'git version 2.34.1'
09:42:57 [2024-02-07T08:42:57.569Z]  > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/Jenkins-Pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
09:42:57 [2024-02-07T08:42:57.931Z]  > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
09:42:57 [2024-02-07T08:42:57.941Z] Checking out Revision 5e31393990e826fcfee35128e9255dfd9f016c63 (refs/remotes/origin/master)
09:42:57 [2024-02-07T08:42:57.942Z]  > /usr/bin/git config core.sparsecheckout # timeout=10
09:42:57 [2024-02-07T08:42:57.951Z]  > /usr/bin/git checkout -f 5e31393990e826fcfee35128e9255dfd9f016c63 # timeout=10
09:42:57 [2024-02-07T08:42:57.972Z] Commit message: "Update the build of the Docker image for a build environment for Silverpeas projects. First, a new build argument is passed: the version of Java to use for running a Sonar analysis. Second, in order to build a fix version of an existing Docker image stable version, we reorder the pipeline stages so that the release of a stable version is done after its build."
09:42:57 [2024-02-07T08:42:57.974Z]  > /usr/bin/git rev-list --no-walk 5e31393990e826fcfee35128e9255dfd9f016c63 # timeout=10
09:42:58 [2024-02-07T08:42:58.008Z] [Pipeline] }
09:42:58 [2024-02-07T08:42:58.015Z] [Pipeline] // stage
09:42:58 [2024-02-07T08:42:58.090Z] [Pipeline] withEnv
09:42:58 [2024-02-07T08:42:58.093Z] [Pipeline] {
09:42:58 [2024-02-07T08:42:58.162Z] [Pipeline] withEnv
09:42:58 [2024-02-07T08:42:58.164Z] [Pipeline] {
09:42:58 [2024-02-07T08:42:58.211Z] [Pipeline] stage
09:42:58 [2024-02-07T08:42:58.213Z] [Pipeline] { (Check the Docker image version to build)
09:42:58 [2024-02-07T08:42:58.475Z] Stage "Check the Docker image version to build" skipped due to when conditional
09:42:58 [2024-02-07T08:42:58.562Z] [Pipeline] }
09:42:58 [2024-02-07T08:42:58.567Z] [Pipeline] // stage
09:42:58 [2024-02-07T08:42:58.578Z] [Pipeline] stage
09:42:58 [2024-02-07T08:42:58.579Z] [Pipeline] { (Checkout the project)
09:42:58 [2024-02-07T08:42:58.614Z] [Pipeline] git
09:42:58 [2024-02-07T08:42:58.620Z] The recommended git tool is: NONE
09:42:58 [2024-02-07T08:42:58.632Z] using credential cacc0467-7c85-41d1-bf4e-eaa470dd5e59
09:42:58 [2024-02-07T08:42:58.659Z]  > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Projects Build Image/.git # timeout=10
09:42:58 [2024-02-07T08:42:58.665Z] Fetching changes from the remote Git repository
09:42:58 [2024-02-07T08:42:58.667Z]  > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/docker-silverpeas-build # timeout=10
09:42:58 [2024-02-07T08:42:58.674Z] Fetching upstream changes from https://github.com/Silverpeas/docker-silverpeas-build
09:42:58 [2024-02-07T08:42:58.674Z]  > /usr/bin/git --version # timeout=10
09:42:58 [2024-02-07T08:42:58.679Z]  > git --version # 'git version 2.34.1'
09:42:58 [2024-02-07T08:42:58.679Z] using GIT_ASKPASS to set credentials GitHub Credentials For Jenkins
09:42:58 [2024-02-07T08:42:58.681Z]  > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/docker-silverpeas-build +refs/heads/*:refs/remotes/origin/* # timeout=10
09:42:59 [2024-02-07T08:42:59.227Z]  > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
09:42:59 [2024-02-07T08:42:59.235Z] Checking out Revision b2eacc1ab23830997c9e32c32dc2b310dd6a5350 (refs/remotes/origin/master)
09:42:59 [2024-02-07T08:42:59.235Z]  > /usr/bin/git config core.sparsecheckout # timeout=10
09:42:59 [2024-02-07T08:42:59.241Z]  > /usr/bin/git checkout -f b2eacc1ab23830997c9e32c32dc2b310dd6a5350 # timeout=10
09:42:59 [2024-02-07T08:42:59.278Z]  > /usr/bin/git branch -a -v --no-abbrev # timeout=10
09:42:59 [2024-02-07T08:42:59.285Z]  > /usr/bin/git branch -D master # timeout=10
09:42:59 [2024-02-07T08:42:59.293Z]  > /usr/bin/git checkout -b master b2eacc1ab23830997c9e32c32dc2b310dd6a5350 # timeout=10
09:42:59 [2024-02-07T08:42:59.350Z] Commit message: "Add the missing env var SONAR_JDK_VERSION in Dockerfile"
09:42:59 [2024-02-07T08:42:59.351Z]  > /usr/bin/git rev-list --no-walk 6287587e2bd7d21738bd798a9adb95d6e0cbd120 # timeout=10
09:42:59 [2024-02-07T08:42:59.378Z] [Pipeline] }
09:42:59 [2024-02-07T08:42:59.385Z] [Pipeline] // stage
09:42:59 [2024-02-07T08:42:59.396Z] [Pipeline] stage
09:42:59 [2024-02-07T08:42:59.397Z] [Pipeline] { (Release stable version)
09:42:59 [2024-02-07T08:42:59.461Z] [Pipeline] withCredentials
09:42:59 [2024-02-07T08:42:59.491Z] Masking supported pattern matches of $GIT_AUTH or $GIT_AUTH_USR or $GIT_AUTH_PSW
09:42:59 [2024-02-07T08:42:59.505Z] [Pipeline] {
09:42:59 [2024-02-07T08:42:59.522Z] [Pipeline] sh
09:42:59 [2024-02-07T08:42:59.801Z] + git config --local credential.helper !f() { echo username=${GIT_AUTH_USR}; echo password=$GIT_AUTH_PSW; }; f
09:42:59 [2024-02-07T08:42:59.817Z] [Pipeline] sh
09:43:00 [2024-02-07T08:43:00.079Z] + sed -i -e s/WILDFLY_VERSION=[0-9.]\+/WILDFLY_VERSION=26.1.1/g Dockerfile
09:43:00 [2024-02-07T08:43:00.080Z] + sed -i -e s/JAVA_VERSION=[0-9]\+/JAVA_VERSION=11/g Dockerfile
09:43:00 [2024-02-07T08:43:00.080Z] + sed -i -e s/SONAR_JAVA_VERSION=[0-9]\+/SONAR_JAVA_VERSION=17/g Dockerfile
09:43:00 [2024-02-07T08:43:00.080Z] + sed -i -e s/version=[0-9.]\+/version=6.3.2/g Dockerfile
09:43:00 [2024-02-07T08:43:00.080Z] + sed -i -e s/build=.\+/build=1/g Dockerfile
09:43:00 [2024-02-07T08:43:00.081Z] + git commit -am Update Dockerfile for building and registering image 6.3.2
09:43:00 [2024-02-07T08:43:00.081Z] [master 7983531] Update Dockerfile for building and registering image 6.3.2
09:43:00 [2024-02-07T08:43:00.081Z]  1 file changed, 2 insertions(+), 2 deletions(-)
09:43:00 [2024-02-07T08:43:00.081Z] + git push origin HEAD:master
09:43:00 [2024-02-07T08:43:00.994Z] To https://github.com/Silverpeas/docker-silverpeas-build
09:43:00 [2024-02-07T08:43:00.994Z]    b2eacc1..7983531  HEAD -> master
09:43:00 [2024-02-07T08:43:00.994Z] + git tag 6.3.2
09:43:00 [2024-02-07T08:43:00.995Z] + git push origin --tags
09:43:01 [2024-02-07T08:43:01.907Z] To https://github.com/Silverpeas/docker-silverpeas-build
09:43:01 [2024-02-07T08:43:01.907Z]  * [new tag]         6.3.2 -> 6.3.2
09:43:01 [2024-02-07T08:43:01.911Z] [Pipeline] }
09:43:01 [2024-02-07T08:43:01.925Z] [Pipeline] // withCredentials
09:43:01 [2024-02-07T08:43:01.939Z] [Pipeline] }
09:43:01 [2024-02-07T08:43:01.949Z] [Pipeline] // stage
09:43:01 [2024-02-07T08:43:01.967Z] [Pipeline] stage
09:43:01 [2024-02-07T08:43:01.969Z] [Pipeline] { (Update current latest version)
09:43:02 [2024-02-07T08:43:02.021Z] Stage "Update current latest version" skipped due to when conditional
09:43:02 [2024-02-07T08:43:02.024Z] [Pipeline] }
09:43:02 [2024-02-07T08:43:02.035Z] [Pipeline] // stage
09:43:02 [2024-02-07T08:43:02.051Z] [Pipeline] stage
09:43:02 [2024-02-07T08:43:02.053Z] [Pipeline] { (Publish version)
09:43:02 [2024-02-07T08:43:02.106Z] [Pipeline] script
09:43:02 [2024-02-07T08:43:02.138Z] [Pipeline] {
09:43:03 [2024-02-07T08:43:03.153Z] [Pipeline] isUnix
09:43:03 [2024-02-07T08:43:03.166Z] [Pipeline] withEnv
09:43:03 [2024-02-07T08:43:03.167Z] [Pipeline] {
09:43:03 [2024-02-07T08:43:03.178Z] [Pipeline] sh
09:43:03 [2024-02-07T08:43:03.435Z] + docker build -t silverpeas/silverbuild:6.3.2 .
09:43:03 [2024-02-07T08:43:03.987Z] #0 building with "default" instance using docker driver
09:43:03 [2024-02-07T08:43:03.987Z] 
09:43:03 [2024-02-07T08:43:03.987Z] #1 [internal] load build definition from Dockerfile
09:43:03 [2024-02-07T08:43:03.987Z] #1 transferring dockerfile: 5.04kB done
09:43:03 [2024-02-07T08:43:03.987Z] #1 DONE 0.0s
09:43:03 [2024-02-07T08:43:03.987Z] 
09:43:03 [2024-02-07T08:43:03.987Z] #2 [internal] load metadata for docker.io/library/ubuntu:jammy
09:43:03 [2024-02-07T08:43:03.987Z] #2 DONE 0.0s
09:43:03 [2024-02-07T08:43:03.987Z] 
09:43:03 [2024-02-07T08:43:03.987Z] #3 [internal] load .dockerignore
09:43:03 [2024-02-07T08:43:03.987Z] #3 transferring context: 2B done
09:43:03 [2024-02-07T08:43:03.987Z] #3 DONE 0.0s
09:43:03 [2024-02-07T08:43:03.987Z] 
09:43:03 [2024-02-07T08:43:03.987Z] #4 [1/5] FROM docker.io/library/ubuntu:jammy
09:43:03 [2024-02-07T08:43:03.987Z] #4 DONE 0.0s
09:43:03 [2024-02-07T08:43:03.987Z] 
09:43:03 [2024-02-07T08:43:03.987Z] #5 [internal] load build context
09:43:03 [2024-02-07T08:43:03.987Z] #5 transferring context: 4.47MB 0.0s done
09:43:03 [2024-02-07T08:43:03.987Z] #5 DONE 0.0s
09:43:03 [2024-02-07T08:43:03.988Z] 
09:43:03 [2024-02-07T08:43:03.988Z] #6 [2/5] COPY src/maven-deps.zip /tmp/
09:43:03 [2024-02-07T08:43:03.988Z] #6 CACHED
09:43:03 [2024-02-07T08:43:03.988Z] 
09:43:03 [2024-02-07T08:43:03.988Z] #7 [3/5] RUN apt-get update && apt-get install -y --no-install-recommends     apt-utils     iputils-ping     vim     curl     git     openssh-client     gnupg     locales     language-pack-en     language-pack-fr     tzdata     procps     net-tools     zip     unzip     openjdk-11-jdk     openjdk-17-jdk     ffmpeg     imagemagick     ghostscript     libreoffice-writer     libreoffice-calc     libreoffice-impress     gpgv     groovy   && groupadd -g 119 silverbuild   && useradd -u 111 -g 119 -d /home/silverbuild -s /bin/bash -m silverbuild   && curl -sL https://deb.nodesource.com/setup_18.x | bash -   && apt-get install -y nodejs   && rm -rf /var/lib/apt/lists/*   && update-ca-certificates -f   && mkdir -p /usr/share/maven /usr/share/maven/ref   && curl -fsSL -o /tmp/apache-maven.tar.gz https://dlcdn.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz   && echo "332088670d14fa9ff346e6858ca0acca304666596fec86eea89253bd496d3c90deae2be5091be199f48e09d46cec817c6419d5161fb4ee37871503f472765d00  /tmp/apache-maven.tar.gz" | sha512sum -c -   && tar -xzf /tmp/apache-maven.tar.gz -C /usr/share/maven --strip-components=1   && rm -f /tmp/apache-maven.tar.gz   && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn   && unzip /tmp/maven-deps.zip -d /home/silverbuild/   && curl -fsSL -o /tmp/swftools-bin-0.9.2.zip https://www.silverpeas.org/files/swftools-bin-0.9.2.zip   && echo 'd40bd091c84bde2872f2733a3c767b3a686c8e8477a3af3a96ef347cf05c5e43 *swftools-bin-0.9.2.zip' | sha256sum -   && unzip /tmp/swftools-bin-0.9.2.zip -d /   && curl -fsSL -o /tmp/pdf2json-bin-0.68.zip https://www.silverpeas.org/files/pdf2json-bin-0.68.zip   && echo 'eec849cdd75224f9d44c0999ed1fbe8764a773d8ab0cf7fff4bf922ab81c9f84 *pdf2json-bin-0.68.zip' | sha256sum -   && unzip /tmp/pdf2json-bin-0.68.zip -d /   && curl -fsSL -o /tmp/wildfly-26.1.1.Final.FOR-TESTS.zip https://www.silverpeas.org/files/wildfly-26.1.1.Final.FOR-TESTS.zip   && mkdir /opt/wildfly-for-tests   && unzip /tmp/wildfly-26.1.1.Final.FOR-TESTS.zip -d /opt/wildfly-for-tests/   && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen   && echo "fr_FR.UTF-8 UTF-8" >> /etc/locale.gen   && echo "de_DE.UTF-8 UTF-8" >> /etc/locale.gen   && locale-gen   && update-locale LANG=fr_FR.UTF-8 LANGUAGE=fr_FR.UTF-8 LC_ALL=fr_FR.UTF-8
09:43:03 [2024-02-07T08:43:03.988Z] #7 CACHED
09:43:03 [2024-02-07T08:43:03.988Z] 
09:43:03 [2024-02-07T08:43:03.988Z] #8 [4/5] COPY src/settings.xml /home/silverbuild/.m2/
09:43:03 [2024-02-07T08:43:03.988Z] #8 CACHED
09:43:03 [2024-02-07T08:43:03.988Z] 
09:43:03 [2024-02-07T08:43:03.988Z] #9 [5/5] RUN chown -R silverbuild:silverbuild /home/silverbuild   && chown -R silverbuild:silverbuild /opt/wildfly-for-tests
09:43:03 [2024-02-07T08:43:03.988Z] #9 CACHED
09:43:03 [2024-02-07T08:43:03.988Z] 
09:43:03 [2024-02-07T08:43:03.988Z] #10 exporting to image
09:43:03 [2024-02-07T08:43:03.988Z] #10 exporting layers done
09:43:03 [2024-02-07T08:43:03.988Z] #10 writing image sha256:fe42ba4d1add3c86cc3ce8ac573646eb72af8a6c6a088eec305d43008a93d994 done
09:43:03 [2024-02-07T08:43:03.988Z] #10 naming to docker.io/silverpeas/silverbuild:6.3.2 done
09:43:03 [2024-02-07T08:43:03.988Z] #10 DONE 0.0s
09:43:03 [2024-02-07T08:43:03.991Z] [Pipeline] }
09:43:03 [2024-02-07T08:43:03.998Z] [Pipeline] // withEnv
09:43:04 [2024-02-07T08:43:04.064Z] [Pipeline] withEnv
09:43:04 [2024-02-07T08:43:04.066Z] [Pipeline] {
09:43:04 [2024-02-07T08:43:04.082Z] [Pipeline] withDockerRegistry
09:43:04 [2024-02-07T08:43:04.119Z] $ docker login -u mmoqui -p ******** https://index.docker.io/v1/
09:43:04 [2024-02-07T08:43:04.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin.
09:43:05 [2024-02-07T08:43:05.047Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Silverpeas Projects Build Image@tmp/6faa7533-a7a9-47e2-abb1-a4b5d3d1c91c/config.json.
09:43:05 [2024-02-07T08:43:05.047Z] Configure a credential helper to remove this warning. See
09:43:05 [2024-02-07T08:43:05.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store
09:43:05 [2024-02-07T08:43:05.047Z] 
09:43:05 [2024-02-07T08:43:05.048Z] Login Succeeded
09:43:05 [2024-02-07T08:43:05.055Z] [Pipeline] {
09:43:05 [2024-02-07T08:43:05.084Z] [Pipeline] isUnix
09:43:05 [2024-02-07T08:43:05.087Z] [Pipeline] withEnv
09:43:05 [2024-02-07T08:43:05.088Z] [Pipeline] {
09:43:05 [2024-02-07T08:43:05.098Z] [Pipeline] sh
09:43:05 [2024-02-07T08:43:05.356Z] + docker tag silverpeas/silverbuild:6.3.2 silverpeas/silverbuild:6.3.2
09:43:05 [2024-02-07T08:43:05.358Z] [Pipeline] }
09:43:05 [2024-02-07T08:43:05.368Z] [Pipeline] // withEnv
09:43:05 [2024-02-07T08:43:05.381Z] [Pipeline] isUnix
09:43:05 [2024-02-07T08:43:05.385Z] [Pipeline] withEnv
09:43:05 [2024-02-07T08:43:05.386Z] [Pipeline] {
09:43:05 [2024-02-07T08:43:05.402Z] [Pipeline] sh
09:43:05 [2024-02-07T08:43:05.664Z] + docker push silverpeas/silverbuild:6.3.2
09:43:05 [2024-02-07T08:43:05.664Z] The push refers to repository [docker.io/silverpeas/silverbuild]
09:43:05 [2024-02-07T08:43:05.915Z] 7e7db77efd52: Preparing
09:43:05 [2024-02-07T08:43:05.915Z] 95bb771b874a: Preparing
09:43:05 [2024-02-07T08:43:05.915Z] 739e70426e64: Preparing
09:43:05 [2024-02-07T08:43:05.915Z] 1f3555e43ee3: Preparing
09:43:05 [2024-02-07T08:43:05.915Z] 17f623af01e2: Preparing
09:43:06 [2024-02-07T08:43:06.467Z] 17f623af01e2: Layer already exists
09:43:06 [2024-02-07T08:43:06.467Z] 1f3555e43ee3: Layer already exists
09:43:06 [2024-02-07T08:43:06.718Z] 95bb771b874a: Layer already exists
09:43:06 [2024-02-07T08:43:06.969Z] 7e7db77efd52: Layer already exists
09:43:06 [2024-02-07T08:43:06.969Z] 739e70426e64: Layer already exists
09:43:10 [2024-02-07T08:43:10.200Z] 6.3.2: digest: sha256:fef2482ad6b4fe52e9b95233b0149bb68d8076e22da0d2b227b740acc7ba7874 size: 1374
09:43:10 [2024-02-07T08:43:10.202Z] [Pipeline] }
09:43:10 [2024-02-07T08:43:10.213Z] [Pipeline] // withEnv
09:43:10 [2024-02-07T08:43:10.223Z] [Pipeline] }
09:43:10 [2024-02-07T08:43:10.232Z] [Pipeline] // withDockerRegistry
09:43:10 [2024-02-07T08:43:10.242Z] [Pipeline] }
09:43:10 [2024-02-07T08:43:10.251Z] [Pipeline] // withEnv
09:43:10 [2024-02-07T08:43:10.260Z] [Pipeline] }
09:43:10 [2024-02-07T08:43:10.269Z] [Pipeline] // script
09:43:10 [2024-02-07T08:43:10.279Z] [Pipeline] }
09:43:10 [2024-02-07T08:43:10.288Z] [Pipeline] // stage
09:43:10 [2024-02-07T08:43:10.408Z] [Pipeline] stage
09:43:10 [2024-02-07T08:43:10.409Z] [Pipeline] { (Declarative: Post Actions)
09:43:10 [2024-02-07T08:43:10.433Z] [Pipeline] step
09:43:10 [2024-02-07T08:43:10.469Z] [Pipeline] script
09:43:10 [2024-02-07T08:43:10.476Z] [Pipeline] {
09:43:10 [2024-02-07T08:43:10.498Z] [Pipeline] }
09:43:10 [2024-02-07T08:43:10.505Z] [Pipeline] // script
09:43:10 [2024-02-07T08:43:10.525Z] [Pipeline] }
09:43:10 [2024-02-07T08:43:10.532Z] [Pipeline] // stage
09:43:10 [2024-02-07T08:43:10.540Z] [Pipeline] }
09:43:10 [2024-02-07T08:43:10.548Z] [Pipeline] // withEnv
09:43:10 [2024-02-07T08:43:10.556Z] [Pipeline] }
09:43:10 [2024-02-07T08:43:10.563Z] [Pipeline] // withEnv
09:43:10 [2024-02-07T08:43:10.572Z] [Pipeline] }
09:43:10 [2024-02-07T08:43:10.581Z] [Pipeline] // node
09:43:10 [2024-02-07T08:43:10.586Z] [Pipeline] End of Pipeline
09:43:10 [2024-02-07T08:43:10.640Z] Finished: SUCCESS