D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PBJD1u Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ymMavv + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build + rm -rf enterprise-certificate-proxy-0.3.7 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/enterprise-certificate-proxy-0.3.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd enterprise-certificate-proxy-0.3.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/vendor + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build/bin ]] + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build/bin install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build/bin' + export GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build:/usr/share/gocode + GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build:/usr/share/gocode + [[ ! -e /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build/src/github.com/googleapis/enterprise-certificate-proxy ]] ++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build/src/github.com/googleapis/enterprise-certificate-proxy + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build/src/github.com/googleapis install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build/src' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build/src/github.com' install: creating directory '/home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build/src/github.com/googleapis' + ln -fs /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7 /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build/src/github.com/googleapis/enterprise-certificate-proxy + cd /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build/src/github.com/googleapis/enterprise-certificate-proxy + rm -rfv internal linux windows client/client_test.go removed 'internal/signer/darwin/signer.go' removed 'internal/signer/darwin/keychain/keychain_test.go' removed 'internal/signer/darwin/keychain/keychain.go' removed directory 'internal/signer/darwin/keychain' removed directory 'internal/signer/darwin' removed 'internal/signer/test/signer.go' removed directory 'internal/signer/test' removed 'internal/signer/windows/signer.go' removed 'internal/signer/windows/.gitattributes' removed 'internal/signer/windows/ncrypt/cert_util.go' removed 'internal/signer/windows/ncrypt/ncrypt.go' removed 'internal/signer/windows/ncrypt/cert_util_test.go' removed directory 'internal/signer/windows/ncrypt' removed directory 'internal/signer/windows' removed 'internal/signer/linux/signer.go' removed 'internal/signer/linux/pkcs11/pkcs11_test.go' removed 'internal/signer/linux/pkcs11/pkcs11.go' removed directory 'internal/signer/linux/pkcs11' removed directory 'internal/signer/linux' removed 'internal/signer/util/util_test.go' removed 'internal/signer/util/test_data/certificate_config.json' removed directory 'internal/signer/util/test_data' removed 'internal/signer/util/util.go' removed directory 'internal/signer/util' removed directory 'internal/signer' removed directory 'internal' removed 'linux/client.go' removed 'linux/client_test.go' removed directory 'linux' removed 'windows/client.go' removed directory 'windows' removed 'client/client_test.go' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.enVRMh + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build + cd enterprise-certificate-proxy-0.3.7 + GOPATH=/home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/googleapis/enterprise-certificate-proxy --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cwuOQq + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build + mkdir /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/BUILDROOT + cd enterprise-certificate-proxy-0.3.7 + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build/src/github.com/googleapis/enterprise-certificate-proxy + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/googleapis/enterprise-certificate-proxy -b /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build -o golang-github-googleapis-enterprise-certificate-proxy-devel.file-list -O /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7 -V 0.3.7-1.mga10 -p /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Installing: github.com/googleapis/enterprise-certificate-proxy + IFS= +++ realpath -e --relative-base=. CODE_OF_CONDUCT.md CONTRIBUTING.md README.md SECURITY.md +++ sort -u ++ listfiles_include=$'CODE_OF_CONDUCT.md\nCONTRIBUTING.md\nREADME.md\nSECURITY.md' ++ echo $'CODE_OF_CONDUCT.md\nCONTRIBUTING.md\nREADME.md\nSECURITY.md' + godocs=$'CODE_OF_CONDUCT.md\nCONTRIBUTING.md\nREADME.md\nSECURITY.md' + [[ -n CODE_OF_CONDUCT.md CONTRIBUTING.md README.md SECURITY.md ]] + IFS= + read -r f + echo %doc '"CODE_OF_CONDUCT.md"' + IFS= + read -r f + echo %doc '"CONTRIBUTING.md"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + echo %doc '"SECURITY.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 + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ov0rg1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build + cd enterprise-certificate-proxy-0.3.7 + '[' 1 -eq 1 ']' + GO_LDFLAGS=' -X github.com/googleapis/enterprise-certificate-proxy/version=0.3.7' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + go-rpm-integration check -i github.com/googleapis/enterprise-certificate-proxy -b /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build/bin -s /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build -V 0.3.7-1.mga10 -p /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Testing in: /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build/src PATH: /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin GOPATH: /home/pterjan/rpmbuild/BUILD/golang-github-googleapis-enterprise-certificate-proxy-0.3.7-build/enterprise-certificate-proxy-0.3.7/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/googleapis/enterprise-certificate-proxy/version=0.3.7 -extldflags '-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: github.com/googleapis/enterprise-certificate-proxy github.com/googleapis/enterprise-certificate-proxy/client ? github.com/googleapis/enterprise-certificate-proxy/client [no test files] github.com/googleapis/enterprise-certificate-proxy/client/util PASS ok github.com/googleapis/enterprise-certificate-proxy/client/util 0.004s github.com/googleapis/enterprise-certificate-proxy/client/util PASS ok github.com/googleapis/enterprise-certificate-proxy/client/util 0.004s github.com/googleapis/enterprise-certificate-proxy/http_proxy 2026/01/13 05:11:47 Proxy error: mock transport error 2026/01/13 05:11:47 Proxy error: simulated transport error 2026/01/13 05:11:47 Starting proxy server on port 8080 2026/01/13 05:11:47 Shutdown signal received, shutting down server gracefully... 2026/01/13 05:11:47 Starting proxy server on port 8080 2026/01/13 05:11:47 Server shut down gracefully 2026/01/13 05:11:48 Shutdown signal received, shutting down server gracefully... 2026/01/13 05:11:48 Server shut down gracefully 2026/01/13 05:11:48 Starting proxy server on port 8080 2026/01/13 05:11:48 Shutdown signal received, shutting down server gracefully... 2026/01/13 05:11:48 Starting proxy server on port 8080 2026/01/13 05:11:48 Server shut down gracefully 2026/01/13 05:11:48 Shutdown signal received, shutting down server gracefully... 2026/01/13 05:11:48 Starting proxy server on port 8080 2026/01/13 05:11:48 Server shut down gracefully 2026/01/13 05:11:48 Proxy error: tls: failed to verify certificate: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "Test CA") 2026/01/13 05:11:48 http: TLS handshake error from 127.0.0.1:55730: remote error: tls: bad certificate 2026/01/13 05:11:48 Shutdown signal received, shutting down server gracefully... 2026/01/13 05:11:48 Server shut down gracefully 2026/01/13 05:11:48 Starting proxy server on port 8080 2026/01/13 05:11:48 Shutdown signal received, shutting down server gracefully... 2026/01/13 05:11:48 Using upstream proxy URL: http://127.0.0.1:37911 2026/01/13 05:11:48 Server shut down gracefully 2026/01/13 05:11:48 Starting proxy server on port 8080 2026/01/13 05:11:48 Received request: CONNECT 127.0.0.1:40385 //127.0.0.1:40385 2026/01/13 05:11:48 Shutdown signal received, shutting down server gracefully... 2026/01/13 05:11:48 Server shut down gracefully 2026/01/13 05:11:48 Using upstream proxy URL: http://127.0.0.1:37911 2026/01/13 05:11:48 Starting proxy server on port 8080 2026/01/13 05:11:48 Shutdown signal received, shutting down server gracefully... 2026/01/13 05:11:48 Using upstream proxy URL: http://127.0.0.1:37911 2026/01/13 05:11:48 Server shut down gracefully 2026/01/13 05:11:48 Starting proxy server on port 8080 2026/01/13 05:11:48 Shutdown signal received, shutting down server gracefully... 2026/01/13 05:11:48 Using upstream proxy URL: http://127.0.0.1:37911 2026/01/13 05:11:48 Server shut down gracefully 2026/01/13 05:11:48 Starting proxy server on port 8080 2026/01/13 05:11:49 Shutdown signal received, shutting down server gracefully... 2026/01/13 05:11:49 Server shut down gracefully 2026/01/13 05:11:49 Using upstream proxy URL: http://127.0.0.1:37911 2026/01/13 05:11:49 Starting proxy server on port 8080 2026/01/13 05:11:49 Received request: CONNECT 127.0.0.1:40385 //127.0.0.1:40385 2026/01/13 05:11:49 Proxy error: tls: failed to verify certificate: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "Test CA") 2026/01/13 05:11:49 http: TLS handshake error from 127.0.0.1:55738: remote error: tls: bad certificate 2026/01/13 05:11:49 Shutdown signal received, shutting down server gracefully... 2026/01/13 05:11:49 Using upstream proxy URL: http://127.0.0.1:37911 2026/01/13 05:11:49 Server shut down gracefully 2026/01/13 05:11:49 Starting proxy server on port 8080 2026/01/13 05:11:49 Received request: CONNECT 127.0.0.1:36849 //127.0.0.1:36849 2026/01/13 05:11:49 http: TLS handshake error from 127.0.0.1:35546: tls: first record does not look like a TLS handshake 2026/01/13 05:11:49 Proxy error: EOF 2026/01/13 05:11:49 Shutdown signal received, shutting down server gracefully... 2026/01/13 05:11:49 Server shut down gracefully 2026/01/13 05:11:49 Using upstream proxy URL: 1234-bad-server.com 2026/01/13 05:11:49 Starting proxy server on port 8080 2026/01/13 05:11:49 Proxy error: proxyconnect tcp: dial tcp :0: connect: connection refused 2026/01/13 05:11:49 Shutdown signal received, shutting down server gracefully... 2026/01/13 05:11:49 Server shut down gracefully --- FAIL: TestECPProxyWithHTTPClient (1.44s) --- FAIL: TestECPProxyWithHTTPClient/backend_server_returns_an_error_with_proxy_chain (0.11s) proxy_http_test.go:336: expected status code 500, got 502 proxy_http_test.go:366: unexpected error header included 2026/01/13 05:11:49 Received request: GET 127.0.0.1:41735 http://127.0.0.1:41735/ 2026/01/13 05:11:49 Copied 24 bytes to client FAIL exit status 1 FAIL github.com/googleapis/enterprise-certificate-proxy/http_proxy 1.928s error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ov0rg1 (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ov0rg1 (%check) I: [iurt_root_command] ERROR: chroot