Started by user Joe deKoning Running as Joe deKoning [Pipeline] Start of Pipeline [Pipeline] timeout Timeout set to expire in 5 hr 0 min [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] node 15:09:25 [2023-05-18T19:09:25.555Z] Running on ub20-x64-omr9 in /home/jenkins/workspace/Build-Jenkins-Container-riscv64 [Pipeline] { [Pipeline] stage [Pipeline] { (Clone) [Pipeline] git 15:09:27 [2023-05-18T19:09:27.241Z] The recommended git tool is: NONE 15:09:27 [2023-05-18T19:09:27.885Z] No credentials specified 15:09:28 [2023-05-18T19:09:28.190Z] Cloning the remote Git repository 15:09:28 [2023-05-18T19:09:28.321Z] Cloning repository https://github.com/jdekonin/omr.git 15:09:28 [2023-05-18T19:09:28.322Z] > git init /home/jenkins/workspace/Build-Jenkins-Container-riscv64 # timeout=10 15:09:28 [2023-05-18T19:09:28.339Z] Fetching upstream changes from https://github.com/jdekonin/omr.git 15:09:28 [2023-05-18T19:09:28.340Z] > git --version # timeout=10 15:09:28 [2023-05-18T19:09:28.347Z] > git --version # 'git version 2.25.1' 15:09:28 [2023-05-18T19:09:28.348Z] > git fetch --tags --force --progress -- https://github.com/jdekonin/omr.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:10:10 [2023-05-18T19:10:10.578Z] Avoid second fetch 15:10:10 [2023-05-18T19:10:10.899Z] Checking out Revision ebfeb624e4f9c0965b1067fde794fe456b8c974f (refs/remotes/origin/master) 15:10:10 [2023-05-18T19:10:10.071Z] > git config remote.origin.url https://github.com/jdekonin/omr.git # timeout=10 15:10:10 [2023-05-18T19:10:10.078Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:10:10 [2023-05-18T19:10:10.708Z] > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 15:10:11 [2023-05-18T19:10:11.067Z] > git config core.sparsecheckout # timeout=10 15:10:11 [2023-05-18T19:10:11.074Z] > git checkout -f ebfeb624e4f9c0965b1067fde794fe456b8c974f # timeout=10 15:10:12 [2023-05-18T19:10:12.945Z] Commit message: "Add dockerfile for riscv64 compiles" 15:10:13 [2023-05-18T19:10:13.258Z] First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:10:11 [2023-05-18T19:10:11.852Z] > git branch -a -v --no-abbrev # timeout=10 15:10:11 [2023-05-18T19:10:11.863Z] > git checkout -b master ebfeb624e4f9c0965b1067fde794fe456b8c974f # timeout=10 15:10:13 [2023-05-18T19:10:13.069Z] > git rev-list --no-walk ce54948f8567d7b68ac6642f0876b77fe6451cac # timeout=10 15:10:17 [2023-05-18T19:10:17.527Z] + docker build -t riscv64:17 -t riscv64:latest -f buildenv/docker/riscv64/debian11/Dockerfile . 15:10:19 [2023-05-18T19:10:19.950Z] Sending build context to Docker daemon 132.4MB 15:10:19 [2023-05-18T19:10:19.950Z] Step 1/19 : FROM debian:11.7-slim AS base 15:10:19 [2023-05-18T19:10:19.950Z] ---> 07df01f107e8 15:10:19 [2023-05-18T19:10:19.950Z] Step 2/19 : ENV TZ=America/Toronto 15:10:19 [2023-05-18T19:10:19.950Z] ---> Using cache 15:10:19 [2023-05-18T19:10:19.950Z] ---> e815ebb0dd3a 15:10:19 [2023-05-18T19:10:19.950Z] Step 3/19 : RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone 15:10:19 [2023-05-18T19:10:19.950Z] ---> Using cache 15:10:19 [2023-05-18T19:10:19.950Z] ---> 38d629518ea7 15:10:19 [2023-05-18T19:10:19.950Z] Step 4/19 : RUN apt-get update && apt-get install -y tzdata python3 git cmake bison flex libelf-dev libdwarf-dev gdb vim ninja-build ccache pkg-config libglib2.0-dev build-essential wget gcc-riscv64-linux-gnu g++-riscv64-linux-gnu qemu-user-static lsb-release mmdebstrap binfmt-support && rm -rf /var/lib/apt/lists/* 15:10:19 [2023-05-18T19:10:19.950Z] ---> Using cache 15:10:19 [2023-05-18T19:10:19.950Z] ---> 9df7fea63309 15:10:19 [2023-05-18T19:10:19.950Z] Step 5/19 : RUN groupadd -r jenkins && useradd -rm -u 1000 -g jenkins jenkins && mkdir -p /home/jenkins/.ssh && echo "Host git.eclipse.org*\n\tStrictHostKeyChecking no\n" > /home/jenkins/.ssh/config && chown -R jenkins:jenkins /home/jenkins 15:10:19 [2023-05-18T19:10:19.950Z] ---> Using cache 15:10:19 [2023-05-18T19:10:19.950Z] ---> d7815d9b19c2 15:10:19 [2023-05-18T19:10:19.950Z] Step 6/19 : RUN wget -O /usr/local/include/riscv.h 'https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=include/opcode/riscv.h;hb=2f973f134d7752cbc662ec65da8ad8bbe4c6fb8f' && wget -O /usr/local/include/riscv-opc.h 'https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=include/opcode/riscv-opc.h;hb=2f973f134d7752cbc662ec65da8ad8bbe4c6fb8f' 15:10:19 [2023-05-18T19:10:19.950Z] ---> Using cache 15:10:19 [2023-05-18T19:10:19.950Z] ---> 26e7f54b3af3 15:10:19 [2023-05-18T19:10:19.950Z] Step 7/19 : RUN gpg --homedir /tmp --no-default-keyring --primary-keyring "/tmp/debian-ports-keyring.gpg" --keyserver keyserver.ubuntu.com --recv-key B523E5F3FC4E5F2C 15:10:19 [2023-05-18T19:10:19.950Z] ---> Using cache 15:10:19 [2023-05-18T19:10:19.950Z] ---> e063cc04fc5c 15:10:19 [2023-05-18T19:10:19.950Z] Step 8/19 : RUN gpg --homedir /tmp --no-default-keyring --primary-keyring "/tmp/debian-ports-keyring.gpg" --keyserver keyserver.ubuntu.com --recv-key 8D69674688B6CB36 15:10:19 [2023-05-18T19:10:19.950Z] ---> Using cache 15:10:19 [2023-05-18T19:10:19.950Z] ---> 3a4b0b3aeb5a 15:10:19 [2023-05-18T19:10:19.950Z] Step 9/19 : RUN gpg --homedir /tmp --no-default-keyring --primary-keyring "/tmp/debian-ports-keyring.gpg" --export 8D69674688B6CB36 > /etc/apt/trusted.gpg.d/debian-ports-archive-2023.gpg 15:10:19 [2023-05-18T19:10:19.950Z] ---> Using cache 15:10:19 [2023-05-18T19:10:19.950Z] ---> c3f4661ee23b 15:10:19 [2023-05-18T19:10:19.950Z] Step 10/19 : RUN gpg --homedir /tmp --no-default-keyring --primary-keyring "/tmp/debian-ports-keyring.gpg" --export 8D69674688B6CB36 > /etc/apt/trusted.gpg.d/debian-ports-archive-2023.gpg 15:10:19 [2023-05-18T19:10:19.950Z] ---> Using cache 15:10:19 [2023-05-18T19:10:19.950Z] ---> 0d3f1e1865b1 15:10:19 [2023-05-18T19:10:19.950Z] Step 11/19 : RUN apt-get install -y fakeroot 15:10:19 [2023-05-18T19:10:19.950Z] ---> Using cache 15:10:19 [2023-05-18T19:10:19.950Z] ---> 65bdb798034e 15:10:19 [2023-05-18T19:10:19.950Z] Step 12/19 : RUN wget -O /tmp/libfakeroot_1.31-1.2_riscv64.deb http://ftp.ports.debian.org/debian-ports/pool-riscv64/main/f/fakeroot/libfakeroot_1.31-1.2_riscv64.deb 15:10:19 [2023-05-18T19:10:19.950Z] ---> Using cache 15:10:19 [2023-05-18T19:10:19.950Z] ---> 86e7990ede58 15:10:19 [2023-05-18T19:10:19.950Z] Step 13/19 : RUN wget -O /tmp/libfakechroot_2.20.1+ds-15_riscv64.deb http://ftp.ports.debian.org/debian-ports/pool-riscv64/main/f/fakechroot/libfakechroot_2.20.1+ds-15_riscv64.deb 15:10:19 [2023-05-18T19:10:19.950Z] ---> Using cache 15:10:19 [2023-05-18T19:10:19.950Z] ---> 48dd5d363926 15:10:19 [2023-05-18T19:10:19.950Z] Step 14/19 : RUN dpkg -X /tmp/libfakeroot_1.31-1.2_riscv64.deb / 15:10:19 [2023-05-18T19:10:19.950Z] ---> Using cache 15:10:19 [2023-05-18T19:10:19.950Z] ---> 3a5c475ce7e9 15:10:19 [2023-05-18T19:10:19.950Z] Step 15/19 : RUN dpkg -X /tmp/libfakechroot_2.20.1+ds-15_riscv64.deb / 15:10:19 [2023-05-18T19:10:19.950Z] ---> Using cache 15:10:19 [2023-05-18T19:10:19.950Z] ---> 5293203be664 15:10:19 [2023-05-18T19:10:19.950Z] Step 16/19 : RUN update-alternatives --set fakeroot /usr/bin/fakeroot-tcp 15:10:19 [2023-05-18T19:10:19.950Z] ---> Using cache 15:10:19 [2023-05-18T19:10:19.950Z] ---> 1d5942ff797b 15:10:19 [2023-05-18T19:10:19.950Z] Step 17/19 : RUN mmdebstrap --mode=fakeroot --variant=minbase --architectures=riscv64 --include="debian-ports-archive-keyring,build-essential,libdwarf-dev,libelf-dev,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libasound2-dev,libcups2-dev,libfontconfig1-dev" bullseye "/opt/sysroot" "deb http://deb.debian.org/debian-ports/ sid main" "deb http://deb.debian.org/debian-ports/ unreleased main" 15:10:19 [2023-05-18T19:10:19.950Z] ---> Using cache 15:10:19 [2023-05-18T19:10:19.950Z] ---> 3625af4ff14a 15:10:19 [2023-05-18T19:10:19.950Z] Step 18/19 : ENV CROSS_SYSROOT_RISCV64=/opt/sysroot 15:10:19 [2023-05-18T19:10:19.950Z] ---> Running in de46c2e9213e 15:10:19 [2023-05-18T19:10:19.950Z] Removing intermediate container de46c2e9213e 15:10:19 [2023-05-18T19:10:19.950Z] ---> f5eb2a44fba1 15:10:19 [2023-05-18T19:10:19.950Z] Step 19/19 : USER jenkins 15:10:19 [2023-05-18T19:10:19.950Z] ---> Running in 832dace38ce6 15:10:21 [2023-05-18T19:10:21.001Z] Removing intermediate container 832dace38ce6 15:10:21 [2023-05-18T19:10:21.001Z] ---> 88546c604b77 15:10:21 [2023-05-18T19:10:21.001Z] Successfully built 88546c604b77 15:10:21 [2023-05-18T19:10:21.001Z] Successfully tagged riscv64:17 15:10:21 [2023-05-18T19:10:21.001Z] Successfully tagged riscv64:latest [Pipeline] sh 15:10:25 [2023-05-18T19:10:25.013Z] + docker image ls 15:10:25 [2023-05-18T19:10:25.014Z] REPOSITORY TAG IMAGE ID CREATED SIZE 15:10:25 [2023-05-18T19:10:25.014Z] riscv64 17 88546c604b77 4 seconds ago 1.53GB 15:10:25 [2023-05-18T19:10:25.014Z] riscv64 latest 88546c604b77 4 seconds ago 1.53GB 15:10:25 [2023-05-18T19:10:25.014Z] buildomr latest 237a4da3001b About an hour ago 846MB 15:10:25 [2023-05-18T19:10:25.014Z] riscv64 16 3625af4ff14a 4 hours ago 1.53GB 15:10:25 [2023-05-18T19:10:25.014Z] <none> <none> 0a8993358d53 6 hours ago 1.09GB 15:10:25 [2023-05-18T19:10:25.014Z] <none> <none> d92037dba9ad 21 hours ago 1.09GB 15:10:25 [2023-05-18T19:10:25.014Z] <none> <none> 07e2766cc9fd 21 hours ago 1.09GB 15:10:25 [2023-05-18T19:10:25.014Z] riscv64 1 3ba5fc958ed8 23 hours ago 1.09GB 15:10:25 [2023-05-18T19:10:25.014Z] debian 11.7-slim 07df01f107e8 2 weeks ago 80.5MB 15:10:25 [2023-05-18T19:10:25.014Z] ubuntu 20.04 88bd68917189 5 weeks ago 72.8MB 15:10:25 [2023-05-18T19:10:25.014Z] nvidia/cuda 9.0-devel-ubuntu16.04 5e8c06b47e9f 16 months ago 1.75GB [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Push) [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 15:10:28 [2023-05-18T19:10:28.822Z] [WS-CLEANUP] Deleting project workspace... 15:10:28 [2023-05-18T19:10:28.823Z] [WS-CLEANUP] Deferred wipeout is used... 15:10:29 [2023-05-18T19:10:29.337Z] [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // timestamps [Pipeline] } [Pipeline] // timeout [Pipeline] End of Pipeline Finished: SUCCESS