Build log:
Mock Version: 5.4
Mock Version: 5.4
Mock Version: 5.4
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target s390x --nodeps /builddir/build/SPECS/kubernetes.spec'], chrootPath='/var/lib/mock/f41-build-49183489-5843695/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3ffaa81d550>timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck0_pugz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck0_pugz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '844af89d18a948fdbdf6b94cce28d21b', '-D', '/var/lib/mock/f41-build-49183489-5843695/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck0_pugz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target s390x --nodeps /builddir/build/SPECS/kubernetes.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: s390x
Building for target s390x
setting SOURCE_DATE_EPOCH=1708387200
Wrote: /builddir/build/SRPMS/kubernetes-1.29.2-1.fc41.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target s390x --nodeps /builddir/build/SPECS/kubernetes.spec'], chrootPath='/var/lib/mock/f41-build-49183489-5843695/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3ffaa81d550>timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck0_pugz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck0_pugz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '991f278e52e84641b49dee9ab608d329', '-D', '/var/lib/mock/f41-build-49183489-5843695/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ck0_pugz:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target s390x --nodeps /builddir/build/SPECS/kubernetes.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: s390x
Building for target s390x
setting SOURCE_DATE_EPOCH=1708387200
Executing(%prep): /bin/bash -e /var/tmp/rpm-tmp.BhxFjb
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf kubernetes-1.29.2
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/kubernetes-1.29.2.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd kubernetes-1.29.2
+ rm -rf /builddir/build/BUILD/kubernetes-1.29.2-SPECPARTS
+ /usr/bin/mkdir -p /builddir/build/BUILD/kubernetes-1.29.2-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ for dir in vendor/github.com/google/certificate-transparency/go/x509 pkg/util/certificates
+ '[' -d vendor/github.com/google/certificate-transparency/go/x509 ']'
+ for dir in vendor/github.com/google/certificate-transparency/go/x509 pkg/util/certificates
+ '[' -d pkg/util/certificates ']'
+ mkdir -p src/k8s.io/kubernetes
++ ls
++ grep -v '^src$'
+ mv CHANGELOG CHANGELOG.md CONTRIBUTING.md LICENSE LICENSES Makefile OWNERS OWNERS_ALIASES README.md SECURITY_CONTACTS SUPPORT.md api build cluster cmd code-of-conduct.md docs go.mod go.sum hack logo pkg plugin staging test third_party vendor src/k8s.io/kubernetes/.
+ mv .generated_files src/k8s.io/kubernetes/.
+ mv .go-version src/k8s.io/kubernetes/.
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/bash -e /var/tmp/rpm-tmp.scpJ7K
~/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes ~/build/BUILD/kubernetes-1.29.2
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed   -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd kubernetes-1.29.2
+ export FORCE_HOST_GO=y
+ FORCE_HOST_GO=y
+ pushd src/k8s.io/kubernetes/
+ source hack/lib/init.sh
++ set -o errexit
++ set -o nounset
++ set -o pipefail
+++ type -t kube::init::loaded
++ [[ '' == function ]]
++ unset CDPATH
++ export GO111MODULE=off
++ GO111MODULE=off
++++ dirname hack/lib/init.sh
+++ cd hack/lib/../..
+++ pwd -P
++ KUBE_ROOT=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes
++ KUBE_OUTPUT_SUBPATH=_output/local
++ KUBE_OUTPUT=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local
++ KUBE_OUTPUT_BINPATH=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/bin
++ KUBE_RSYNC_COMPRESS=0
++ export no_proxy=127.0.0.1,localhost
++ no_proxy=127.0.0.1,localhost
++ export THIS_PLATFORM_BIN=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/bin
++ THIS_PLATFORM_BIN=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/bin
++ source /builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/hack/lib/util.sh
+++ [[ -z '' ]]
+++ declare -r 'color_start=\033['
+++ declare -r 'color_red=\033[0;31m'
+++ declare -r 'color_yellow=\033[0;33m'
+++ declare -r 'color_green=\033[0;32m'
+++ declare -r 'color_blue=\033[1;34m'
+++ declare -r 'color_cyan=\033[1;36m'
+++ declare -r 'color_norm=\033[0m'
+++ kube::util::sourced_variable '\033['
+++ true
+++ kube::util::sourced_variable '\033[0;31m'
+++ true
+++ kube::util::sourced_variable '\033[0;33m'
+++ true
+++ kube::util::sourced_variable '\033[0;32m'
+++ true
+++ kube::util::sourced_variable '\033[1;34m'
+++ true
+++ kube::util::sourced_variable '\033[1;36m'
+++ true
+++ kube::util::sourced_variable '\033[0m'
+++ true
++ source /builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/hack/lib/logging.sh
+++ KUBE_VERBOSE=2
++ kube::log::install_errexit
++ trap kube::log::errexit ERR
++ set -o errtrace
++ kube::util::ensure-bash-version
++ (( 5<4 ))
++ (( 5==4 ))
++ source /builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/hack/lib/version.sh
++ source /builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/hack/lib/golang.sh
+++ readonly KUBE_GO_PACKAGE=k8s.io/kubernetes
+++ KUBE_GO_PACKAGE=k8s.io/kubernetes
+++ readonly KUBE_GOPATH=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go
+++ KUBE_GOPATH=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go
+++ export KUBE_GOPATH
+++ KUBE_SUPPORTED_SERVER_PLATFORMS=('linux/amd64' 'linux/arm64' 'linux/s390x' 'linux/ppc64le')
+++ readonly KUBE_SUPPORTED_SERVER_PLATFORMS
+++ KUBE_SUPPORTED_NODE_PLATFORMS=('linux/amd64' 'linux/arm64' 'linux/s390x' 'linux/ppc64le' 'windows/amd64')
+++ readonly KUBE_SUPPORTED_NODE_PLATFORMS
+++ KUBE_SUPPORTED_CLIENT_PLATFORMS=('linux/amd64' 'linux/386' 'linux/arm' 'linux/arm64' 'linux/s390x' 'linux/ppc64le' 'darwin/amd64' 'darwin/arm64' 'windows/amd64' 'windows/386' 'windows/arm64')
+++ readonly KUBE_SUPPORTED_CLIENT_PLATFORMS
+++ KUBE_SUPPORTED_TEST_PLATFORMS=('linux/amd64' 'linux/arm64' 'linux/s390x' 'linux/ppc64le' 'darwin/amd64' 'darwin/arm64' 'windows/amd64' 'windows/arm64')
+++ readonly KUBE_SUPPORTED_TEST_PLATFORMS
+++ IFS=' '
+++ read -ra KUBE_SERVER_TARGETS
++++ kube::golang::server_targets
++++ targets=('cmd/kube-proxy' 'cmd/kube-apiserver' 'cmd/kube-controller-manager' 'cmd/kubelet' 'cmd/kubeadm' 'cmd/kube-scheduler' 'vendor/k8s.io/component-base/logs/kube-log-runner' 'vendor/k8s.io/kube-aggregator' 'vendor/k8s.io/apiextensions-apiserver' 'cluster/gce/gci/mounter')
++++ local targets
++++ echo cmd/kube-proxy cmd/kube-apiserver cmd/kube-controller-manager cmd/kubelet cmd/kubeadm cmd/kube-scheduler vendor/k8s.io/component-base/logs/kube-log-runner vendor/k8s.io/kube-aggregator vendor/k8s.io/apiextensions-apiserver cluster/gce/gci/mounter
+++ readonly KUBE_SERVER_TARGETS
+++ KUBE_SERVER_BINARIES=('kube-proxy' 'kube-apiserver' 'kube-controller-manager' 'kubelet' 'kubeadm' 'kube-scheduler' 'kube-log-runner' 'kube-aggregator' 'apiextensions-apiserver' 'mounter')
+++ readonly KUBE_SERVER_BINARIES
+++ IFS=' '
+++ read -ra KUBE_SERVER_IMAGE_TARGETS
++++ kube::golang::server_image_targets
++++ targets=('cmd/kube-apiserver' 'cmd/kube-controller-manager' 'cmd/kube-scheduler' 'cmd/kube-proxy' 'cmd/kubectl')
++++ local targets
++++ echo cmd/kube-apiserver cmd/kube-controller-manager cmd/kube-scheduler cmd/kube-proxy cmd/kubectl
+++ readonly KUBE_SERVER_IMAGE_TARGETS
+++ KUBE_SERVER_IMAGE_BINARIES=('kube-apiserver' 'kube-controller-manager' 'kube-scheduler' 'kube-proxy' 'kubectl')
+++ readonly KUBE_SERVER_IMAGE_BINARIES
+++ IFS=' '
+++ read -ra KUBE_CONFORMANCE_IMAGE_TARGETS
++++ kube::golang::conformance_image_targets
++++ targets=('ginkgo' 'test/e2e/e2e.test' 'test/conformance/image/go-runner' 'cmd/kubectl')
++++ local targets
++++ echo ginkgo test/e2e/e2e.test test/conformance/image/go-runner cmd/kubectl
+++ readonly KUBE_CONFORMANCE_IMAGE_TARGETS
+++ IFS=' '
+++ read -ra KUBE_NODE_TARGETS
++++ kube::golang::node_targets
++++ targets=('cmd/kube-proxy' 'cmd/kubeadm' 'cmd/kubelet' 'vendor/k8s.io/component-base/logs/kube-log-runner')
++++ local targets
++++ echo cmd/kube-proxy cmd/kubeadm cmd/kubelet vendor/k8s.io/component-base/logs/kube-log-runner
+++ readonly KUBE_NODE_TARGETS
+++ KUBE_NODE_BINARIES=('kube-proxy' 'kubeadm' 'kubelet' 'kube-log-runner')
+++ readonly KUBE_NODE_BINARIES
+++ KUBE_NODE_BINARIES_WIN=('kube-proxy.exe' 'kubeadm.exe' 'kubelet.exe' 'kube-log-runner.exe')
+++ readonly KUBE_NODE_BINARIES_WIN
+++ declare -a KUBE_SERVER_PLATFORMS
+++ declare -a KUBE_CLIENT_PLATFORMS
+++ declare -a KUBE_NODE_PLATFORMS
+++ declare -a KUBE_TEST_PLATFORMS
+++ kube::golang::setup_platforms
+++ [[ -n '' ]]
+++ [[ '' == \t\r\u\e ]]
+++ KUBE_SERVER_PLATFORMS=("${KUBE_SUPPORTED_SERVER_PLATFORMS[@]}")
+++ readonly KUBE_SERVER_PLATFORMS
+++ KUBE_NODE_PLATFORMS=("${KUBE_SUPPORTED_NODE_PLATFORMS[@]}")
+++ readonly KUBE_NODE_PLATFORMS
+++ KUBE_CLIENT_PLATFORMS=("${KUBE_SUPPORTED_CLIENT_PLATFORMS[@]}")
+++ readonly KUBE_CLIENT_PLATFORMS
+++ KUBE_TEST_PLATFORMS=("${KUBE_SUPPORTED_TEST_PLATFORMS[@]}")
+++ readonly KUBE_TEST_PLATFORMS
+++ KUBE_CLIENT_TARGETS=('cmd/kubectl' 'cmd/kubectl-convert')
+++ readonly KUBE_CLIENT_TARGETS
+++ KUBE_CLIENT_BINARIES=('kubectl' 'kubectl-convert')
+++ readonly KUBE_CLIENT_BINARIES
+++ KUBE_CLIENT_BINARIES_WIN=('kubectl.exe' 'kubectl-convert.exe')
+++ readonly KUBE_CLIENT_BINARIES_WIN
+++ IFS=' '
+++ read -ra KUBE_TEST_TARGETS
++++ kube::golang::test_targets
++++ targets=('ginkgo' 'test/e2e/e2e.test' 'test/conformance/image/go-runner')
++++ local targets
++++ echo ginkgo test/e2e/e2e.test test/conformance/image/go-runner
+++ readonly KUBE_TEST_TARGETS
+++ KUBE_TEST_BINARIES=('ginkgo' 'e2e.test' 'go-runner')
+++ readonly KUBE_TEST_BINARIES
+++ KUBE_TEST_BINARIES_WIN=('ginkgo.exe' 'e2e.test.exe' 'go-runner.exe')
+++ readonly KUBE_TEST_BINARIES_WIN
+++ KUBE_TEST_PORTABLE=('test/e2e/testing-manifests' 'test/kubemark' 'hack/e2e-internal' 'hack/get-build.sh' 'hack/ginkgo-e2e.sh' 'hack/lib')
+++ readonly KUBE_TEST_PORTABLE
+++ IFS=' '
+++ read -ra KUBE_TEST_SERVER_TARGETS
++++ kube::golang::server_test_targets
++++ targets=('cmd/kubemark' 'ginkgo')
++++ local targets
++++ [[ linux-gnu == \l\i\n\u\x* ]]
++++ targets+=(test/e2e_node/e2e_node.test)
++++ echo cmd/kubemark ginkgo test/e2e_node/e2e_node.test
+++ readonly KUBE_TEST_SERVER_TARGETS
+++ KUBE_TEST_SERVER_BINARIES=('kubemark' 'ginkgo' 'e2e_node.test')
+++ readonly KUBE_TEST_SERVER_BINARIES
+++ KUBE_TEST_SERVER_PLATFORMS=('linux/amd64' 'linux/arm64' 'linux/s390x' 'linux/ppc64le')
+++ readonly KUBE_TEST_SERVER_PLATFORMS
+++ readonly KUBE_PARALLEL_BUILD_MEMORY=20
+++ KUBE_PARALLEL_BUILD_MEMORY=20
+++ KUBE_ALL_TARGETS=('cmd/kube-proxy' 'cmd/kube-apiserver' 'cmd/kube-controller-manager' 'cmd/kubelet' 'cmd/kubeadm' 'cmd/kube-scheduler' 'vendor/k8s.io/component-base/logs/kube-log-runner' 'vendor/k8s.io/kube-aggregator' 'vendor/k8s.io/apiextensions-apiserver' 'cluster/gce/gci/mounter' 'cmd/kubectl' 'cmd/kubectl-convert' 'ginkgo' 'test/e2e/e2e.test' 'test/conformance/image/go-runner' 'cmd/kubemark' 'ginkgo' 'test/e2e_node/e2e_node.test')
+++ readonly KUBE_ALL_TARGETS
+++ KUBE_ALL_BINARIES=('kube-proxy' 'kube-apiserver' 'kube-controller-manager' 'kubelet' 'kubeadm' 'kube-scheduler' 'kube-log-runner' 'kube-aggregator' 'apiextensions-apiserver' 'mounter' 'kubectl' 'kubectl-convert' 'ginkgo' 'e2e.test' 'go-runner' 'kubemark' 'ginkgo' 'e2e_node.test')
+++ readonly KUBE_ALL_BINARIES
+++ KUBE_STATIC_LIBRARIES=('apiextensions-apiserver' 'kube-aggregator' 'kube-apiserver' 'kube-controller-manager' 'kube-scheduler' 'kube-proxy' 'kube-log-runner' 'kubeadm' 'kubectl' 'kubectl-convert' 'kubemark' 'mounter')
+++ readonly KUBE_STATIC_LIBRARIES
+++ KUBE_COVERAGE_INSTRUMENTED_PACKAGES=('k8s.io/kubernetes/cmd/kube-apiserver' 'k8s.io/kubernetes/cmd/kube-controller-manager' 'k8s.io/kubernetes/cmd/kube-scheduler' 'k8s.io/kubernetes/cmd/kube-proxy' 'k8s.io/kubernetes/cmd/kubelet')
+++ readonly KUBE_COVERAGE_INSTRUMENTED_PACKAGES
+++ IFS=' '
+++ read -ra KUBE_CGO_OVERRIDES_LIST
+++ readonly KUBE_CGO_OVERRIDES_LIST
+++ IFS=' '
+++ read -ra KUBE_STATIC_OVERRIDES_LIST
+++ readonly KUBE_STATIC_OVERRIDES_LIST
++ source /builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/hack/lib/etcd.sh
+++ ETCD_VERSION=3.5.10
+++ ETCD_HOST=127.0.0.1
+++ ETCD_PORT=2379
+++ ETCD_LOGLEVEL=warn
+++ export KUBE_INTEGRATION_ETCD_URL=http://127.0.0.1:2379
+++ KUBE_INTEGRATION_ETCD_URL=http://127.0.0.1:2379
+++ kube::util::host_platform
++++ kube::util::host_os
++++ local host_os
++++ case "$(uname -s)" in
+++++ uname -s
++++ host_os=linux
++++ echo linux
++++ kube::util::host_arch
++++ local host_arch
++++ case "$(uname -m)" in
+++++ uname -m
++++ host_arch=s390x
++++ echo s390x
+++ echo linux/s390x
++ KUBE_OUTPUT_HOSTBIN=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/bin/linux/s390x
++ export KUBE_OUTPUT_HOSTBIN
++ KUBE_AVAILABLE_GROUP_VERSIONS='v1 admissionregistration.k8s.io/v1 admissionregistration.k8s.io/v1alpha1 admissionregistration.k8s.io/v1beta1 admission.k8s.io/v1 admission.k8s.io/v1beta1 apps/v1 apps/v1beta1 apps/v1beta2 authentication.k8s.io/v1 authentication.k8s.io/v1alpha1 authentication.k8s.io/v1beta1 authorization.k8s.io/v1 authorization.k8s.io/v1beta1 autoscaling/v1 autoscaling/v2 autoscaling/v2beta1 autoscaling/v2beta2 batch/v1 batch/v1beta1 certificates.k8s.io/v1 certificates.k8s.io/v1beta1 certificates.k8s.io/v1alpha1 coordination.k8s.io/v1beta1 coordination.k8s.io/v1 discovery.k8s.io/v1 discovery.k8s.io/v1beta1 resource.k8s.io/v1alpha2 extensions/v1beta1 events.k8s.io/v1 events.k8s.io/v1beta1 imagepolicy.k8s.io/v1alpha1 networking.k8s.io/v1 networking.k8s.io/v1alpha1 networking.k8s.io/v1beta1 node.k8s.io/v1 node.k8s.io/v1alpha1 node.k8s.io/v1beta1 policy/v1 policy/v1beta1 rbac.authorization.k8s.io/v1 rbac.authorization.k8s.io/v1beta1 rbac.authorization.k8s.io/v1alpha1 scheduling.k8s.io/v1alpha1 scheduling.k8s.io/v1beta1 scheduling.k8s.io/v1 storage.k8s.io/v1beta1 storage.k8s.io/v1 storage.k8s.io/v1alpha1 flowcontrol.apiserver.k8s.io/v1 flowcontrol.apiserver.k8s.io/v1beta1 flowcontrol.apiserver.k8s.io/v1beta2 flowcontrol.apiserver.k8s.io/v1beta3 internal.apiserver.k8s.io/v1alpha1 '
++ KUBE_NONSERVER_GROUP_VERSIONS='
 abac.authorization.kubernetes.io/v0  abac.authorization.kubernetes.io/v1beta1  apidiscovery.k8s.io/v2beta1  componentconfig/v1alpha1  imagepolicy.k8s.io/v1alpha1 admission.k8s.io/v1 admission.k8s.io/v1beta1'
