==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_4b36e712-ff06-4fb5-9e3b-ebdeca46d612]...done ==> Making package: alertmanager 0.28.1-2.1 (Sun Apr 6 12:09:26 2025) ==> Retrieving sources... -> Downloading alertmanager-0.28.1.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2309k 0 2309k 0 0 2859k 0 --:--:-- --:--:-- --:--:-- 2859k 100 2842k 0 2842k 0 0 3435k 0 --:--:-- --:--:-- --:--:-- 27.3M -> Found alertmanager.service -> Found alertmanager.sysusers -> Found alertmanager.conf ==> Validating source files with sha512sums... alertmanager-0.28.1.tar.gz ... Passed alertmanager.service ... Passed alertmanager.sysusers ... Passed alertmanager.conf ... Passed ==> Making package: alertmanager 0.28.1-2.1 (Sun Apr 6 10:09:29 2025) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (5) New Version Net Change extra/perl-error 0.17030-1 0.04 MiB extra/perl-mailtools 2.22-1 0.10 MiB extra/perl-timedate 2.33-7 0.08 MiB extra/git 2.49.0-1 28.71 MiB extra/go 2:1.24.2-1 237.76 MiB Total Installed Size: 266.69 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing go... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git git-zsh-completion: upstream zsh completion tk: gitk and git gui openssh: ssh transport and crypto man: show help with `git command --help` perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'git' with GID 971. Creating user 'git' (git daemon user) with UID 971 and GID 971. (2/4) Reloading system manager configuration... Skipped: Current root is not booted. (3/4) Arming ConditionNeedsUpdate... (4/4) Checking for old perl modules... ==> Retrieving sources... -> Found alertmanager-0.28.1.tar.gz -> Found alertmanager.service -> Found alertmanager.sysusers -> Found alertmanager.conf ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting alertmanager-0.28.1.tar.gz with bsdtar ==> Starting build()... go: downloading github.com/prometheus/client_golang v1.20.5 go: downloading github.com/alecthomas/kingpin/v2 v2.4.0 go: downloading github.com/KimMachineGun/automemlimit v0.7.0 go: downloading github.com/prometheus/common v0.61.0 go: downloading github.com/prometheus/exporter-toolkit v0.13.2 go: downloading go.uber.org/automaxprocs v1.6.0 go: downloading github.com/prometheus/sigv4 v0.1.0 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/coder/quartz v0.1.2 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4 go: downloading github.com/gofrs/uuid v4.4.0+incompatible go: downloading github.com/cenkalti/backoff/v4 v4.3.0 go: downloading github.com/cespare/xxhash/v2 v2.3.0 go: downloading golang.org/x/text v0.21.0 go: downloading github.com/prometheus/common/assets v0.2.0 go: downloading github.com/oklog/run v1.1.0 go: downloading github.com/gogo/protobuf v1.3.2 go: downloading github.com/hashicorp/go-sockaddr v1.0.7 go: downloading github.com/hashicorp/golang-lru/v2 v2.0.7 go: downloading github.com/hashicorp/memberlist v0.5.1 go: downloading github.com/oklog/ulid v1.3.1 go: downloading github.com/go-openapi/analysis v0.23.0 go: downloading github.com/go-openapi/loads v0.22.0 go: downloading github.com/go-openapi/runtime v0.28.0 go: downloading github.com/go-openapi/strfmt v0.23.0 go: downloading github.com/rs/cors v1.11.1 go: downloading github.com/trivago/tgo v1.0.7 go: downloading github.com/hashicorp/golang-lru v0.5.4 go: downloading github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52b go: downloading github.com/aws/aws-sdk-go v1.55.5 go: downloading gopkg.in/telebot.v3 v3.3.8 go: downloading github.com/shurcooL/vfsgen v0.0.0-20230704071429-0000e147ea92 go: downloading github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 go: downloading github.com/xhit/go-str2duration/v2 v2.1.0 go: downloading github.com/golang/protobuf v1.5.3 go: downloading github.com/prometheus/client_model v0.6.1 go: downloading google.golang.org/protobuf v1.35.2 go: downloading github.com/julienschmidt/httprouter v1.3.0 go: downloading github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f go: downloading golang.org/x/net v0.33.0 go: downloading golang.org/x/oauth2 v0.24.0 go: downloading github.com/go-openapi/errors v0.22.0 go: downloading github.com/go-openapi/swag v0.23.0 go: downloading github.com/jessevdk/go-flags v1.6.1 go: downloading github.com/go-openapi/spec v0.21.0 go: downloading github.com/go-openapi/validate v0.24.0 go: downloading github.com/klauspost/compress v1.17.9 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/prometheus/procfs v0.15.1 go: downloading github.com/armon/go-metrics v0.3.10 go: downloading github.com/google/btree v1.0.0 go: downloading github.com/hashicorp/go-msgpack/v2 v2.1.1 go: downloading github.com/hashicorp/go-multierror v1.1.0 go: downloading github.com/miekg/dns v1.1.41 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 go: downloading github.com/coreos/go-systemd/v22 v22.5.0 go: downloading github.com/mdlayher/vsock v1.2.1 go: downloading golang.org/x/crypto v0.31.0 go: downloading golang.org/x/sync v0.10.0 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 go: downloading github.com/google/uuid v1.6.0 go: downloading github.com/mitchellh/mapstructure v1.5.0 go: downloading go.mongodb.org/mongo-driver v1.14.0 go: downloading github.com/shurcooL/httpfs v0.0.0-20230704072500-f1e31cf0ba5c go: downloading github.com/docker/go-units v0.5.0 go: downloading github.com/go-openapi/jsonpointer v0.21.0 go: downloading github.com/jpillora/backoff v1.0.0 go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 go: downloading golang.org/x/sys v0.28.0 go: downloading github.com/mailru/easyjson v0.7.7 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/go-openapi/jsonreference v0.21.0 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 go: downloading github.com/hashicorp/errwrap v1.1.0 go: downloading github.com/mdlayher/socket v0.4.1 go: downloading github.com/josharian/intern v1.0.0 go: downloading github.com/jmespath/go-jmespath v0.4.0 go: downloading github.com/xlab/treeprint v1.2.0 go: downloading golang.org/x/mod v0.22.0 go: downloading github.com/opentracing/opentracing-go v1.2.0 go: downloading go.opentelemetry.io/otel v1.24.0 go: downloading go.opentelemetry.io/otel/trace v1.24.0 go: downloading go.opentelemetry.io/otel/metric v1.24.0 go: downloading github.com/go-logr/logr v1.4.1 go: downloading github.com/go-logr/stdr v1.2.2 ==> Starting check()... go: downloading github.com/stretchr/testify v1.10.0 go: downloading go.uber.org/atomic v1.11.0 go: downloading github.com/kylelemons/godebug v1.1.0 go: downloading github.com/emersion/go-smtp v0.21.3 go: downloading github.com/emersion/go-sasl v0.0.0-20200509203442-7bfe0ed36a21 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 ? github.com/prometheus/alertmanager/api [no test files] ? github.com/prometheus/alertmanager/api/metrics [no test files] ok github.com/prometheus/alertmanager/api/v2 0.012s ? github.com/prometheus/alertmanager/api/v2/client [no test files] ? github.com/prometheus/alertmanager/api/v2/client/alert [no test files] ? github.com/prometheus/alertmanager/api/v2/client/alertgroup [no test files] ? github.com/prometheus/alertmanager/api/v2/client/general [no test files] ? github.com/prometheus/alertmanager/api/v2/client/receiver [no test files] ? github.com/prometheus/alertmanager/api/v2/client/silence [no test files] ? github.com/prometheus/alertmanager/api/v2/models [no test files] ? github.com/prometheus/alertmanager/api/v2/restapi [no test files] ? github.com/prometheus/alertmanager/api/v2/restapi/operations [no test files] ? github.com/prometheus/alertmanager/api/v2/restapi/operations/alert [no test files] ? github.com/prometheus/alertmanager/api/v2/restapi/operations/alertgroup [no test files] ? github.com/prometheus/alertmanager/api/v2/restapi/operations/general [no test files] ? github.com/prometheus/alertmanager/api/v2/restapi/operations/receiver [no test files] ? github.com/prometheus/alertmanager/api/v2/restapi/operations/silence [no test files] ? github.com/prometheus/alertmanager/asset [no test files] ok github.com/prometheus/alertmanager/cli 0.011s ok github.com/prometheus/alertmanager/cli/config 0.004s ? github.com/prometheus/alertmanager/cli/format [no test files] ok github.com/prometheus/alertmanager/cluster 2.322s ? github.com/prometheus/alertmanager/cluster/clusterpb [no test files] ok github.com/prometheus/alertmanager/cmd/alertmanager 0.013s ? github.com/prometheus/alertmanager/cmd/amtool [no test files] ok github.com/prometheus/alertmanager/config 0.016s ok github.com/prometheus/alertmanager/config/receiver 0.009s ok github.com/prometheus/alertmanager/dispatch 4.064s ? github.com/prometheus/alertmanager/examples/webhook [no test files] ok github.com/prometheus/alertmanager/featurecontrol 0.003s ok github.com/prometheus/alertmanager/inhibit 0.007s ok github.com/prometheus/alertmanager/matcher/compat 0.003s ok github.com/prometheus/alertmanager/matcher/compliance 0.003s ok github.com/prometheus/alertmanager/matcher/parse 0.004s ok github.com/prometheus/alertmanager/nflog 1.010s ok github.com/prometheus/alertmanager/nflog/nflogpb 0.002s ok github.com/prometheus/alertmanager/notify 0.475s ok github.com/prometheus/alertmanager/notify/discord 0.022s ok github.com/prometheus/alertmanager/notify/email 0.216s ok github.com/prometheus/alertmanager/notify/jira 0.036s ok github.com/prometheus/alertmanager/notify/msteams 0.019s ok github.com/prometheus/alertmanager/notify/msteamsv2 0.019s ok github.com/prometheus/alertmanager/notify/opsgenie 0.024s ok github.com/prometheus/alertmanager/notify/pagerduty 0.034s ok github.com/prometheus/alertmanager/notify/pushover 0.017s ok github.com/prometheus/alertmanager/notify/rocketchat 0.013s ok github.com/prometheus/alertmanager/notify/slack 0.028s ok github.com/prometheus/alertmanager/notify/sns 0.021s ok github.com/prometheus/alertmanager/notify/telegram 0.018s ? github.com/prometheus/alertmanager/notify/test [no test files] ok github.com/prometheus/alertmanager/notify/victorops 0.019s ok github.com/prometheus/alertmanager/notify/webex 0.013s ok github.com/prometheus/alertmanager/notify/webhook 0.012s ok github.com/prometheus/alertmanager/notify/wechat 0.013s ok github.com/prometheus/alertmanager/pkg/labels 0.002s ? github.com/prometheus/alertmanager/pkg/modtimevfs [no test files] ? github.com/prometheus/alertmanager/provider [no test files] ok github.com/prometheus/alertmanager/provider/mem 4.530s ok github.com/prometheus/alertmanager/silence 1.008s ? github.com/prometheus/alertmanager/silence/silencepb [no test files] ok github.com/prometheus/alertmanager/store 0.013s ok github.com/prometheus/alertmanager/template 0.016s ? github.com/prometheus/alertmanager/test/cli [no test files] ok github.com/prometheus/alertmanager/test/cli/acceptance 2.065s ? github.com/prometheus/alertmanager/test/with_api_v2 [no test files] --- FAIL: TestMergeAlerts (5.16s) acceptance.go:178: failed to start alertmanager cluster: unable to get a successful response from the Alertmanager: Get "http://127.0.0.1:33013/api/v2/status": dial tcp 127.0.0.1:33013: connect: connection refused send_test.go:96: collector "webhook": interval [6,6.5] --- - &{map[] 0001-01-01T00:00:00.000Z [] 0001-01-01T00:00:05.000Z { map[alertname:test]}}[5:] [ ✗ ] interval [2,2.5] --- - &{map[] 0001-01-01T00:00:00.000Z [] 0001-01-01T00:00:01.000Z { map[alertname:test]}}[1:] [ ✗ ] interval [3,3.5] --- - &{map[ann:v1] 0001-01-01T00:00:00.000Z [] 0001-01-01T00:00:01.000Z { map[alertname:test]}}[1:] [ ✗ ] interval [4,4.5] --- - &{map[ann:v2] 0001-01-01T00:00:00.000Z [] 0001-01-01T00:00:01.000Z { map[alertname:test]}}[1:] [ ✗ ] interval [5,5.5] --- - &{map[ann:v3] 0001-01-01T00:00:04.800Z [] 0001-01-01T00:00:01.000Z { map[alertname:test]}}[1:4.8] [ ✗ ] Expected total of 5 alerts, got 0 received: acceptance.go:172: Error sending SIGTERM to Alertmanager process: no such process acceptance.go:172: stdout: acceptance.go:172: stderr: time=2025-04-06T10:09:51.817Z level=INFO source=main.go:191 msg="Starting Alertmanager" version="(version=0.28.1, branch=tarball, revision=0.28.1)" time=2025-04-06T10:09:51.817Z level=INFO source=main.go:192 msg="Build context" build_context="(go=go1.24.2, platform=linux/amd64, user=someone@builder, date=20250406-10:09:28, tags=unknown)" time=2025-04-06T10:09:51.817Z level=DEBUG source=cluster.go:173 msg="resolved peers to following addresses" component=cluster peers=127.0.0.1:41977 time=2025-04-06T10:09:51.817Z level=DEBUG source=memberlist.go:160 msg="[DEBUG] memberlist: Got bind error: Failed to start TCP listener on \"127.0.0.1\" port 41977: listen tcp 127.0.0.1:41977: bind: address already in use" component=cluster time=2025-04-06T10:09:51.817Z level=ERROR source=main.go:259 msg="unable to initialize gossip mesh" err="create memberlist: Could not set up network transport: failed to obtain an address: Failed to start TCP listener on \"127.0.0.1\" port 41977: listen tcp 127.0.0.1:41977: bind: address already in use" FAIL FAIL github.com/prometheus/alertmanager/test/with_api_v2/acceptance 26.226s ok github.com/prometheus/alertmanager/timeinterval 0.003s ok github.com/prometheus/alertmanager/types 0.003s ? github.com/prometheus/alertmanager/ui [no test files] ? github.com/prometheus/alertmanager/ui/react-app [no test files] FAIL ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_4b36e712-ff06-4fb5-9e3b-ebdeca46d612/build