Skip to content
Succès

Sortie de la console

09:43:36 [2024-02-07T08:43:36.628Z] Démarré par l'utilisateur Miguel Moquillon
09:43:36 [2024-02-07T08:43:36.628Z] Running as userbuild
09:43:37 [2024-02-07T08:43:37.048Z] Obtained src/releases/docker-build/Jenkinsfile from git https://github.com/Silverpeas/Jenkins-Pipelines.git
09:43:37 [2024-02-07T08:43:37.196Z] [Pipeline] Start of Pipeline
09:43:37 [2024-02-07T08:43:37.485Z] [Pipeline] node
09:43:37 [2024-02-07T08:43:37.489Z] Running on Jenkins in /var/lib/jenkins/workspace/Silverpeas Projects Build Image
09:43:37 [2024-02-07T08:43:37.493Z] [Pipeline] {
09:43:37 [2024-02-07T08:43:37.510Z] [Pipeline] stage
09:43:37 [2024-02-07T08:43:37.512Z] [Pipeline] { (Declarative: Checkout SCM)
09:43:37 [2024-02-07T08:43:37.519Z] [Pipeline] checkout
09:43:37 [2024-02-07T08:43:37.521Z] Selected Git installation does not exist. Using Default
09:43:37 [2024-02-07T08:43:37.521Z] The recommended git tool is: NONE
09:43:37 [2024-02-07T08:43:37.521Z] No credentials specified
09:43:37 [2024-02-07T08:43:37.522Z]  > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Projects Build Image/.git # timeout=10
09:43:37 [2024-02-07T08:43:37.526Z] Fetching changes from the remote Git repository
09:43:37 [2024-02-07T08:43:37.528Z]  > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/Jenkins-Pipelines.git # timeout=10
09:43:37 [2024-02-07T08:43:37.532Z] Fetching upstream changes from https://github.com/Silverpeas/Jenkins-Pipelines.git
09:43:37 [2024-02-07T08:43:37.532Z]  > /usr/bin/git --version # timeout=10
09:43:37 [2024-02-07T08:43:37.537Z]  > git --version # 'git version 2.34.1'
09:43:37 [2024-02-07T08:43:37.537Z]  > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/Jenkins-Pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
09:43:37 [2024-02-07T08:43:37.913Z]  > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
09:43:37 [2024-02-07T08:43:37.918Z] Checking out Revision 5e31393990e826fcfee35128e9255dfd9f016c63 (refs/remotes/origin/master)
09:43:37 [2024-02-07T08:43:37.918Z]  > /usr/bin/git config core.sparsecheckout # timeout=10
09:43:37 [2024-02-07T08:43:37.923Z]  > /usr/bin/git checkout -f 5e31393990e826fcfee35128e9255dfd9f016c63 # timeout=10
09:43:37 [2024-02-07T08:43:37.941Z] 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:43:37 [2024-02-07T08:43:37.942Z]  > /usr/bin/git rev-list --no-walk 5e31393990e826fcfee35128e9255dfd9f016c63 # timeout=10
09:43:37 [2024-02-07T08:43:37.960Z] [Pipeline] }
09:43:37 [2024-02-07T08:43:37.964Z] [Pipeline] // stage
09:43:37 [2024-02-07T08:43:37.977Z] [Pipeline] withEnv
09:43:37 [2024-02-07T08:43:37.978Z] [Pipeline] {
09:43:37 [2024-02-07T08:43:37.994Z] [Pipeline] withEnv
09:43:37 [2024-02-07T08:43:37.995Z] [Pipeline] {
09:43:38 [2024-02-07T08:43:38.006Z] [Pipeline] stage
09:43:38 [2024-02-07T08:43:38.007Z] [Pipeline] { (Check the Docker image version to build)
09:43:38 [2024-02-07T08:43:38.058Z] Stage "Check the Docker image version to build" skipped due to when conditional
09:43:38 [2024-02-07T08:43:38.060Z] [Pipeline] }
09:43:38 [2024-02-07T08:43:38.066Z] [Pipeline] // stage
09:43:38 [2024-02-07T08:43:38.079Z] [Pipeline] stage
09:43:38 [2024-02-07T08:43:38.080Z] [Pipeline] { (Checkout the project)
09:43:38 [2024-02-07T08:43:38.128Z] [Pipeline] git
09:43:38 [2024-02-07T08:43:38.132Z] The recommended git tool is: NONE
09:43:38 [2024-02-07T08:43:38.133Z] using credential cacc0467-7c85-41d1-bf4e-eaa470dd5e59
09:43:38 [2024-02-07T08:43:38.146Z]  > /usr/bin/git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Silverpeas Projects Build Image/.git # timeout=10
09:43:38 [2024-02-07T08:43:38.153Z] Fetching changes from the remote Git repository
09:43:38 [2024-02-07T08:43:38.157Z]  > /usr/bin/git config remote.origin.url https://github.com/Silverpeas/docker-silverpeas-build # timeout=10
09:43:38 [2024-02-07T08:43:38.162Z] Fetching upstream changes from https://github.com/Silverpeas/docker-silverpeas-build
09:43:38 [2024-02-07T08:43:38.162Z]  > /usr/bin/git --version # timeout=10
09:43:38 [2024-02-07T08:43:38.166Z]  > git --version # 'git version 2.34.1'
09:43:38 [2024-02-07T08:43:38.166Z] using GIT_ASKPASS to set credentials GitHub Credentials For Jenkins
09:43:38 [2024-02-07T08:43:38.167Z]  > /usr/bin/git fetch --tags --force --progress -- https://github.com/Silverpeas/docker-silverpeas-build +refs/heads/*:refs/remotes/origin/* # timeout=10
09:43:38 [2024-02-07T08:43:38.512Z]  > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
09:43:38 [2024-02-07T08:43:38.517Z] Checking out Revision 79835317fa01acf82f56fd2fd5a04fc9cd875603 (refs/remotes/origin/master)
09:43:38 [2024-02-07T08:43:38.517Z]  > /usr/bin/git config core.sparsecheckout # timeout=10
09:43:38 [2024-02-07T08:43:38.522Z]  > /usr/bin/git checkout -f 79835317fa01acf82f56fd2fd5a04fc9cd875603 # timeout=10
09:43:38 [2024-02-07T08:43:38.556Z]  > /usr/bin/git branch -a -v --no-abbrev # timeout=10
09:43:38 [2024-02-07T08:43:38.563Z]  > /usr/bin/git branch -D master # timeout=10
09:43:38 [2024-02-07T08:43:38.569Z]  > /usr/bin/git checkout -b master 79835317fa01acf82f56fd2fd5a04fc9cd875603 # timeout=10
09:43:38 [2024-02-07T08:43:38.610Z] Commit message: "Update Dockerfile for building and registering image 6.3.2"
09:43:38 [2024-02-07T08:43:38.611Z]  > /usr/bin/git rev-list --no-walk b2eacc1ab23830997c9e32c32dc2b310dd6a5350 # timeout=10
09:43:38 [2024-02-07T08:43:38.628Z] [Pipeline] }
09:43:38 [2024-02-07T08:43:38.633Z] [Pipeline] // stage
09:43:38 [2024-02-07T08:43:38.639Z] [Pipeline] stage
09:43:38 [2024-02-07T08:43:38.640Z] [Pipeline] { (Release stable version)
09:43:38 [2024-02-07T08:43:38.660Z] Stage "Release stable version" skipped due to when conditional
09:43:38 [2024-02-07T08:43:38.661Z] [Pipeline] }
09:43:38 [2024-02-07T08:43:38.665Z] [Pipeline] // stage
09:43:38 [2024-02-07T08:43:38.672Z] [Pipeline] stage
09:43:38 [2024-02-07T08:43:38.673Z] [Pipeline] { (Update current latest version)
09:43:38 [2024-02-07T08:43:38.697Z] [Pipeline] withCredentials
09:43:38 [2024-02-07T08:43:38.716Z] Masking supported pattern matches of $GIT_AUTH or $GIT_AUTH_USR or $GIT_AUTH_PSW
09:43:38 [2024-02-07T08:43:38.720Z] [Pipeline] {
09:43:38 [2024-02-07T08:43:38.736Z] [Pipeline] script
09:43:38 [2024-02-07T08:43:38.743Z] [Pipeline] {
09:43:38 [2024-02-07T08:43:38.749Z] [Pipeline] sh
09:43:39 [2024-02-07T08:43:39.007Z] + grep -oP (?<=build=)\d+ Dockerfile
09:43:39 [2024-02-07T08:43:39.015Z] [Pipeline] sh
09:43:39 [2024-02-07T08:43:39.274Z] + sed -i -e s/WILDFLY_VERSION=[0-9.]\+/WILDFLY_VERSION=26.1.3/g Dockerfile
09:43:39 [2024-02-07T08:43:39.274Z] + sed -i -e s/JAVA_VERSION=[0-9]\+/JAVA_VERSION=11/g Dockerfile
09:43:39 [2024-02-07T08:43:39.275Z] + sed -i -e s/SONAR_JAVA_VERSION=[0-9]\+/SONAR_JAVA_VERSION=17/g Dockerfile
09:43:39 [2024-02-07T08:43:39.275Z] + sed -i -e s/version=[0-9.]\+/version=latest/g Dockerfile
09:43:39 [2024-02-07T08:43:39.275Z] + git diff --quiet
09:43:39 [2024-02-07T08:43:39.283Z] [Pipeline] sh
09:43:39 [2024-02-07T08:43:39.544Z] + sed -i -e s/build=.\+/build=2/g Dockerfile
09:43:39 [2024-02-07T08:43:39.544Z] + git commit -am Upgrade for Wildfly 26.1.3 and Java 11
09:43:39 [2024-02-07T08:43:39.544Z] [master d5da760] Upgrade for Wildfly 26.1.3 and Java 11
09:43:39 [2024-02-07T08:43:39.544Z]  1 file changed, 2 insertions(+), 2 deletions(-)
09:43:39 [2024-02-07T08:43:39.544Z] + git push origin HEAD:master
09:43:40 [2024-02-07T08:43:40.456Z] To https://github.com/Silverpeas/docker-silverpeas-build
09:43:40 [2024-02-07T08:43:40.456Z]    7983531..d5da760  HEAD -> master
09:43:40 [2024-02-07T08:43:40.458Z] [Pipeline] }
09:43:40 [2024-02-07T08:43:40.467Z] [Pipeline] // script
09:43:40 [2024-02-07T08:43:40.478Z] [Pipeline] }
09:43:40 [2024-02-07T08:43:40.491Z] [Pipeline] // withCredentials
09:43:40 [2024-02-07T08:43:40.501Z] [Pipeline] }
09:43:40 [2024-02-07T08:43:40.509Z] [Pipeline] // stage
09:43:40 [2024-02-07T08:43:40.526Z] [Pipeline] stage
09:43:40 [2024-02-07T08:43:40.528Z] [Pipeline] { (Publish version)
09:43:40 [2024-02-07T08:43:40.569Z] [Pipeline] script
09:43:40 [2024-02-07T08:43:40.576Z] [Pipeline] {
09:43:40 [2024-02-07T08:43:40.709Z] [Pipeline] isUnix
09:43:40 [2024-02-07T08:43:40.720Z] [Pipeline] withEnv
09:43:40 [2024-02-07T08:43:40.721Z] [Pipeline] {
09:43:40 [2024-02-07T08:43:40.732Z] [Pipeline] sh
09:43:40 [2024-02-07T08:43:40.991Z] + docker build -t silverpeas/silverbuild:latest .
09:43:41 [2024-02-07T08:43:41.241Z] #0 building with "default" instance using docker driver
09:43:41 [2024-02-07T08:43:41.242Z] 
09:43:41 [2024-02-07T08:43:41.242Z] #1 [internal] load build definition from Dockerfile
09:43:41 [2024-02-07T08:43:41.242Z] #1 transferring dockerfile: 5.04kB done
09:43:41 [2024-02-07T08:43:41.242Z] #1 DONE 0.0s
09:43:41 [2024-02-07T08:43:41.242Z] 
09:43:41 [2024-02-07T08:43:41.242Z] #2 [internal] load metadata for docker.io/library/ubuntu:jammy
09:43:41 [2024-02-07T08:43:41.242Z] #2 DONE 0.0s
09:43:41 [2024-02-07T08:43:41.242Z] 
09:43:41 [2024-02-07T08:43:41.242Z] #3 [internal] load .dockerignore
09:43:41 [2024-02-07T08:43:41.242Z] #3 transferring context: 2B done
09:43:41 [2024-02-07T08:43:41.242Z] #3 DONE 0.0s
09:43:41 [2024-02-07T08:43:41.242Z] 
09:43:41 [2024-02-07T08:43:41.242Z] #4 [1/5] FROM docker.io/library/ubuntu:jammy
09:43:41 [2024-02-07T08:43:41.242Z] #4 DONE 0.0s
09:43:41 [2024-02-07T08:43:41.242Z] 
09:43:41 [2024-02-07T08:43:41.242Z] #5 [internal] load build context
09:43:41 [2024-02-07T08:43:41.242Z] #5 transferring context: 4.47MB 0.0s done
09:43:41 [2024-02-07T08:43:41.242Z] #5 DONE 0.0s
09:43:41 [2024-02-07T08:43:41.242Z] 
09:43:41 [2024-02-07T08:43:41.243Z] #6 [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.3.Final.FOR-TESTS.zip https://www.silverpeas.org/files/wildfly-26.1.3.Final.FOR-TESTS.zip   && mkdir /opt/wildfly-for-tests   && unzip /tmp/wildfly-26.1.3.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:41 [2024-02-07T08:43:41.243Z] #6 CACHED
09:43:41 [2024-02-07T08:43:41.243Z] 
09:43:41 [2024-02-07T08:43:41.243Z] #7 [4/5] COPY src/settings.xml /home/silverbuild/.m2/
09:43:41 [2024-02-07T08:43:41.243Z] #7 CACHED
09:43:41 [2024-02-07T08:43:41.243Z] 
09:43:41 [2024-02-07T08:43:41.243Z] #8 [2/5] COPY src/maven-deps.zip /tmp/
09:43:41 [2024-02-07T08:43:41.243Z] #8 CACHED
09:43:41 [2024-02-07T08:43:41.243Z] 
09:43:41 [2024-02-07T08:43:41.244Z] #9 [5/5] RUN chown -R silverbuild:silverbuild /home/silverbuild   && chown -R silverbuild:silverbuild /opt/wildfly-for-tests
09:43:41 [2024-02-07T08:43:41.244Z] #9 CACHED
09:43:41 [2024-02-07T08:43:41.244Z] 
09:43:41 [2024-02-07T08:43:41.244Z] #10 exporting to image
09:43:41 [2024-02-07T08:43:41.244Z] #10 exporting layers done
09:43:41 [2024-02-07T08:43:41.244Z] #10 writing image sha256:67aeda7c96b284ac627a0df54199750e0c9dda2ffd0c79106fa120c2d15785f9 done
09:43:41 [2024-02-07T08:43:41.244Z] #10 naming to docker.io/silverpeas/silverbuild:latest done
09:43:41 [2024-02-07T08:43:41.244Z] #10 DONE 0.0s
09:43:41 [2024-02-07T08:43:41.246Z] [Pipeline] }
09:43:41 [2024-02-07T08:43:41.253Z] [Pipeline] // withEnv
09:43:41 [2024-02-07T08:43:41.286Z] [Pipeline] withEnv
09:43:41 [2024-02-07T08:43:41.287Z] [Pipeline] {
09:43:41 [2024-02-07T08:43:41.299Z] [Pipeline] withDockerRegistry
09:43:41 [2024-02-07T08:43:41.304Z] $ docker login -u mmoqui -p ******** https://index.docker.io/v1/
09:43:41 [2024-02-07T08:43:41.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin.
09:43:42 [2024-02-07T08:43:42.189Z] WARNING! Your password will be stored unencrypted in /var/lib/jenkins/workspace/Silverpeas Projects Build Image@tmp/45fb45d1-fd90-41c6-983b-55b401aa325e/config.json.
09:43:42 [2024-02-07T08:43:42.189Z] Configure a credential helper to remove this warning. See
09:43:42 [2024-02-07T08:43:42.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store
09:43:42 [2024-02-07T08:43:42.189Z] 
09:43:42 [2024-02-07T08:43:42.189Z] Login Succeeded
09:43:42 [2024-02-07T08:43:42.194Z] [Pipeline] {
09:43:42 [2024-02-07T08:43:42.215Z] [Pipeline] isUnix
09:43:42 [2024-02-07T08:43:42.220Z] [Pipeline] withEnv
09:43:42 [2024-02-07T08:43:42.222Z] [Pipeline] {
09:43:42 [2024-02-07T08:43:42.232Z] [Pipeline] sh
09:43:42 [2024-02-07T08:43:42.491Z] + docker tag silverpeas/silverbuild:latest silverpeas/silverbuild:latest
09:43:42 [2024-02-07T08:43:42.493Z] [Pipeline] }
09:43:42 [2024-02-07T08:43:42.501Z] [Pipeline] // withEnv
09:43:42 [2024-02-07T08:43:42.510Z] [Pipeline] isUnix
09:43:42 [2024-02-07T08:43:42.514Z] [Pipeline] withEnv
09:43:42 [2024-02-07T08:43:42.515Z] [Pipeline] {
09:43:42 [2024-02-07T08:43:42.532Z] [Pipeline] sh
09:43:42 [2024-02-07T08:43:42.792Z] + docker push silverpeas/silverbuild:latest
09:43:42 [2024-02-07T08:43:42.792Z] The push refers to repository [docker.io/silverpeas/silverbuild]
09:43:43 [2024-02-07T08:43:43.043Z] fa4b0e1a6ccc: Preparing
09:43:43 [2024-02-07T08:43:43.043Z] 19db70e8e92f: Preparing
09:43:43 [2024-02-07T08:43:43.043Z] cfd4286597d7: Preparing
09:43:43 [2024-02-07T08:43:43.043Z] 1f3555e43ee3: Preparing
09:43:43 [2024-02-07T08:43:43.043Z] 17f623af01e2: Preparing
09:43:43 [2024-02-07T08:43:43.595Z] 17f623af01e2: Layer already exists
09:43:43 [2024-02-07T08:43:43.845Z] 19db70e8e92f: Layer already exists
09:43:43 [2024-02-07T08:43:43.846Z] 1f3555e43ee3: Layer already exists
09:43:43 [2024-02-07T08:43:43.846Z] cfd4286597d7: Layer already exists
09:43:44 [2024-02-07T08:43:44.096Z] fa4b0e1a6ccc: Layer already exists
09:43:48 [2024-02-07T08:43:48.222Z] latest: digest: sha256:4e7496e8cc8be10b16c9b0b1dbbaef5a46b4c528cb5e3c0f418bf222d6ab128a size: 1374
09:43:48 [2024-02-07T08:43:48.224Z] [Pipeline] }
09:43:48 [2024-02-07T08:43:48.235Z] [Pipeline] // withEnv
09:43:48 [2024-02-07T08:43:48.243Z] [Pipeline] }
09:43:48 [2024-02-07T08:43:48.251Z] [Pipeline] // withDockerRegistry
09:43:48 [2024-02-07T08:43:48.259Z] [Pipeline] }
09:43:48 [2024-02-07T08:43:48.266Z] [Pipeline] // withEnv
09:43:48 [2024-02-07T08:43:48.274Z] [Pipeline] }
09:43:48 [2024-02-07T08:43:48.282Z] [Pipeline] // script
09:43:48 [2024-02-07T08:43:48.295Z] [Pipeline] }
09:43:48 [2024-02-07T08:43:48.307Z] [Pipeline] // stage
09:43:48 [2024-02-07T08:43:48.320Z] [Pipeline] stage
09:43:48 [2024-02-07T08:43:48.321Z] [Pipeline] { (Declarative: Post Actions)
09:43:48 [2024-02-07T08:43:48.349Z] [Pipeline] step
09:43:48 [2024-02-07T08:43:48.380Z] [Pipeline] script
09:43:48 [2024-02-07T08:43:48.388Z] [Pipeline] {
09:43:48 [2024-02-07T08:43:48.406Z] [Pipeline] }
09:43:48 [2024-02-07T08:43:48.414Z] [Pipeline] // script
09:43:48 [2024-02-07T08:43:48.432Z] [Pipeline] }
09:43:48 [2024-02-07T08:43:48.440Z] [Pipeline] // stage
09:43:48 [2024-02-07T08:43:48.448Z] [Pipeline] }
09:43:48 [2024-02-07T08:43:48.455Z] [Pipeline] // withEnv
09:43:48 [2024-02-07T08:43:48.463Z] [Pipeline] }
09:43:48 [2024-02-07T08:43:48.471Z] [Pipeline] // withEnv
09:43:48 [2024-02-07T08:43:48.479Z] [Pipeline] }
09:43:48 [2024-02-07T08:43:48.483Z] [Pipeline] // node
09:43:48 [2024-02-07T08:43:48.487Z] [Pipeline] End of Pipeline
09:43:48 [2024-02-07T08:43:48.521Z] Finished: SUCCESS