[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1000775: golang-github-go-openapi-errors breaks prometheus-alertmanager autopkgtest: not enough arguments in call to "github.com/go-openapi/errors"



Source: golang-github-go-openapi-errors, prometheus-alertmanager
Control: found -1 golang-github-go-openapi-errors/0.20.1-1
Control: found -1 prometheus-alertmanager/0.21.0+ds-4
Severity: serious
Tags: sid bookworm
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of golang-github-go-openapi-errors the autopkgtest of prometheus-alertmanager fails in testing when that autopkgtest is run with the binary packages of golang-github-go-openapi-errors from unstable. It passes when run with only packages from testing. In tabular form:

                                pass            fail
golang-github-go-openapi-errors from testing    0.20.1-1
prometheus-alertmanager         from testing    0.21.0+ds-4
all others                      from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of golang-github-go-openapi-errors to testing [1]. Due to the nature of this issue, I filed this bug report against both packages. Can you please investigate the situation and reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=golang-github-go-openapi-errors

https://ci.debian.net/data/autopkgtest/testing/amd64/p/prometheus-alertmanager/17090240/log.gz

[info] Testing github.com/prometheus/alertmanager...
[info] Source code installed by binary package, overriding dh_auto_configure...
dh build --buildsystem=golang --with=golang \

--builddirectory=/tmp/autopkgtest-lxc.g1act3hi/downtmp/autopkgtest_tmp/build
dh_update_autotools_config -O--buildsystem=golang -O--builddirectory=/tmp/autopkgtest-lxc.g1act3hi/downtmp/autopkgtest_tmp/build dh_autoreconf -O--buildsystem=golang -O--builddirectory=/tmp/autopkgtest-lxc.g1act3hi/downtmp/autopkgtest_tmp/build
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/tmp/autopkgtest-lxc.g1act3hi/downtmp/autopkgtest_tmp'
mkdir -p "build"
cp -a /usr/share/gocode/src "build"
make[1]: Leaving directory '/tmp/autopkgtest-lxc.g1act3hi/downtmp/autopkgtest_tmp'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/tmp/autopkgtest-lxc.g1act3hi/downtmp/autopkgtest_tmp' dh_auto_build -- -ldflags " -X github.com/prometheus/common/version.Version=0.21.0+ds -X github.com/prometheus/common/version.Revision=0.21.0+ds-4 -X github.com/prometheus/common/version.Branch=debian/sid -X github.com/prometheus/common/version.BuildUser=team+pkg-go@tracker.debian.org -X github.com/prometheus/common/version.BuildDate=20210129-00:48:05 -X github.com/prometheus/common/version.GoVersion=go1.17.3" cd build && go install -trimpath -v -p 2 -ldflags " -X github.com/prometheus/common/version.Version=0.21.0+ds -X github.com/prometheus/common/version.Revision=0.21.0+ds-4 -X github.com/prometheus/common/version.Branch=debian/sid -X github.com/prometheus/common/version.BuildUser=team+pkg-go@tracker.debian.org -X github.com/prometheus/common/version.BuildDate=20210129-00:48:05 -X github.com/prometheus/common/version.GoVersion=go1.17.3" github.com/prometheus/alertmanager/api github.com/prometheus/alertmanager/api/metrics github.com/prometheus/alertmanager/api/v1 github.com/prometheus/alertmanager/api/v2 github.com/prometheus/alertmanager/api/v2/client github.com/prometheus/alertmanager/api/v2/client/alert github.com/prometheus/alertmanager/api/v2/client/alertgroup github.com/prometheus/alertmanager/api/v2/client/general github.com/prometheus/alertmanager/api/v2/client/receiver github.com/prometheus/alertmanager/api/v2/client/silence github.com/prometheus/alertmanager/api/v2/models github.com/prometheus/alertmanager/api/v2/restapi github.com/prometheus/alertmanager/api/v2/restapi/operations github.com/prometheus/alertmanager/api/v2/restapi/operations/alert github.com/prometheus/alertmanager/api/v2/restapi/operations/alertgroup github.com/prometheus/alertmanager/api/v2/restapi/operations/general github.com/prometheus/alertmanager/api/v2/restapi/operations/receiver github.com/prometheus/alertmanager/api/v2/restapi/operations/silence github.com/prometheus/alertmanager/cli github.com/prometheus/alertmanager/cli/config github.com/prometheus/alertmanager/cli/format github.com/prometheus/alertmanager/client github.com/prometheus/alertmanager/cluster github.com/prometheus/alertmanager/cluster/clusterpb github.com/prometheus/alertmanager/cmd/alertmanager github.com/prometheus/alertmanager/cmd/amtool github.com/prometheus/alertmanager/config github.com/prometheus/alertmanager/dispatch github.com/prometheus/alertmanager/inhibit github.com/prometheus/alertmanager/nflog github.com/prometheus/alertmanager/nflog/nflogpb github.com/prometheus/alertmanager/notify github.com/prometheus/alertmanager/notify/email github.com/prometheus/alertmanager/notify/opsgenie github.com/prometheus/alertmanager/notify/pagerduty github.com/prometheus/alertmanager/notify/pushover github.com/prometheus/alertmanager/notify/slack github.com/prometheus/alertmanager/notify/test github.com/prometheus/alertmanager/notify/victorops github.com/prometheus/alertmanager/notify/webhook github.com/prometheus/alertmanager/notify/wechat github.com/prometheus/alertmanager/pkg/labels github.com/prometheus/alertmanager/pkg/modtimevfs github.com/prometheus/alertmanager/provider github.com/prometheus/alertmanager/provider/mem github.com/prometheus/alertmanager/silence github.com/prometheus/alertmanager/silence/silencepb github.com/prometheus/alertmanager/store github.com/prometheus/alertmanager/template github.com/prometheus/alertmanager/test/cli github.com/prometheus/alertmanager/test/with_api_v1 github.com/prometheus/alertmanager/test/with_api_v2 github.com/prometheus/alertmanager/types github.com/prometheus/alertmanager/ui
internal/unsafeheader
internal/abi
internal/cpu
internal/goexperiment
runtime/internal/atomic
internal/bytealg
runtime/internal/sys
runtime/internal/math
internal/itoa
math/bits
runtime
math
unicode/utf8
internal/race
sync/atomic
unicode
encoding
unicode/utf16
container/list
crypto/internal/subtle
crypto/subtle
vendor/golang.org/x/crypto/cryptobyte/asn1
internal/nettrace
vendor/golang.org/x/crypto/internal/subtle
golang.org/x/sys/internal/unsafeheader
golang.org/x/net/internal/iana
internal/reflectlite
sync
internal/testlog
math/rand
internal/singleflight
errors
sort
strconv
io
internal/oserror
syscall
reflect
internal/syscall/unix
time
internal/poll
internal/fmtsort
internal/syscall/execenv
path
io/fs
bytes
os
encoding/binary
encoding/base64
strings
fmt
bufio
regexp/syntax
encoding/json
github.com/go-logfmt/logfmt
github.com/go-stack/stack
log
regexp
compress/flate
github.com/go-kit/kit/log
hash
hash/crc32
compress/gzip
github.com/go-kit/kit/log/level
context
crypto/cipher
math/big
crypto/aes
crypto
crypto/des
crypto/elliptic/internal/fiat
crypto/internal/randutil
crypto/sha512
crypto/ed25519/internal/edwards25519/field
crypto/ed25519/internal/edwards25519
crypto/rand
crypto/elliptic
encoding/asn1
vendor/golang.org/x/crypto/cryptobyte
crypto/ed25519
crypto/hmac
crypto/md5
crypto/ecdsa
crypto/rc4
crypto/rsa
crypto/sha1
crypto/sha256
crypto/dsa
encoding/hex
crypto/x509/pkix
encoding/pem
vendor/golang.org/x/net/dns/dnsmessage
runtime/cgo
net/url
path/filepath
net
vendor/golang.org/x/crypto/chacha20
vendor/golang.org/x/crypto/poly1305
io/ioutil
vendor/golang.org/x/sys/cpu
vendor/golang.org/x/crypto/chacha20poly1305
vendor/golang.org/x/crypto/curve25519
vendor/golang.org/x/crypto/hkdf
vendor/golang.org/x/text/transform
vendor/golang.org/x/text/unicode/bidi
vendor/golang.org/x/text/secure/bidirule
vendor/golang.org/x/text/unicode/norm
vendor/golang.org/x/net/idna
vendor/golang.org/x/net/http2/hpack
mime
mime/quotedprintable
net/http/internal
net/http/internal/ascii
github.com/beorn7/perks/quantile
github.com/cespare/xxhash
github.com/golang/protobuf/proto
crypto/x509
crypto/tls
net/textproto
vendor/golang.org/x/net/http/httpguts
vendor/golang.org/x/net/http/httpproxy
mime/multipart
github.com/golang/protobuf/ptypes/any
github.com/golang/protobuf/ptypes/duration
github.com/golang/protobuf/ptypes/timestamp
github.com/golang/protobuf/ptypes
github.com/prometheus/client_model/go
github.com/prometheus/client_golang/prometheus/internal
github.com/matttproud/golang_protobuf_extensions/pbutil
github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
github.com/prometheus/common/model
net/http/httptrace
net/http
github.com/prometheus/procfs/internal/fs
github.com/prometheus/procfs/internal/util
golang.org/x/sys/unix
github.com/prometheus/procfs
runtime/debug
github.com/gogo/protobuf/proto
expvar
github.com/prometheus/common/expfmt
github.com/prometheus/client_golang/prometheus
github.com/prometheus/alertmanager/api/metrics
os/exec
compress/lzw
github.com/hashicorp/go-sockaddr
github.com/hashicorp/golang-lru/simplelru
github.com/hashicorp/go-immutable-radix
os/signal
github.com/armon/go-metrics
github.com/google/btree
encoding/gob
go/token
html
text/template/parse
github.com/hashicorp/errwrap
github.com/hashicorp/go-multierror
text/template
encoding/base32
golang.org/x/net/bpf
golang.org/x/net/internal/socket
golang.org/x/net/ipv4
html/template
golang.org/x/net/ipv6
net/rpc
github.com/miekg/dns
github.com/hashicorp/go-msgpack/codec
github.com/hashicorp/memberlist/vendor/github.com/sean-/seed
database/sql/driver
github.com/oklog/ulid
github.com/pkg/errors
github.com/gogo/protobuf/protoc-gen-gogo/descriptor
github.com/gogo/protobuf/gogoproto
github.com/prometheus/alertmanager/cluster/clusterpb
github.com/jpillora/backoff
golang.org/x/net/internal/timeseries
text/tabwriter
golang.org/x/net/trace
github.com/hashicorp/memberlist
github.com/mwitkow/go-conntrack
golang.org/x/text/transform
golang.org/x/text/unicode/bidi
golang.org/x/text/secure/bidirule
golang.org/x/text/unicode/norm
github.com/prometheus/alertmanager/cluster
golang.org/x/net/http2/hpack
golang.org/x/net/idna
golang.org/x/net/context/ctxhttp
golang.org/x/oauth2/internal
golang.org/x/oauth2
golang.org/x/net/http/httpguts
golang.org/x/net/http2
golang.org/x/oauth2/clientcredentials
gopkg.in/yaml.v2
github.com/cenkalti/backoff
github.com/oklog/run
github.com/prometheus/alertmanager/types
github.com/prometheus/alertmanager/provider
github.com/prometheus/alertmanager/store
github.com/gogo/protobuf/sortkeys
github.com/prometheus/common/config
github.com/gogo/protobuf/types
github.com/prometheus/alertmanager/config
github.com/prometheus/alertmanager/inhibit
github.com/satori/go.uuid
github.com/prometheus/alertmanager/template
github.com/prometheus/alertmanager/pkg/labels
github.com/julienschmidt/httprouter
github.com/prometheus/common/route
github.com/prometheus/common/version
github.com/go-openapi/analysis/internal/debug
github.com/josharian/intern
github.com/mailru/easyjson/jlexer
github.com/mailru/easyjson/buffer
github.com/mailru/easyjson/jwriter
github.com/go-openapi/swag
github.com/prometheus/alertmanager/nflog/nflogpb
github.com/prometheus/alertmanager/nflog
github.com/prometheus/alertmanager/silence/silencepb
github.com/go-openapi/jsonpointer
github.com/PuerkitoBio/urlesc
golang.org/x/text/width
github.com/prometheus/alertmanager/silence
github.com/PuerkitoBio/purell
github.com/go-openapi/jsonreference
github.com/go-openapi/spec
github.com/prometheus/alertmanager/notify
github.com/prometheus/alertmanager/dispatch
github.com/prometheus/alertmanager/api/v1
github.com/asaskevich/govalidator
github.com/go-openapi/analysis/internal/flatten/normalize
github.com/go-openapi/analysis/internal/flatten/operations
github.com/go-openapi/analysis/internal/flatten/replace
github.com/go-openapi/analysis/internal/flatten/schutils
github.com/go-openapi/analysis/internal/flatten/sortref
github.com/go-openapi/errors
github.com/mitchellh/mapstructure
gopkg.in/mgo.v2/internal/json
net/mail
encoding/xml
gopkg.in/mgo.v2/bson
golang.org/x/net/context
github.com/go-openapi/runtime/logger
github.com/go-openapi/runtime/middleware/denco
github.com/go-openapi/runtime/middleware/header
github.com/docker/go-units
github.com/go-openapi/strfmt
github.com/go-openapi/runtime/flagext
github.com/jessevdk/go-flags
github.com/go-openapi/analysis
github.com/go-openapi/runtime
github.com/go-openapi/runtime/security
github.com/go-openapi/validate/vendor/github.com/go-openapi/runtime
golang.org/x/net/netutil
github.com/rs/cors
github.com/go-openapi/loads
github.com/go-openapi/runtime/middleware/untyped
github.com/go-openapi/validate
# github.com/go-openapi/validate
src/github.com/go-openapi/validate/object_validator.go:67:34: not enough arguments in call to "github.com/go-openapi/errors".Required
	have (string, string)
	want (string, string, interface {})
src/github.com/go-openapi/validate/values.go:62:28: not enough arguments in call to "github.com/go-openapi/errors".TooFewItems
	have (string, string, int64)
	want (string, string, int64, interface {})
src/github.com/go-openapi/validate/values.go:70:29: not enough arguments in call to "github.com/go-openapi/errors".TooManyItems
	have (string, string, int64)
	want (string, string, int64, interface {})
src/github.com/go-openapi/validate/values.go:98:25: not enough arguments in call to "github.com/go-openapi/errors".TooShort
	have (string, string, int64)
	want (string, string, int64, interface {})
src/github.com/go-openapi/validate/values.go:107:24: not enough arguments in call to "github.com/go-openapi/errors".TooLong
	have (string, string, int64)
	want (string, string, int64, interface {})
src/github.com/go-openapi/validate/values.go:117:26: not enough arguments in call to "github.com/go-openapi/errors".Required
	have (string, string)
	want (string, string, interface {})
src/github.com/go-openapi/validate/values.go:121:24: not enough arguments in call to "github.com/go-openapi/errors".Required
	have (string, string)
	want (string, string, interface {})
src/github.com/go-openapi/validate/values.go:127:25: not enough arguments in call to "github.com/go-openapi/errors".Required
	have (string, string)
	want (string, string, interface {})
src/github.com/go-openapi/validate/values.go:135:25: not enough arguments in call to "github.com/go-openapi/errors".Required
	have (string, string)
	want (string, string, interface {})
src/github.com/go-openapi/validate/values.go:144:30: not enough arguments in call to "github.com/go-openapi/errors".FailedPattern
	have (string, string, string)
	want (string, string, string, interface {})
src/github.com/go-openapi/validate/values.go:144:30: too many errors
net/http/httputil
github.com/alecthomas/units
go/scanner
go/ast
internal/lazyregexp
github.com/xlab/treeprint
os/user
go/doc
gopkg.in/alecthomas/kingpin.v2
github.com/prometheus/client_golang/api
github.com/prometheus/alertmanager/client
net/smtp
github.com/prometheus/alertmanager/notify/email
github.com/prometheus/alertmanager/notify/opsgenie
github.com/prometheus/alertmanager/notify/pagerduty
github.com/prometheus/alertmanager/notify/pushover
github.com/prometheus/alertmanager/cli/config
github.com/prometheus/alertmanager/notify/slack
github.com/prometheus/alertmanager/notify/victorops
github.com/prometheus/alertmanager/notify/webhook
github.com/prometheus/alertmanager/notify/wechat
github.com/prometheus/alertmanager/provider/mem
github.com/prometheus/client_golang/prometheus/promhttp
internal/profile
runtime/pprof
runtime/trace
github.com/prometheus/common/promlog
github.com/prometheus/common/promlog/flag
github.com/davecgh/go-spew/spew
net/http/pprof
github.com/pmezard/go-difflib/difflib
github.com/prometheus/alertmanager/ui
gopkg.in/yaml.v3
flag
net/http/internal/testcert
net/http/httptest
internal/sysinfo
testing
github.com/prometheus/alertmanager/pkg/modtimevfs
github.com/prometheus/alertmanager/test/with_api_v1
github.com/stretchr/testify/assert
github.com/stretchr/testify/require
github.com/prometheus/alertmanager/notify/test
dh_auto_build: error: cd build && go install -trimpath -v -p 2 -ldflags " -X github.com/prometheus/common/version.Version=0.21.0+ds -X github.com/prometheus/common/version.Revision=0.21.0+ds-4 -X github.com/prometheus/common/version.Branch=debian/sid -X github.com/prometheus/common/version.BuildUser=team+pkg-go@tracker.debian.org -X github.com/prometheus/common/version.BuildDate=20210129-00:48:05 -X github.com/prometheus/common/version.GoVersion=go1.17.3" github.com/prometheus/alertmanager/api github.com/prometheus/alertmanager/api/metrics github.com/prometheus/alertmanager/api/v1 github.com/prometheus/alertmanager/api/v2 github.com/prometheus/alertmanager/api/v2/client github.com/prometheus/alertmanager/api/v2/client/alert github.com/prometheus/alertmanager/api/v2/client/alertgroup github.com/prometheus/alertmanager/api/v2/client/general github.com/prometheus/alertmanager/api/v2/client/receiver github.com/prometheus/alertmanager/api/v2/client/silence github.com/prometheus/alertmanager/api/v2/models github.com/prometheus/alertmanager/api/v2/restapi github.com/prometheus/alertmanager/api/v2/restapi/operations github.com/prometheus/alertmanager/api/v2/restapi/operations/alert github.com/prometheus/alertmanager/api/v2/restapi/operations/alertgroup github.com/prometheus/alertmanager/api/v2/restapi/operations/general github.com/prometheus/alertmanager/api/v2/restapi/operations/receiver github.com/prometheus/alertmanager/api/v2/restapi/operations/silence github.com/prometheus/alertmanager/cli github.com/prometheus/alertmanager/cli/config github.com/prometheus/alertmanager/cli/format github.com/prometheus/alertmanager/client github.com/prometheus/alertmanager/cluster github.com/prometheus/alertmanager/cluster/clusterpb github.com/prometheus/alertmanager/cmd/alertmanager github.com/prometheus/alertmanager/cmd/amtool github.com/prometheus/alertmanager/config github.com/prometheus/alertmanager/dispatch github.com/prometheus/alertmanager/inhibit github.com/prometheus/alertmanager/nflog github.com/prometheus/alertmanager/nflog/nflogpb github.com/prometheus/alertmanager/notify github.com/prometheus/alertmanager/notify/email github.com/prometheus/alertmanager/notify/opsgenie github.com/prometheus/alertmanager/notify/pagerduty github.com/prometheus/alertmanager/notify/pushover github.com/prometheus/alertmanager/notify/slack github.com/prometheus/alertmanager/notify/test github.com/prometheus/alertmanager/notify/victorops github.com/prometheus/alertmanager/notify/webhook github.com/prometheus/alertmanager/notify/wechat github.com/prometheus/alertmanager/pkg/labels github.com/prometheus/alertmanager/pkg/modtimevfs github.com/prometheus/alertmanager/provider github.com/prometheus/alertmanager/provider/mem github.com/prometheus/alertmanager/silence github.com/prometheus/alertmanager/silence/silencepb github.com/prometheus/alertmanager/store github.com/prometheus/alertmanager/template github.com/prometheus/alertmanager/test/cli github.com/prometheus/alertmanager/test/with_api_v1 github.com/prometheus/alertmanager/test/with_api_v2 github.com/prometheus/alertmanager/types github.com/prometheus/alertmanager/ui returned exit code 2
make[1]: *** [debian/rules:39: override_dh_auto_build] Error 25
make[1]: Leaving directory '/tmp/autopkgtest-lxc.g1act3hi/downtmp/autopkgtest_tmp'
make: *** [debian/rules:32: build] Error 2
autopkgtest [13:12:20]: test dh-golang-autopkgtest


Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: