[pkg-go] Bug#971160: golang-github-circonus-labs-circonus-gometrics: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/circonus-labs/circonus-gometrics github.com/circonus-labs/circonus-gometrics/api github.com/circonus-labs/circonus-gometrics/api/config github.com/circonus-labs/circonus-gometrics/checkmgr returned exit code 1
Lucas Nussbaum
lucas at debian.org
Sun Sep 27 19:52:03 BST 2020
Source: golang-github-circonus-labs-circonus-gometrics
Version: 2.3.1-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200926 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
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-x86_64-linux-gnu && go install -trimpath -v -p 4 github.com/circonus-labs/circonus-gometrics github.com/circonus-labs/circonus-gometrics/api github.com/circonus-labs/circonus-gometrics/api/config github.com/circonus-labs/circonus-gometrics/checkmgr
> internal/unsafeheader
> runtime/internal/atomic
> internal/cpu
> runtime/internal/sys
> internal/race
> runtime/internal/math
> sync/atomic
> unicode
> unicode/utf8
> encoding
> internal/bytealg
> math/bits
> internal/testlog
> unicode/utf16
> math
> crypto/internal/subtle
> crypto/subtle
> runtime
> container/list
> vendor/golang.org/x/crypto/cryptobyte/asn1
> internal/nettrace
> vendor/golang.org/x/crypto/internal/subtle
> runtime/cgo
> github.com/circonus-labs/circonus-gometrics/api/config
> internal/reflectlite
> sync
> internal/singleflight
> math/rand
> errors
> sort
> internal/oserror
> strconv
> io
> syscall
> vendor/golang.org/x/net/dns/dnsmessage
> bytes
> strings
> reflect
> bufio
> hash
> crypto
> time
> internal/syscall/unix
> internal/syscall/execenv
> crypto/internal/randutil
> crypto/hmac
> crypto/rc4
> vendor/golang.org/x/crypto/hkdf
> hash/crc32
> vendor/golang.org/x/text/transform
> path
> regexp/syntax
> internal/poll
> context
> os
> regexp
> path/filepath
> net
> encoding/binary
> internal/fmtsort
> io/ioutil
> fmt
> vendor/golang.org/x/sys/cpu
> encoding/base64
> crypto/cipher
> crypto/sha512
> encoding/json
> crypto/aes
> math/big
> crypto/des
> crypto/ed25519/internal/edwards25519
> crypto/md5
> crypto/sha1
> crypto/sha256
> crypto/rand
> crypto/elliptic
> encoding/asn1
> crypto/ed25519
> crypto/rsa
> vendor/golang.org/x/crypto/cryptobyte
> crypto/dsa
> encoding/hex
> encoding/pem
> crypto/x509/pkix
> net/url
> crypto/ecdsa
> vendor/golang.org/x/crypto/chacha20
> vendor/golang.org/x/crypto/poly1305
> vendor/golang.org/x/crypto/curve25519
> compress/flate
> log
> vendor/golang.org/x/crypto/chacha20poly1305
> compress/gzip
> vendor/golang.org/x/text/unicode/bidi
> vendor/golang.org/x/text/unicode/norm
> vendor/golang.org/x/net/http2/hpack
> vendor/golang.org/x/text/secure/bidirule
> mime
> mime/quotedprintable
> net/http/internal
> github.com/pkg/errors
> github.com/circonus-labs/circonusllhist
> vendor/golang.org/x/net/idna
> vendor/golang.org/x/net/http/httpproxy
> net/textproto
> crypto/x509
> vendor/golang.org/x/net/http/httpguts
> mime/multipart
> crypto/tls
> net/http/httptrace
> net/http
> github.com/hashicorp/go-cleanhttp
> github.com/tv42/httpunix
> github.com/hashicorp/go-retryablehttp
> github.com/circonus-labs/circonus-gometrics/api
> github.com/circonus-labs/circonus-gometrics/checkmgr
> github.com/circonus-labs/circonus-gometrics
> dh_auto_test -O--buildsystem=golang
> cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/circonus-labs/circonus-gometrics github.com/circonus-labs/circonus-gometrics/api github.com/circonus-labs/circonus-gometrics/api/config github.com/circonus-labs/circonus-gometrics/checkmgr
> === RUN TestNew
> circonus-gometrics_test.go:66: invalid config (none)
> circonus-gometrics_test.go:75: no API token, no submission URL
> circonus-gometrics_test.go:85: no API token, submission URL only
> circonus-gometrics_test.go:110: no Log, Debug = true
> circonus-gometrics_test.go:122: flush interval [good]
> circonus-gometrics_test.go:133: flush interval [bad]
> circonus-gometrics_test.go:144: Expected parsing flush interval: time: invalid duration thirty seconds got 'parsing flush interval: time: invalid duration "thirty seconds"'
> --- FAIL: TestNew (0.00s)
> === RUN TestFlush
> circonus-gometrics_test.go:303: Already flushing
> circonus-gometrics_test.go:316: No metrics
> circonus-gometrics_test.go:328: counter
> circonus-gometrics_test.go:342: gauge
> circonus-gometrics_test.go:356: histogram
> circonus-gometrics_test.go:370: text
> --- PASS: TestFlush (0.00s)
> === RUN TestPackageMetrics
> circonus-gometrics_test.go:390: Not flushing
> --- PASS: TestPackageMetrics (0.00s)
> === RUN TestFlushMetrics
> circonus-gometrics_test.go:410: Already flushing
> circonus-gometrics_test.go:424: No metrics
> circonus-gometrics_test.go:437: counter
> circonus-gometrics_test.go:461: gauge
> circonus-gometrics_test.go:485: histogram
> circonus-gometrics_test.go:510: text
> --- PASS: TestFlushMetrics (0.00s)
> === RUN TestPromOutput
> circonus-gometrics_test.go:539: No metrics
> circonus-gometrics_test.go:555: counter
> circonus-gometrics_test.go:590: gauge
> circonus-gometrics_test.go:626: histogram
> circonus-gometrics_test.go:663: text
> --- PASS: TestPromOutput (0.00s)
> === RUN TestSet
> counter_test.go:12: Testing counter.Set
> --- PASS: TestSet (0.00s)
> === RUN TestGetCounterTest
> counter_test.go:40: Testing counter.GetCounterTest
> --- PASS: TestGetCounterTest (0.00s)
> === RUN TestIncrement
> counter_test.go:62: Testing counter.Increment
> --- PASS: TestIncrement (0.00s)
> === RUN TestIncrementByValue
> counter_test.go:79: Testing counter.IncrementByValue
> --- PASS: TestIncrementByValue (0.00s)
> === RUN TestAdd
> counter_test.go:96: Testing counter.Add
> --- PASS: TestAdd (0.00s)
> === RUN TestRemoveCounter
> counter_test.go:113: Testing counter.RemoveCounter
> --- PASS: TestRemoveCounter (0.00s)
> === RUN TestSetCounterFunc
> counter_test.go:141: Testing counter.SetCounterFunc
> --- PASS: TestSetCounterFunc (0.00s)
> === RUN TestRemoveCounterFunc
> counter_test.go:162: Testing counter.RemoveCounterFunc
> --- PASS: TestRemoveCounterFunc (0.00s)
> === RUN TestGauge
> gauge_test.go:12: Testing gauge.Gauge
> gauge_test.go:14: int
> gauge_test.go:30: int8
> gauge_test.go:46: int16
> gauge_test.go:62: int32
> gauge_test.go:78: int64
> gauge_test.go:94: uint
> gauge_test.go:110: uint8
> gauge_test.go:126: uint16
> gauge_test.go:142: uint32
> gauge_test.go:158: uint64
> gauge_test.go:174: float32
> gauge_test.go:190: float64
> --- PASS: TestGauge (0.00s)
> === RUN TestAddGauge
> gauge_test.go:208: Testing gauge.AddGauge
> gauge_test.go:210: int
> gauge_test.go:229: int8
> gauge_test.go:248: int16
> gauge_test.go:267: int32
> gauge_test.go:286: int64
> gauge_test.go:305: uint
> gauge_test.go:324: uint8
> gauge_test.go:343: uint16
> gauge_test.go:362: uint32
> gauge_test.go:381: uint64
> gauge_test.go:400: float32
> gauge_test.go:419: float64
> --- PASS: TestAddGauge (0.00s)
> === RUN TestSetGauge
> gauge_test.go:440: Testing gauge.SetGauge
> --- PASS: TestSetGauge (0.00s)
> === RUN TestGetGaugeTest
> gauge_test.go:458: Testing gauge.GetGaugeTest
> --- PASS: TestGetGaugeTest (0.00s)
> === RUN TestRemoveGauge
> gauge_test.go:481: Testing gauge.RemoveGauge
> --- PASS: TestRemoveGauge (0.00s)
> === RUN TestSetGaugeFunc
> gauge_test.go:509: Testing gauge.SetGaugeFunc
> --- PASS: TestSetGaugeFunc (0.00s)
> === RUN TestRemoveGaugeFunc
> gauge_test.go:530: Testing gauge.RemoveGaugeFunc
> --- PASS: TestRemoveGaugeFunc (0.00s)
> === RUN TestTiming
> histogram_test.go:13: Testing histogram.Timing
> --- PASS: TestTiming (0.00s)
> === RUN TestRecordValue
> histogram_test.go:40: Testing histogram.RecordValue
> --- PASS: TestRecordValue (0.00s)
> === RUN TestRecordCountForValue
> histogram_test.go:67: Testing histogram.RecordCountForValue
> --- PASS: TestRecordCountForValue (0.00s)
> === RUN TestSetHistogramValue
> histogram_test.go:94: Testing histogram.SetHistogramValue
> --- PASS: TestSetHistogramValue (0.00s)
> === RUN TestGetHistogramTest
> histogram_test.go:121: Testing histogram.GetHistogramTest
> --- PASS: TestGetHistogramTest (0.00s)
> === RUN TestRemoveHistogram
> histogram_test.go:147: Testing histogram.RemoveHistogram
> --- PASS: TestRemoveHistogram (0.00s)
> === RUN TestNewHistogram
> histogram_test.go:185: Testing histogram.NewHistogram
> --- PASS: TestNewHistogram (0.00s)
> === RUN TestHistName
> histogram_test.go:199: Testing hist.Name
> --- PASS: TestHistName (0.00s)
> === RUN TestHistRecordValue
> histogram_test.go:219: Testing hist.RecordValue
> --- PASS: TestHistRecordValue (0.00s)
> === RUN TestSubmit
> submit_test.go:29: Testing submit.submit
> --- PASS: TestSubmit (0.00s)
> === RUN TestTrapCall
> submit_test.go:52: Testing submit.trapCall
> --- PASS: TestTrapCall (0.00s)
> === RUN TestSetText
> text_test.go:12: Testing gauge.SetText
> --- PASS: TestSetText (0.00s)
> === RUN TestSetTextValue
> text_test.go:29: Testing gauge.SetTextValue
> --- PASS: TestSetTextValue (0.00s)
> === RUN TestRemoveText
> text_test.go:46: Testing text.RemoveText
> --- PASS: TestRemoveText (0.00s)
> === RUN TestSetTextFunc
> text_test.go:74: Testing text.SetTextFunc
> --- PASS: TestSetTextFunc (0.00s)
> === RUN TestRemoveTextFunc
> text_test.go:94: Testing text.RemoveTextFunc
> --- PASS: TestRemoveTextFunc (0.00s)
> === RUN TestReset
> util_test.go:12: Testing util.Reset
> --- PASS: TestReset (0.00s)
> === RUN TestSnapshot
> util_test.go:68: Testing util.snapshot
> --- PASS: TestSnapshot (0.00s)
> FAIL
> FAIL github.com/circonus-labs/circonus-gometrics 0.009s
> === RUN TestFetchAccount
> account_test.go:138: invalid CID [nil]
> account_test.go:152: invalid CID [""]
> account_test.go:167: invalid CID [/invalid]
> account_test.go:180: valid CID
> --- PASS: TestFetchAccount (0.00s)
> === RUN TestFetchAccounts
> --- PASS: TestFetchAccounts (0.00s)
> === RUN TestUpdateAccount
> account_test.go:243: invalid config [nil]
> account_test.go:255: invalid config [CID /invalid]
> account_test.go:268: valid config
> --- PASS: TestUpdateAccount (0.00s)
> === RUN TestSearchAccounts
> account_test.go:301: no filter
> account_test.go:315: filter
> --- PASS: TestSearchAccounts (0.00s)
> === RUN TestNewAcknowledgement
> --- PASS: TestNewAcknowledgement (0.00s)
> === RUN TestFetchAcknowledgement
> acknowledgement_test.go:134: invalid CID [nil]
> acknowledgement_test.go:146: invalid CID [""]
> acknowledgement_test.go:159: invalid CID [/invalid]
> acknowledgement_test.go:172: valid CID
> --- PASS: TestFetchAcknowledgement (0.00s)
> === RUN TestFetchAcknowledgements
> --- PASS: TestFetchAcknowledgements (0.00s)
> === RUN TestUpdateAcknowledgement
> acknowledgement_test.go:235: invalid config [nil]
> acknowledgement_test.go:247: invalid config [CID /invalid]
> acknowledgement_test.go:260: valid config
> --- PASS: TestUpdateAcknowledgement (0.00s)
> === RUN TestCreateAcknowledgement
> acknowledgement_test.go:289: invalid config [nil]
> acknowledgement_test.go:301: valid config
> --- PASS: TestCreateAcknowledgement (0.00s)
> === RUN TestSearchAcknowledgement
> acknowledgement_test.go:332: no search, no filter
> acknowledgement_test.go:346: search, no filter
> acknowledgement_test.go:361: no search, filter
> acknowledgement_test.go:376: search, filter
> --- PASS: TestSearchAcknowledgement (0.00s)
> === RUN TestNewAlert
> --- PASS: TestNewAlert (0.00s)
> === RUN TestFetchAlert
> alert_test.go:120: invalid CID [nil]
> alert_test.go:132: invalid CID [""]
> alert_test.go:145: invalid CID [/invalid]
> alert_test.go:158: valid CID
> --- PASS: TestFetchAlert (0.00s)
> === RUN TestFetchAlerts
> --- PASS: TestFetchAlerts (0.00s)
> === RUN TestSearchAlerts
> alert_test.go:221: no search, no filter
> alert_test.go:235: search, no filter
> alert_test.go:250: no search, filter
> alert_test.go:265: search, filter
> --- PASS: TestSearchAlerts (0.00s)
> === RUN TestNewAnnotation
> --- PASS: TestNewAnnotation (0.00s)
> === RUN TestFetchAnnotation
> annotation_test.go:137: ivnalid CID [nil]
> annotation_test.go:149: invalid CID [""]
> annotation_test.go:162: invalid CID [/invalid]
> annotation_test.go:175: valid CID
> --- PASS: TestFetchAnnotation (0.00s)
> === RUN TestFetchAnnotations
> --- PASS: TestFetchAnnotations (0.00s)
> === RUN TestUpdateAnnotation
> annotation_test.go:238: invalid config [nil]
> annotation_test.go:250: invalid config [CID /invalid]
> annotation_test.go:263: valid config
> --- PASS: TestUpdateAnnotation (0.00s)
> === RUN TestCreateAnnotation
> annotation_test.go:292: invalid config [nil]
> annotation_test.go:304: valid config
> --- PASS: TestCreateAnnotation (0.00s)
> === RUN TestDeleteAnnotation
> annotation_test.go:335: invalid config [nil]
> annotation_test.go:347: invalid config [CID /invalid]
> annotation_test.go:360: valid config
> --- PASS: TestDeleteAnnotation (0.00s)
> === RUN TestDeleteAnnotationByCID
> annotation_test.go:386: invalid CID [nil]
> annotation_test.go:398: invalid CID [""]
> annotation_test.go:411: invalid CID [/invalid]
> annotation_test.go:424: valid CID
> --- PASS: TestDeleteAnnotationByCID (0.00s)
> === RUN TestSearchAnnotations
> annotation_test.go:453: no search, no filter
> annotation_test.go:467: search, no filter
> annotation_test.go:481: no search, filter
> annotation_test.go:495: search, filter
> --- PASS: TestSearchAnnotations (0.00s)
> === RUN TestFetchBroker
> broker_test.go:117: invalid CID [nil]
> broker_test.go:129: invalid CID [""]
> broker_test.go:142: invalid CID [/invalid]
> broker_test.go:155: valid CID
> --- PASS: TestFetchBroker (0.00s)
> === RUN TestFetchBrokers
> --- PASS: TestFetchBrokers (0.00s)
> === RUN TestSearchBrokers
> broker_test.go:215: no search, no filter
> broker_test.go:229: search, no filter
> broker_test.go:244: no search, filter
> broker_test.go:259: search, filter
> --- PASS: TestSearchBrokers (0.00s)
> === RUN TestFetchCheckBundleMetrics
> check_bundle_metrics_test.go:80: invalid CID [nil]
> check_bundle_metrics_test.go:92: invalid CID [""]
> check_bundle_metrics_test.go:105: invalid CID [/invalid]
> check_bundle_metrics_test.go:118: valid CID
> --- PASS: TestFetchCheckBundleMetrics (0.00s)
> === RUN TestUpdateCheckBundleMetrics
> check_bundle_metrics_test.go:154: invalid config [nil]
> check_bundle_metrics_test.go:166: invalid config [CID /invalid]
> check_bundle_metrics_test.go:179: valid config
> --- PASS: TestUpdateCheckBundleMetrics (0.00s)
> === RUN TestNewCheckBundle
> --- PASS: TestNewCheckBundle (0.00s)
> === RUN TestFetchCheckBundle
> check_bundle_test.go:146: invalid CID [nil]
> check_bundle_test.go:158: invalid CID [""]
> check_bundle_test.go:171: invalid CID [/invalid]
> check_bundle_test.go:184: valid CID
> --- PASS: TestFetchCheckBundle (0.00s)
> === RUN TestUpdateCheckBundle
> check_bundle_test.go:218: invalid config [nil]
> check_bundle_test.go:230: invalid config [CID /invalid]
> check_bundle_test.go:243: valid config
> --- PASS: TestUpdateCheckBundle (0.00s)
> === RUN TestCreateCheckBundle
> check_bundle_test.go:272: invalid config [nil]
> check_bundle_test.go:284: valid config
> --- PASS: TestCreateCheckBundle (0.00s)
> === RUN TestDeleteCheckBundle
> check_bundle_test.go:313: invalid config [nil]
> check_bundle_test.go:325: invalid config [CID /invalid]
> check_bundle_test.go:338: valid config
> --- PASS: TestDeleteCheckBundle (0.00s)
> === RUN TestDeleteCheckBundleByCID
> check_bundle_test.go:365: invalid CID [nil]
> check_bundle_test.go:377: invalid CID [""]
> check_bundle_test.go:390: invalid CID [/invalid]
> check_bundle_test.go:403: valid CID
> --- PASS: TestDeleteCheckBundleByCID (0.00s)
> === RUN TestSearchCheckBundles
> check_bundle_test.go:431: no search, no filter
> check_bundle_test.go:445: search, no filter
> check_bundle_test.go:460: no search, filter
> check_bundle_test.go:475: search, filter
> --- PASS: TestSearchCheckBundles (0.00s)
> === RUN TestFetchCheck
> check_test.go:102: invalid CID [nil]
> check_test.go:114: invalid CID [""]
> check_test.go:127: invalid CID [/invalid]
> check_test.go:140: valid CID
> --- PASS: TestFetchCheck (0.00s)
> === RUN TestSearchChecks
> check_test.go:177: no search, no filter
> check_test.go:191: search, no filter
> check_test.go:206: no search, filter
> check_test.go:221: search, filter
> --- PASS: TestSearchChecks (0.00s)
> === RUN TestNewContactGroup
> --- PASS: TestNewContactGroup (0.00s)
> === RUN TestFetchContactGroup
> contact_group_test.go:172: invalid CID [nil]
> contact_group_test.go:184: invalid CID [""]
> contact_group_test.go:197: invalid CID [/invalid]
> contact_group_test.go:210: valid CID
> --- PASS: TestFetchContactGroup (0.00s)
> === RUN TestFetchContactGroups
> --- PASS: TestFetchContactGroups (0.00s)
> === RUN TestUpdateContactGroup
> contact_group_test.go:271: invalid config [nil]
> contact_group_test.go:283: invalid config [CID /invalid]
> contact_group_test.go:296: valid CID
> --- PASS: TestUpdateContactGroup (0.00s)
> === RUN TestCreateContactGroup
> contact_group_test.go:325: invalid config [nil]
> contact_group_test.go:337: valid config
> --- PASS: TestCreateContactGroup (0.00s)
> === RUN TestDeleteContactGroup
> contact_group_test.go:368: invalid config [nil]
> contact_group_test.go:380: invalid config [CID /invalid]
> contact_group_test.go:393: valid config
> --- PASS: TestDeleteContactGroup (0.00s)
> === RUN TestDeleteContactGroupByCID
> contact_group_test.go:418: invalid CID [nil]
> contact_group_test.go:430: invalid CID [""]
> contact_group_test.go:443: invalid CID [/invalid]
> contact_group_test.go:456: valid CID
> --- PASS: TestDeleteContactGroupByCID (0.00s)
> === RUN TestSearchContactGroups
> contact_group_test.go:482: no search, no filter
> contact_group_test.go:496: search, no filter
> contact_group_test.go:511: no search, filter
> contact_group_test.go:526: search, filter
> --- PASS: TestSearchContactGroups (0.00s)
> === RUN TestNewDashboard
> --- PASS: TestNewDashboard (0.00s)
> === RUN TestFetchDashboard
> dashboard_test.go:525: invalid CID [nil]
> dashboard_test.go:537: invalid CID [""]
> dashboard_test.go:550: invalid CID [/invalid]
> dashboard_test.go:563: valid CID
> --- PASS: TestFetchDashboard (0.00s)
> === RUN TestFetchDashboards
> --- PASS: TestFetchDashboards (0.00s)
> === RUN TestUpdateDashboard
> dashboard_test.go:626: invalid config [nil]
> dashboard_test.go:638: invalid config [CID /invalid]
> dashboard_test.go:651: valid config
> --- PASS: TestUpdateDashboard (0.00s)
> === RUN TestCreateDashboard
> dashboard_test.go:682: invalid config [nil]
> dashboard_test.go:694: valid config
> --- PASS: TestCreateDashboard (0.00s)
> === RUN TestDeleteDashboard
> dashboard_test.go:725: invalid config [nil]
> dashboard_test.go:737: invalid config [CID /invalid]
> dashboard_test.go:750: valid config
> --- PASS: TestDeleteDashboard (0.00s)
> === RUN TestDeleteDashboardByCID
> dashboard_test.go:775: invalid CID [nil]
> dashboard_test.go:787: invalid CID [""]
> dashboard_test.go:800: invalid CID [/invalid]
> dashboard_test.go:813: valid CID
> --- PASS: TestDeleteDashboardByCID (0.00s)
> === RUN TestSearchDashboards
> dashboard_test.go:842: no search, no filter
> dashboard_test.go:856: search, no filter
> dashboard_test.go:870: no search, filter
> dashboard_test.go:884: search, filter
> --- PASS: TestSearchDashboards (0.00s)
> === RUN TestNewGraph
> --- PASS: TestNewGraph (0.00s)
> === RUN TestFetchGraph
> graph_test.go:173: invalid CID [nil]
> graph_test.go:185: invalid CID [""]
> graph_test.go:198: invalid CID [/invalid]
> graph_test.go:211: valid CID
> --- PASS: TestFetchGraph (0.00s)
> === RUN TestFetchGraphs
> --- PASS: TestFetchGraphs (0.00s)
> === RUN TestUpdateGraph
> graph_test.go:275: invalid config [nil]
> graph_test.go:287: invalid config [CID /invalid]
> graph_test.go:300: valid Graph
> --- PASS: TestUpdateGraph (0.00s)
> === RUN TestCreateGraph
> graph_test.go:331: invalid config [nil]
> graph_test.go:343: valid config
> --- PASS: TestCreateGraph (0.00s)
> === RUN TestDeleteGraph
> graph_test.go:374: invalid config [nil]
> graph_test.go:386: invalid config [CID /invalid]
> graph_test.go:399: valid config
> --- PASS: TestDeleteGraph (0.00s)
> === RUN TestDeleteGraphByCID
> graph_test.go:424: invalid CID [nil]
> graph_test.go:436: invalid CID [""]
> graph_test.go:449: invalid CID [/invalid]
> graph_test.go:462: valid config
> --- PASS: TestDeleteGraphByCID (0.00s)
> === RUN TestSearchGraphs
> graph_test.go:491: no search, no filter
> graph_test.go:505: search, no filter
> graph_test.go:519: no search, filter
> graph_test.go:533: search, filter
> --- PASS: TestSearchGraphs (0.00s)
> === RUN TestGraphOverlaySet
> graph_test.go:549: testing graph overlay set struct
> --- PASS: TestGraphOverlaySet (0.00s)
> === RUN TestNewMaintenanceWindow
> --- PASS: TestNewMaintenanceWindow (0.00s)
> === RUN TestFetchMaintenanceWindow
> maintenance_test.go:137: invalid CID [nil]
> maintenance_test.go:150: invalid CID [""]
> maintenance_test.go:163: invalid CID [/invalid]
> maintenance_test.go:176: valid CID
> --- PASS: TestFetchMaintenanceWindow (0.00s)
> === RUN TestFetchMaintenanceWindows
> --- PASS: TestFetchMaintenanceWindows (0.00s)
> === RUN TestUpdateMaintenanceWindow
> maintenance_test.go:237: invalid config [nil]
> maintenance_test.go:249: invalid config [CID /invalid]
> maintenance_test.go:262: valid config
> --- PASS: TestUpdateMaintenanceWindow (0.00s)
> === RUN TestCreateMaintenanceWindow
> maintenance_test.go:291: invalid config [nil]
> maintenance_test.go:303: valid config
> --- PASS: TestCreateMaintenanceWindow (0.00s)
> === RUN TestDeleteMaintenanceWindow
> maintenance_test.go:334: invalid config [nil]
> maintenance_test.go:346: invalid config [CID /invalid]
> maintenance_test.go:359: valid config
> --- PASS: TestDeleteMaintenanceWindow (0.00s)
> === RUN TestDeleteMaintenanceWindowByCID
> maintenance_test.go:384: invalid CID [nil]
> maintenance_test.go:396: invalid CID [""]
> maintenance_test.go:409: invalid CID [/invalid]
> maintenance_test.go:422: valid CID
> --- PASS: TestDeleteMaintenanceWindowByCID (0.00s)
> === RUN TestSearchMaintenances
> maintenance_test.go:451: no search, no filter
> maintenance_test.go:465: search, no filter
> maintenance_test.go:479: no search, filter
> maintenance_test.go:493: search, filter
> --- PASS: TestSearchMaintenances (0.00s)
> === RUN TestNewMetricCluster
> --- PASS: TestNewMetricCluster (0.00s)
> === RUN TestFetchMetricCluster
> metric_cluster_test.go:143: invalid CID [nil]
> metric_cluster_test.go:155: invalid CID [""]
> metric_cluster_test.go:168: invalid CID [/invalid]
> metric_cluster_test.go:181: valid CID, extras ''
> metric_cluster_test.go:199: valid CID, extras 'metrics'
> metric_cluster_test.go:211: valid CID, extras 'uuids'
> --- PASS: TestFetchMetricCluster (0.00s)
> === RUN TestFetchMetricClusters
> metric_cluster_test.go:238: no extras
> metric_cluster_test.go:252: extras 'metrics'
> metric_cluster_test.go:266: extras 'uuids'
> --- PASS: TestFetchMetricClusters (0.00s)
> === RUN TestUpdateMetricCluster
> metric_cluster_test.go:295: invalid config [nil]
> metric_cluster_test.go:307: invalid config [CID /invalid]
> metric_cluster_test.go:320: valid config
> --- PASS: TestUpdateMetricCluster (0.00s)
> === RUN TestCreateMetricCluster
> metric_cluster_test.go:352: invalid config [nil]
> metric_cluster_test.go:364: valid config
> --- PASS: TestCreateMetricCluster (0.00s)
> === RUN TestDeleteMetricCluster
> metric_cluster_test.go:395: invalid config [nil]
> metric_cluster_test.go:407: invalid config [CID /invalid]
> metric_cluster_test.go:420: valid config
> --- PASS: TestDeleteMetricCluster (0.00s)
> === RUN TestDeleteMetricClusterByCID
> metric_cluster_test.go:445: invalid CID [nil]
> metric_cluster_test.go:457: invalid CID [""]
> metric_cluster_test.go:470: invalid CID [/invalid]
> metric_cluster_test.go:483: valid CID
> --- PASS: TestDeleteMetricClusterByCID (0.00s)
> === RUN TestSearchMetricClusters
> metric_cluster_test.go:512: no search, no filter
> metric_cluster_test.go:526: search, no filter
> metric_cluster_test.go:540: no search, filter
> metric_cluster_test.go:554: search, filter
> --- PASS: TestSearchMetricClusters (0.00s)
> === RUN TestFetchMetric
> metric_test.go:116: without CID
> metric_test.go:129: with valid CID
> metric_test.go:148: with invalid CID
> --- PASS: TestFetchMetric (0.00s)
> === RUN TestFetchMetrics
> --- PASS: TestFetchMetrics (0.00s)
> === RUN TestUpdateMetric
> metric_test.go:205: valid Metric
> metric_test.go:219: Test with invalid CID
> --- PASS: TestUpdateMetric (0.00s)
> === RUN TestSearchMetrics
> metric_test.go:252: no search, no filter
> metric_test.go:266: search, no filter
> metric_test.go:280: no search, filter
> metric_test.go:294: search, filter
> --- PASS: TestSearchMetrics (0.00s)
> === RUN TestNewOutlierReport
> --- PASS: TestNewOutlierReport (0.00s)
> === RUN TestFetchOutlierReport
> outlier_report_test.go:138: invalid CID [nil]
> outlier_report_test.go:150: invalid CID [""]
> outlier_report_test.go:163: invalid CID [/invalid]
> outlier_report_test.go:176: valid CID
> --- PASS: TestFetchOutlierReport (0.00s)
> === RUN TestFetchOutlierReports
> --- PASS: TestFetchOutlierReports (0.00s)
> === RUN TestUpdateOutlierReport
> outlier_report_test.go:239: invalid config [nil]
> outlier_report_test.go:251: invalid config [CID /invalid]
> outlier_report_test.go:264: valid config
> --- PASS: TestUpdateOutlierReport (0.00s)
> === RUN TestCreateOutlierReport
> outlier_report_test.go:295: invalid config [nil]
> outlier_report_test.go:307: valid config
> --- PASS: TestCreateOutlierReport (0.00s)
> === RUN TestDeleteOutlierReport
> outlier_report_test.go:338: invalid config [nil]
> outlier_report_test.go:350: invalid config [CID /invalid]
> outlier_report_test.go:363: valid config
> --- PASS: TestDeleteOutlierReport (0.00s)
> === RUN TestDeleteOutlierReportByCID
> outlier_report_test.go:388: invalid CID [nil]
> outlier_report_test.go:400: invalid CID [""]
> outlier_report_test.go:413: invalid CID [/invalid]
> outlier_report_test.go:426: valid CID`
> --- PASS: TestDeleteOutlierReportByCID (0.00s)
> === RUN TestSearchOutlierReports
> outlier_report_test.go:455: no search, no filter
> outlier_report_test.go:469: search, no filter
> outlier_report_test.go:483: no search, filter
> outlier_report_test.go:497: search, filter
> --- PASS: TestSearchOutlierReports (0.00s)
> === RUN TestNewProvisionBroker
> --- PASS: TestNewProvisionBroker (0.00s)
> === RUN TestFetchProvisionBroker
> provision_broker_test.go:115: invalid CID [nil]
> provision_broker_test.go:127: invalid CID [""]
> provision_broker_test.go:140: invalid CID [/invalid]
> provision_broker_test.go:153: valid CID
> --- PASS: TestFetchProvisionBroker (0.00s)
> === RUN TestUpdateProvisionBroker
> provision_broker_test.go:189: invalid CID [nil], config n/a
> provision_broker_test.go:202: invalid CID [/invalid], config n/a
> provision_broker_test.go:216: valid CID, invalid config [nil]
> provision_broker_test.go:229: valid CID, valid config
> --- PASS: TestUpdateProvisionBroker (0.00s)
> === RUN TestCreateProvisionBroker
> provision_broker_test.go:261: invalid config [nil]
> provision_broker_test.go:273: valid config
> --- PASS: TestCreateProvisionBroker (0.00s)
> === RUN TestNewRuleSetGroup
> --- PASS: TestNewRuleSetGroup (0.00s)
> === RUN TestFetchRuleSetGroup
> rule_set_group_test.go:164: invalid CID [nil]
> rule_set_group_test.go:176: invalid CID [""]
> rule_set_group_test.go:189: invalid CID [/invalid]
> rule_set_group_test.go:202: valid CID
> --- PASS: TestFetchRuleSetGroup (0.00s)
> === RUN TestFetchRuleSetGroups
> --- PASS: TestFetchRuleSetGroups (0.00s)
> === RUN TestUpdateRuleSetGroup
> rule_set_group_test.go:264: invalid config [nil]
> rule_set_group_test.go:276: invalid config [CID /invalid]
> rule_set_group_test.go:289: valid config
> --- PASS: TestUpdateRuleSetGroup (0.00s)
> === RUN TestCreateRuleSetGroup
> rule_set_group_test.go:320: invalid config [nil]
> rule_set_group_test.go:332: valid config
> --- PASS: TestCreateRuleSetGroup (0.00s)
> === RUN TestDeleteRuleSetGroup
> rule_set_group_test.go:363: invalid config [nil]
> rule_set_group_test.go:375: invalid config [CID /invalid]
> rule_set_group_test.go:388: valid config
> --- PASS: TestDeleteRuleSetGroup (0.00s)
> === RUN TestDeleteRuleSetGroupByCID
> rule_set_group_test.go:413: invalid CID [nil]
> rule_set_group_test.go:425: invalid CID [""]
> rule_set_group_test.go:438: invalid CID [/invalid]
> rule_set_group_test.go:451: valid CID
> --- PASS: TestDeleteRuleSetGroupByCID (0.00s)
> === RUN TestSearchRuleSetGroups
> rule_set_group_test.go:480: no search, no filter
> rule_set_group_test.go:494: search, no filter
> rule_set_group_test.go:508: no search, filter
> rule_set_group_test.go:522: search, filter
> --- PASS: TestSearchRuleSetGroups (0.00s)
> === RUN TestNewRuleSet
> --- PASS: TestNewRuleSet (0.00s)
> === RUN TestFetchRuleSet
> rule_set_test.go:160: invalid CID [nil]
> rule_set_test.go:172: invalid CID [""]
> rule_set_test.go:185: invalid CID [/invalid]
> rule_set_test.go:198: valid CID
> --- PASS: TestFetchRuleSet (0.00s)
> === RUN TestFetchRuleSets
> --- PASS: TestFetchRuleSets (0.00s)
> === RUN TestUpdateRuleSet
> rule_set_test.go:260: invalid config [nil]
> rule_set_test.go:272: invalid config [CID /invalid]
> rule_set_test.go:285: valid config
> --- PASS: TestUpdateRuleSet (0.00s)
> === RUN TestCreateRuleSet
> rule_set_test.go:316: invalid config [nil]
> rule_set_test.go:328: valid config
> --- PASS: TestCreateRuleSet (0.00s)
> === RUN TestDeleteRuleSet
> rule_set_test.go:359: invalid config [nil]
> rule_set_test.go:371: invalid config [CID /invalid]
> rule_set_test.go:384: valid config
> --- PASS: TestDeleteRuleSet (0.00s)
> === RUN TestDeleteRuleSetByCID
> rule_set_test.go:409: invalid config [nil]
> rule_set_test.go:421: invalid CID [""]
> rule_set_test.go:434: invalid CID [/invalid]
> rule_set_test.go:447: valid CID
> --- PASS: TestDeleteRuleSetByCID (0.00s)
> === RUN TestSearchRuleSets
> rule_set_test.go:476: no search, no filter
> rule_set_test.go:490: search, no filter
> rule_set_test.go:504: no search, filter
> rule_set_test.go:518: search, filter
> --- PASS: TestSearchRuleSets (0.00s)
> === RUN TestFetchUser
> user_test.go:108: invalid CID [nil]
> user_test.go:122: invalid CID [""]
> user_test.go:137: invalid CID [/invalid]
> user_test.go:150: valid CID
> --- PASS: TestFetchUser (0.00s)
> === RUN TestFetchUsers
> --- PASS: TestFetchUsers (0.00s)
> === RUN TestUpdateUser
> user_test.go:213: invalid config [nil]
> user_test.go:225: invalid config [CID /invalid]
> user_test.go:238: valid config
> --- PASS: TestUpdateUser (0.00s)
> === RUN TestSearchUsers
> user_test.go:271: no filter
> user_test.go:285: filter
> --- PASS: TestSearchUsers (0.00s)
> === RUN TestNewWorksheet
> --- PASS: TestNewWorksheet (0.00s)
> === RUN TestFetchWorksheet
> worksheet_test.go:147: invalid CID [nil]
> worksheet_test.go:159: invalid CID [""]
> worksheet_test.go:172: invalid CID [/invalid]
> worksheet_test.go:185: valid CID
> --- PASS: TestFetchWorksheet (0.00s)
> === RUN TestFetchWorksheets
> --- PASS: TestFetchWorksheets (0.00s)
> === RUN TestUpdateWorksheet
> worksheet_test.go:248: invalid config [nil]
> worksheet_test.go:260: invalid config [CID /invalid]
> worksheet_test.go:273: valid config
> --- PASS: TestUpdateWorksheet (0.00s)
> === RUN TestCreateWorksheet
> worksheet_test.go:305: invalid config [nil]
> worksheet_test.go:317: valid config
> --- PASS: TestCreateWorksheet (0.00s)
> === RUN TestDeleteWorksheet
> worksheet_test.go:348: invalid config [nil]
> worksheet_test.go:360: invalid config [CID /invalid]
> worksheet_test.go:373: valid config
> --- PASS: TestDeleteWorksheet (0.00s)
> === RUN TestDeleteWorksheetByCID
> worksheet_test.go:399: invalid CID [nil]
> worksheet_test.go:411: invalid CID [""]
> worksheet_test.go:424: invalid CID [/invalid]
> worksheet_test.go:437: valid CID
> --- PASS: TestDeleteWorksheetByCID (0.00s)
> === RUN TestSearchWorksheets
> worksheet_test.go:466: no search, no filter
> worksheet_test.go:480: search, no filter
> worksheet_test.go:494: no search, filter
> worksheet_test.go:508: search, filter
> --- PASS: TestSearchWorksheets (0.00s)
> PASS
> ok github.com/circonus-labs/circonus-gometrics/api 0.058s
> ? github.com/circonus-labs/circonus-gometrics/api/config [no test files]
> === RUN TestBrokerSupportsCheckType
> broker_test.go:187: supports 'httptrap' check type?
> broker_test.go:195: supports 'foo' check type?
> --- PASS: TestBrokerSupportsCheckType (0.00s)
> === RUN TestGetBrokerCN
> broker_test.go:206: URL with IP
> broker_test.go:217: URL with FQDN
> broker_test.go:228: URL with invalid IP
> --- PASS: TestGetBrokerCN (0.00s)
> === RUN TestSelectBroker
> broker_test.go:270: default broker selection
> broker_test.go:293: tag, no brokers matching
> broker_test.go:322: multiple brokers with tag, none valid
> --- PASS: TestSelectBroker (0.00s)
> === RUN TestIsValidBroker
> broker_test.go:377: status unprovisioned
> broker_test.go:384: no ip or host
> 2020/09/27 11:18:52 [WARN] Broker 'no ip or external host broker' instance foobar has no IP or external host set
> broker_test.go:391: does not have required module
> --- PASS: TestIsValidBroker (0.00s)
> === RUN TestIsValidBrokerTimeout
> broker_test.go:403: not testing timeouts, CIRCONUS_BROKER_TEST_TIMEOUT not set
> --- SKIP: TestIsValidBrokerTimeout (0.00s)
> === RUN TestGetBroker
> broker_test.go:483: invalid custom broker
> broker_test.go:506: valid custom broker
> --- PASS: TestGetBroker (0.00s)
> === RUN TestLoadCACert
> cert_test.go:44: default cert, no fetch
> --- PASS: TestLoadCACert (0.00s)
> === RUN TestFetchCert
> cert_test.go:85: load cert w/fetch
> --- PASS: TestFetchCert (0.00s)
> === RUN TestUpdateCheck
> check_test.go:250: check manager disabled
> check_test.go:256: no check bundle
> check_test.go:263: nothing to update (!force metrics, 0 metrics, 0 tags)
> check_test.go:277: new metric
> check_test.go:288: metric tag
> --- PASS: TestUpdateCheck (0.00s)
> === RUN TestMakeSecret
> --- PASS: TestMakeSecret (0.00s)
> === RUN TestCreateNewCheck
> --- PASS: TestCreateNewCheck (0.00s)
> === RUN TestInitializeTrapURL
> check_test.go:381: invalid
> check_test.go:395: cm disabled, only submission URL
> check_test.go:417: cm enabled, submission URL
> check_test.go:429: cm enabled, check id
> check_test.go:445: cm enabled, search [found by target]
> check_test.go:460: cm enabled, search [found by notes]
> check_test.go:477: cm enabled, search [not found, create check]
> check_test.go:496: cm enabled, id, non-httptrap check
> --- PASS: TestInitializeTrapURL (0.01s)
> === RUN TestNewCheckManager
> checkmgr_test.go:237: no config supplied
> checkmgr_test.go:246: no API Token and no Submission URL supplied
> checkmgr_test.go:256: no API Token, Submission URL (http) only
> checkmgr_test.go:286: no API Token, Submission URL (https) only
> checkmgr_test.go:317: Defaults
> checkmgr_test.go:352: waiting for cm to init
> checkmgr_test.go:369: Custom broker ssl config
> checkmgr_test.go:411: test ResetTrap
> checkmgr_test.go:426: test RefreshTrap
> --- PASS: TestNewCheckManager (1.00s)
> === RUN TestIsMetricActive
> metrics_test.go:23: 'foo' in active metric list
> metrics_test.go:30: 'bar' not in active metric list
> metrics_test.go:37: 'baz' in active metric list, not active
> --- PASS: TestIsMetricActive (0.00s)
> === RUN TestActivateMetric
> metrics_test.go:66: 'foo' already active
> metrics_test.go:73: 'bar' in list but not active [force=false]
> metrics_test.go:80: 'baz' not in list
> metrics_test.go:89: 'bar' in list but not active [force=true]
> --- PASS: TestActivateMetric (0.00s)
> === RUN TestInventoryMetrics
> metrics_test.go:120: 'foo', in inventory and active
> metrics_test.go:131: 'bar', in inventory and not active
> metrics_test.go:142: 'baz', not in inventory and not active
> --- PASS: TestInventoryMetrics (0.00s)
> === RUN TestAddMetricTags
> metrics_test.go:159: no tags
> metrics_test.go:166: no metric named 'foo'
> metrics_test.go:192: metric named 'bar', add tag
> metrics_test.go:226: metric named 'baz', add tag
> metrics_test.go:256: metric named 'foo', set tag
> --- PASS: TestAddMetricTags (0.00s)
> === RUN TestAddNewMetrics
> metrics_test.go:328: no check bundle
> metrics_test.go:336: no check bundle metrics
> --- PASS: TestAddNewMetrics (0.00s)
> PASS
> ok github.com/circonus-labs/circonus-gometrics/checkmgr 1.028s
> FAIL
> dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 github.com/circonus-labs/circonus-gometrics github.com/circonus-labs/circonus-gometrics/api github.com/circonus-labs/circonus-gometrics/api/config github.com/circonus-labs/circonus-gometrics/checkmgr returned exit code 1
The full build log is available from:
http://qa-logs.debian.net/2020/09/26/golang-github-circonus-labs-circonus-gometrics_2.3.1-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!
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