Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-prometheus.spec'], chrootPath='/var/lib/mock/f41-build-2552905-25491/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7lts91m8:/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.7lts91m8:/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', '05229c36498f4d1eb3a54c1485ad1688', '-D', '/var/lib/mock/f41-build-2552905-25491/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7lts91m8:/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;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-prometheus.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721779200 Wrote: /builddir/build/SRPMS/golang-github-prometheus-2.32.1-17.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-prometheus.spec'], chrootPath='/var/lib/mock/f41-build-2552905-25491/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7lts91m8:/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.7lts91m8:/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', '7ea11b5c2bc0491c90e6891f42cde70d', '-D', '/var/lib/mock/f41-build-2552905-25491/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7lts91m8:/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;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-prometheus.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721779200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pSFpxP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf prometheus-2.32.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/prometheus-2.32.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd prometheus-2.32.1 + rm -rf /builddir/build/BUILD/prometheus-2.32.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/prometheus-2.32.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/prometheus-2.32.1/vendor + [[ ! -e /builddir/build/BUILD/prometheus-2.32.1/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/prometheus-2.32.1/_build/bin install: creating directory '/builddir/build/BUILD/prometheus-2.32.1/_build' install: creating directory '/builddir/build/BUILD/prometheus-2.32.1/_build/bin' + export GOPATH=/builddir/build/BUILD/prometheus-2.32.1/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/prometheus-2.32.1/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/prometheus/prometheus ]] ++ dirname /builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/prometheus/prometheus + install -m 0755 -vd /builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/prometheus install: creating directory '/builddir/build/BUILD/prometheus-2.32.1/_build/src' install: creating directory '/builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com' install: creating directory '/builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/prometheus' + ln -fs /builddir/build/BUILD/prometheus-2.32.1 /builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/prometheus/prometheus + cd /builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/prometheus/prometheus + cd /builddir/build/BUILD + cd prometheus-2.32.1 + rm -rf /builddir/build/BUILD/prometheus-2.32.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/prometheus-2.32.1-SPECPARTS + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/web-ui-2.32.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ find . -iname '*.go' -type f + sed -i 's|klog "k8s.io/klog"|klog "github.com/simonpasquier/klog-gokit"|' ./prompb/types.pb.go ./prompb/custom.go ./prompb/remote.pb.go ./util/logging/file_test.go ./util/logging/ratelimit.go ./util/logging/file.go ./util/logging/dedupe.go ./util/logging/dedupe_test.go ./util/modtimevfs/modtimevfs.go ./util/stats/timer.go ./util/stats/query_stats.go ./util/stats/stats_test.go ./util/teststorage/storage.go ./util/treecache/treecache.go ./util/httputil/cors.go ./util/httputil/compression_test.go ./util/httputil/context.go ./util/httputil/cors_test.go ./util/httputil/compression.go ./util/testutil/roundtrip.go ./util/testutil/context.go ./util/testutil/testing.go ./util/testutil/logging.go ./util/testutil/port.go ./util/testutil/directory.go ./util/gate/gate.go ./util/osutil/hostname.go ./util/strutil/strconv_test.go ./util/strutil/quote_test.go ./util/strutil/strconv.go ./util/strutil/quote.go ./util/runtime/statfs_default.go ./util/runtime/vmlimits_openbsd.go ./util/runtime/uname_linux.go ./util/runtime/statfs_linux_386.go ./util/runtime/statfs_uint32.go ./util/runtime/limits_default.go ./util/runtime/statfs.go ./util/runtime/uname_default.go ./util/runtime/limits_windows.go ./util/runtime/vmlimits_default.go ./util/pool/pool.go ./util/pool/pool_test.go ./web/federate.go ./web/api/v1/api.go ./web/api/v1/api_test.go ./web/ui/assets_generate.go ./web/ui/ui.go ./web/ui/assets_vfsdata.go ./web/ui/doc.go ./web/federate_test.go ./web/web_test.go ./web/web.go ./template/template.go ./template/template_test.go ./cmd/prometheus/main_test.go ./cmd/prometheus/main.go ./cmd/prometheus/main_unix_test.go ./cmd/prometheus/query_log_test.go ./cmd/promtool/backfill_test.go ./cmd/promtool/rules_test.go ./cmd/promtool/unittest_test.go ./cmd/promtool/main_test.go ./cmd/promtool/sd.go ./cmd/promtool/tsdb.go ./cmd/promtool/sd_test.go ./cmd/promtool/main.go ./cmd/promtool/rules.go ./cmd/promtool/backfill.go ./cmd/promtool/debug.go ./cmd/promtool/unittest.go ./cmd/promtool/archive.go ./documentation/examples/custom-sd/adapter/adapter.go ./documentation/examples/custom-sd/adapter/adapter_test.go ./documentation/examples/custom-sd/adapter-usage/main.go ./documentation/examples/remote_storage/example_write_adapter/server.go ./documentation/examples/remote_storage/remote_storage_adapter/main.go ./documentation/examples/remote_storage/remote_storage_adapter/graphite/client.go ./documentation/examples/remote_storage/remote_storage_adapter/graphite/client_test.go ./documentation/examples/remote_storage/remote_storage_adapter/graphite/escape.go ./documentation/examples/remote_storage/remote_storage_adapter/influxdb/client.go ./documentation/examples/remote_storage/remote_storage_adapter/influxdb/client_test.go ./documentation/examples/remote_storage/remote_storage_adapter/opentsdb/client.go ./documentation/examples/remote_storage/remote_storage_adapter/opentsdb/tagvalue.go ./documentation/examples/remote_storage/remote_storage_adapter/opentsdb/tagvalue_test.go ./documentation/examples/remote_storage/remote_storage_adapter/opentsdb/client_test.go ./config/config.go ./config/config_test.go ./config/config_windows_test.go ./config/config_default_test.go ./tsdb/isolation.go ./tsdb/mocks_test.go ./tsdb/tombstones/tombstones.go ./tsdb/tombstones/tombstones_test.go ./tsdb/wal.go ./tsdb/querier_test.go ./tsdb/index/index.go ./tsdb/index/postingsstats.go ./tsdb/index/postingsstats_test.go ./tsdb/index/index_test.go ./tsdb/index/postings.go ./tsdb/index/postings_test.go ./tsdb/compact.go ./tsdb/example_test.go ./tsdb/repair.go ./tsdb/querier.go ./tsdb/errors/errors.go ./tsdb/goversion/init.go ./tsdb/goversion/goversion_test.go ./tsdb/goversion/goversion.go ./tsdb/db_test.go ./tsdb/db.go ./tsdb/head_wal.go ./tsdb/head_test.go ./tsdb/exemplar_test.go ./tsdb/fileutil/dir_unix.go ./tsdb/fileutil/mmap.go ./tsdb/fileutil/dir.go ./tsdb/fileutil/fileutil.go ./tsdb/fileutil/flock_windows.go ./tsdb/fileutil/mmap_arm64.go ./tsdb/fileutil/mmap_amd64.go ./tsdb/fileutil/sync.go ./tsdb/fileutil/preallocate_other.go ./tsdb/fileutil/preallocate.go ./tsdb/fileutil/flock_test.go ./tsdb/fileutil/mmap_386.go ./tsdb/fileutil/preallocate_darwin.go ./tsdb/fileutil/sync_darwin.go ./tsdb/fileutil/dir_windows.go ./tsdb/fileutil/flock_unix.go ./tsdb/fileutil/flock_plan9.go ./tsdb/fileutil/sync_linux.go ./tsdb/fileutil/mmap_unix.go ./tsdb/fileutil/flock.go ./tsdb/fileutil/mmap_windows.go ./tsdb/fileutil/flock_solaris.go ./tsdb/fileutil/preallocate_linux.go ./tsdb/agent/db_test.go ./tsdb/agent/db.go ./tsdb/agent/series.go ./tsdb/blockwriter_test.go ./tsdb/head_bench_test.go ./tsdb/block.go ./tsdb/wal/live_reader.go ./tsdb/wal/wal.go ./tsdb/wal/watcher_test.go ./tsdb/wal/checkpoint.go ./tsdb/wal/reader.go ./tsdb/wal/watcher.go ./tsdb/wal/wal_test.go ./tsdb/wal/checkpoint_test.go ./tsdb/wal/reader_test.go ./tsdb/tsdbutil/dir_locker_testutil.go ./tsdb/tsdbutil/dir_locker_test.go ./tsdb/tsdbutil/dir_locker.go ./tsdb/tsdbutil/chunks.go ./tsdb/tsdbutil/buffer.go ./tsdb/tsdbutil/buffer_test.go ./tsdb/record/record.go ./tsdb/record/record_test.go ./tsdb/wal_test.go ./tsdb/querier_bench_test.go ./tsdb/tsdbblockutil.go ./tsdb/isolation_test.go ./tsdb/head_append.go ./tsdb/head_read.go ./tsdb/blockwriter.go ./tsdb/test/hash_test.go ./tsdb/test/conv_test.go ./tsdb/test/labels_test.go ./tsdb/chunkenc/chunk_test.go ./tsdb/chunkenc/chunk.go ./tsdb/chunkenc/bstream_test.go ./tsdb/chunkenc/xor.go ./tsdb/chunkenc/bstream.go ./tsdb/encoding/encoding.go ./tsdb/exemplar.go ./tsdb/chunks/head_chunks_windows.go ./tsdb/chunks/head_chunks_test.go ./tsdb/chunks/head_chunks_other.go ./tsdb/chunks/chunks_test.go ./tsdb/chunks/chunks.go ./tsdb/chunks/head_chunks.go ./tsdb/repair_test.go ./tsdb/block_test.go ./tsdb/head.go ./tsdb/compact_test.go ./rules/manager_test.go ./rules/alerting.go ./rules/alerting_test.go ./rules/recording_test.go ./rules/manager.go ./rules/recording.go ./storage/fanout_test.go ./storage/secondary.go ./storage/merge.go ./storage/merge_test.go ./storage/memoized_iterator_test.go ./storage/series_test.go ./storage/noop.go ./storage/remote/queue_manager_test.go ./storage/remote/intern.go ./storage/remote/read_handler_test.go ./storage/remote/chunked_test.go ./storage/remote/codec_test.go ./storage/remote/storage_test.go ./storage/remote/queue_manager.go ./storage/remote/client.go ./storage/remote/write.go ./storage/remote/write_test.go ./storage/remote/max_timestamp.go ./storage/remote/codec.go ./storage/remote/metadata_watcher_test.go ./storage/remote/write_handler_test.go ./storage/remote/write_handler.go ./storage/remote/storage.go ./storage/remote/intern_test.go ./storage/remote/read_test.go ./storage/remote/read.go ./storage/remote/chunked.go ./storage/remote/read_handler.go ./storage/remote/client_test.go ./storage/remote/metadata_watcher.go ./storage/remote/ewma.go ./storage/series.go ./storage/lazy.go ./storage/buffer.go ./storage/buffer_test.go ./storage/interface.go ./storage/generic.go ./storage/fanout.go ./storage/memoized_iterator.go ./scripts/tools.go ./discovery/consul/consul_test.go ./discovery/consul/consul.go ./discovery/eureka/client.go ./discovery/eureka/eureka_test.go ./discovery/eureka/eureka.go ./discovery/eureka/client_test.go ./discovery/azure/azure.go ./discovery/azure/azure_test.go ./discovery/manager_test.go ./discovery/discovery.go ./discovery/refresh/refresh_test.go ./discovery/refresh/refresh.go ./discovery/triton/triton.go ./discovery/triton/triton_test.go ./discovery/file/file_test.go ./discovery/file/file.go ./discovery/moby/services.go ./discovery/moby/tasks.go ./discovery/moby/services_test.go ./discovery/moby/tasks_test.go ./discovery/moby/nodes_test.go ./discovery/moby/docker.go ./discovery/moby/dockerswarm.go ./discovery/moby/network.go ./discovery/moby/docker_test.go ./discovery/moby/nodes.go ./discovery/moby/mock_test.go ./discovery/aws/lightsail.go ./discovery/aws/ec2.go ./discovery/marathon/marathon_test.go ./discovery/marathon/marathon.go ./discovery/gce/gce.go ./discovery/uyuni/uyuni.go ./discovery/uyuni/uyuni_test.go ./discovery/targetgroup/targetgroup.go ./discovery/targetgroup/targetgroup_test.go ./discovery/xds/xds_test.go ./discovery/xds/client.go ./discovery/xds/kuma_test.go ./discovery/xds/kuma_mads.pb.go ./discovery/xds/kuma.go ./discovery/xds/client_test.go ./discovery/xds/xds.go ./discovery/zookeeper/zookeeper_test.go ./discovery/zookeeper/zookeeper.go ./discovery/dns/dns_test.go ./discovery/dns/dns.go ./discovery/openstack/instance_test.go ./discovery/openstack/openstack.go ./discovery/openstack/hypervisor_test.go ./discovery/openstack/hypervisor.go ./discovery/openstack/instance.go ./discovery/openstack/mock_test.go ./discovery/linode/linode.go ./discovery/linode/linode_test.go ./discovery/linode/mock_test.go ./discovery/registry.go ./discovery/install/install.go ./discovery/manager.go ./discovery/kubernetes/ingress_test.go ./discovery/kubernetes/kubernetes_test.go ./discovery/kubernetes/client_metrics.go ./discovery/kubernetes/kubernetes.go ./discovery/kubernetes/service.go ./discovery/kubernetes/endpoints_test.go ./discovery/kubernetes/endpointslice.go ./discovery/kubernetes/pod.go ./discovery/kubernetes/ingress.go ./discovery/kubernetes/ingress_adaptor.go ./discovery/kubernetes/node.go ./discovery/kubernetes/service_test.go ./discovery/kubernetes/pod_test.go ./discovery/kubernetes/endpointslice_test.go ./discovery/kubernetes/endpoints.go ./discovery/kubernetes/node_test.go ./discovery/hetzner/hetzner.go ./discovery/hetzner/robot_test.go ./discovery/hetzner/hcloud.go ./discovery/hetzner/hcloud_test.go ./discovery/hetzner/robot.go ./discovery/hetzner/mock_test.go ./discovery/scaleway/instance_test.go ./discovery/scaleway/instance.go ./discovery/scaleway/scaleway.go ./discovery/scaleway/baremetal.go ./discovery/http/http.go ./discovery/http/http_test.go ./discovery/digitalocean/digitalocean_test.go ./discovery/digitalocean/digitalocean.go ./discovery/digitalocean/mock_test.go ./discovery/puppetdb/resources.go ./discovery/puppetdb/puppetdb_test.go ./discovery/puppetdb/puppetdb.go ./discovery/legacymanager/manager_test.go ./discovery/legacymanager/registry.go ./discovery/legacymanager/manager.go ./scrape/scrape.go ./scrape/manager_test.go ./scrape/helpers_test.go ./scrape/manager.go ./scrape/target_test.go ./scrape/scrape_test.go ./scrape/target.go ./notifier/notifier_test.go ./notifier/notifier.go ./promql/query_logger.go ./promql/fuzz.go ./promql/query_logger_test.go ./promql/functions.go ./promql/quantile.go ./promql/functions_test.go ./promql/bench_test.go ./promql/test.go ./promql/promql_test.go ./promql/engine_test.go ./promql/engine.go ./promql/test_test.go ./promql/parser/printer_test.go ./promql/parser/lex.go ./promql/parser/functions.go ./promql/parser/parse_test.go ./promql/parser/lex_test.go ./promql/parser/generated_parser.y.go ./promql/parser/printer.go ./promql/parser/value.go ./promql/parser/ast.go ./promql/parser/parse.go ./promql/value.go ./model/rulefmt/rulefmt_test.go ./model/rulefmt/rulefmt.go ./model/value/value.go ./model/textparse/openmetricsparse.go ./model/textparse/promlex.l.go ./model/textparse/promparse.go ./model/textparse/promparse_test.go ./model/textparse/openmetricsparse_test.go ./model/textparse/openmetricslex.l.go ./model/textparse/interface.go ./model/timestamp/timestamp.go ./model/exemplar/exemplar.go ./model/labels/labels.go ./model/labels/matcher_test.go ./model/labels/regexp.go ./model/labels/test_utils.go ./model/labels/labels_test.go ./model/labels/matcher.go ./model/labels/regexp_test.go ./model/relabel/relabel.go ./model/relabel/relabel_test.go ++ find . -iname '*.go' -type f + sed -i 's|klogv2 "k8s.io/klog/v2"|klogv2 "github.com/simonpasquier/klog-gokit/v2"|' ./prompb/types.pb.go ./prompb/custom.go ./prompb/remote.pb.go ./util/logging/file_test.go ./util/logging/ratelimit.go ./util/logging/file.go ./util/logging/dedupe.go ./util/logging/dedupe_test.go ./util/modtimevfs/modtimevfs.go ./util/stats/timer.go ./util/stats/query_stats.go ./util/stats/stats_test.go ./util/teststorage/storage.go ./util/treecache/treecache.go ./util/httputil/cors.go ./util/httputil/compression_test.go ./util/httputil/context.go ./util/httputil/cors_test.go ./util/httputil/compression.go ./util/testutil/roundtrip.go ./util/testutil/context.go ./util/testutil/testing.go ./util/testutil/logging.go ./util/testutil/port.go ./util/testutil/directory.go ./util/gate/gate.go ./util/osutil/hostname.go ./util/strutil/strconv_test.go ./util/strutil/quote_test.go ./util/strutil/strconv.go ./util/strutil/quote.go ./util/runtime/statfs_default.go ./util/runtime/vmlimits_openbsd.go ./util/runtime/uname_linux.go ./util/runtime/statfs_linux_386.go ./util/runtime/statfs_uint32.go ./util/runtime/limits_default.go ./util/runtime/statfs.go ./util/runtime/uname_default.go ./util/runtime/limits_windows.go ./util/runtime/vmlimits_default.go ./util/pool/pool.go ./util/pool/pool_test.go ./web/federate.go ./web/api/v1/api.go ./web/api/v1/api_test.go ./web/ui/assets_generate.go ./web/ui/ui.go ./web/ui/assets_vfsdata.go ./web/ui/doc.go ./web/federate_test.go ./web/web_test.go ./web/web.go ./template/template.go ./template/template_test.go ./cmd/prometheus/main_test.go ./cmd/prometheus/main.go ./cmd/prometheus/main_unix_test.go ./cmd/prometheus/query_log_test.go ./cmd/promtool/backfill_test.go ./cmd/promtool/rules_test.go ./cmd/promtool/unittest_test.go ./cmd/promtool/main_test.go ./cmd/promtool/sd.go ./cmd/promtool/tsdb.go ./cmd/promtool/sd_test.go ./cmd/promtool/main.go ./cmd/promtool/rules.go ./cmd/promtool/backfill.go ./cmd/promtool/debug.go ./cmd/promtool/unittest.go ./cmd/promtool/archive.go ./documentation/examples/custom-sd/adapter/adapter.go ./documentation/examples/custom-sd/adapter/adapter_test.go ./documentation/examples/custom-sd/adapter-usage/main.go ./documentation/examples/remote_storage/example_write_adapter/server.go ./documentation/examples/remote_storage/remote_storage_adapter/main.go ./documentation/examples/remote_storage/remote_storage_adapter/graphite/client.go ./documentation/examples/remote_storage/remote_storage_adapter/graphite/client_test.go ./documentation/examples/remote_storage/remote_storage_adapter/graphite/escape.go ./documentation/examples/remote_storage/remote_storage_adapter/influxdb/client.go ./documentation/examples/remote_storage/remote_storage_adapter/influxdb/client_test.go ./documentation/examples/remote_storage/remote_storage_adapter/opentsdb/client.go ./documentation/examples/remote_storage/remote_storage_adapter/opentsdb/tagvalue.go ./documentation/examples/remote_storage/remote_storage_adapter/opentsdb/tagvalue_test.go ./documentation/examples/remote_storage/remote_storage_adapter/opentsdb/client_test.go ./config/config.go ./config/config_test.go ./config/config_windows_test.go ./config/config_default_test.go ./tsdb/isolation.go ./tsdb/mocks_test.go ./tsdb/tombstones/tombstones.go ./tsdb/tombstones/tombstones_test.go ./tsdb/wal.go ./tsdb/querier_test.go ./tsdb/index/index.go ./tsdb/index/postingsstats.go ./tsdb/index/postingsstats_test.go ./tsdb/index/index_test.go ./tsdb/index/postings.go ./tsdb/index/postings_test.go ./tsdb/compact.go ./tsdb/example_test.go ./tsdb/repair.go ./tsdb/querier.go ./tsdb/errors/errors.go ./tsdb/goversion/init.go ./tsdb/goversion/goversion_test.go ./tsdb/goversion/goversion.go ./tsdb/db_test.go ./tsdb/db.go ./tsdb/head_wal.go ./tsdb/head_test.go ./tsdb/exemplar_test.go ./tsdb/fileutil/dir_unix.go ./tsdb/fileutil/mmap.go ./tsdb/fileutil/dir.go ./tsdb/fileutil/fileutil.go ./tsdb/fileutil/flock_windows.go ./tsdb/fileutil/mmap_arm64.go ./tsdb/fileutil/mmap_amd64.go ./tsdb/fileutil/sync.go ./tsdb/fileutil/preallocate_other.go ./tsdb/fileutil/preallocate.go ./tsdb/fileutil/flock_test.go ./tsdb/fileutil/mmap_386.go ./tsdb/fileutil/preallocate_darwin.go ./tsdb/fileutil/sync_darwin.go ./tsdb/fileutil/dir_windows.go ./tsdb/fileutil/flock_unix.go ./tsdb/fileutil/flock_plan9.go ./tsdb/fileutil/sync_linux.go ./tsdb/fileutil/mmap_unix.go ./tsdb/fileutil/flock.go ./tsdb/fileutil/mmap_windows.go ./tsdb/fileutil/flock_solaris.go ./tsdb/fileutil/preallocate_linux.go ./tsdb/agent/db_test.go ./tsdb/agent/db.go ./tsdb/agent/series.go ./tsdb/blockwriter_test.go ./tsdb/head_bench_test.go ./tsdb/block.go ./tsdb/wal/live_reader.go ./tsdb/wal/wal.go ./tsdb/wal/watcher_test.go ./tsdb/wal/checkpoint.go ./tsdb/wal/reader.go ./tsdb/wal/watcher.go ./tsdb/wal/wal_test.go ./tsdb/wal/checkpoint_test.go ./tsdb/wal/reader_test.go ./tsdb/tsdbutil/dir_locker_testutil.go ./tsdb/tsdbutil/dir_locker_test.go ./tsdb/tsdbutil/dir_locker.go ./tsdb/tsdbutil/chunks.go ./tsdb/tsdbutil/buffer.go ./tsdb/tsdbutil/buffer_test.go ./tsdb/record/record.go ./tsdb/record/record_test.go ./tsdb/wal_test.go ./tsdb/querier_bench_test.go ./tsdb/tsdbblockutil.go ./tsdb/isolation_test.go ./tsdb/head_append.go ./tsdb/head_read.go ./tsdb/blockwriter.go ./tsdb/test/hash_test.go ./tsdb/test/conv_test.go ./tsdb/test/labels_test.go ./tsdb/chunkenc/chunk_test.go ./tsdb/chunkenc/chunk.go ./tsdb/chunkenc/bstream_test.go ./tsdb/chunkenc/xor.go ./tsdb/chunkenc/bstream.go ./tsdb/encoding/encoding.go ./tsdb/exemplar.go ./tsdb/chunks/head_chunks_windows.go ./tsdb/chunks/head_chunks_test.go ./tsdb/chunks/head_chunks_other.go ./tsdb/chunks/chunks_test.go ./tsdb/chunks/chunks.go ./tsdb/chunks/head_chunks.go ./tsdb/repair_test.go ./tsdb/block_test.go ./tsdb/head.go ./tsdb/compact_test.go ./rules/manager_test.go ./rules/alerting.go ./rules/alerting_test.go ./rules/recording_test.go ./rules/manager.go ./rules/recording.go ./storage/fanout_test.go ./storage/secondary.go ./storage/merge.go ./storage/merge_test.go ./storage/memoized_iterator_test.go ./storage/series_test.go ./storage/noop.go ./storage/remote/queue_manager_test.go ./storage/remote/intern.go ./storage/remote/read_handler_test.go ./storage/remote/chunked_test.go ./storage/remote/codec_test.go ./storage/remote/storage_test.go ./storage/remote/queue_manager.go ./storage/remote/client.go ./storage/remote/write.go ./storage/remote/write_test.go ./storage/remote/max_timestamp.go ./storage/remote/codec.go ./storage/remote/metadata_watcher_test.go ./storage/remote/write_handler_test.go ./storage/remote/write_handler.go ./storage/remote/storage.go ./storage/remote/intern_test.go ./storage/remote/read_test.go ./storage/remote/read.go ./storage/remote/chunked.go ./storage/remote/read_handler.go ./storage/remote/client_test.go ./storage/remote/metadata_watcher.go ./storage/remote/ewma.go ./storage/series.go ./storage/lazy.go ./storage/buffer.go ./storage/buffer_test.go ./storage/interface.go ./storage/generic.go ./storage/fanout.go ./storage/memoized_iterator.go ./scripts/tools.go ./discovery/consul/consul_test.go ./discovery/consul/consul.go ./discovery/eureka/client.go ./discovery/eureka/eureka_test.go ./discovery/eureka/eureka.go ./discovery/eureka/client_test.go ./discovery/azure/azure.go ./discovery/azure/azure_test.go ./discovery/manager_test.go ./discovery/discovery.go ./discovery/refresh/refresh_test.go ./discovery/refresh/refresh.go ./discovery/triton/triton.go ./discovery/triton/triton_test.go ./discovery/file/file_test.go ./discovery/file/file.go ./discovery/moby/services.go ./discovery/moby/tasks.go ./discovery/moby/services_test.go ./discovery/moby/tasks_test.go ./discovery/moby/nodes_test.go ./discovery/moby/docker.go ./discovery/moby/dockerswarm.go ./discovery/moby/network.go ./discovery/moby/docker_test.go ./discovery/moby/nodes.go ./discovery/moby/mock_test.go ./discovery/aws/lightsail.go ./discovery/aws/ec2.go ./discovery/marathon/marathon_test.go ./discovery/marathon/marathon.go ./discovery/gce/gce.go ./discovery/uyuni/uyuni.go ./discovery/uyuni/uyuni_test.go ./discovery/targetgroup/targetgroup.go ./discovery/targetgroup/targetgroup_test.go ./discovery/xds/xds_test.go ./discovery/xds/client.go ./discovery/xds/kuma_test.go ./discovery/xds/kuma_mads.pb.go ./discovery/xds/kuma.go ./discovery/xds/client_test.go ./discovery/xds/xds.go ./discovery/zookeeper/zookeeper_test.go ./discovery/zookeeper/zookeeper.go ./discovery/dns/dns_test.go ./discovery/dns/dns.go ./discovery/openstack/instance_test.go ./discovery/openstack/openstack.go ./discovery/openstack/hypervisor_test.go ./discovery/openstack/hypervisor.go ./discovery/openstack/instance.go ./discovery/openstack/mock_test.go ./discovery/linode/linode.go ./discovery/linode/linode_test.go ./discovery/linode/mock_test.go ./discovery/registry.go ./discovery/install/install.go ./discovery/manager.go ./discovery/kubernetes/ingress_test.go ./discovery/kubernetes/kubernetes_test.go ./discovery/kubernetes/client_metrics.go ./discovery/kubernetes/kubernetes.go ./discovery/kubernetes/service.go ./discovery/kubernetes/endpoints_test.go ./discovery/kubernetes/endpointslice.go ./discovery/kubernetes/pod.go ./discovery/kubernetes/ingress.go ./discovery/kubernetes/ingress_adaptor.go ./discovery/kubernetes/node.go ./discovery/kubernetes/service_test.go ./discovery/kubernetes/pod_test.go ./discovery/kubernetes/endpointslice_test.go ./discovery/kubernetes/endpoints.go ./discovery/kubernetes/node_test.go ./discovery/hetzner/hetzner.go ./discovery/hetzner/robot_test.go ./discovery/hetzner/hcloud.go ./discovery/hetzner/hcloud_test.go ./discovery/hetzner/robot.go ./discovery/hetzner/mock_test.go ./discovery/scaleway/instance_test.go ./discovery/scaleway/instance.go ./discovery/scaleway/scaleway.go ./discovery/scaleway/baremetal.go ./discovery/http/http.go ./discovery/http/http_test.go ./discovery/digitalocean/digitalocean_test.go ./discovery/digitalocean/digitalocean.go ./discovery/digitalocean/mock_test.go ./discovery/puppetdb/resources.go ./discovery/puppetdb/puppetdb_test.go ./discovery/puppetdb/puppetdb.go ./discovery/legacymanager/manager_test.go ./discovery/legacymanager/registry.go ./discovery/legacymanager/manager.go ./scrape/scrape.go ./scrape/manager_test.go ./scrape/helpers_test.go ./scrape/manager.go ./scrape/target_test.go ./scrape/scrape_test.go ./scrape/target.go ./notifier/notifier_test.go ./notifier/notifier.go ./promql/query_logger.go ./promql/fuzz.go ./promql/query_logger_test.go ./promql/functions.go ./promql/quantile.go ./promql/functions_test.go ./promql/bench_test.go ./promql/test.go ./promql/promql_test.go ./promql/engine_test.go ./promql/engine.go ./promql/test_test.go ./promql/parser/printer_test.go ./promql/parser/lex.go ./promql/parser/functions.go ./promql/parser/parse_test.go ./promql/parser/lex_test.go ./promql/parser/generated_parser.y.go ./promql/parser/printer.go ./promql/parser/value.go ./promql/parser/ast.go ./promql/parser/parse.go ./promql/value.go ./model/rulefmt/rulefmt_test.go ./model/rulefmt/rulefmt.go ./model/value/value.go ./model/textparse/openmetricsparse.go ./model/textparse/promlex.l.go ./model/textparse/promparse.go ./model/textparse/promparse_test.go ./model/textparse/openmetricsparse_test.go ./model/textparse/openmetricslex.l.go ./model/textparse/interface.go ./model/timestamp/timestamp.go ./model/exemplar/exemplar.go ./model/labels/labels.go ./model/labels/matcher_test.go ./model/labels/regexp.go ./model/labels/test_utils.go ./model/labels/labels_test.go ./model/labels/matcher.go ./model/labels/regexp_test.go ./model/relabel/relabel.go ./model/relabel/relabel_test.go + echo 'Patch #0 (defaults-paths.patch):' Patch #0 (defaults-paths.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file cmd/prometheus/main.go + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aCvJIt + umask 022 + cd /builddir/build/BUILD + cd prometheus-2.32.1 + export 'BUILDTAGS=netgo builtinassets' + BUILDTAGS='netgo builtinassets' ++ date -u -d@1721779200 +%Y%m%d + LDFLAGS='-X github.com/prometheus/common/version.Version=2.32.1 -X github.com/prometheus/common/version.Revision=17.fc41 -X github.com/prometheus/common/version.Branch=tarball -X github.com/prometheus/common/version.BuildDate=20240724' + for cmd in cmd/* ++ echo golang-github-prometheus-2.32.1-17.fc41-1721779200 ++ sha1sum ++ cut -d ' ' -f1 ++ basename cmd/prometheus + GOPATH=/builddir/build/BUILD/prometheus-2.32.1/_build:/usr/share/gocode + GO111MODULE=off + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback netgo builtinassets' -a -v -x -ldflags '-X github.com/prometheus/common/version.Version=2.32.1 -X github.com/prometheus/common/version.Revision=17.fc41 -X github.com/prometheus/common/version.Branch=tarball -X github.com/prometheus/common/version.BuildDate=20240724 -X github.com/prometheus/prometheus/version=2.32.1 -B 0xa8765428d8f5395455721ee7c29f32e57f0c3795 -compressdwarf=false -linkmode=external -extldflags '\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 '\''' -o /builddir/build/BUILD/prometheus-2.32.1/_build/bin/prometheus github.com/prometheus/prometheus/cmd/prometheus WORK=/tmp/go-build584107232 /usr/share/gocode/src/github.com/docker/docker/api/types/container/config.go:7:2: cannot find package "github.com/docker/go-connections/nat" in any of: /usr/lib/golang/src/github.com/docker/go-connections/nat (from $GOROOT) /builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/docker/go-connections/nat (from $GOPATH) /usr/share/gocode/src/github.com/docker/go-connections/nat /usr/share/gocode/src/github.com/docker/docker/api/types/registry/registry.go:7:2: cannot find package "github.com/opencontainers/image-spec/specs-go/v1" in any of: /usr/lib/golang/src/github.com/opencontainers/image-spec/specs-go/v1 (from $GOROOT) /builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/opencontainers/image-spec/specs-go/v1 (from $GOPATH) /usr/share/gocode/src/github.com/opencontainers/image-spec/specs-go/v1 /usr/share/gocode/src/github.com/docker/docker/client/container_commit.go:9:2: cannot find package "github.com/distribution/distribution/v3/reference" in any of: /usr/lib/golang/src/github.com/distribution/distribution/v3/reference (from $GOROOT) /builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/distribution/distribution/v3/reference (from $GOPATH) /usr/share/gocode/src/github.com/distribution/distribution/v3/reference /usr/share/gocode/src/github.com/docker/docker/client/client.go:55:2: cannot find package "github.com/docker/go-connections/sockets" in any of: /usr/lib/golang/src/github.com/docker/go-connections/sockets (from $GOROOT) /builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/docker/go-connections/sockets (from $GOPATH) /usr/share/gocode/src/github.com/docker/go-connections/sockets /usr/share/gocode/src/github.com/docker/docker/client/options.go:12:2: cannot find package "github.com/docker/go-connections/tlsconfig" in any of: /usr/lib/golang/src/github.com/docker/go-connections/tlsconfig (from $GOROOT) /builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/docker/go-connections/tlsconfig (from $GOPATH) /usr/share/gocode/src/github.com/docker/go-connections/tlsconfig /usr/share/gocode/src/github.com/docker/docker/client/service_create.go:12:2: cannot find package "github.com/opencontainers/go-digest" in any of: /usr/lib/golang/src/github.com/opencontainers/go-digest (from $GOROOT) /builddir/build/BUILD/prometheus-2.32.1/_build/src/github.com/opencontainers/go-digest (from $GOPATH) /usr/share/gocode/src/github.com/opencontainers/go-digest error: Bad exit status from /var/tmp/rpm-tmp.aCvJIt (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.aCvJIt (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 7ea11b5c2bc0491c90e6891f42cde70d -D /var/lib/mock/f41-build-2552905-25491/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.7lts91m8:/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;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-prometheus.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 7ea11b5c2bc0491c90e6891f42cde70d -D /var/lib/mock/f41-build-2552905-25491/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.7lts91m8:/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;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-prometheus.spec'