Skip to content
Failed

Console Output

Started by user Joe deKoning
Rebuilds build #6
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
17:33:40 [2023-05-17T21:33:40.620Z] Running on ub20-x64-omr9 in /home/jenkins/workspace/Build-Jenkins-Container-riscv64
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Clone)
[Pipeline] git
17:33:42 [2023-05-17T21:33:42.309Z] The recommended git tool is: NONE
17:33:42 [2023-05-17T21:33:42.923Z] No credentials specified
17:33:43 [2023-05-17T21:33:43.229Z] Cloning the remote Git repository
17:33:43 [2023-05-17T21:33:43.354Z] Cloning repository https://github.com/jdekonin/omr.git
17:33:43 [2023-05-17T21:33:43.356Z]  > git init /home/jenkins/workspace/Build-Jenkins-Container-riscv64 # timeout=10
17:33:43 [2023-05-17T21:33:43.375Z] Fetching upstream changes from https://github.com/jdekonin/omr.git
17:33:43 [2023-05-17T21:33:43.375Z]  > git --version # timeout=10
17:33:43 [2023-05-17T21:33:43.378Z]  > git --version # 'git version 2.25.1'
17:33:43 [2023-05-17T21:33:43.379Z]  > git fetch --tags --force --progress -- https://github.com/jdekonin/omr.git +refs/heads/*:refs/remotes/origin/* # timeout=10
17:34:28 [2023-05-17T21:34:28.255Z] Avoid second fetch
17:34:28 [2023-05-17T21:34:28.648Z] Checking out Revision 26d41cbac4e17463c5de6a0106c2c5e1b22ea399 (refs/remotes/origin/master)
17:34:27 [2023-05-17T21:34:27.745Z]  > git config remote.origin.url https://github.com/jdekonin/omr.git # timeout=10
17:34:27 [2023-05-17T21:34:27.753Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
17:34:28 [2023-05-17T21:34:28.458Z]  > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
17:34:28 [2023-05-17T21:34:28.773Z]  > git config core.sparsecheckout # timeout=10
17:34:28 [2023-05-17T21:34:28.779Z]  > git checkout -f 26d41cbac4e17463c5de6a0106c2c5e1b22ea399 # timeout=10
17:34:29 [2023-05-17T21:34:29.817Z]  > git branch -a -v --no-abbrev # timeout=10
17:34:29 [2023-05-17T21:34:29.829Z]  > git checkout -b master 26d41cbac4e17463c5de6a0106c2c5e1b22ea399 # timeout=10
17:34:30 [2023-05-17T21:34:30.645Z] Commit message: "Add dockerfile for riscv64 compiles"
17:34:30 [2023-05-17T21:34:30.959Z] First time build. Skipping changelog.
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
17:34:30 [2023-05-17T21:34:30.769Z]  > git rev-list --no-walk e62fda29f9203b106e476e3f614e3725c064b311 # timeout=10
17:34:35 [2023-05-17T21:34:35.108Z] + docker build -t riscv64:7 -t riscv64:latest -f buildenv/docker/riscv64/debian11/Dockerfile .
17:34:37 [2023-05-17T21:34:37.649Z] Sending build context to Docker daemon  132.4MB

17:34:37 [2023-05-17T21:34:37.649Z] Step 1/9 : FROM debian:11.7-slim AS base
17:34:37 [2023-05-17T21:34:37.649Z]  ---> 07df01f107e8
17:34:37 [2023-05-17T21:34:37.649Z] Step 2/9 : ENV TZ=America/Toronto
17:34:37 [2023-05-17T21:34:37.649Z]  ---> Using cache
17:34:37 [2023-05-17T21:34:37.649Z]  ---> e815ebb0dd3a
17:34:37 [2023-05-17T21:34:37.649Z] Step 3/9 : RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
17:34:37 [2023-05-17T21:34:37.649Z]  ---> Using cache
17:34:37 [2023-05-17T21:34:37.649Z]  ---> 38d629518ea7
17:34:37 [2023-05-17T21:34:37.649Z] Step 4/9 : 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/*
17:34:37 [2023-05-17T21:34:37.649Z]  ---> Using cache
17:34:37 [2023-05-17T21:34:37.649Z]  ---> 9df7fea63309
17:34:37 [2023-05-17T21:34:37.649Z] Step 5/9 : 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
17:34:37 [2023-05-17T21:34:37.649Z]  ---> Using cache
17:34:37 [2023-05-17T21:34:37.649Z]  ---> d7815d9b19c2
17:34:37 [2023-05-17T21:34:37.649Z] Step 6/9 : 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'
17:34:37 [2023-05-17T21:34:37.649Z]  ---> Using cache
17:34:37 [2023-05-17T21:34:37.649Z]  ---> 26e7f54b3af3
17:34:37 [2023-05-17T21:34:37.649Z] Step 7/9 : RUN cd /opt && git clone https://gitlab.com/qemu-project/qemu.git qemu_src && git -C qemu_src checkout v7.2.0 && mkdir qemu_bld && cd qemu_bld && ../qemu_src/configure --prefix=/opt/qemu-v7.2.0 --target-list=riscv64-linux-user --static && make -j4 && make install && /opt/qemu-v7.2.0/bin/qemu-riscv64 --version && rm -rf /opt/qemu_bld /opt/qemu_src
17:34:37 [2023-05-17T21:34:37.649Z]  ---> Using cache
17:34:37 [2023-05-17T21:34:37.649Z]  ---> 3ba5fc958ed8
17:34:37 [2023-05-17T21:34:37.649Z] Step 8/9 : RUN mkdir -p /root/.gnupg && chmod 600 /root/.gnupg && gpg --keyserver keyserver.ubuntu.com --recv-key B523E5F3FC4E5F2 && gpg --keyserver keyserver.ubuntu.com --recv-key 8D69674688B6CB36 && gpg --export B523E5F3FC4E5F2C > /etc/apt/trusted.gpg.d/debian-B523E5F3FC4E5F2C.gpg && gpg --export 8D69674688B6CB36 > /etc/apt/trusted.gpg.d/debian-8D69674688B6CB36.gpg
17:34:38 [2023-05-17T21:34:38.896Z]  ---> Running in d4e30eaf1a10
17:34:38 [2023-05-17T21:34:38.896Z] gpg: keybox '/root/.gnupg/pubring.kbx' created
17:34:38 [2023-05-17T21:34:38.896Z] gpg: "B523E5F3FC4E5F2" not a key ID: skipping
17:34:39 [2023-05-17T21:34:39.750Z] The command '/bin/sh -c mkdir -p /root/.gnupg && chmod 600 /root/.gnupg && gpg --keyserver keyserver.ubuntu.com --recv-key B523E5F3FC4E5F2 && gpg --keyserver keyserver.ubuntu.com --recv-key 8D69674688B6CB36 && gpg --export B523E5F3FC4E5F2C > /etc/apt/trusted.gpg.d/debian-B523E5F3FC4E5F2C.gpg && gpg --export 8D69674688B6CB36 > /etc/apt/trusted.gpg.d/debian-8D69674688B6CB36.gpg' returned a non-zero code: 2
[Pipeline] }
[Pipeline] // stage
[Pipeline] cleanWs
17:34:41 [2023-05-17T21:34:41.351Z] [WS-CLEANUP] Deleting project workspace...
17:34:41 [2023-05-17T21:34:41.352Z] [WS-CLEANUP] Deferred wipeout is used...
17:34:41 [2023-05-17T21:34:41.865Z] [WS-CLEANUP] done
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // timeout
[Pipeline] End of Pipeline
ERROR: script returned exit code 2
Finished: FAILURE