#1108808 golang-gopkg-goose.v1: FTBFS randomly: FAIL: local_test.go:268: localLiveSuite.TestAuthenticationSuccess

#1108808#5
Date:
2025-07-05 10:59:06 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --builddirectory=_build --buildsystem=golang --with=golang
   dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
   dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
   dh_clean -O--builddirectory=_build -O--buildsystem=golang
 debian/rules binary
dh binary --builddirectory=_build --buildsystem=golang --with=golang
   dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
   dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
   dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang
   dh_auto_build -O--builddirectory=_build -O--buildsystem=golang
	cd _build && go install -trimpath -v -p 2 gopkg.in/goose.v1 gopkg.in/goose.v1/cinder gopkg.in/goose.v1/client gopkg.in/goose.v1/errors gopkg.in/goose.v1/glance gopkg.in/goose.v1/http gopkg.in/goose.v1/identity gopkg.in/goose.v1/logging gopkg.in/goose.v1/neutron gopkg.in/goose.v1/nova gopkg.in/goose.v1/swift gopkg.in/goose.v1/sync gopkg.in/goose.v1/testing/envsuite gopkg.in/goose.v1/testing/httpsuite gopkg.in/goose.v1/testservices gopkg.in/goose.v1/testservices/hook gopkg.in/goose.v1/testservices/identityservice gopkg.in/goose.v1/testservices/neutronmodel gopkg.in/goose.v1/testservices/neutronservice gopkg.in/goose.v1/testservices/novaservice gopkg.in/goose.v1/testservices/openstackservice gopkg.in/goose.v1/testservices/swiftservice
