Source: golang-github-pin-tftp
Version: 2.2.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20230517 ftbfs-bookworm
Hi,
During a rebuild of all packages in testing (bookworm), your package failed
to build on amd64.
Relevant part (hopefully):
> 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 8 github.com/pin/tftp
> github.com/pin/tftp/netascii
> internal/goarch
> internal/race
> internal/unsafeheader
> internal/goexperiment
> internal/goos
> internal/cpu
> runtime/internal/syscall
> sync/atomic
> runtime/internal/atomic
> runtime/internal/math
> internal/abi
> unicode
> runtime/internal/sys
> unicode/utf8
> math/bits
> internal/itoa
> golang.org/x/net/internal/iana
> internal/nettrace
> internal/bytealg
> math
> runtime
> internal/reflectlite
> sync
> internal/testlog
> internal/singleflight
> math/rand
> runtime/cgo
> errors
> sort
> internal/oserror
> internal/safefilepath
> io
> path
> vendor/golang.org/x/net/dns/dnsmessage
> strconv
> syscall
> github.com/pin/tftp/netascii
> bytes
> strings
> reflect
> internal/syscall/execenv
> internal/syscall/unix
> time
> context
> io/fs
> internal/poll
> os
> internal/fmtsort
> encoding/binary
> golang.org/x/sys/unix
> internal/godebug
> fmt
> internal/intern
> net/netip
> net
> golang.org/x/net/bpf
> golang.org/x/net/internal/socket
> golang.org/x/net/ipv4
> golang.org/x/net/ipv6
> github.com/pin/tftp
> dh_auto_test -O--builddirectory=_build -O--buildsystem=golang
> cd _build && go test -vet=off -v -p 8 github.com/pin/tftp
> github.com/pin/tftp/netascii
> === RUN TestZeroLengthSinglePort
> --- PASS: TestZeroLengthSinglePort (0.00s)
> === RUN TestSendReceiveSinglePortWithBlockSize
> panic: test timed out after 10m0s
>
> goroutine 1643 [running]:
> testing.(*M).startAlarm.func1()
> /usr/lib/go-1.19/src/testing/testing.go:2036 +0x8e
> created by time.goFunc
> /usr/lib/go-1.19/src/time/sleep.go:176 +0x32
>
> goroutine 1 [chan receive, 10 minutes]:
> testing.(*T).Run(0xc000107520, {0x6315de?, 0x4d8ce5?}, 0x6517c8)
> /usr/lib/go-1.19/src/testing/testing.go:1494 +0x37a
> testing.runTests.func1(0xc000117710?)
> /usr/lib/go-1.19/src/testing/testing.go:1846 +0x6e
> testing.tRunner(0xc000107520, 0xc000179cd8)
> /usr/lib/go-1.19/src/testing/testing.go:1446 +0x10b
> testing.runTests(0xc000133360?, {0x796d40, 0x1b, 0x1b}, {0x7fbf08f3ba68?,
> 0x40?, 0x7cb9a0?})
> /usr/lib/go-1.19/src/testing/testing.go:1844 +0x456
> testing.(*M).Run(0xc000133360)
> /usr/lib/go-1.19/src/testing/testing.go:1726 +0x5d9
> main.main()
> _testmain.go:99 +0x1aa
>
> goroutine 36 [chan send, 9 minutes]:
> github.com/pin/tftp.(*Server).Shutdown(0xc0000d8000)
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/server.go:310 +0x65
> github.com/pin/tftp.TestSendReceiveSinglePortWithBlockSize(0xe?)
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port_test.go:20
> +0xa9
> testing.tRunner(0xc00008a4e0, 0x6517c8)
> /usr/lib/go-1.19/src/testing/testing.go:1446 +0x10b
> created by testing.(*T).Run
> /usr/lib/go-1.19/src/testing/testing.go:1493 +0x35f
>
> goroutine 22 [chan receive, 10 minutes]:
> github.com/pin/tftp.(*Server).internalGC(0xc0001a6000)
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:121 +0x70
> created by github.com/pin/tftp.(*Server).EnableSinglePort
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/server.go:129 +0x185
>
> goroutine 38 [IO wait, 9 minutes]:
> internal/poll.runtime_pollWait(0x7fbee00cef68, 0x72)
> /usr/lib/go-1.19/src/runtime/netpoll.go:305 +0x89
> internal/poll.(*pollDesc).wait(0xc0000a0180?, 0xc000b2d800?, 0x0)
> /usr/lib/go-1.19/src/internal/poll/fd_poll_runtime.go:84 +0x32
> internal/poll.(*pollDesc).waitRead(...)
> /usr/lib/go-1.19/src/internal/poll/fd_poll_runtime.go:89
> internal/poll.(*FD).RawRead(0xc0000a0180, 0xc00099a1e0)
> /usr/lib/go-1.19/src/internal/poll/fd_unix.go:766 +0x145
> net.(*rawConn).Read(0xc00011a0a0, 0xc0004c4fa8?)
> /usr/lib/go-1.19/src/net/rawconn.go:43 +0x45
> golang.org/x/net/internal/socket.(*Conn).recvMsg(0xc000152380, 0xc000b2d800,
> 0x0)
>
> /<<PKGBUILDDIR>>/_build/src/golang.org/x/net/internal/socket/rawconn_msg.go:28
> +0x179
> golang.org/x/net/internal/socket.(*Conn).RecvMsg(...)
>
> /<<PKGBUILDDIR>>/_build/src/golang.org/x/net/internal/socket/socket.go:247
> golang.org/x/net/ipv6.(*payloadHandler).ReadFrom(0xc0001005b0, {0xc000372000,
> 0x7d4, 0x7d4})
> /<<PKGBUILDDIR>>/_build/src/golang.org/x/net/ipv6/payload_cmsg.go:32
> +0x3c5
> github.com/pin/tftp.(*Server).getPacket(0xc0000d8090?, {0xc000372000?,
> 0xc00001b365?, 0x0?})
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:77 +0x185
> github.com/pin/tftp.(*Server).singlePortProcessRequests(0xc0000d8000)
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:43 +0x2b2
> github.com/pin/tftp.(*Server).singlePortProcessRequests.func1()
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:29 +0x314
> panic({0x5ef840, 0x689a50})
> /usr/lib/go-1.19/src/runtime/panic.go:884 +0x212
> github.com/pin/tftp.(*Server).singlePortProcessRequests(0xc0000d8000)
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:55 +0x465
> github.com/pin/tftp.(*Server).singlePortProcessRequests.func1()
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:29 +0x314
> panic({0x5ef840, 0x689a50})
> /usr/lib/go-1.19/src/runtime/panic.go:884 +0x212
> github.com/pin/tftp.(*Server).singlePortProcessRequests(0xc0000d8000)
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:55 +0x465
> github.com/pin/tftp.(*Server).singlePortProcessRequests.func1()
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:29 +0x314
> panic({0x5ef840, 0x689a50})
> /usr/lib/go-1.19/src/runtime/panic.go:884 +0x212
> github.com/pin/tftp.(*Server).singlePortProcessRequests(0xc0000d8000)
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:55 +0x465
> github.com/pin/tftp.(*Server).singlePortProcessRequests.func1()
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:29 +0x314
> panic({0x5ef840, 0x689a50})
> /usr/lib/go-1.19/src/runtime/panic.go:884 +0x212
> github.com/pin/tftp.(*Server).singlePortProcessRequests(0xc0000d8000)
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:55 +0x465
> github.com/pin/tftp.(*Server).singlePortProcessRequests.func1()
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:29 +0x314
> panic({0x5ef840, 0x689a50})
> /usr/lib/go-1.19/src/runtime/panic.go:884 +0x212
> github.com/pin/tftp.(*Server).singlePortProcessRequests(0xc0000d8000)
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:55 +0x465
> github.com/pin/tftp.(*Server).singlePortProcessRequests.func1()
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:29 +0x314
> panic({0x5ef840, 0x689a50})
> /usr/lib/go-1.19/src/runtime/panic.go:884 +0x212
> github.com/pin/tftp.(*Server).singlePortProcessRequests(0xc0000d8000)
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:55 +0x465
> github.com/pin/tftp.(*Server).singlePortProcessRequests.func1()
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:29 +0x314
> panic({0x5ef840, 0x689a50})
> /usr/lib/go-1.19/src/runtime/panic.go:884 +0x212
> github.com/pin/tftp.(*Server).singlePortProcessRequests(0xc0000d8000)
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:55 +0x465
> github.com/pin/tftp.(*Server).singlePortProcessRequests.func1()
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:29 +0x314
> panic({0x5ef840, 0x689a50})
> /usr/lib/go-1.19/src/runtime/panic.go:884 +0x212
> github.com/pin/tftp.(*Server).singlePortProcessRequests(0xc0000d8000)
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:55 +0x465
> github.com/pin/tftp.(*Server).singlePortProcessRequests.func1()
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:29 +0x314
> panic({0x5ef840, 0x689a50})
> /usr/lib/go-1.19/src/runtime/panic.go:884 +0x212
> github.com/pin/tftp.(*Server).singlePortProcessRequests(0xc0000d8000)
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:55 +0x465
> github.com/pin/tftp.(*Server).singlePortProcessRequests.func1()
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:29 +0x314
> panic({0x5ef840, 0x689a50})
> /usr/lib/go-1.19/src/runtime/panic.go:884 +0x212
> github.com/pin/tftp.(*Server).singlePortProcessRequests(0xc0000d8000)
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:55 +0x465
> github.com/pin/tftp.(*Server).singlePortProcessRequests.func1()
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:29 +0x314
> panic({0x5ef840, 0x689a50})
> /usr/lib/go-1.19/src/runtime/panic.go:884 +0x212
> github.com/pin/tftp.(*Server).singlePortProcessRequests(0xc0000d8000)
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:55 +0x465
> github.com/pin/tftp.(*Server).singlePortProcessRequests.func1()
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:29 +0x314
> panic({0x5ef840, 0x689a50})
> /usr/lib/go-1.19/src/runtime/panic.go:884 +0x212
> github.com/pin/tftp.(*Server).singlePortProcessRequests(0xc0000d8000)
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:55 +0x465
> github.com/pin/tftp.(*Server).singlePortProcessRequests.func1()
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:29 +0x314
> panic({0x5ef840, 0x689a50})
> /usr/lib/go-1.19/src/runtime/panic.go:884 +0x212
> created by github.com/pin/tftp.makeTestServer
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/tftp_test.go:439 +0x245
>
> goroutine 37 [chan receive, 9 minutes]:
> github.com/pin/tftp.(*Server).internalGC(0xc0000d8000)
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:121 +0x70
> created by github.com/pin/tftp.(*Server).EnableSinglePort
> /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/server.go:129 +0x185
> FAIL github.com/pin/tftp 600.060s
> === RUN TestTo
> --- PASS: TestTo (0.00s)
> === RUN TestFrom
> --- PASS: TestFrom (0.00s)
> === RUN TestWriteRead
> --- PASS: TestWriteRead (0.00s)
> === RUN TestOneByte
> --- PASS: TestOneByte (0.00s)
> PASS
> ok github.com/pin/tftp/netascii 0.002s
> FAIL
> dh_auto_test: error: cd _build && go test -vet=off -v -p 8
> github.com/pin/tftp github.com/pin/tftp/netascii returned exit code 1
The full build log is available from:
http://qa-logs.debian.net/2023/05/17/golang-github-pin-tftp_2.2.0-3_testing.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230517;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230517&[email protected]&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.