D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expected 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.3xB33P sh: line 4: [: -j8: integer expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PPW9El + 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 sh: line 4: [: -j8: integer expected Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9Smiwi + 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 sh: line 4: [: -j8: integer expected sh: line 4: [: -j8: integer expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GdM4Z7 + 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 -j48 + /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 sh: line 4: [: -j8: integer expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rI5mEA + 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.026s github.com/googleapis/enterprise-certificate-proxy/client/util PASS ok github.com/googleapis/enterprise-certificate-proxy/client/util 0.024s github.com/googleapis/enterprise-certificate-proxy/http_proxy 2026/01/14 07:42:38 Proxy error: mock transport error 2026/01/14 07:42:38 Proxy error: simulated transport error 2026/01/14 07:42:38 Starting proxy server on port 8080 2026/01/14 07:42:38 Shutdown signal received, shutting down server gracefully... 2026/01/14 07:42:38 Server shut down gracefully 2026/01/14 07:42:38 Starting proxy server on port 8080 2026/01/14 07:42:38 Shutdown signal received, shutting down server gracefully... 2026/01/14 07:42:38 Starting proxy server on port 8080 2026/01/14 07:42:38 Server shut down gracefully 2026/01/14 07:42:38 Starting proxy server on port 8080 2026/01/14 07:42:38 Starting proxy server on port 8080 2026/01/14 07:42:38 Shutdown signal received, shutting down server gracefully... 2026/01/14 07:42:38 Server shut down gracefully 2026/01/14 07:42:38 Starting proxy server on port 8080 2026/01/14 07:42:39 Shutdown signal received, shutting down server gracefully... 2026/01/14 07:42:39 Server shut down gracefully 2026/01/14 07:42:39 Using upstream proxy URL: http://127.0.0.1:46647 2026/01/14 07:42:39 Starting proxy server on port 8080 2026/01/14 07:42:39 Received request: CONNECT 127.0.0.1:35885 //127.0.0.1:35885 2026/01/14 07:42:39 http: TLS handshake error from 127.0.0.1:48854: tls: first record does not look like a TLS handshake 2026/01/14 07:42:39 Proxy error: EOF 2026/01/14 07:42:39 Using upstream proxy URL: http://127.0.0.1:46647 2026/01/14 07:42:39 Starting proxy server on port 8080 2026/01/14 07:42:39 Shutdown signal received, shutting down server gracefully... 2026/01/14 07:42:39 Server shut down gracefully 2026/01/14 07:42:39 Using upstream proxy URL: http://127.0.0.1:46647 2026/01/14 07:42:39 Starting proxy server on port 8080 2026/01/14 07:42:39 Using upstream proxy URL: http://127.0.0.1:46647 2026/01/14 07:42:39 Starting proxy server on port 8080 2026/01/14 07:42:39 Shutdown signal received, shutting down server gracefully... 2026/01/14 07:42:39 Server shut down gracefully 2026/01/14 07:42:39 Using upstream proxy URL: http://127.0.0.1:46647 2026/01/14 07:42:39 Starting proxy server on port 8080 2026/01/14 07:42:39 Received request: CONNECT 127.0.0.1:35885 //127.0.0.1:35885 2026/01/14 07:42:39 http: TLS handshake error from 127.0.0.1:48856: tls: first record does not look like a TLS handshake 2026/01/14 07:42:39 Proxy error: EOF 2026/01/14 07:42:39 Shutdown signal received, shutting down server gracefully... 2026/01/14 07:42:39 Server shut down gracefully 2026/01/14 07:42:39 Using upstream proxy URL: http://127.0.0.1:46647 2026/01/14 07:42:39 Starting proxy server on port 8080 2026/01/14 07:42:39 Received request: CONNECT 127.0.0.1:34865 //127.0.0.1:34865 2026/01/14 07:42:39 Shutdown signal received, shutting down server gracefully... 2026/01/14 07:42:39 Server shut down gracefully 2026/01/14 07:42:39 Using upstream proxy URL: 1234-bad-server.com 2026/01/14 07:42:39 Starting proxy server on port 8080 2026/01/14 07:42:39 Proxy error: proxyconnect tcp: dial tcp :0: connect: connection refused 2026/01/14 07:42:39 Shutdown signal received, shutting down server gracefully... 2026/01/14 07:42:39 Server shut down gracefully --- FAIL: TestECPProxyWithHTTPClient (1.42s) --- FAIL: TestECPProxyWithHTTPClient/invalid_target_header (0.11s) proxy_http_test.go:325: request via proxy failed: Get "http://127.0.0.1:8080/": dial tcp 127.0.0.1:8080: connect: connection refused --- FAIL: TestECPProxyWithHTTPClient/ecp_proxy_server_is_using_invalid_mtls_certs,_unable_to_complete_handshake (0.10s) proxy_http_test.go:325: request via proxy failed: Get "http://127.0.0.1:8080/": dial tcp 127.0.0.1:8080: connect: connection refused --- FAIL: TestECPProxyWithHTTPClient/successful_request,_with_proxy_chain (0.10s) proxy_http_test.go:336: expected status code 200, got 502 proxy_http_test.go:343: expected body "successful response!", got "{\"code\":502,\"message\":\"Failed to forward request\",\"error\":\"EOF\"}\n" --- FAIL: TestECPProxyWithHTTPClient/target_header_is_not_allowed,_with_proxy_chain (0.10s) proxy_http_test.go:325: request via proxy failed: Get "http://127.0.0.1:8080/": dial tcp 127.0.0.1:8080: connect: connection refused --- FAIL: TestECPProxyWithHTTPClient/empty_target_header_with_proxy_chain (0.11s) proxy_http_test.go:325: request via proxy failed: Get "http://127.0.0.1:8080/": dial tcp 127.0.0.1:8080: connect: connection refused 2026/01/14 07:42:39 Received request: GET 127.0.0.1:35693 http://127.0.0.1:35693/ 2026/01/14 07:42:39 Copied 24 bytes to client FAIL exit status 1 FAIL github.com/googleapis/enterprise-certificate-proxy/http_proxy 2.004s error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.rI5mEA (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.rI5mEA (%check) I: [iurt_root_command] ERROR: chroot