Skip to content

Instantly share code, notes, and snippets.

@xquery
Created September 11, 2020 05:34
Show Gist options
  • Save xquery/be0e368e7cd1a28f0d64aa28c9760b1a to your computer and use it in GitHub Desktop.
Save xquery/be0e368e7cd1a28f0d64aa28c9760b1a to your computer and use it in GitHub Desktop.
=== RUN TestDelegate
SIGQUIT: quit
PC=0x471ca1 m=0 sigcode=0
goroutine 0 [idle]:
runtime.futex(0xa75a48, 0x80, 0x0, 0x0, 0x7ffe00000000, 0x47187c, 0x16503, 0x385ef168, 0x7ffeb9a66048, 0x40da7f, ...)
/usr/local/go/src/runtime/sys_linux_amd64.s:587 +0x21
runtime.futexsleep(0xa75a48, 0x0, 0xffffffffffffffff)
/usr/local/go/src/runtime/os_linux.go:45 +0x46
runtime.notesleep(0xa75a48)
/usr/local/go/src/runtime/lock_futex.go:159 +0x9f
runtime.stopm()
/usr/local/go/src/runtime/proc.go:1910 +0xc5
runtime.findrunnable(0xc000022800, 0x0)
/usr/local/go/src/runtime/proc.go:2471 +0xa7f
runtime.schedule()
/usr/local/go/src/runtime/proc.go:2669 +0x2d7
runtime.park_m(0xc000192180)
/usr/local/go/src/runtime/proc.go:2837 +0x9d
runtime.mcall(0x0)
/usr/local/go/src/runtime/asm_amd64.s:318 +0x5b
goroutine 1 [chan receive]:
testing.(*T).Run(0xc00019f080, 0x815a7b, 0xc, 0x828c60, 0x490201)
/usr/local/go/src/testing/testing.go:1179 +0x3ad
testing.runTests.func1(0xc000001b00)
/usr/local/go/src/testing/testing.go:1449 +0x78
testing.tRunner(0xc000001b00, 0xc00015bde0)
/usr/local/go/src/testing/testing.go:1127 +0xef
testing.runTests(0xc00000e3a0, 0xa70020, 0xc, 0xc, 0xbfcee1675cbebe48, 0x8bb2dc907d, 0xa74dc0, 0x40f250)
/usr/local/go/src/testing/testing.go:1447 +0x2e8
testing.(*M).Run(0xc00018c000, 0x0)
/usr/local/go/src/testing/testing.go:1357 +0x245
main.main()
_testmain.go:67 +0x138
goroutine 40 [chan receive]:
tailscale.com/wgengine/tsdns.serveDNS(0x813ec6, 0x7, 0xc0001965a0, 0xc00001e660)
/usr/src/myapp/wgengine/tsdns/tsdns_server_test.go:86 +0x12c
tailscale.com/wgengine/tsdns.TestDelegate(0xc00019f080)
/usr/src/myapp/wgengine/tsdns/tsdns_test.go:280 +0x1dd
testing.tRunner(0xc00019f080, 0x828c60)
/usr/local/go/src/testing/testing.go:1127 +0xef
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:1178 +0x386
goroutine 41 [IO wait]:
internal/poll.runtime_pollWait(0x7f141c4ea0b8, 0x72, 0x28)
/usr/local/go/src/runtime/netpoll.go:220 +0x55
internal/poll.(*pollDesc).wait(0xc00018c118, 0x72, 0x200, 0x200, 0xc000096150)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/usr/local/go/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).ReadMsg(0xc00018c100, 0xc000147800, 0x200, 0x200, 0xc000096150, 0x28, 0x28, 0x0, 0x0, 0x0, ...)
/usr/local/go/src/internal/poll/fd_unix.go:242 +0x246
net.(*netFD).readMsg(0xc00018c100, 0xc000147800, 0x200, 0x200, 0xc000096150, 0x28, 0x28, 0x1, 0x1, 0x0, ...)
/usr/local/go/src/net/fd_posix.go:67 +0x90
net.(*UDPConn).readMsg(0xc000010050, 0xc000147800, 0x200, 0x200, 0xc000096150, 0x28, 0x28, 0x7f14441b27d0, 0x0, 0x48fd5a, ...)
/usr/local/go/src/net/udpsock_posix.go:59 +0x91
net.(*UDPConn).ReadMsgUDP(0xc000010050, 0xc000147800, 0x200, 0x200, 0xc000096150, 0x28, 0x28, 0x479b85, 0x1, 0xc000057cf8, ...)
/usr/local/go/src/net/udpsock.go:139 +0x9d
github.com/miekg/dns.ReadFromSessionUDP(0xc000010050, 0xc000147800, 0x200, 0x200, 0x0, 0x0, 0xa74dc0, 0xc000090230)
/go/pkg/mod/github.com/miekg/[email protected]/udp.go:42 +0xb7
github.com/miekg/dns.(*Server).readUDP(0xc0001965a0, 0xc000010050, 0x77359400, 0xaa5260, 0x87c401, 0xaa5260, 0x7f141c4a3038, 0xaa5260, 0x7f141c4a3001)
/go/pkg/mod/github.com/miekg/[email protected]/server.go:645 +0xd9
github.com/miekg/dns.defaultReader.ReadUDP(0xc0001965a0, 0xc000010050, 0x77359400, 0x7f141c4a3008, 0xc000090230, 0x1, 0x0, 0x87c540, 0xc000090230)
/go/pkg/mod/github.com/miekg/[email protected]/server.go:153 +0x45
github.com/miekg/dns.(*Server).serveUDP(0xc0001965a0, 0xc000010050, 0x0, 0x0)
/go/pkg/mod/github.com/miekg/[email protected]/server.go:462 +0x162
github.com/miekg/dns.(*Server).ListenAndServe(0xc0001965a0, 0x0, 0x0)
/go/pkg/mod/github.com/miekg/[email protected]/server.go:302 +0x385
tailscale.com/wgengine/tsdns.serveDNS.func2(0xc00001e660, 0xc0001965a0)
/usr/src/myapp/wgengine/tsdns/tsdns_server_test.go:82 +0x2b
created by tailscale.com/wgengine/tsdns.serveDNS
/usr/src/myapp/wgengine/tsdns/tsdns_server_test.go:81 +0x115
rax 0xca
rbx 0xa75900
rcx 0x471ca3
rdx 0x0
rdi 0xa75a48
rsi 0x80
rbp 0x7ffeb9a66010
rsp 0x7ffeb9a65fc8
r8 0x0
r9 0x0
r10 0x0
r11 0x286
r12 0x3
r13 0xa75220
r14 0x7
r15 0xaa
rip 0x471ca1
rflags 0x286
cs 0x33
fs 0x0
gs 0x0
FAIL tailscale.com/wgengine/tsdns 44.298s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment