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
10:31:34 [2023-05-18T14:31:34.701Z] Running on ub20-x64-omr9 in /home/jenkins/workspace/Build-Jenkins-Container-riscv64
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Clone)
[Pipeline] git
10:31:36 [2023-05-18T14:31:36.388Z] The recommended git tool is: NONE
10:31:37 [2023-05-18T14:31:37.007Z] No credentials specified
10:31:37 [2023-05-18T14:31:37.313Z] Cloning the remote Git repository
10:31:37 [2023-05-18T14:31:37.439Z] Cloning repository https://github.com/jdekonin/omr.git
10:31:37 [2023-05-18T14:31:37.440Z] > git init /home/jenkins/workspace/Build-Jenkins-Container-riscv64 # timeout=10
10:31:37 [2023-05-18T14:31:37.462Z] Fetching upstream changes from https://github.com/jdekonin/omr.git
10:31:37 [2023-05-18T14:31:37.462Z] > git --version # timeout=10
10:31:37 [2023-05-18T14:31:37.469Z] > git --version # 'git version 2.25.1'
10:31:37 [2023-05-18T14:31:37.469Z] > git fetch --tags --force --progress -- https://github.com/jdekonin/omr.git +refs/heads/*:refs/remotes/origin/* # timeout=10
10:32:27 [2023-05-18T14:32:27.363Z] Avoid second fetch
10:32:26 [2023-05-18T14:32:26.656Z] > git config remote.origin.url https://github.com/jdekonin/omr.git # timeout=10
10:32:26 [2023-05-18T14:32:26.671Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
10:32:27 [2023-05-18T14:32:27.666Z] Checking out Revision ce54948f8567d7b68ac6642f0876b77fe6451cac (refs/remotes/origin/master)
10:32:29 [2023-05-18T14:32:29.856Z] Commit message: "Add dockerfile for riscv64 compiles"
10:32:30 [2023-05-18T14:32:30.200Z] First time build. Skipping changelog.
[Pipeline] }
[Pipeline] // stage
10:32:27 [2023-05-18T14:32:27.487Z] > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
10:32:27 [2023-05-18T14:32:27.790Z] > git config core.sparsecheckout # timeout=10
10:32:27 [2023-05-18T14:32:27.801Z] > git checkout -f ce54948f8567d7b68ac6642f0876b77fe6451cac # timeout=10
10:32:28 [2023-05-18T14:32:28.818Z] > git branch -a -v --no-abbrev # timeout=10
10:32:28 [2023-05-18T14:32:28.830Z] > git checkout -b master ce54948f8567d7b68ac6642f0876b77fe6451cac # timeout=10
10:32:30 [2023-05-18T14:32:30.025Z] > git rev-list --no-walk 1570da8ae2a360a0a685a6864912773928ed87ae # timeout=10
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
10:32:34 [2023-05-18T14:32:34.404Z] + docker build -t riscv64:16 -t riscv64:latest -f buildenv/docker/riscv64/debian11/Dockerfile .
10:32:36 [2023-05-18T14:32:36.822Z] Sending build context to Docker daemon 132.4MB
10:32:36 [2023-05-18T14:32:36.822Z] Step 1/17 : FROM debian:11.7-slim AS base
10:32:36 [2023-05-18T14:32:36.822Z] ---> 07df01f107e8
10:32:36 [2023-05-18T14:32:36.822Z] Step 2/17 : ENV TZ=America/Toronto
10:32:36 [2023-05-18T14:32:36.822Z] ---> Using cache
10:32:36 [2023-05-18T14:32:36.822Z] ---> e815ebb0dd3a
10:32:36 [2023-05-18T14:32:36.822Z] Step 3/17 : RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
10:32:36 [2023-05-18T14:32:36.822Z] ---> Using cache
10:32:36 [2023-05-18T14:32:36.822Z] ---> 38d629518ea7
10:32:36 [2023-05-18T14:32:36.822Z] Step 4/17 : 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/*
10:32:36 [2023-05-18T14:32:36.822Z] ---> Using cache
10:32:36 [2023-05-18T14:32:36.822Z] ---> 9df7fea63309
10:32:36 [2023-05-18T14:32:36.822Z] Step 5/17 : 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
10:32:36 [2023-05-18T14:32:36.822Z] ---> Using cache
10:32:36 [2023-05-18T14:32:36.822Z] ---> d7815d9b19c2
10:32:36 [2023-05-18T14:32:36.822Z] Step 6/17 : 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'
10:32:36 [2023-05-18T14:32:36.822Z] ---> Using cache
10:32:36 [2023-05-18T14:32:36.822Z] ---> 26e7f54b3af3
10:32:36 [2023-05-18T14:32:36.822Z] Step 7/17 : RUN gpg --homedir /tmp --no-default-keyring --primary-keyring "/tmp/debian-ports-keyring.gpg" --keyserver keyserver.ubuntu.com --recv-key B523E5F3FC4E5F2C
10:32:36 [2023-05-18T14:32:36.822Z] ---> Using cache
10:32:36 [2023-05-18T14:32:36.822Z] ---> e063cc04fc5c
10:32:36 [2023-05-18T14:32:36.822Z] Step 8/17 : RUN gpg --homedir /tmp --no-default-keyring --primary-keyring "/tmp/debian-ports-keyring.gpg" --keyserver keyserver.ubuntu.com --recv-key 8D69674688B6CB36
10:32:36 [2023-05-18T14:32:36.822Z] ---> Using cache
10:32:36 [2023-05-18T14:32:36.822Z] ---> 3a4b0b3aeb5a
10:32:36 [2023-05-18T14:32:36.822Z] Step 9/17 : 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
10:32:36 [2023-05-18T14:32:36.822Z] ---> Using cache
10:32:36 [2023-05-18T14:32:36.822Z] ---> c3f4661ee23b
10:32:36 [2023-05-18T14:32:36.822Z] Step 10/17 : 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
10:32:36 [2023-05-18T14:32:36.822Z] ---> Using cache
10:32:36 [2023-05-18T14:32:36.822Z] ---> 0d3f1e1865b1
10:32:36 [2023-05-18T14:32:36.822Z] Step 11/17 : RUN apt-get install -y fakeroot
10:32:36 [2023-05-18T14:32:36.822Z] ---> Using cache
10:32:36 [2023-05-18T14:32:36.822Z] ---> 65bdb798034e
10:32:36 [2023-05-18T14:32:36.822Z] Step 12/17 : 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
10:32:36 [2023-05-18T14:32:36.822Z] ---> Using cache
10:32:36 [2023-05-18T14:32:36.822Z] ---> 86e7990ede58
10:32:36 [2023-05-18T14:32:36.822Z] Step 13/17 : 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
10:32:36 [2023-05-18T14:32:36.822Z] ---> Using cache
10:32:36 [2023-05-18T14:32:36.822Z] ---> 48dd5d363926
10:32:36 [2023-05-18T14:32:36.822Z] Step 14/17 : RUN dpkg -X /tmp/libfakeroot_1.31-1.2_riscv64.deb /
10:32:36 [2023-05-18T14:32:36.822Z] ---> Using cache
10:32:36 [2023-05-18T14:32:36.822Z] ---> 3a5c475ce7e9
10:32:36 [2023-05-18T14:32:36.822Z] Step 15/17 : RUN dpkg -X /tmp/libfakechroot_2.20.1+ds-15_riscv64.deb /
10:32:36 [2023-05-18T14:32:36.822Z] ---> Using cache
10:32:36 [2023-05-18T14:32:36.822Z] ---> 5293203be664
10:32:36 [2023-05-18T14:32:36.822Z] Step 16/17 : RUN update-alternatives --set fakeroot /usr/bin/fakeroot-tcp
10:32:38 [2023-05-18T14:32:38.155Z] ---> Running in 50528be084fb
10:32:38 [2023-05-18T14:32:38.155Z] [91mupdate-alternatives: warning: skip creation of /usr/share/man/man1/faked.1.gz because associated file /usr/share/man/man1/faked-tcp.1.gz (of link group fakeroot) doesn't exist
10:32:38 [2023-05-18T14:32:38.155Z] update-alternatives: warning: skip creation of /usr/share/man/es/man1/faked.1.gz because associated file /usr/share/man/es/man1/faked-tcp.1.gz (of link group fakeroot) doesn't exist
10:32:38 [2023-05-18T14:32:38.155Z] update-alternatives: warning: skip creation of /usr/share/man/fr/man1/faked.1.gz because associated file /usr/share/man/fr/man1/faked-tcp.1.gz (of link group fakeroot) doesn't exist
10:32:38 [2023-05-18T14:32:38.155Z] update-alternatives: warning: skip creation of /usr/share/man/sv/man1/faked.1.gz because associated file /usr/share/man/sv/man1/faked-tcp.1.gz (of link group fakeroot) doesn't exist
10:32:38 [2023-05-18T14:32:38.155Z] update-alternatives: warning: skip creation of /usr/share/man/man1/fakeroot.1.gz because associated file /usr/share/man/man1/fakeroot-tcp.1.gz (of link group fakeroot) doesn't exist
10:32:38 [2023-05-18T14:32:38.155Z] update-alternatives: warning: skip creation of /usr/share/man/es/man1/fakeroot.1.gz because associated file /usr/share/man/es/man1/fakeroot-tcp.1.gz (of link group fakeroot) doesn't exist
10:32:38 [2023-05-18T14:32:38.155Z] update-alternatives: warning: skip creation of /usr/share/man/fr/man1/fakeroot.1.gz because associated file /usr/share/man/fr/man1/fakeroot-tcp.1.gz (of link group fakeroot) doesn't exist
10:32:38 [2023-05-18T14:32:38.155Z] update-alternatives: warning: skip creation of /usr/share/man/sv/man1/fakeroot.1.gz because associated file /usr/share/man/sv/man1/fakeroot-tcp.1.gz (of link group fakeroot) doesn't exist
10:32:38 [2023-05-18T14:32:38.155Z] [0mupdate-alternatives: using /usr/bin/fakeroot-tcp to provide /usr/bin/fakeroot (fakeroot) in manual mode
10:32:39 [2023-05-18T14:32:39.692Z] Removing intermediate container 50528be084fb
10:32:39 [2023-05-18T14:32:39.692Z] ---> 1d5942ff797b
10:32:39 [2023-05-18T14:32:39.692Z] Step 17/17 : 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"
10:32:39 [2023-05-18T14:32:39.692Z] ---> Running in 2e90c0a6d546
10:32:41 [2023-05-18T14:32:41.024Z] [91mI: riscv64 cannot be executed, falling back to qemu-user
10:32:41 [2023-05-18T14:32:41.024Z] [0m[91mI: automatically chosen format: directory
10:32:42 [2023-05-18T14:32:42.256Z] [0m[91mI: running apt-get update...
10:32:55 [2023-05-18T14:32:55.862Z] [0m[91mI: downloading packages with apt...
10:33:02 [2023-05-18T14:33:02.045Z] [0m[91mI: extracting archives...
10:34:20 [2023-05-18T14:34:20.090Z] [0m[91mI: installing essential packages...
10:36:39 [2023-05-18T14:36:39.970Z] [0m[91mI: downloading apt...
10:36:39 [2023-05-18T14:36:39.970Z] [0m[91mI: installing apt...
10:37:03 [2023-05-18T14:37:03.996Z] [0m[91mI: installing remaining packages inside the chroot...
10:40:43 [2023-05-18T14:40:43.085Z] [0m[91mI: cleaning package lists and apt cache...
10:40:43 [2023-05-18T14:40:43.085Z] [0m[91mI: success in 467.9655 seconds
10:40:47 [2023-05-18T14:40:47.354Z] [0mRemoving intermediate container 2e90c0a6d546
10:40:47 [2023-05-18T14:40:47.354Z] ---> 3625af4ff14a
10:40:47 [2023-05-18T14:40:47.354Z] Successfully built 3625af4ff14a
10:40:47 [2023-05-18T14:40:47.354Z] Successfully tagged riscv64:16
10:40:47 [2023-05-18T14:40:47.354Z] Successfully tagged riscv64:latest
[Pipeline] sh
10:40:50 [2023-05-18T14:40:50.938Z] + docker image ls
10:40:50 [2023-05-18T14:40:50.938Z] REPOSITORY TAG IMAGE ID CREATED SIZE
10:40:50 [2023-05-18T14:40:50.938Z] riscv64 16 3625af4ff14a 7 seconds ago 1.53GB
10:40:50 [2023-05-18T14:40:50.938Z] riscv64 latest 3625af4ff14a 7 seconds ago 1.53GB
10:40:50 [2023-05-18T14:40:50.938Z] <none> <none> 0a8993358d53 2 hours ago 1.09GB
10:40:50 [2023-05-18T14:40:50.938Z] <none> <none> d92037dba9ad 17 hours ago 1.09GB
10:40:50 [2023-05-18T14:40:50.938Z] <none> <none> 07e2766cc9fd 17 hours ago 1.09GB
10:40:50 [2023-05-18T14:40:50.938Z] riscv64 1 3ba5fc958ed8 19 hours ago 1.09GB
10:40:50 [2023-05-18T14:40:50.938Z] debian 11.7-slim 07df01f107e8 2 weeks ago 80.5MB
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Push)
[Pipeline] }
[Pipeline] // stage
[Pipeline] cleanWs
10:40:57 [2023-05-18T14:40:57.526Z] [WS-CLEANUP] Deleting project workspace...
10:40:57 [2023-05-18T14:40:57.527Z] [WS-CLEANUP] Deferred wipeout is used...
10:40:58 [2023-05-18T14:40:58.042Z] [WS-CLEANUP] done
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // timeout
[Pipeline] End of Pipeline
Finished: SUCCESS