++ export KUBE_NONSERVER_GROUP_VERSIONS
+ kube::golang::setup_env
+ kube::golang::verify_go_version
++ cat /builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/.go-version
+ GO_VERSION=1.21.7
+ '[' auto '!=' auto ']'
+ '[' -n y ']'
+ export GOTOOLCHAIN=local
+ GOTOOLCHAIN=local
++ command -v go
+ [[ -z /usr/bin/go ]]
+ local go_version
+ IFS=' '
+ read -ra go_version
++ GOFLAGS=
++ go version
+ local minimum_go_version
+ minimum_go_version=go1.21
++ echo -e 'go1.21\ngo1.22.0'
++ sort -s -t. -k 1,1 -k 2,2n -k 3,3n
++ head -n1
+ [[ go1.21 != go1.21 ]]
+ kube::golang::create_gopath_tree
+ local go_pkg_dir=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes
+ local go_pkg_basedir
++ dirname /builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes
+ go_pkg_basedir=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go/src/k8s.io
+ mkdir -p /builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go/src/k8s.io
+ [[ ! -e /builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes ]]
+ ln -snf /builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes /builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes
+ export GOPATH=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go
+ GOPATH=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go
+ export GOCACHE=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go/cache/build
+ GOCACHE=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go/cache/build
+ export GOMODCACHE=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go/cache/mod
+ GOMODCACHE=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go/cache/mod
+ export PATH=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ PATH=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ local subdir
++ kube::realpath .
++ [[ ! -e . ]]
++ sed 's|/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes||'
++ kube::readlinkdashf .
++ [[ -d . ]]
++ cd .
++ pwd -P
+ subdir=
+ cd /builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/
++ go env GOROOT
+ GOROOT=/usr/lib/golang
+ export GOROOT
+ unset GOBIN
+ export GO15VENDOREXPERIMENT=1
+ GO15VENDOREXPERIMENT=1
+ export KUBE_GIT_TREE_STATE=clean
+ KUBE_GIT_TREE_STATE=clean
+ export KUBE_GIT_VERSION=v1.29.2
+ KUBE_GIT_VERSION=v1.29.2
++ pwd
+ export KUBE_EXTRA_GOPATH=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/Godeps/_workspace
+ KUBE_EXTRA_GOPATH=/builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/Godeps/_workspace
+ export GOFLAGS=-buildmode=pie
+ GOFLAGS=-buildmode=pie
+ make WHAT=cmd/kube-proxy
+++ [0220 18:29:40] Building go targets for linux/s390x
    k8s.io/kubernetes/cmd/kube-proxy (static)