internal/unsafeheader
internal/goarch
internal/cpu
internal/abi
internal/bytealg
internal/byteorder
internal/chacha8rand
internal/coverage/rtcov
internal/godebugs
internal/goexperiment
internal/goos
internal/profilerecord
internal/runtime/atomic
internal/asan
internal/msan
internal/race
internal/runtime/math
internal/runtime/exithook
internal/runtime/sys
internal/runtime/syscall
internal/runtime/maps
internal/stringslite
cmp
internal/itoa
math/bits
math
runtime
unicode/utf8
sync/atomic
internal/sync
unicode
encoding
unicode/utf16
container/list
crypto/internal/fips140/alias
crypto/internal/fips140deps/byteorder
crypto/internal/fips140deps/cpu
crypto/internal/fips140/subtle
crypto/internal/boring/sig
vendor/golang.org/x/crypto/cryptobyte/asn1
vendor/golang.org/x/crypto/internal/alias
internal/nettrace
log/internal
internal/reflectlite
iter
sync
errors
slices
strconv
io
internal/oserror
path
internal/bisect
reflect
internal/godebug
syscall
time
io/fs
internal/filepathlite
internal/syscall/unix
internal/fmtsort
internal/poll
internal/syscall/execenv
internal/testlog
bytes
os
encoding/binary
encoding/base64
strings
fmt
io/ioutil
bufio
sort
hash
gopkg.in/goose.v1
encoding/json
compress/flate
hash/crc32
compress/gzip
context
crypto
crypto/internal/fips140deps/godebug
crypto/internal/fips140
crypto/internal/impl
crypto/internal/fips140/sha256
crypto/internal/fips140/sha3
crypto/internal/fips140/sha512
crypto/internal/sysrand
crypto/internal/entropy
math/rand/v2
crypto/internal/fips140/hmac
crypto/internal/fips140/check
crypto/internal/randutil
crypto/subtle
crypto/internal/fips140/aes
math/rand
crypto/internal/fips140/drbg
math/big
crypto/internal/fips140/aes/gcm
crypto/internal/fips140only
crypto/cipher
crypto/internal/boring
crypto/aes
crypto/des
crypto/internal/fips140/nistec/fiat
crypto/rand
crypto/internal/fips140/edwards25519/field
crypto/internal/fips140/nistec
crypto/internal/boring/bbig
crypto/internal/fips140/bigmod
crypto/sha3
crypto/internal/fips140hash
crypto/sha512
encoding/asn1
vendor/golang.org/x/crypto/cryptobyte
crypto/internal/fips140/edwards25519
crypto/internal/fips140/ecdh
crypto/ecdh
crypto/elliptic
crypto/internal/fips140/ecdsa
crypto/internal/fips140/ed25519
crypto/ecdsa
crypto/ed25519
crypto/hmac
crypto/internal/fips140/hkdf
crypto/internal/fips140/mlkem
crypto/internal/fips140/tls12
crypto/internal/fips140/tls13
vendor/golang.org/x/crypto/chacha20
vendor/golang.org/x/crypto/internal/poly1305
vendor/golang.org/x/sys/cpu
crypto/md5
vendor/golang.org/x/crypto/chacha20poly1305
crypto/rc4
crypto/internal/fips140/rsa
crypto/internal/hpke
crypto/sha1
crypto/sha256
crypto/tls/internal/fips140tls
crypto/dsa
encoding/hex
crypto/rsa
crypto/x509/pkix
encoding/pem
maps
vendor/golang.org/x/net/dns/dnsmessage
internal/singleflight
weak
unique
net/netip
runtime/cgo
net/url
path/filepath
vendor/golang.org/x/text/transform
log
vendor/golang.org/x/text/unicode/bidi
net
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
gopkg.in/goose.v1/errors
github.com/juju/loggo
gopkg.in/goose.v1/logging
regexp/syntax
regexp
gopkg.in/goose.v1/sync
flag
github.com/kr/text
github.com/rogpeppe/go-internal/fmtsort
text/tabwriter
github.com/kr/pretty
crypto/x509
net/textproto
vendor/golang.org/x/net/http/httpguts
vendor/golang.org/x/net/http/httpproxy
mime/multipart
go/token
go/scanner
go/ast
crypto/tls
go/build/constraint
go/parser
go/doc/comment
go/printer
internal/sysinfo
runtime/debug
runtime/trace
testing
gopkg.in/check.v1
net/http/httptrace
net/http
gopkg.in/goose.v1/testing/envsuite
net/http/internal/testcert
gopkg.in/goose.v1/testservices/hook
gopkg.in/goose.v1/http
gopkg.in/goose.v1/cinder
gopkg.in/goose.v1/identity
net/http/httptest
gopkg.in/goose.v1/client
gopkg.in/goose.v1/testing/httpsuite
gopkg.in/goose.v1/glance
gopkg.in/goose.v1/neutron
gopkg.in/goose.v1/nova
gopkg.in/goose.v1/swift
gopkg.in/goose.v1/testservices/identityservice
gopkg.in/goose.v1/testservices
gopkg.in/goose.v1/testservices/neutronmodel
gopkg.in/goose.v1/testservices/swiftservice
gopkg.in/goose.v1/testservices/neutronservice
gopkg.in/goose.v1/testservices/novaservice
gopkg.in/goose.v1/testservices/openstackservice
   dh_auto_test -O--builddirectory=_build -O--buildsystem=golang
	cd _build && go test -vet=off -v -p 2 gopkg.in/goose.v1 gopkg.in/goose.v1/cinder gopkg.in/goose.v1/client gopkg.in/goose.v1/errors gopkg.in/goose.v1/glance gopkg.in/goose.v1/http gopkg.in/goose.v1/identity gopkg.in/goose.v1/logging gopkg.in/goose.v1/neutron gopkg.in/goose.v1/nova gopkg.in/goose.v1/swift gopkg.in/goose.v1/sync gopkg.in/goose.v1/testing/envsuite gopkg.in/goose.v1/testing/httpsuite gopkg.in/goose.v1/testservices gopkg.in/goose.v1/testservices/hook gopkg.in/goose.v1/testservices/identityservice gopkg.in/goose.v1/testservices/neutronmodel gopkg.in/goose.v1/testservices/neutronservice gopkg.in/goose.v1/testservices/novaservice gopkg.in/goose.v1/testservices/openstackservice gopkg.in/goose.v1/testservices/swiftservice
