Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/scaleway-cli.spec'], chrootPath='/var/lib/mock/opensuse-tumbleweed-x86_64-1659540124.059308/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2_8ngsho:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2_8ngsho:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7fab3374b2284e1ba0e13ff3d430efef', '-D', '/var/lib/mock/opensuse-tumbleweed-x86_64-1659540124.059308/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2_8ngsho:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/scaleway-cli.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/scw-2.5.4-1.suse.tw.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/scaleway-cli.spec'], chrootPath='/var/lib/mock/opensuse-tumbleweed-x86_64-1659540124.059308/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2_8ngsho:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2_8ngsho:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e47203aa7f2145779404cad734a13c77', '-D', '/var/lib/mock/opensuse-tumbleweed-x86_64-1659540124.059308/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2_8ngsho:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/scaleway-cli.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /usr/bin/bash -e /var/tmp/rpm-tmp.8ipucr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scaleway-cli-2.5.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/v2.5.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd scaleway-cli-2.5.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /usr/bin/bash -e /var/tmp/rpm-tmp.L0emC0 + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/scw-2.5.4-1.suse.tw.x86_64 ++ dirname /builddir/build/BUILDROOT/scw-2.5.4-1.suse.tw.x86_64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT + /usr/bin/mkdir /builddir/build/BUILDROOT/scw-2.5.4-1.suse.tw.x86_64 + cd scaleway-cli-2.5.4 + export CGO_ENABLED=0 + CGO_ENABLED=0 + LDFLAGS='-w -extldflags -static -X main.Version=2.5.4' + GOPROXY=direct + GOOS=linux + GOARCH=amd64 + go build -ldflags '-w -extldflags -static -X main.Version=2.5.4' -o scw cmd/scw/main.go go: downloading github.com/hashicorp/go-version v1.6.0 go: downloading github.com/mattn/go-colorable v0.1.12 go: downloading github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220701084505-e4e065be0a37 go: downloading github.com/mattn/go-isatty v0.0.14 go: downloading github.com/dnaeon/go-vcr v1.2.0 go: downloading github.com/fatih/color v1.13.0 go: downloading github.com/spf13/cobra v1.5.0 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/stretchr/testify v1.8.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/getsentry/raven-go v0.2.0 go: downloading golang.org/x/sys v0.0.0-20211205182925-97ca703d548d go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/dustin/go-humanize v1.0.0 go: downloading github.com/karrick/tparse v2.4.2+incompatible go: downloading golang.org/x/text v0.3.7 go: downloading github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e go: downloading golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading github.com/ghodss/yaml v1.0.0 go: downloading github.com/kubernetes-client/go-base v0.0.0-20190205182333-3d0e39759d98 go: downloading github.com/certifi/gocertifi v0.0.0-20210507211836-431795d63e8d go: downloading github.com/pkg/errors v0.8.1 go: downloading github.com/containerd/console v1.0.3 go: downloading github.com/gorilla/websocket v1.5.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /usr/bin/bash -e /var/tmp/rpm-tmp.HfiR0C + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/scw-2.5.4-1.suse.tw.x86_64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT + /usr/bin/mkdir /builddir/build/BUILDROOT/scw-2.5.4-1.suse.tw.x86_64 + cd scaleway-cli-2.5.4 + install -Dpm 0755 scw /builddir/build/BUILDROOT/scw-2.5.4-1.suse.tw.x86_64/usr/bin/scw + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-suse Processing files: scw-2.5.4-1.suse.tw.x86_64 warning: Missing build-id in /builddir/build/BUILDROOT/scw-2.5.4-1.suse.tw.x86_64/usr/bin/scw Provides: scw = 2.5.4 scw = 2.5.4-1.suse.tw scw(x86-64) = 2.5.4-1.suse.tw Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/scw-2.5.4-1.suse.tw.x86_64 Wrote: /builddir/build/RPMS/scw-2.5.4-1.suse.tw.x86_64.rpm Executing(%clean): /usr/bin/bash -e /var/tmp/rpm-tmp.IjfbqK + umask 022 + cd /builddir/build/BUILD + cd scaleway-cli-2.5.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/scw-2.5.4-1.suse.tw.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0