-buildmode=pie requires external (cgo) linking, but cgo is not enabled
!!! [0220 18:29:41] Call tree:
!!! [0220 18:29:41]  1: /builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/hack/lib/golang.sh:788 kube::golang::build_some_binaries(...)
!!! [0220 18:29:41]  2: /builddir/build/BUILD/kubernetes-1.29.2/src/k8s.io/kubernetes/hack/lib/golang.sh:958 kube::golang::build_binaries_for_platform(...)
!!! [0220 18:29:41]  3: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0220 18:29:41] Call tree:
!!! [0220 18:29:41]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0220 18:29:41] Call tree:
!!! [0220 18:29:41]  1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
make: *** [Makefile:92: all] Error 1
++ kube::log::errexit
++ local err=2
++ set +o
++ grep -qe '-o errexit'
++ set +o xtrace
error: Bad exit status from /var/tmp/rpm-tmp.scpJ7K (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.scpJ7K (%build)
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 991f278e52e84641b49dee9ab608d329 -D /var/lib/mock/f41-build-49183489-5843695/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ck0_pugz:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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;<mock-chroot>\\007"\' \'--setenv=PS1=<mock-chroot> \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target s390x --nodeps /builddir/build/SPECS/kubernetes.spec\'\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 991f278e52e84641b49dee9ab608d329 -D /var/lib/mock/f41-build-49183489-5843695/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ck0_pugz:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target s390x --nodeps /builddir/build/SPECS/kubernetes.spec'



Extracted relevant lines:
k8s.io/kubernetes/cmd/kube-proxy (static)
-buildmode=pie requires external (cgo) linking, but cgo is not enabled
make: *** [Makefile:92: all] Error 1
++ kube::log::errexit
++ local err=2
++ set +o
++ grep -qe '-o errexit'
++ set +o xtrace
error: Bad exit status from /var/tmp/rpm-tmp.scpJ7K (%build)
EXCEPTION: [Error('Command failed: 
 # /usr/bin/systemd-nspawn -q -M 991f278e52e84641b49dee9ab608d329 -D /var/lib/mock/f41-build-49183489-5843695/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ck0_pugz:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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;<mock-chroot>\\007"\' \'--setenv=PS1=<mock-chroot> \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target s390x --nodeps /builddir/build/SPECS/kubernetes.spec\'
', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
  File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status
    raise exception.Error("Command failed: 
 # %s
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 991f278e52e84641b49dee9ab608d329 -D /var/lib/mock/f41-build-49183489-5843695/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ck0_pugz:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target s390x --nodeps /builddir/build/SPECS/kubernetes.spec'