=== RUN   Test
OK: 1 passed
--- PASS: Test (0.00s)
PASS
ok  	gopkg.in/goose.v1	0.002s
=== RUN   Test
/v2/test-id/snapshots
/v2/test-id/volumes
/v2/test-id/types
/v2/test-id/snapshots/test-id
/v2/test-id/volumes/test-id
/v2/test-id/types/
/v2/test-id/snapshots/test-id
/v2/test-id/snapshots/detail
/v2/test-id/snapshots
/v2/test-id/types/test-id
/v2/test-id/types
/v2/test-id/volumes/
/v2/test-id/volumes
/v2/test-id/snapshots/test-id/metadata
/v2/test-id/snapshots/test-id
/v2/test-id/snapshots/test-id/metadata
/v2/test-id/volumes/test-id
/v2/test-id/types/test-id
/v2/test-id/types/test-id
OK: 19 passed, 5 skipped
--- PASS: Test (0.00s)
PASS
ok  	gopkg.in/goose.v1/cinder	0.004s
=== RUN   Test

Listening on 127.0.0.1:3000...

local_test.go:271:
    c.Assert(err, gc.IsNil)
... value *errors.gooseError = &errors.gooseError{error:(*errors.errorString)(0xc000042b00), errcode:"Unspecified", cause:(*url.Error)(0xc00012a750)} ("failed executing the request http://127.0.0.1:3000/\ncaused by: Get \"http://127.0.0.1:3000/\": dial tcp 127.0.0.1:3000: connect: connection refused")

