Source: golang-github-pin-tftp
Version: 2.2.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220326 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, 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/unsafeheader
> internal/goos
> internal/goarch
> internal/goexperiment
> internal/race
> internal/cpu
> runtime/internal/atomic
> runtime/internal/syscall
> sync/atomic
> unicode
> internal/abi
> runtime/internal/math
> runtime/internal/sys
> unicode/utf8
> math/bits
> internal/itoa
> golang.org/x/net/internal/iana
> golang.org/x/sys/internal/unsafeheader
> internal/nettrace
> internal/bytealg
> math
> runtime
> internal/reflectlite
> sync
> internal/singleflight
> math/rand
> internal/testlog
> runtime/cgo
> errors
> sort
> io
> strconv
> internal/oserror
> path
> vendor/golang.org/x/net/dns/dnsmessage
> syscall
> bytes
> github.com/pin/tftp/netascii
> strings
> reflect
> internal/syscall/unix
> internal/syscall/execenv
> time
> context
> internal/poll
> io/fs
> internal/fmtsort
> encoding/binary
> os
> 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/ipv6
> golang.org/x/net/ipv4
> 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   TestSendReceiveSinglePort
> --- PASS: TestSendReceiveSinglePort (0.66s)
> === RUN   TestSendReceiveSinglePortWithBlockSize
> --- PASS: TestSendReceiveSinglePortWithBlockSize (0.49s)
> === RUN   TestServerSendTimeoutSinglePort
> panic: test timed out after 10m0s
> 
> goroutine 3166 [running]:
> testing.(*M).startAlarm.func1()
>       /usr/lib/go-1.18/src/testing/testing.go:2029 +0x8e
> created by time.goFunc
>       /usr/lib/go-1.18/src/time/sleep.go:176 +0x32
> 
> goroutine 1 [chan receive, 9 minutes]:
> testing.(*T).Run(0xc000117520, {0x61e3a2?, 0x4d1845?}, 0x62ae48)
>       /usr/lib/go-1.18/src/testing/testing.go:1487 +0x37a
> testing.runTests.func1(0xc000109770?)
>       /usr/lib/go-1.18/src/testing/testing.go:1839 +0x6e
> testing.tRunner(0xc000117520, 0xc000157cd8)
>       /usr/lib/go-1.18/src/testing/testing.go:1439 +0x102
> testing.runTests(0xc00011d360?, {0x791c60, 0x1d, 0x1d}, {0x7fabe3c6d108?, 
> 0x40?, 0x797800?})
>       /usr/lib/go-1.18/src/testing/testing.go:1837 +0x457
> testing.(*M).Run(0xc00011d360)
>       /usr/lib/go-1.18/src/testing/testing.go:1719 +0x5d9
> main.main()
>       _testmain.go:103 +0x1aa
> 
> goroutine 35 [chan receive, 9 minutes]:
> github.com/pin/tftp.(*Server).internalGC(0xc0001ae000)
>       /<<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 +0x16f
> 
> goroutine 3246 [chan send, 9 minutes]:
> github.com/pin/tftp.(*Server).Shutdown(0xc0001ae1c0)
>       /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/server.go:310 +0x65
> github.com/pin/tftp.serverTimeoutSendTest(0xc0001ae1c0, 0xc000c7af30, 
> 0xc000003ba0)
>       /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/tftp_test.go:575 +0x3b7
> github.com/pin/tftp.TestServerSendTimeoutSinglePort(0x11?)
>       /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port_test.go:32 
> +0x2f
> testing.tRunner(0xc000003ba0, 0x62ae48)
>       /usr/lib/go-1.18/src/testing/testing.go:1439 +0x102
> created by testing.(*T).Run
>       /usr/lib/go-1.18/src/testing/testing.go:1486 +0x35f
> 
> goroutine 9 [chan receive, 10 minutes]:
> github.com/pin/tftp.(*Server).internalGC(0xc00017a000)
>       /<<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 +0x16f
> 
> goroutine 3248 [IO wait, 9 minutes]:
> internal/poll.runtime_pollWait(0x7fabb7fd0918, 0x72)
>       /usr/lib/go-1.18/src/runtime/netpoll.go:302 +0x89
> internal/poll.(*pollDesc).wait(0xc000ddc300?, 0x28?, 0x0)
>       /usr/lib/go-1.18/src/internal/poll/fd_poll_runtime.go:83 +0x32
> internal/poll.(*pollDesc).waitRead(...)
>       /usr/lib/go-1.18/src/internal/poll/fd_poll_runtime.go:88
> internal/poll.(*FD).RawRead(0xc000ddc300, 0xc000c7b380)
>       /usr/lib/go-1.18/src/internal/poll/fd_unix.go:766 +0x145
> net.(*rawConn).Read(0xc000010160, 0x28?)
>       /usr/lib/go-1.18/src/net/rawconn.go:43 +0x45
> golang.org/x/net/internal/socket.(*Conn).recvMsg(0xc00181d060, 0xc0001415e8, 
> 0x0)
>       
> /<<PKGBUILDDIR>>/_build/src/golang.org/x/net/internal/socket/rawconn_msg.go:29
>  +0x202
> 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(0xc0013cc470, {0xc00128b000, 
> 0x7d4, 0x7d4})
>       /<<PKGBUILDDIR>>/_build/src/golang.org/x/net/ipv6/payload_cmsg.go:32 
> +0x1fc
> github.com/pin/tftp.(*Server).getPacket(0xc0001ae250?, {0xc00128b000?, 
> 0xc000533fa0?, 0x0?})
>       /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:77 +0x185
> github.com/pin/tftp.(*Server).singlePortProcessRequests(0xc0001ae1c0)
>       /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:43 +0x2af
> github.com/pin/tftp.(*Server).singlePortProcessRequests.func1()
>       /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:29 +0x314
> panic({0x5e18c0, 0x65fec0})
>       /usr/lib/go-1.18/src/runtime/panic.go:838 +0x207
> github.com/pin/tftp.(*Server).singlePortProcessRequests(0xc0001ae1c0)
>       /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/single_port.go:55 +0x465
> github.com/pin/tftp.(*Server).Serve(0xc0001ae1c0, {0x661ba0?, 0xc000010148})
>       /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/server.go:222 +0x24f
> created by github.com/pin/tftp.makeTestServer
>       /<<PKGBUILDDIR>>/_build/src/github.com/pin/tftp/tftp_test.go:439 +0x245
> 
> goroutine 1659 [chan receive, 9 minutes]:
> github.com/pin/tftp.(*Server).internalGC(0xc0001ae0e0)
>       /<<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 +0x16f
> 
> goroutine 3247 [chan receive, 9 minutes]:
> github.com/pin/tftp.(*Server).internalGC(0xc0001ae1c0)
>       /<<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 +0x16f
> FAIL  github.com/pin/tftp     600.107s
> === 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/2022/03/26/golang-github-pin-tftp_2.2.0-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!

If you reassign this bug to another package, please marking 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.

Reply via email to