Source: golang-github-pion-ice.v2 Version: 2.3.1-1 Severity: serious Justification: Policy 4.9 X-Debbugs-Cc: d...@debian.org, wb-t...@buildd.debian.org Control: affects -1 buildd.debian.org
Hi, golang-github-pion-ice.v2 attempts network access during build. This is forbidden by Policy 4.9: For packages in the main archive, required targets must not attempt network access, except, via the loopback interface, to services on the build host that have been started by the build. This can be tested with the sbuild unshare backend: === RUN TestConnectionStateCallback goroutine profile: total 16 2 @ 0x43f36e 0x40999f 0x4095d2 0x71a847 0x476061 # 0x71a846 github.com/pion/ice/v2.(*Agent).startOnConnectionStateChangeRoutine.func1+0x46 /<<PKGBUILDDIR>>/_build/src/github.com/pion/ice/v2/agent.go:424 2 @ 0x43f36e 0x438057 0x470a85 0x4a1ec7 0x4a4f0a 0x4a4ef3 0x565516 0x5a2004 0x5a568e 0x5a567c 0x5a8745 0x476061 # 0x470a84 internal/poll.runtime_pollWait+0x84 /usr/lib/go-1.22/src/runtime/netpoll.go:345 # 0x4a1ec6 internal/poll.(*pollDesc).wait+0x26 /usr/lib/go-1.22/src/internal/poll/fd_poll_runtime.go:84 # 0x4a4f09 internal/poll.(*pollDesc).waitRead+0x129 /usr/lib/go-1.22/src/internal/poll/fd_poll_runtime.go:89 # 0x4a4ef2 internal/poll.(*FD).RawRead+0x112 /usr/lib/go-1.22/src/internal/poll/fd_unix.go:708 # 0x565515 net.(*rawConn).Read+0x35 /usr/lib/go-1.22/src/net/rawconn.go:44 # 0x5a2003 golang.org/x/net/internal/socket.(*Conn).recvMsg+0x143 /<<PKGBUILDDIR>>/_build/src/golang.org/x/net/internal/socket/rawconn_msg.go:27 # 0x5a568d golang.org/x/net/internal/socket.(*Conn).RecvMsg+0x4ad /<<PKGBUILDDIR>>/_build/src/golang.org/x/net/internal/socket/socket.go:247 # 0x5a567b golang.org/x/net/ipv4.(*payloadHandler).ReadFrom+0x49b /<<PKGBUILDDIR>>/_build/src/golang.org/x/net/ipv4/payload_cmsg.go:31 # 0x5a8744 github.com/pion/mdns.(*Conn).start+0xe4 /<<PKGBUILDDIR>>/_build/src/github.com/pion/mdns/conn.go:295 2 @ 0x43f36e 0x4510c5 0x4ea5b8 0x476061 # 0x4ea5b7 context.(*cancelCtx).propagateCancel.func2+0x97 /usr/lib/go-1.22/src/context/context.go:510 2 @ 0x43f36e 0x4510c5 0x719098 0x476061 # 0x719097 github.com/pion/ice/v2.(*Agent).taskLoop+0x137 /<<PKGBUILDDIR>>/_build/src/github.com/pion/ice/v2/agent.go:230 2 @ 0x43f36e 0x4510c5 0x71a5c5 0x476061 # 0x71a5c4 github.com/pion/ice/v2.(*Agent).startOnConnectionStateChangeRoutine.func2+0xa4 /<<PKGBUILDDIR>>/_build/src/github.com/pion/ice/v2/agent.go:433 2 @ 0x43f36e 0x4510c5 0x71b113 0x476061 # 0x71b112 github.com/pion/ice/v2.(*Agent).connectivityChecks+0x1b2 /<<PKGBUILDDIR>>/_build/src/github.com/pion/ice/v2/agent.go:550 1 @ 0x434a31 0x4706bd 0x531871 0x5316a5 0x52e4cb 0x7748bd 0x476061 # 0x4706bc runtime/pprof.runtime_goroutineProfileWithLabels+0x1c /usr/lib/go-1.22/src/runtime/mprof.go:1079 # 0x531870 runtime/pprof.writeRuntimeProfile+0xb0 /usr/lib/go-1.22/src/runtime/pprof/pprof.go:774 # 0x5316a4 runtime/pprof.writeGoroutine+0x44 /usr/lib/go-1.22/src/runtime/pprof/pprof.go:734 # 0x52e4ca runtime/pprof.(*Profile).WriteTo+0x14a /usr/lib/go-1.22/src/runtime/pprof/pprof.go:369 # 0x7748bc github.com/pion/ice/v2.TestConnectionStateCallback.TimeOut.func2+0x3c /<<PKGBUILDDIR>>/_build/src/github.com/pion/transport/test/util.go:21 1 @ 0x43f36e 0x40999f 0x4095b2 0x4faeeb 0x4fd037 0x4fa01b 0x4fcf25 0x4fb92b 0x77c2ac 0x43ef1d 0x476061 # 0x4faeea testing.(*T).Run+0x3aa /usr/lib/go-1.22/src/testing/testing.go:1750 # 0x4fd036 testing.runTests.func1+0x36 /usr/lib/go-1.22/src/testing/testing.go:2161 # 0x4fa01a testing.tRunner+0xfa /usr/lib/go-1.22/src/testing/testing.go:1689 # 0x4fcf24 testing.runTests+0x444 /usr/lib/go-1.22/src/testing/testing.go:2159 # 0x4fb92a testing.(*M).Run+0x68a /usr/lib/go-1.22/src/testing/testing.go:2027 # 0x77c2ab main.main+0x16b _testmain.go:225 # 0x43ef1c runtime.main+0x29c /usr/lib/go-1.22/src/runtime/proc.go:271 1 @ 0x43f36e 0x4510c5 0x73a965 0x766c5b 0x766c32 0x746425 0x4fa01b 0x476061 # 0x73a964 github.com/pion/ice/v2.(*Agent).connect+0x124 /<<PKGBUILDDIR>>/_build/src/github.com/pion/ice/v2/transport.go:53 # 0x766c5a github.com/pion/ice/v2.(*Agent).Dial+0xfa /<<PKGBUILDDIR>>/_build/src/github.com/pion/ice/v2/transport.go:15 # 0x766c31 github.com/pion/ice/v2.connect+0xd1 /<<PKGBUILDDIR>>/_build/src/github.com/pion/ice/v2/transport_test.go:219 # 0x746424 github.com/pion/ice/v2.TestConnectionStateCallback+0x344 /<<PKGBUILDDIR>>/_build/src/github.com/pion/ice/v2/agent_test.go:653 # 0x4fa01a testing.tRunner+0xfa /usr/lib/go-1.22/src/testing/testing.go:1689 1 @ 0x43f36e 0x4510c5 0x73a965 0x766d45 0x766d46 0x476061 # 0x73a964 github.com/pion/ice/v2.(*Agent).connect+0x124 /<<PKGBUILDDIR>>/_build/src/github.com/pion/ice/v2/transport.go:53 # 0x766d44 github.com/pion/ice/v2.(*Agent).Accept+0x64 /<<PKGBUILDDIR>>/_build/src/github.com/pion/ice/v2/transport.go:21 # 0x766d45 github.com/pion/ice/v2.connect.func1+0x65 /<<PKGBUILDDIR>>/_build/src/github.com/pion/ice/v2/transport_test.go:213 panic: timeout goroutine 195 [running]: github.com/pion/ice/v2.TestConnectionStateCallback.TimeOut.func2() /<<PKGBUILDDIR>>/_build/src/github.com/pion/transport/test/util.go:24 +0x8c created by time.goFunc /usr/lib/go-1.22/src/time/sleep.go:177 +0x2d FAIL github.com/pion/ice/v2 8.728s Cheers Jochen