2025-07-04 06:39:31 WARNING goose.client apiversion.go:217 API version discovery failed: Resource at http://127.0.0.1:3005/ not found
caused by: request (http://127.0.0.1:3005/) returned unexpected status: 404; error info: {"message":"Api does not exist","request_id":"83A781AE-9A0C-43C7-B405-310A5A94566E"}
2025-07-04 06:39:31 WARNING goose.client client.go:267 falling back to catalogue service URL
2025-07-04 06:39:31 WARNING goose.client apiversion.go:217 API version discovery failed: Resource at http://127.0.0.1:3005/ not found
caused by: request (http://127.0.0.1:3005/) returned unexpected status: 404; error info: {"message":"Api does not exist","request_id":"83A781AE-9A0C-43C7-B405-310A5A94566E"}
2025-07-04 06:39:31 WARNING goose.client client.go:267 falling back to catalogue service URL
2025-07-04 06:39:31 WARNING goose.client apiversion.go:217 API version discovery failed: Resource at http://127.0.0.1:3005/ not found
caused by: request (http://127.0.0.1:3005/) returned unexpected status: 404; error info: {"message":"Api does not exist","request_id":"83A781AE-9A0C-43C7-B405-310A5A94566E"}
2025-07-04 06:39:31 WARNING goose.client client.go:267 falling back to catalogue service URL
2025/07/04 06:39:31 http: TLS handshake error from 127.0.0.1:56212: remote error: tls: bad certificate
2025/07/04 06:39:31 http: TLS handshake error from 127.0.0.1:33978: remote error: tls: bad certificate
OOPS: 38 passed, 5 skipped, 1 FAILED
--- FAIL: Test (0.05s)
FAIL
FAIL	gopkg.in/goose.v1/client	0.053s
=== RUN   Test
OK: 10 passed
--- PASS: Test (0.00s)
PASS
ok  	gopkg.in/goose.v1/errors	0.003s
=== RUN   Test
OK: 0 passed, 5 skipped
--- PASS: Test (0.00s)
PASS
ok  	gopkg.in/goose.v1/glance	0.002s
=== RUN   Test
2025/07/04 06:39:32 http: TLS handshake error from 127.0.0.1:53896: remote error: tls: bad certificate
OK: 18 passed
--- PASS: Test (0.01s)
PASS
ok  	gopkg.in/goose.v1/http	0.013s
=== RUN   Test
OK: 27 passed
--- PASS: Test (0.01s)
PASS
ok  	gopkg.in/goose.v1/identity	0.017s
?   	gopkg.in/goose.v1/logging	[no test files]
=== RUN   Test
OK: 7 passed
--- PASS: Test (0.01s)
PASS
ok  	gopkg.in/goose.v1/neutron	0.017s
=== RUN   Test
OK: 69 passed
--- PASS: Test (0.09s)
PASS
ok  	gopkg.in/goose.v1/nova	0.088s
=== RUN   Test
OK: 8 passed
--- PASS: Test (0.02s)
PASS
ok  	gopkg.in/goose.v1/swift	0.027s
=== RUN   TestRunSuccess
--- PASS: TestRunSuccess (0.00s)
=== RUN   TestRunTimeout
--- PASS: TestRunTimeout (0.00s)
PASS
ok  	gopkg.in/goose.v1/sync	0.002s
=== RUN   Test
OK: 3 passed
--- PASS: Test (0.00s)
PASS
ok  	gopkg.in/goose.v1/testing/envsuite	0.002s
=== RUN   Test
2025/07/04 06:39:34 http: TLS handshake error from 127.0.0.1:44804: remote error: tls: bad certificate
OK: 2 passed
--- PASS: Test (0.01s)
PASS
ok  	gopkg.in/goose.v1/testing/httpsuite	0.008s
=== RUN   Test
OK: 2 passed
--- PASS: Test (0.00s)
PASS
ok  	gopkg.in/goose.v1/testservices	0.003s
=== RUN   Test
OK: 4 passed
--- PASS: Test (0.00s)
PASS
ok  	gopkg.in/goose.v1/testservices/hook	0.003s
=== RUN   Test
OK: 29 passed
--- PASS: Test (0.01s)
PASS
ok  	gopkg.in/goose.v1/testservices/identityservice	0.018s
?   	gopkg.in/goose.v1/testservices/neutronmodel	[no test files]
=== RUN   Test
total: 38
OK: 38 passed
--- PASS: Test (0.02s)
PASS
ok  	gopkg.in/goose.v1/testservices/neutronservice	0.022s
=== RUN   Test
total: 35
total: 22
OK: 133 passed, 22 skipped
--- PASS: Test (0.05s)
PASS
ok  	gopkg.in/goose.v1/testservices/novaservice	0.050s
?   	gopkg.in/goose.v1/testservices/openstackservice	[no test files]
=== RUN   Test
OK: 28 passed
--- PASS: Test (0.01s)
PASS
ok  	gopkg.in/goose.v1/testservices/swiftservice	0.011s
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2 gopkg.in/goose.v1 gopkg.in/goose.v1/cinder gopkg.in/goose.v1/client gopkg.in/goose.v1/errors gopkg.in/goose.v1/glance gopkg.in/goose.v1/http gopkg.in/goose.v1/identity gopkg.in/goose.v1/logging gopkg.in/goose.v1/neutron gopkg.in/goose.v1/nova gopkg.in/goose.v1/swift gopkg.in/goose.v1/sync gopkg.in/goose.v1/testing/envsuite gopkg.in/goose.v1/testing/httpsuite gopkg.in/goose.v1/testservices gopkg.in/goose.v1/testservices/hook gopkg.in/goose.v1/testservices/identityservice gopkg.in/goose.v1/testservices/neutronmodel gopkg.in/goose.v1/testservices/neutronservice gopkg.in/goose.v1/testservices/novaservice gopkg.in/goose.v1/testservices/openstackservice gopkg.in/goose.v1/testservices/swiftservice returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
I've put several full build logs here:

https://people.debian.org/~sanvila/build-logs/202507/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

Note: The build might not always fail (hence the "randomly" in the title),
but I'm getting a failure rate around 44% here, which is way above
the usual thresholds used by the RT. If you could not reproduce these
random failures please contact me privately, as I am willing
to provide ssh access to a virtual machine where they happen.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:golang-gopkg-goose.v1, so that this is still
visible in the BTS web page for this package.

Thanks.

#1108808#10
Date:
2025-07-07 17:35:18 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
golang-gopkg-goose.v1, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1108808@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mathias Gibbens <gibmat@debian.org> (supplier of updated golang-gopkg-goose.v1 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 07 Jul 2025 17:13:03 +0000
Source: golang-gopkg-goose.v1
Architecture: source
Version: 0.0~git20170406.3228e4f-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed-By: Mathias Gibbens <gibmat@debian.org>
Closes: 1108808
Changes:
 golang-gopkg-goose.v1 (0.0~git20170406.3228e4f-5) unstable; urgency=medium
 .
   * Add a patch to fix flaky test (Closes: #1108808)
   * Update my email address in d/control
Checksums-Sha1:
 057b260792c15d5b1ebd7ebb0733eca3287b8e5b 2359 golang-gopkg-goose.v1_0.0~git20170406.3228e4f-5.dsc
 cb5f0e73ee6abc1471eaf06291dcb8183b5538f2 137221 golang-gopkg-goose.v1_0.0~git20170406.3228e4f.orig.tar.gz
 20b989f4d4d4f2c0b2b0f0021ad876f20a0e8043 6004 golang-gopkg-goose.v1_0.0~git20170406.3228e4f-5.debian.tar.xz
 769d9af43687b6fae576cf31c72658c0d8e98ea9 6856 golang-gopkg-goose.v1_0.0~git20170406.3228e4f-5_amd64.buildinfo
Checksums-Sha256:
 40292f72021eb29f8cff7c66bbce4446324b92b5c3a00d6203b0b691de445e84 2359 golang-gopkg-goose.v1_0.0~git20170406.3228e4f-5.dsc
 cd94209f397c25079f25082af00c08a5a5893c799f7a76269314fa5420449c4b 137221 golang-gopkg-goose.v1_0.0~git20170406.3228e4f.orig.tar.gz
 56c69742b63b5eecdaa7891cfc309f1cbb0579afce6e2eba5707ebebbf9b3656 6004 golang-gopkg-goose.v1_0.0~git20170406.3228e4f-5.debian.tar.xz
 deace5a2e2c16e191a12a1c7d681b8baa49eb820979537a6eb2fea8a0a7b9a70 6856 golang-gopkg-goose.v1_0.0~git20170406.3228e4f-5_amd64.buildinfo
Files:
 22ed58e99a3f9764b36c8235938879dc 2359 golang optional golang-gopkg-goose.v1_0.0~git20170406.3228e4f-5.dsc
 b296051783d587f28c6bfcc5e4e42064 137221 golang optional golang-gopkg-goose.v1_0.0~git20170406.3228e4f.orig.tar.gz
 2190cb324b7fb6ed946ed286769d20cd 6004 golang optional golang-gopkg-goose.v1_0.0~git20170406.3228e4f-5.debian.tar.xz
 1cb6ca410a3ce2e699897dac2167069a 6856 golang optional golang-gopkg-goose.v1_0.0~git20170406.3228e4f-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEE1Bp60H32xfynSJ8cKe7i1uz0QvkFAmhsAQISHGdpYm1hdEBk
ZWJpYW4ub3JnAAoJECnu4tbs9EL5AeoP/0GcbHdJWl8EmusjCU/Cko2nIkDjqab/
TRAQ4xm3mdAnNmdeoNsURPxD2d7QTBD5PzhFhuta0fJZudZ/0wVlK38mPVnigQ2S
ykFG+yjihu+HzsQjQ8q/sAr7sVsA/Po2oZNO3y0DTcoE7FagIWlbMFoj53kdaJOG
H+5GaeTvYwqm6Qms7xf7L/0G2GTLSOqyNEGvRuTUytZyv/Wt1PSjZ41aXDGJKi4t
iqZVLWCYy9SyPJLlUzeoStM0UeOjVYUHOB1rKtYGVLWJ7rbEYABSKqPu/ZmeIQBa
abjy8s17FV9spuf26hXkJDUxzjiiAemnqZUTsPRI1pC+Gw0QEANh5Y1l5ZkhDvJY
DMJLrYt8kEuV7fIaPaWyc7SxFyHESqqTHnena7ORFj25eyL/Or0fZamdTVgwgVki
10oOxNfwBAh86aZP8m1ZCZFFtDEJIwikVO08NGhypJ5m0kKUpjz6E/OhOVCYfq5P
ngk7wtkuLtj3ZkEO0duaP0ujDmU1Al09tNfBOpGDeiOP8oL724JB+r2Db/JnqkA8
NJazZYglowbDmbImDkpIxZ/fIterjDzWCy3gAN54vxlG7ZWHOHp87IEsQeofRbS9
5vUFqZhspNJvWZPIWHjfdz/Zs+PbJ2oAyqmvzrI5A4FFLTUMnF8WvJlsz2UvuHzr
YVaX3dyos877
=pWvh
-----END PGP SIGNATURE-----