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/rhel+epel-9-x86_64-1659540123.044167/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewikpsbq:/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.ewikpsbq:/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', '19fec989f4344dd194f8853e8e51f985', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1659540123.044167/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewikpsbq:/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 setting SOURCE_DATE_EPOCH=1656892800 Wrote: /builddir/build/SRPMS/scw-2.5.4-1.el9.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/rhel+epel-9-x86_64-1659540123.044167/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewikpsbq:/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.ewikpsbq:/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', '526343deb9d94808987e142977c90d8e', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1659540123.044167/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewikpsbq:/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 setting SOURCE_DATE_EPOCH=1656892800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lgt5wr + 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): /bin/sh -e /var/tmp/rpm-tmp.QY4Vw3 + umask 022 + cd /builddir/build/BUILD + 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): /bin/sh -e /var/tmp/rpm-tmp.xM8SFB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/scw-2.5.4-1.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/scw-2.5.4-1.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/scw-2.5.4-1.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/scw-2.5.4-1.el9.x86_64 + cd scaleway-cli-2.5.4 + install -Dpm 0755 scw /builddir/build/BUILDROOT/scw-2.5.4-1.el9.x86_64/usr/bin/scw + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: scw-2.5.4-1.el9.x86_64 warning: Missing build-id in /builddir/build/BUILDROOT/scw-2.5.4-1.el9.x86_64/usr/bin/scw Provides: scw = 2.5.4 scw = 2.5.4-1.el9 scw(x86-64) = 2.5.4-1.el9 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.el9.x86_64 Wrote: /builddir/build/RPMS/scw-2.5.4-1.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.e3231T + umask 022 + cd /builddir/build/BUILD + cd scaleway-cli-2.5.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/scw-2.5.4-1.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0