Skip to content
Failed

Console Output

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
17:51:26 [2023-05-17T21:51:26.575Z] Running on ub20-x64-omr9 in /home/jenkins/workspace/Build-Jenkins-Container-riscv64
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Clone)
[Pipeline] git
17:51:28 [2023-05-17T21:51:28.165Z] The recommended git tool is: NONE
17:51:28 [2023-05-17T21:51:28.778Z] No credentials specified
17:51:29 [2023-05-17T21:51:29.083Z] Cloning the remote Git repository
17:51:29 [2023-05-17T21:51:29.208Z] Cloning repository https://github.com/jdekonin/omr.git
17:51:29 [2023-05-17T21:51:29.210Z]  > git init /home/jenkins/workspace/Build-Jenkins-Container-riscv64 # timeout=10
17:51:29 [2023-05-17T21:51:29.231Z] Fetching upstream changes from https://github.com/jdekonin/omr.git
17:51:29 [2023-05-17T21:51:29.232Z]  > git --version # timeout=10
17:51:29 [2023-05-17T21:51:29.238Z]  > git --version # 'git version 2.25.1'
17:51:29 [2023-05-17T21:51:29.238Z]  > git fetch --tags --force --progress -- https://github.com/jdekonin/omr.git +refs/heads/*:refs/remotes/origin/* # timeout=10
17:52:02 [2023-05-17T21:52:02.287Z] Avoid second fetch
17:52:02 [2023-05-17T21:52:02.602Z] Checking out Revision 58caf6efcd19c6ad2b7259fa474bdc4e1a96a99e (refs/remotes/origin/master)
17:52:01 [2023-05-17T21:52:01.783Z]  > git config remote.origin.url https://github.com/jdekonin/omr.git # timeout=10
17:52:01 [2023-05-17T21:52:01.788Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
17:52:02 [2023-05-17T21:52:02.411Z]  > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
17:52:02 [2023-05-17T21:52:02.767Z]  > git config core.sparsecheckout # timeout=10
17:52:02 [2023-05-17T21:52:02.773Z]  > git checkout -f 58caf6efcd19c6ad2b7259fa474bdc4e1a96a99e # timeout=10
17:52:03 [2023-05-17T21:52:03.791Z]  > git branch -a -v --no-abbrev # timeout=10
17:52:03 [2023-05-17T21:52:03.800Z]  > git checkout -b master 58caf6efcd19c6ad2b7259fa474bdc4e1a96a99e # timeout=10
17:52:04 [2023-05-17T21:52:04.718Z] Commit message: "Add dockerfile for riscv64 compiles"
17:52:05 [2023-05-17T21:52:05.032Z] First time build. Skipping changelog.
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
17:52:04 [2023-05-17T21:52:04.842Z]  > git rev-list --no-walk 26d41cbac4e17463c5de6a0106c2c5e1b22ea399 # timeout=10
17:52:09 [2023-05-17T21:52:09.416Z] + docker build -t riscv64:8 -t riscv64:latest -f buildenv/docker/riscv64/debian11/Dockerfile .
17:52:12 [2023-05-17T21:52:12.258Z] Sending build context to Docker daemon  132.4MB

17:52:12 [2023-05-17T21:52:12.258Z] Step 1/10 : FROM debian:11.7-slim AS base
17:52:12 [2023-05-17T21:52:12.258Z]  ---> 07df01f107e8
17:52:12 [2023-05-17T21:52:12.258Z] Step 2/10 : ENV TZ=America/Toronto
17:52:12 [2023-05-17T21:52:12.258Z]  ---> Using cache
17:52:12 [2023-05-17T21:52:12.258Z]  ---> e815ebb0dd3a
17:52:12 [2023-05-17T21:52:12.258Z] Step 3/10 : RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
17:52:12 [2023-05-17T21:52:12.258Z]  ---> Using cache
17:52:12 [2023-05-17T21:52:12.258Z]  ---> 38d629518ea7
17:52:12 [2023-05-17T21:52:12.258Z] Step 4/10 : 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:52:12 [2023-05-17T21:52:12.258Z]  ---> Using cache
17:52:12 [2023-05-17T21:52:12.258Z]  ---> 9df7fea63309
17:52:12 [2023-05-17T21:52:12.258Z] Step 5/10 : 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:52:12 [2023-05-17T21:52:12.258Z]  ---> Using cache
17:52:12 [2023-05-17T21:52:12.258Z]  ---> d7815d9b19c2
17:52:12 [2023-05-17T21:52:12.258Z] Step 6/10 : 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:52:12 [2023-05-17T21:52:12.258Z]  ---> Using cache
17:52:12 [2023-05-17T21:52:12.258Z]  ---> 26e7f54b3af3
17:52:12 [2023-05-17T21:52:12.258Z] Step 7/10 : 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:52:12 [2023-05-17T21:52:12.258Z]  ---> Using cache
17:52:12 [2023-05-17T21:52:12.258Z]  ---> 3ba5fc958ed8
17:52:12 [2023-05-17T21:52:12.258Z] Step 8/10 : RUN mkdir -p /root/.gnupg && chmod 600 /root/.gnupg
17:52:13 [2023-05-17T21:52:13.501Z]  ---> Running in 5a3a7c63d971
17:52:13 [2023-05-17T21:52:13.501Z] Removing intermediate container 5a3a7c63d971
17:52:13 [2023-05-17T21:52:13.501Z]  ---> c0cd6c6bd62c
17:52:13 [2023-05-17T21:52:13.501Z] Step 9/10 : RUN 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:52:13 [2023-05-17T21:52:13.501Z]  ---> Running in ca630972f06e
17:52:14 [2023-05-17T21:52:14.744Z] gpg: keybox '/root/.gnupg/pubring.kbx' created
17:52:14 [2023-05-17T21:52:14.744Z] gpg: "B523E5F3FC4E5F2" not a key ID: skipping
17:52:14 [2023-05-17T21:52:14.744Z] The command '/bin/sh -c 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:52:16 [2023-05-17T21:52:16.995Z] [WS-CLEANUP] Deleting project workspace...
17:52:16 [2023-05-17T21:52:16.995Z] [WS-CLEANUP] Deferred wipeout is used...
17:52:17 [2023-05-17T21:52:17.609Z] [WS-CLEANUP] done
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // timeout
[Pipeline] End of Pipeline
ERROR: script returned exit code 2
Finished: FAILURE