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
18:01:45 [2023-05-17T22:01:45.646Z] Running on ub20-x64-omr9 in /home/jenkins/workspace/Build-Jenkins-Container-riscv64
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Clone)
[Pipeline] git
18:01:49 [2023-05-17T22:01:49.652Z] The recommended git tool is: NONE
18:01:50 [2023-05-17T22:01:50.214Z] No credentials specified
18:01:50 [2023-05-17T22:01:50.467Z] Cloning the remote Git repository
18:01:50 [2023-05-17T22:01:50.592Z] Cloning repository https://github.com/jdekonin/omr.git
18:01:50 [2023-05-17T22:01:50.594Z]  > git init /home/jenkins/workspace/Build-Jenkins-Container-riscv64 # timeout=10
18:01:50 [2023-05-17T22:01:50.614Z] Fetching upstream changes from https://github.com/jdekonin/omr.git
18:01:50 [2023-05-17T22:01:50.614Z]  > git --version # timeout=10
18:01:50 [2023-05-17T22:01:50.622Z]  > git --version # 'git version 2.25.1'
18:01:50 [2023-05-17T22:01:50.622Z]  > git fetch --tags --force --progress -- https://github.com/jdekonin/omr.git +refs/heads/*:refs/remotes/origin/* # timeout=10
18:02:39 [2023-05-17T22:02:39.908Z] Avoid second fetch
18:02:40 [2023-05-17T22:02:40.220Z] Checking out Revision f436ec04bf86125f4ad233230a701372838e0c5b (refs/remotes/origin/master)
18:02:39 [2023-05-17T22:02:39.404Z]  > git config remote.origin.url https://github.com/jdekonin/omr.git # timeout=10
18:02:39 [2023-05-17T22:02:39.410Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
18:02:40 [2023-05-17T22:02:40.031Z]  > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
18:02:40 [2023-05-17T22:02:40.387Z]  > git config core.sparsecheckout # timeout=10
18:02:40 [2023-05-17T22:02:40.393Z]  > git checkout -f f436ec04bf86125f4ad233230a701372838e0c5b # timeout=10
18:02:42 [2023-05-17T22:02:42.129Z] Commit message: "Add dockerfile for riscv64 compiles"
18:02:42 [2023-05-17T22:02:42.504Z] First time build. Skipping changelog.
18:02:41 [2023-05-17T22:02:41.413Z]  > git branch -a -v --no-abbrev # timeout=10
18:02:41 [2023-05-17T22:02:41.424Z]  > git checkout -b master f436ec04bf86125f4ad233230a701372838e0c5b # timeout=10
18:02:42 [2023-05-17T22:02:42.313Z]  > git rev-list --no-walk 58caf6efcd19c6ad2b7259fa474bdc4e1a96a99e # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
18:02:50 [2023-05-17T22:02:50.271Z] + docker build -t riscv64:9 -t riscv64:latest -f buildenv/docker/riscv64/debian11/Dockerfile .
18:02:52 [2023-05-17T22:02:52.710Z] Sending build context to Docker daemon  132.4MB

18:02:52 [2023-05-17T22:02:52.710Z] Step 1/10 : FROM debian:11.7-slim AS base
18:02:52 [2023-05-17T22:02:52.710Z]  ---> 07df01f107e8
18:02:52 [2023-05-17T22:02:52.710Z] Step 2/10 : ENV TZ=America/Toronto
18:02:52 [2023-05-17T22:02:52.710Z]  ---> Using cache
18:02:52 [2023-05-17T22:02:52.710Z]  ---> e815ebb0dd3a
18:02:52 [2023-05-17T22:02:52.710Z] Step 3/10 : RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
18:02:52 [2023-05-17T22:02:52.710Z]  ---> Using cache
18:02:52 [2023-05-17T22:02:52.710Z]  ---> 38d629518ea7
18:02:52 [2023-05-17T22:02:52.710Z] 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/*
18:02:52 [2023-05-17T22:02:52.710Z]  ---> Using cache
18:02:52 [2023-05-17T22:02:52.710Z]  ---> 9df7fea63309
18:02:52 [2023-05-17T22:02:52.710Z] 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
18:02:52 [2023-05-17T22:02:52.710Z]  ---> Using cache
18:02:52 [2023-05-17T22:02:52.710Z]  ---> d7815d9b19c2
18:02:52 [2023-05-17T22:02:52.710Z] 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'
18:02:52 [2023-05-17T22:02:52.710Z]  ---> Using cache
18:02:52 [2023-05-17T22:02:52.710Z]  ---> 26e7f54b3af3
18:02:52 [2023-05-17T22:02:52.710Z] 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
18:02:52 [2023-05-17T22:02:52.710Z]  ---> Using cache
18:02:52 [2023-05-17T22:02:52.710Z]  ---> 3ba5fc958ed8
18:02:52 [2023-05-17T22:02:52.710Z] Step 8/10 : RUN mkdir -p /root/.gnupg && chmod 600 /root/.gnupg
18:02:52 [2023-05-17T22:02:52.710Z]  ---> Using cache
18:02:52 [2023-05-17T22:02:52.710Z]  ---> c0cd6c6bd62c
18:02:52 [2023-05-17T22:02:52.710Z] Step 9/10 : RUN gpg --no-default-keyring --primary-keyring /root/.gnupg/pubring.kbx --keyserver keyserver.ubuntu.com --recv-key B523E5F3FC4E5F2C && gpg --no-default-keyring --primary-keyring /root/.gnupg/pubring.kbx --keyserver keyserver.ubuntu.com --recv-key 8D69674688B6CB36 && gpg --no-default-keyring --primary-keyring /root/.gnupg/pubring.kbx --export B523E5F3FC4E5F2C | sudo tee -a /etc/apt/trusted.gpg.d/debian-B523E5F3FC4E5F2C.gpg && gpg --no-default-keyring --primary-keyring /root/.gnupg/pubring.kbx --export 8D69674688B6CB36 | sudo tee -a /etc/apt/trusted.gpg.d/debian-8D69674688B6CB36.gpg
18:02:52 [2023-05-17T22:02:52.710Z]  ---> Running in 031f0e0bb1c9
18:02:53 [2023-05-17T22:02:53.853Z] gpg: keybox '/root/.gnupg/pubring.kbx' created
18:02:55 [2023-05-17T22:02:55.197Z] gpg: /root/.gnupg/trustdb.gpg: trustdb created
18:02:55 [2023-05-17T22:02:55.197Z] gpg: key B523E5F3FC4E5F2C: public key "Debian Ports Archive Automatic Signing Key (2023) <ftpmaster@ports-master.debian.org>" imported
18:02:55 [2023-05-17T22:02:55.197Z] gpg: Total number processed: 1
18:02:55 [2023-05-17T22:02:55.197Z] gpg:               imported: 1
18:02:55 [2023-05-17T22:02:55.197Z] gpg: key 8D69674688B6CB36: public key "Debian Ports Archive Automatic Signing Key (2024) <ftpmaster@ports-master.debian.org>" imported
18:02:55 [2023-05-17T22:02:55.197Z] gpg: Total number processed: 1
18:02:55 [2023-05-17T22:02:55.197Z] gpg:               imported: 1
18:02:55 [2023-05-17T22:02:55.197Z] /bin/sh: 1: sudo: not found
18:02:55 [2023-05-17T22:02:55.197Z] gpg: [stdout]: write error: Broken pipe
18:02:55 [2023-05-17T22:02:55.197Z] gpg: filter_flush failed on close: Broken pipe
18:02:55 [2023-05-17T22:02:55.197Z] The command '/bin/sh -c gpg --no-default-keyring --primary-keyring /root/.gnupg/pubring.kbx --keyserver keyserver.ubuntu.com --recv-key B523E5F3FC4E5F2C && gpg --no-default-keyring --primary-keyring /root/.gnupg/pubring.kbx --keyserver keyserver.ubuntu.com --recv-key 8D69674688B6CB36 && gpg --no-default-keyring --primary-keyring /root/.gnupg/pubring.kbx --export B523E5F3FC4E5F2C | sudo tee -a /etc/apt/trusted.gpg.d/debian-B523E5F3FC4E5F2C.gpg && gpg --no-default-keyring --primary-keyring /root/.gnupg/pubring.kbx --export 8D69674688B6CB36 | sudo tee -a /etc/apt/trusted.gpg.d/debian-8D69674688B6CB36.gpg' returned a non-zero code: 127
[Pipeline] }
[Pipeline] // stage
[Pipeline] cleanWs
18:02:57 [2023-05-17T22:02:57.567Z] [WS-CLEANUP] Deleting project workspace...
18:02:57 [2023-05-17T22:02:57.568Z] [WS-CLEANUP] Deferred wipeout is used...
18:02:58 [2023-05-17T22:02:58.185Z] [WS-CLEANUP] done
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // timeout
[Pipeline] End of Pipeline
ERROR: script returned exit code 127
Finished: FAILURE