[pkg-go] Bug#976543: golang-github-rcrowley-go-metrics: FTBFS: dh_auto_test: error: cd obj-aarch64-linux-gnu && go test -vet=off -v -p 4 github.com/rcrowley/go-metrics github.com/rcrowley/go-metrics/exp github.com/rcrowley/go-metrics/librato github.com/rcrowley/go-metrics/stathat returned exit code 1
Lucas Nussbaum
lucas at debian.org
Sat Dec 5 13:23:47 GMT 2020
Source: golang-github-rcrowley-go-metrics
Version: 0.0~git20180125.8732c61-2
Severity: serious
Justification: FTBFS on arm64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201205 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on arm64 (I don't know if it also fails on amd64).
Relevant part (hopefully):
> debian/rules build
> dh build --buildsystem=golang --with=golang
> dh_update_autotools_config -O--buildsystem=golang
> dh_autoreconf -O--buildsystem=golang
> dh_auto_configure -O--buildsystem=golang
> dh_auto_build -O--buildsystem=golang
> cd obj-aarch64-linux-gnu && go install -trimpath -v -p 4 github.com/rcrowley/go-metrics github.com/rcrowley/go-metrics/exp github.com/rcrowley/go-metrics/librato github.com/rcrowley/go-metrics/stathat
> runtime/internal/sys
> internal/cpu
> runtime/internal/atomic
> internal/unsafeheader
> runtime/internal/math
> internal/race
> sync/atomic
> internal/bytealg
> unicode
> unicode/utf8
> encoding
> math/bits
> internal/testlog
> math
> unicode/utf16
> internal/nettrace
> runtime/cgo
> runtime
> container/list
> crypto/internal/subtle
> crypto/subtle
> vendor/golang.org/x/crypto/cryptobyte/asn1
> vendor/golang.org/x/crypto/internal/subtle
> internal/reflectlite
> sync
> internal/singleflight
> math/rand
> errors
> sort
> io
> strconv
> internal/oserror
> syscall
> vendor/golang.org/x/net/dns/dnsmessage
> bytes
> strings
> reflect
> hash
> hash/crc32
> bufio
> internal/syscall/unix
> time
> internal/syscall/execenv
> text/tabwriter
> crypto
> crypto/internal/randutil
> crypto/hmac
> crypto/rc4
> vendor/golang.org/x/crypto/hkdf
> vendor/golang.org/x/text/transform
> path
> regexp/syntax
> encoding/binary
> internal/fmtsort
> internal/poll
> context
> encoding/base64
> crypto/cipher
> crypto/sha512
> os
> crypto/ed25519/internal/edwards25519
> crypto/md5
> crypto/aes
> crypto/des
> crypto/sha1
> crypto/sha256
> encoding/pem
> fmt
> runtime/debug
> net
> path/filepath
> vendor/golang.org/x/crypto/chacha20
> io/ioutil
> vendor/golang.org/x/crypto/poly1305
> encoding/json
> log
> compress/flate
> math/big
> compress/gzip
> runtime/pprof
> encoding/hex
> net/url
> vendor/golang.org/x/crypto/chacha20poly1305
> vendor/golang.org/x/crypto/curve25519
> vendor/golang.org/x/text/unicode/bidi
> crypto/rand
> crypto/elliptic
> encoding/asn1
> crypto/ed25519
> crypto/rsa
> crypto/dsa
> vendor/golang.org/x/crypto/cryptobyte
> crypto/x509/pkix
> vendor/golang.org/x/text/secure/bidirule
> vendor/golang.org/x/text/unicode/norm
> vendor/golang.org/x/net/http2/hpack
> crypto/ecdsa
> mime
> mime/quotedprintable
> net/http/internal
> vendor/golang.org/x/net/idna
> regexp
> log/syslog
> vendor/golang.org/x/net/http/httpproxy
> net/textproto
> crypto/x509
> github.com/rcrowley/go-metrics
> vendor/golang.org/x/net/http/httpguts
> mime/multipart
> crypto/tls
> net/http/httptrace
> net/http
> expvar
> github.com/stathat/go
> github.com/rcrowley/go-metrics/librato
> github.com/rcrowley/go-metrics/exp
> github.com/rcrowley/go-metrics/stathat
> dh_auto_test -O--buildsystem=golang
> cd obj-aarch64-linux-gnu && go test -vet=off -v -p 4 github.com/rcrowley/go-metrics github.com/rcrowley/go-metrics/exp github.com/rcrowley/go-metrics/librato github.com/rcrowley/go-metrics/stathat
> === RUN TestCounterClear
> --- PASS: TestCounterClear (0.00s)
> === RUN TestCounterDec1
> --- PASS: TestCounterDec1 (0.00s)
> === RUN TestCounterDec2
> --- PASS: TestCounterDec2 (0.00s)
> === RUN TestCounterInc1
> --- PASS: TestCounterInc1 (0.00s)
> === RUN TestCounterInc2
> --- PASS: TestCounterInc2 (0.00s)
> === RUN TestCounterSnapshot
> --- PASS: TestCounterSnapshot (0.00s)
> === RUN TestCounterZero
> --- PASS: TestCounterZero (0.00s)
> === RUN TestGetOrRegisterCounter
> --- PASS: TestGetOrRegisterCounter (0.00s)
> === RUN TestDebugGCStatsBlocking
> debug_test.go:30: i++ during debug.ReadGCStats: 0
> debug_test.go:33: 10.774µs
> debug_test.go:35: i++ during time.Sleep: 78371
> --- PASS: TestDebugGCStatsBlocking (0.00s)
> === RUN TestEWMA1
> ewma_test.go:31: 3 minute a.Rate(): 0.029872241020718428 != 0.02987224102071842
> ewma_test.go:35: 4 minute a.Rate(): 0.01098938333324054 != 0.010989383333240534
> ewma_test.go:39: 5 minute a.Rate(): 0.004042768199451294 != 0.004042768199451292
> ewma_test.go:43: 6 minute a.Rate(): 0.0014872513059998212 != 0.00148725130599982
> ewma_test.go:47: 7 minute a.Rate(): 0.0005471291793327122 != 0.0005471291793327121
> ewma_test.go:51: 8 minute a.Rate(): 0.00020127757674150815 != 0.0002012775767415081
> ewma_test.go:55: 9 minute a.Rate(): 7.404588245200814e-05 != 7.404588245200811e-05
> ewma_test.go:63: 11 minute a.Rate(): 1.0021020474147462e-05 != 1.0021020474147466e-05
> ewma_test.go:67: 12 minute a.Rate(): 3.6865274119969525e-06 != 3.686527411996955e-06
> ewma_test.go:71: 13 minute a.Rate(): 1.3561976441886433e-06 != 1.356197644188644e-06
> ewma_test.go:75: 14 minute a.Rate(): 4.989172314621449e-07 != 4.989172314621452e-07
> --- FAIL: TestEWMA1 (0.00s)
> === RUN TestEWMA5
> ewma_test.go:116: 7 minute a.Rate(): 0.14795817836496392 != 0.1479581783649639
> ewma_test.go:136: 12 minute a.Rate(): 0.05443077197364752 != 0.054430771973647527
> ewma_test.go:140: 13 minute a.Rate(): 0.04456414692860035 != 0.044564146928600355
> ewma_test.go:144: 14 minute a.Rate(): 0.03648603757513079 != 0.036486037575130796
> --- FAIL: TestEWMA5 (0.00s)
> === RUN TestEWMA15
> --- PASS: TestEWMA15 (0.00s)
> === RUN TestGaugeFloat64
> --- PASS: TestGaugeFloat64 (0.00s)
> === RUN TestGaugeFloat64Snapshot
> --- PASS: TestGaugeFloat64Snapshot (0.00s)
> === RUN TestGetOrRegisterGaugeFloat64
> gauge_float64_test.go:34: registry: &{map[foo:0x400011e590] {0 0}}
> --- PASS: TestGetOrRegisterGaugeFloat64 (0.00s)
> === RUN TestFunctionalGaugeFloat64
> --- PASS: TestFunctionalGaugeFloat64 (0.00s)
> === RUN TestGetOrRegisterFunctionalGaugeFloat64
> --- PASS: TestGetOrRegisterFunctionalGaugeFloat64 (0.00s)
> === RUN TestGauge
> --- PASS: TestGauge (0.00s)
> === RUN TestGaugeSnapshot
> --- PASS: TestGaugeSnapshot (0.00s)
> === RUN TestGetOrRegisterGauge
> --- PASS: TestGetOrRegisterGauge (0.00s)
> === RUN TestFunctionalGauge
> --- PASS: TestFunctionalGauge (0.00s)
> === RUN TestGetOrRegisterFunctionalGauge
> --- PASS: TestGetOrRegisterFunctionalGauge (0.00s)
> === RUN TestGetOrRegisterHistogram
> --- PASS: TestGetOrRegisterHistogram (0.00s)
> === RUN TestHistogram10000
> --- PASS: TestHistogram10000 (0.00s)
> === RUN TestHistogramEmpty
> --- PASS: TestHistogramEmpty (0.00s)
> === RUN TestHistogramSnapshot
> --- PASS: TestHistogramSnapshot (0.00s)
> === RUN TestRegistryMarshallJSON
> --- PASS: TestRegistryMarshallJSON (0.00s)
> === RUN TestRegistryWriteJSONOnce
> --- PASS: TestRegistryWriteJSONOnce (0.00s)
> === RUN TestGetOrRegisterMeter
> --- PASS: TestGetOrRegisterMeter (0.00s)
> === RUN TestMeterDecay
> --- PASS: TestMeterDecay (0.10s)
> === RUN TestMeterNonzero
> --- PASS: TestMeterNonzero (0.00s)
> === RUN TestMeterStop
> --- PASS: TestMeterStop (0.00s)
> === RUN TestMeterSnapshot
> --- PASS: TestMeterSnapshot (0.00s)
> === RUN TestMeterZero
> --- PASS: TestMeterZero (0.00s)
> === RUN TestRegistry
> --- PASS: TestRegistry (0.00s)
> === RUN TestRegistryDuplicate
> --- PASS: TestRegistryDuplicate (0.00s)
> === RUN TestRegistryGet
> --- PASS: TestRegistryGet (0.00s)
> === RUN TestRegistryGetOrRegister
> --- PASS: TestRegistryGetOrRegister (0.00s)
> === RUN TestRegistryGetOrRegisterWithLazyInstantiation
> --- PASS: TestRegistryGetOrRegisterWithLazyInstantiation (0.00s)
> === RUN TestRegistryUnregister
> --- PASS: TestRegistryUnregister (0.00s)
> === RUN TestPrefixedChildRegistryGetOrRegister
> --- PASS: TestPrefixedChildRegistryGetOrRegister (0.00s)
> === RUN TestPrefixedRegistryGetOrRegister
> --- PASS: TestPrefixedRegistryGetOrRegister (0.00s)
> === RUN TestPrefixedRegistryRegister
> --- PASS: TestPrefixedRegistryRegister (0.00s)
> === RUN TestPrefixedRegistryUnregister
> --- PASS: TestPrefixedRegistryUnregister (0.00s)
> === RUN TestPrefixedRegistryGet
> --- PASS: TestPrefixedRegistryGet (0.00s)
> === RUN TestPrefixedChildRegistryGet
> --- PASS: TestPrefixedChildRegistryGet (0.00s)
> === RUN TestChildPrefixedRegistryRegister
> --- PASS: TestChildPrefixedRegistryRegister (0.00s)
> === RUN TestChildPrefixedRegistryOfChildRegister
> --- PASS: TestChildPrefixedRegistryOfChildRegister (0.00s)
> === RUN TestWalkRegistries
> --- PASS: TestWalkRegistries (0.00s)
> === RUN TestRuntimeMemStats
> --- PASS: TestRuntimeMemStats (0.14s)
> === RUN TestRuntimeMemStatsNumThread
> --- PASS: TestRuntimeMemStatsNumThread (0.00s)
> === RUN TestRuntimeMemStatsBlocking
> runtime_test.go:70: i++ during runtime.ReadMemStats: 0
> runtime_test.go:73: 11.742µs
> runtime_test.go:75: i++ during time.Sleep: 11739
> --- PASS: TestRuntimeMemStatsBlocking (0.00s)
> === RUN TestExpDecaySample10
> --- PASS: TestExpDecaySample10 (0.00s)
> === RUN TestExpDecaySample100
> --- PASS: TestExpDecaySample100 (0.00s)
> === RUN TestExpDecaySample1000
> --- PASS: TestExpDecaySample1000 (0.00s)
> === RUN TestExpDecaySampleNanosecondRegression
> --- PASS: TestExpDecaySampleNanosecondRegression (0.00s)
> === RUN TestExpDecaySampleRescale
> --- PASS: TestExpDecaySampleRescale (0.00s)
> === RUN TestExpDecaySampleSnapshot
> --- PASS: TestExpDecaySampleSnapshot (0.00s)
> === RUN TestExpDecaySampleStatistics
> --- PASS: TestExpDecaySampleStatistics (0.00s)
> === RUN TestUniformSample
> --- PASS: TestUniformSample (0.00s)
> === RUN TestUniformSampleIncludesTail
> --- PASS: TestUniformSampleIncludesTail (0.00s)
> === RUN TestUniformSampleSnapshot
> sample_test.go:330: 99th percentile: 9986.429999999998 != 9986.43
> --- FAIL: TestUniformSampleSnapshot (0.00s)
> === RUN TestUniformSampleStatistics
> sample_test.go:330: 99th percentile: 9986.429999999998 != 9986.43
> --- FAIL: TestUniformSampleStatistics (0.00s)
> === RUN TestUniformSampleConcurrentUpdateCount
> --- PASS: TestUniformSampleConcurrentUpdateCount (5.07s)
> === RUN TestGetOrRegisterTimer
> --- PASS: TestGetOrRegisterTimer (0.00s)
> === RUN TestTimerExtremes
> --- PASS: TestTimerExtremes (0.00s)
> === RUN TestTimerStop
> --- PASS: TestTimerStop (0.00s)
> === RUN TestTimerFunc
> --- PASS: TestTimerFunc (0.05s)
> === RUN TestTimerZero
> --- PASS: TestTimerZero (0.00s)
> === RUN TestMetricsSorting
> --- PASS: TestMetricsSorting (0.00s)
> === RUN ExampleGetOrRegisterGauge
> --- PASS: ExampleGetOrRegisterGauge (0.00s)
> === RUN Example
> --- PASS: Example (0.00s)
> === RUN ExampleGetOrRegisterTimer
> --- PASS: ExampleGetOrRegisterTimer (0.00s)
> FAIL
> FAIL github.com/rcrowley/go-metrics 5.383s
> ? github.com/rcrowley/go-metrics/exp [no test files]
> ? github.com/rcrowley/go-metrics/librato [no test files]
> ? github.com/rcrowley/go-metrics/stathat [no test files]
> FAIL
> dh_auto_test: error: cd obj-aarch64-linux-gnu && go test -vet=off -v -p 4 github.com/rcrowley/go-metrics github.com/rcrowley/go-metrics/exp github.com/rcrowley/go-metrics/librato github.com/rcrowley/go-metrics/stathat returned exit code 1
The full build log is available from:
http://qa-logs.debian.net/2020/12/05/golang-github-rcrowley-go-metrics_0.0~git20180125.8732c61-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-go-maintainers
mailing list