• Bug#1103107: golang-gopkg-redis.v5: FTBFS in testing/i386: dh_auto_test

    From Lucas Nussbaum@21:1/5 to All on Mon Apr 14 13:50:04 2025
    Source: golang-gopkg-redis.v5
    Version: 5.2.9-4
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20250414 ftbfs-trixie

    Hi,

    During a rebuild of all packages in testing (trixie), your package failed
    to build on i386.


    Relevant part (hopefully):
    debian/rules binary
    dh binary --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-i686-linux-gnu && go install -trimpath -v -p 8 gopkg.in/redis.v5 gopkg.in/redis.v5/internal gopkg.in/redis.v5/internal/consistenthash gopkg.in/redis.v5/internal/hashtag gopkg.in/redis.v5/internal/pool gopkg.in/redis.v5/internal/proto
    internal/unsafeheader
    internal/byteorder
    internal/godebugs
    internal/cpu
    internal/goarch
    internal/goexperiment
    internal/coverage/rtcov
    internal/profilerecord
    internal/goos
    internal/runtime/atomic
    internal/asan
    internal/abi
    internal/msan
    internal/runtime/math
    internal/runtime/sys
    internal/chacha8rand
    internal/runtime/syscall
    sync/atomic
    math/bits
    unicode
    unicode/utf8
    internal/itoa
    internal/runtime/exithook
    internal/bytealg
    math
    crypto/internal/fips140/alias
    crypto/internal/fips140deps/byteorder
    crypto/internal/fips140deps/cpu
    cmp
    crypto/internal/boring/sig
    container/list
    unicode/utf16
    vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias
    internal/nettrace
    log/internal
    encoding
    internal/stringslite
    internal/race
    internal/sync
    internal/runtime/maps
    runtime
    iter
    weak
    crypto/internal/fips140/subtle
    internal/reflectlite
    sync
    maps
    slices
    crypto/subtle
    errors
    sort
    internal/oserror
    path
    math/rand/v2
    vendor/golang.org/x/net/dns/dnsmessage
    strconv
    io
    internal/bisect
    syscall
    internal/testlog
    internal/singleflight
    unique
    bytes
    internal/godebug
    hash
    strings
    crypto/internal/randutil
    crypto
    reflect
    net/netip
    hash/crc32
    runtime/cgo
    math/rand
    crypto/internal/fips140deps/godebug
    crypto/internal/impl
    crypto/internal/fips140
    gopkg.in/redis.v5/internal/consistenthash
    crypto/internal/fips140/sha256
    crypto/tls/internal/fips140tls
    crypto/internal/fips140/sha512
    crypto/internal/fips140/sha3
    gopkg.in/redis.v5/internal/hashtag
    bufio
    time
    internal/syscall/unix
    internal/syscall/execenv
    crypto/internal/fips140/hmac
    crypto/sha3
    crypto/internal/fips140/check
    crypto/internal/fips140hash
    crypto/internal/fips140/aes
    crypto/internal/fips140/edwards25519/field
    crypto/internal/fips140/bigmod
    crypto/internal/fips140/hkdf
    crypto/internal/fips140/nistec/fiat
    crypto/internal/fips140/tls12
    crypto/internal/fips140/edwards25519
    crypto/internal/fips140/tls13
    context
    internal/poll
    io/fs
    internal/filepathlite
    os
    encoding/binary
    internal/fmtsort
    encoding/base64
    vendor/golang.org/x/crypto/internal/poly1305
    encoding/pem
    crypto/internal/fips140/nistec
    crypto/internal/sysrand
    path/filepath
    fmt
    net
    crypto/internal/entropy
    crypto/internal/fips140/drbg
    crypto/internal/fips140only
    crypto/internal/fips140/mlkem
    crypto/internal/fips140/rsa
    crypto/internal/fips140/ed25519
    crypto/internal/fips140/aes/gcm
    crypto/md5
    crypto/rc4
    crypto/cipher
    encoding/hex
    net/url
    log
    math/big
    crypto/internal/boring
    crypto/des
    vendor/golang.org/x/crypto/chacha20
    crypto/sha1
    crypto/aes
    crypto/sha512
    crypto/hmac
    vendor/golang.org/x/crypto/chacha20poly1305
    crypto/sha256
    crypto/internal/fips140/ecdh
    crypto/internal/fips140/ecdsa
    crypto/ecdh
    crypto/internal/boring/bbig
    crypto/rand
    crypto/dsa
    crypto/elliptic
    encoding/asn1
    crypto/ed25519
    crypto/internal/hpke
    crypto/rsa
    crypto/x509/pkix
    vendor/golang.org/x/crypto/cryptobyte
    crypto/ecdsa
    gopkg.in/redis.v5/internal
    crypto/x509
    gopkg.in/redis.v5/internal/proto
    gopkg.in/redis.v5/internal/pool
    crypto/tls
    gopkg.in/redis.v5
    dh_auto_test -O--buildsystem=golang
    cd obj-i686-linux-gnu && go test -vet=off -v -p 8 gopkg.in/redis.v5 gopkg.in/redis.v5/internal gopkg.in/redis.v5/internal/consistenthash gopkg.in/redis.v5/internal/hashtag gopkg.in/redis.v5/internal/pool gopkg.in/redis.v5/internal/proto
    === RUN TestParseURL
    === RUN TestParseURL/redis://localhost:123/1
    === RUN TestParseURL/redis://localhost:123
    === RUN TestParseURL/redis://localhost/1
    === RUN TestParseURL/redis://12345
    === RUN TestParseURL/rediss://localhost:123
    === RUN TestParseURL/redis://localhost/?abc=123
    === RUN TestParseURL/http://google.com
    === RUN TestParseURL/redis://localhost/1/2/3/4
    === RUN TestParseURL/12345
    === RUN TestParseURL/redis://localhost/iamadatabase
    --- PASS: TestParseURL (0.00s)
    --- PASS: TestParseURL/redis://localhost:123/1 (0.00s)
    --- PASS: TestParseURL/redis://localhost:123 (0.00s)
    --- PASS: TestParseURL/redis://localhost/1 (0.00s)
    --- PASS: TestParseURL/redis://12345 (0.00s)
    --- PASS: TestParseURL/rediss://localhost:123 (0.00s)
    --- PASS: TestParseURL/redis://localhost/?abc=123 (0.00s)
    --- PASS: TestParseURL/http://google.com (0.00s)
    --- PASS: TestParseURL/redis://localhost/1/2/3/4 (0.00s)
    --- PASS: TestParseURL/12345 (0.00s)
    --- PASS: TestParseURL/redis://localhost/iamadatabase (0.00s)
    PASS
    ok gopkg.in/redis.v5 0.007s
    ? gopkg.in/redis.v5/internal [no test files]
    === RUN TestHashing
    --- PASS: TestHashing (0.00s)
    === RUN TestConsistency
    --- PASS: TestConsistency (0.00s)
    PASS
    ok gopkg.in/redis.v5/internal/consistenthash 0.003s
    === RUN TestGinkgoSuite
    Running Suite: hashtag
    ======================
    Random Seed: 1744607568
    Will run 3 of 3 specs

    •••
    Ran 3 of 3 Specs in 0.000 seconds
    SUCCESS! -- 3 Passed | 0 Failed | 0 Pending | 0 Skipped
    --- PASS: TestGinkgoSuite (0.00s)
    PASS
    ok gopkg.in/redis.v5/internal/hashtag 0.007s
    === RUN TestGinkgoSuite
    Running Suite: pool
    ===================
    Random Seed: 1744607568
    Will run 7 of 7 specs

    •••••••
    Ran 7 of 7 Specs in 0.119 seconds
    SUCCESS! -- 7 Passed | 0 Failed | 0 Pending | 0 Skipped
    --- PASS: TestGinkgoSuite (0.12s)
    PASS
    ok gopkg.in/redis.v5/internal/pool 0.137s
    === RUN TestGinkgoSuite
    Running Suite: proto
    ====================
    Random Seed: 1744607568
    Will run 7 of 7 specs

    •••
    ------------------------------
    • Failure [0.001 seconds]
    ScanSlice /build/reproducible-path/golang-gopkg-redis.v5-5.2.9/obj-i686-linux-gnu/src/gopkg.in/redis.v5/internal/proto/scan_test.go:23
    var testContainer []*testScanSliceStruct [It]
    /build/reproducible-path/golang-gopkg-redis.v5-5.2.9/obj-i686-linux-gnu/src/gopkg.in/redis.v5/internal/proto/scan_test.go:39

    Unexpected error:
    <*errors.errorString | 0x942e190>:
    redis: ScanSlice(index=1 value="{\"ID\":1,\"Name\":\"szyhf\"}") failed: redis: can't unmarshal **proto.testScanSliceStruct (consider implementing BinaryUnmarshaler)
    {
    s: "redis: ScanSlice(index=1 value=\"{\\\"ID\\\":1,\\\"Name\\\":\\\"szyhf\\\"}\") failed: redis: can't unmarshal **proto.testScanSliceStruct (consider implementing BinaryUnmarshaler)",
    }
    occurred

    /build/reproducible-path/golang-gopkg-redis.v5-5.2.9/obj-i686-linux-gnu/src/gopkg.in/redis.v5/internal/proto/scan_test.go:42
    ------------------------------
    •••

    Summarizing 1 Failure:

    [Fail] ScanSlice [It] var testContainer []*testScanSliceStruct /build/reproducible-path/golang-gopkg-redis.v5-5.2.9/obj-i686-linux-gnu/src/gopkg.in/redis.v5/internal/proto/scan_test.go:42

    Ran 7 of 7 Specs in 0.001 seconds
    FAIL! -- 6 Passed | 1 Failed | 0 Pending | 0 Skipped
    --- FAIL: TestGinkgoSuite (0.00s)
    FAIL
    FAIL gopkg.in/redis.v5/internal/proto 0.012s
    FAIL
    dh_auto_test: error: cd obj-i686-linux-gnu && go test -vet=off -v -p 8 gopkg.in/redis.v5 gopkg.in/redis.v5/internal gopkg.in/redis.v5/internal/consistenthash gopkg.in/redis.v5/internal/hashtag gopkg.in/redis.v5/internal/pool gopkg.in/redis.v5/internal/
    proto returned exit code 1


    The full build log is available from: http://qa-logs.debian.net/2025/04/14/golang-gopkg-redis.v5_5.2.9-4_testing-i386.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250414;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250414&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    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 mark 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 mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)