Mock Version: 2.4 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-k8s-system-validators.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1597785346.345879/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.g_mzy37t:/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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g_mzy37t:/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', 'f1c2bffb1095477c868382d2e98017c8', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1597785346.345879/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g_mzy37t:/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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-k8s-system-validators.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1597792194 Wrote: /builddir/build/SRPMS/golang-k8s-system-validators-1.1.2-1.fc34.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/golang-k8s-system-validators.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1597785346.345879/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.g_mzy37t:/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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g_mzy37t:/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', '69ea5a5f16424693b25419364f9ffb21', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1597785346.345879/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.g_mzy37t:/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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-k8s-system-validators.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1597792194 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1JcbAv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf system-validators-1.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/system-validators-1.1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd system-validators-1.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/system-validators-1.1.2/vendor + [[ ! -e /builddir/build/BUILD/system-validators-1.1.2/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/system-validators-1.1.2/_build/bin install: creating directory '/builddir/build/BUILD/system-validators-1.1.2/_build' install: creating directory '/builddir/build/BUILD/system-validators-1.1.2/_build/bin' + export GOPATH=/builddir/build/BUILD/system-validators-1.1.2/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/system-validators-1.1.2/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/system-validators-1.1.2/_build/src/k8s.io/system-validators ]] ++ dirname /builddir/build/BUILD/system-validators-1.1.2/_build/src/k8s.io/system-validators + install -m 0755 -vd /builddir/build/BUILD/system-validators-1.1.2/_build/src/k8s.io install: creating directory '/builddir/build/BUILD/system-validators-1.1.2/_build/src' install: creating directory '/builddir/build/BUILD/system-validators-1.1.2/_build/src/k8s.io' + ln -fs /builddir/build/BUILD/system-validators-1.1.2 /builddir/build/BUILD/system-validators-1.1.2/_build/src/k8s.io/system-validators + cd /builddir/build/BUILD/system-validators-1.1.2/_build/src/k8s.io/system-validators + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.W2NyEu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-k8s-system-validators-1.1.2-1.fc34.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-k8s-system-validators-1.1.2-1.fc34.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-k8s-system-validators-1.1.2-1.fc34.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-k8s-system-validators-1.1.2-1.fc34.x86_64 + cd system-validators-1.1.2 + cd /builddir/build/BUILD/system-validators-1.1.2/_build/src/k8s.io/system-validators + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i k8s.io/system-validators -b /builddir/build/BUILD/system-validators-1.1.2/_build/bin -s /builddir/build/BUILD/system-validators-1.1.2/_build -o golang-k8s-system-validators-devel.file-list -O /builddir/build/BUILD/system-validators-1.1.2 -V 1.1.2-1.fc34 -p /builddir/build/BUILDROOT/golang-k8s-system-validators-1.1.2-1.fc34.x86_64 -g /usr/share/gocode -r '.*example.*' Installing: k8s.io/system-validators + IFS= +++ realpath -e --relative-base=. CONTRIBUTING.md README.md RELEASE.md code-of- conduct.md +++ sort -u realpath: code-of-: No such file or directory realpath: conduct.md: No such file or directory ++ listfiles_include='CONTRIBUTING.md README.md RELEASE.md' ++ echo 'CONTRIBUTING.md README.md RELEASE.md' + godocs='CONTRIBUTING.md README.md RELEASE.md' + [[ -n CONTRIBUTING.md README.md RELEASE.md ]] + IFS= + read -r f + echo %doc '"CONTRIBUTING.md"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + echo %doc '"RELEASE.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE +++ sort -u ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.94blDu + umask 022 + cd /builddir/build/BUILD + cd system-validators-1.1.2 + LDFLAGS=' -X k8s.io/system-validators/version=1.1.2' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + go-rpm-integration check -i k8s.io/system-validators -b /builddir/build/BUILD/system-validators-1.1.2/_build/bin -s /builddir/build/BUILD/system-validators-1.1.2/_build -V 1.1.2-1.fc34 -p /builddir/build/BUILDROOT/golang-k8s-system-validators-1.1.2-1.fc34.x86_64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/system-validators-1.1.2/_build/src PATH: /builddir/build/BUILD/system-validators-1.1.2/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/system-validators-1.1.2/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X k8s.io/system-validators/version=1.1.2 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: k8s.io/system-validators k8s.io/system-validators/hack PASS ok k8s.io/system-validators/hack 0.003s k8s.io/system-validators/validators CGROUPS_SYSTEM1: enabled CGROUPS_DEVICES: enabled CGROUPS_FREEZER: enabled CGROUPS_SYSTEM1: enabled CGROUPS_SYSTEM2: missing CGROUPS_SYSTEM1: enabled CGROUPS_SYSTEM2: missing CGROUPS_SYSTEM1: enabled CGROUPS_SYSTEM2: enabled CGROUPS_SYSTEM1: enabled CGROUPS_SYSTEM1: missing CGROUPS_DEVICES: enabled CGROUPS_FREEZER: enabled CGROUPS_SYSTEM1: missing CGROUPS_DEVICES: enabled CGROUPS_FREEZER: enabled CGROUPS_SYSTEM1: enabled CGROUPS_DEVICES: enabled CGROUPS_FREEZER: enabled DOCKER_VERSION: 1.12.1 DOCKER_VERSION: 1.13.1 DOCKER_GRAPH_DRIVER: bad_driver DOCKER_VERSION: 1.13.1 DOCKER_GRAPH_DRIVER: driver_1 DOCKER_VERSION: 17.03.0-ce DOCKER_GRAPH_DRIVER: driver_2 DOCKER_VERSION: 17.06.0-ce DOCKER_GRAPH_DRIVER: driver_2 DOCKER_VERSION: 17.09.0-ce DOCKER_GRAPH_DRIVER: driver_2 DOCKER_VERSION: 18.06.0-ce DOCKER_GRAPH_DRIVER: driver_2 DOCKER_VERSION: 18.09.1-ce DOCKER_GRAPH_DRIVER: driver_2 DOCKER_VERSION: 19.03.1-ce DOCKER_GRAPH_DRIVER: driver_2 DOCKER_VERSION: 19.06.0 KERNEL_VERSION: 3.19.9-99-test KERNEL_VERSION: 4.4.14+ KERNEL_VERSION: 2.0.0 KERNEL_VERSION: 5.0.0 KERNEL_VERSION: 10.21.1 KERNEL_VERSION: 99.12.12 KERNEL_VERSION: 3.9.0 CONFIG_REQUIRED_1: enabled CONFIG_REQUIRED_2: enabled (as module) CONFIG_OPTIONAL_1: not set CONFIG_OPTIONAL_2: not set CONFIG_FORBIDDEN_1: not set CONFIG_ALIASE_FORBIDDEN_2: not set CONFIG_REQUIRED_1: disabled CONFIG_REQUIRED_2: enabled CONFIG_OPTIONAL_1: not set CONFIG_OPTIONAL_2: not set CONFIG_FORBIDDEN_1: not set CONFIG_ALIASE_FORBIDDEN_2: not set CONFIG_REQUIRED_1: enabled CONFIG_ALIASE_REQUIRED_2: not set CONFIG_OPTIONAL_1: not set CONFIG_OPTIONAL_2: not set CONFIG_FORBIDDEN_1: not set CONFIG_ALIASE_FORBIDDEN_2: not set CONFIG_REQUIRED_1: enabled CONFIG_ALIASE_REQUIRED_2: enabled (as module) CONFIG_OPTIONAL_1: not set CONFIG_OPTIONAL_2: not set CONFIG_FORBIDDEN_1: not set CONFIG_ALIASE_FORBIDDEN_2: not set CONFIG_REQUIRED_1: enabled CONFIG_REQUIRED_2: enabled (as module) CONFIG_OPTIONAL_1: enabled CONFIG_OPTIONAL_2: not set CONFIG_FORBIDDEN_1: not set CONFIG_ALIASE_FORBIDDEN_2: not set CONFIG_REQUIRED_1: enabled CONFIG_REQUIRED_2: enabled (as module) CONFIG_OPTIONAL_1: not set CONFIG_OPTIONAL_2: not set CONFIG_FORBIDDEN_1: disabled CONFIG_ALIASE_FORBIDDEN_2: not set CONFIG_REQUIRED_1: enabled CONFIG_REQUIRED_2: enabled (as module) CONFIG_OPTIONAL_1: not set CONFIG_OPTIONAL_2: not set CONFIG_FORBIDDEN_1: enabled - TEST FORBIDDEN CONFIG_ALIASE_FORBIDDEN_2: not set CONFIG_REQUIRED_1: enabled CONFIG_REQUIRED_2: enabled (as module) CONFIG_OPTIONAL_1: not set CONFIG_OPTIONAL_2: not set CONFIG_FORBIDDEN_1: enabled (as module) - TEST FORBIDDEN CONFIG_ALIASE_FORBIDDEN_2: not set CONFIG_REQUIRED_1: enabled CONFIG_REQUIRED_2: enabled (as module) CONFIG_OPTIONAL_1: not set CONFIG_OPTIONAL_2: not set CONFIG_FORBIDDEN_1: not set CONFIG_ALIASE_FORBIDDEN_2: enabled (as module) OS: Linux OS: Windows OS: Darwin foo (>=1.0): 1.0.0 bar (>=2.0 <= 3.0): 2.1.0 foo (>=1.0): 1.0.0 bar (>=3.0): 2.1.0 baz (): not installed bar-test-kernel-release (>=3.0): 3.0.0 PASS ok k8s.io/system-validators/validators 0.021s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-k8s-system-validators-devel-1.1.2-1.fc34.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sjnyrv + umask 022 + cd /builddir/build/BUILD + cd system-validators-1.1.2 + DOCDIR=/builddir/build/BUILDROOT/golang-k8s-system-validators-1.1.2-1.fc34.x86_64/usr/share/doc/golang-k8s-system-validators-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-k8s-system-validators-1.1.2-1.fc34.x86_64/usr/share/doc/golang-k8s-system-validators-devel + cp -pr CONTRIBUTING.md /builddir/build/BUILDROOT/golang-k8s-system-validators-1.1.2-1.fc34.x86_64/usr/share/doc/golang-k8s-system-validators-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-k8s-system-validators-1.1.2-1.fc34.x86_64/usr/share/doc/golang-k8s-system-validators-devel + cp -pr RELEASE.md /builddir/build/BUILDROOT/golang-k8s-system-validators-1.1.2-1.fc34.x86_64/usr/share/doc/golang-k8s-system-validators-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Dqqw5w + umask 022 + cd /builddir/build/BUILD + cd system-validators-1.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/golang-k8s-system-validators-1.1.2-1.fc34.x86_64/usr/share/licenses/golang-k8s-system-validators-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-k8s-system-validators-1.1.2-1.fc34.x86_64/usr/share/licenses/golang-k8s-system-validators-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-k8s-system-validators-1.1.2-1.fc34.x86_64/usr/share/licenses/golang-k8s-system-validators-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: golang(k8s.io/system-validators/validators) = 1.1.2-1.fc34 golang-ipath(k8s.io/system-validators) = 1.1.2-1.fc34 golang-k8s-system-validators-devel = 1.1.2-1.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang(github.com/blang/semver) golang(github.com/pkg/errors) golang(golang.org/x/sys/unix) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-k8s-system-validators-1.1.2-1.fc34.x86_64 Wrote: /builddir/build/RPMS/golang-k8s-system-validators-devel-1.1.2-1.fc34.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.DQSzAv + umask 022 + cd /builddir/build/BUILD + cd system-validators-1.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-k8s-system-validators-1.1.2-1.fc34.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0