• Bug#1104390: golang-github-lestrrat-go-backoff: FTBFS randomly: dh_auto

    From Lucas Nussbaum@21:1/5 to All on Tue Apr 29 16:00:03 2025
    Source: golang-github-lestrrat-go-backoff
    Version: 2.0.8-2
    Severity: important
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20250428 ftbfs-trixie ftbfs-randomly

    Hi,

    Your package fails to build randomly on amd64: In the exact same
    environment, sometimes it builds fine, and sometimes it fails.

    Relevant part (hopefully):
    debian/rules binary
    dh binary --builddirectory=_build --buildsystem=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 dh_auto_build: warning: github.com/lestrrat-go/backoff/bench contains no non-test Go files, removing it from build
    cd _build && go install -trimpath -v -p 8 github.com/lestrrat-go/backoff
    internal/godebugs
    internal/byteorder
    internal/goos
    internal/goarch
    internal/coverage/rtcov
    internal/unsafeheader
    internal/goexperiment
    internal/cpu
    internal/profilerecord
    internal/abi
    internal/runtime/atomic
    internal/asan
    internal/msan
    internal/runtime/math
    internal/runtime/sys
    internal/chacha8rand
    internal/runtime/syscall
    sync/atomic
    math/bits
    internal/itoa
    cmp
    unicode/utf8
    unicode
    internal/runtime/exithook
    internal/bytealg
    math
    internal/stringslite
    internal/race
    internal/sync
    internal/runtime/maps
    runtime
    internal/reflectlite
    iter
    sync
    slices
    errors
    internal/oserror
    path
    strconv
    internal/bisect
    internal/testlog
    io
    syscall
    internal/godebug
    reflect
    math/rand
    internal/syscall/execenv
    internal/syscall/unix
    time
    context
    io/fs
    internal/poll
    internal/filepathlite
    os
    internal/fmtsort
    fmt
    github.com/lestrrat-go/option
    github.com/lestrrat-go/backoff
    dh_auto_test -O--builddirectory=_build -O--buildsystem=golang
    cd _build && go test -vet=off -v -p 8 github.com/lestrrat-go/backoff github.com/lestrrat-go/backoff/bench
    === RUN TestNewExponentialIntervalWithDefaultOptions
    --- PASS: TestNewExponentialIntervalWithDefaultOptions (0.00s)
    === RUN TestNewExponentialIntervalWithCustomOptions
    --- PASS: TestNewExponentialIntervalWithCustomOptions (0.00s)
    === RUN TestNewExponentialIntervalWithOnlyJitterOptions
    --- PASS: TestNewExponentialIntervalWithOnlyJitterOptions (0.00s)
    === RUN TestOptionPassing
    --- PASS: TestOptionPassing (0.00s)
    === RUN TestNull
    backoff_test.go:24: 2025-04-29 02:23:29.987899319 +0000 UTC m=+0.001093017 backoff.Continue
    --- PASS: TestNull (0.00s)
    === RUN TestConstant
    backoff_test.go:45: 2025-04-29 02:23:29.988051587 +0000 UTC m=+0.001245285 backoff.Continue
    backoff_test.go:45: 2025-04-29 02:23:30.288560966 +0000 UTC m=+0.301754656 backoff.Continue
    backoff_test.go:45: 2025-04-29 02:23:30.589045158 +0000 UTC m=+0.602238848 backoff.Continue
    backoff_test.go:45: 2025-04-29 02:23:30.889587218 +0000 UTC m=+0.902780909 backoff.Continue
    backoff_test.go:45: 2025-04-29 02:23:31.190103271 +0000 UTC m=+1.203296961 backoff.Continue
    --- PASS: TestConstant (1.20s)
    === RUN TestExponential
    === RUN TestExponential/Interval_generator
    === RUN TestExponential/Jitter
    backoff_test.go:106: max = 525ms, min = 490ms
    backoff_test.go:106: max = 787.5ms, min = 735ms
    backoff_test.go:107:
    Error Trace: /build/reproducible-path/golang-github-lestrrat-go-backoff-2.0.8/_build/src/github.com/lestrrat-go/backoff/backoff_test.go:107
    Error: "726516685" is not greater than or equal to "735000000"
    Test: TestExponential/Jitter
    Messages: value should be greater than minimum
    === RUN TestExponential/Back_off,_no_jitter
    --- FAIL: TestExponential (6.60s)
    --- PASS: TestExponential/Interval_generator (0.00s)
    --- FAIL: TestExponential/Jitter (0.00s)
    --- PASS: TestExponential/Back_off,_no_jitter (6.60s)
    === RUN TestConcurrent
    === PAUSE TestConcurrent
    === RUN TestConstantWithJitter
    backoff_test.go:200: 2025-04-29 02:23:37.790468979 +0000 UTC m=+7.803662670 backoff.Continue
    backoff_test.go:200: 2025-04-29 02:23:38.109003666 +0000 UTC m=+8.122197357 backoff.Continue
    backoff_test.go:200: 2025-04-29 02:23:38.489510662 +0000 UTC m=+8.502704353 backoff.Continue
    --- PASS: TestConstantWithJitter (0.70s)
    === RUN TestLeak
    --- PASS: TestLeak (2.60s)
    === CONT TestConcurrent
    === RUN TestConcurrent/Null
    === PAUSE TestConcurrent/Null
    === RUN TestConcurrent/Exponential
    === PAUSE TestConcurrent/Exponential
    === CONT TestConcurrent/Null
    === CONT TestConcurrent/Exponential
    --- PASS: TestConcurrent (0.00s)
    --- PASS: TestConcurrent/Null (0.00s)
    --- PASS: TestConcurrent/Exponential (0.12s)
    FAIL
    FAIL github.com/lestrrat-go/backoff 11.233s
    testing: warning: no tests to run
    PASS
    ok github.com/lestrrat-go/backoff/bench 0.003s [no tests to run]
    FAIL
    dh_auto_test: error: cd _build && go test -vet=off -v -p 8 github.com/lestrrat-go/backoff github.com/lestrrat-go/backoff/bench returned exit code 1


    The full build log is available from: http://qa-logs.debian.net/2025/04/28/golang-github-lestrrat-go-backoff_2.0.8-2_unstable.log

    You can find other build logs (including successful ones) in: http://qa-logs.debian.net/2025/04/28/

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250428;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250428&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)