pion / stun

A Go implementation of STUN
https://pion.ly/
MIT License
616 stars 94 forks source link

Update CI configs to v0.4.21 #77

Closed pionbot closed 3 years ago

pionbot commented 3 years ago

Update lint scripts and CI configs. Excluding codecov.yml.

codecov[bot] commented 3 years ago

Codecov Report

Merging #77 (42c62ab) into master (a8e78b7) will decrease coverage by 42.73%. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #77       +/-   ##
===========================================
- Coverage   98.16%   55.43%   -42.74%     
===========================================
  Files          20       19        -1     
  Lines        1091     1086        -5     
===========================================
- Hits         1071      602      -469     
- Misses         14      450      +436     
- Partials        6       34       +28     
Flag Coverage Δ
go ?
wasm 55.43% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
client.go 0.00% <0.00%> (-100.00%) :arrow_down:
errorcode.go 0.00% <0.00%> (-100.00%) :arrow_down:
xor.go 35.00% <0.00%> (-65.00%) :arrow_down:
xoraddr.go 35.18% <0.00%> (-64.82%) :arrow_down:
message.go 56.08% <0.00%> (-43.92%) :arrow_down:
checks.go 64.28% <0.00%> (-35.72%) :arrow_down:
fingerprint.go 78.94% <0.00%> (-21.06%) :arrow_down:
errors.go 80.00% <0.00%> (-20.00%) :arrow_down:
textattrs.go 84.00% <0.00%> (-16.00%) :arrow_down:
attributes.go 86.15% <0.00%> (-10.77%) :arrow_down:
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a8e78b7...42c62ab. Read the comment docs.

at-wat commented 3 years ago
BenchmarkMessageIntegrity_AddTo
SIGQUIT: quit
PC=0x40f708 m=0 sigcode=0

goroutine 228 [running]:
created by github.com/pion/stun.NewClient
    /home/runner/work/stun/stun/client.go:152 +0x647

goroutine 1 [chan receive]:
testing.(*B).doBench(0xc0000da000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /opt/hostedtoolcache/go/1.15.10/x64/src/testing/benchmark.go:277 +0x9a
testing.(*benchContext).processBench(0xc000471120, 0xc0000da000)
    /opt/hostedtoolcache/go/1.15.10/x64/src/testing/benchmark.go:572 +0x514
testing.(*B).run(0xc0000da000)
    /opt/hostedtoolcache/go/1.15.10/x64/src/testing/benchmark.go:268 +0xbf
testing.(*B).Run(0xc0000da240, 0x74f83a, 0x1f, 0x755ca0, 0x8f1c00)
    /opt/hostedtoolcache/go/1.15.10/x64/src/testing/benchmark.go:657 +0x7dc
testing.runBenchmarks.func1(0xc0000da240)
    /opt/hostedtoolcache/go/1.15.10/x64/src/testing/benchmark.go:533 +0xa7
testing.(*B).runN(0xc0000da240, 0x1)
    /opt/hostedtoolcache/go/1.15.10/x64/src/testing/benchmark.go:191 +0x1c6
testing.runBenchmarks(0x74bd10, 0x14, 0xc000471100, 0x8ed660, 0x28, 0x28, 0x8f1ce0)
    /opt/hostedtoolcache/go/1.15.10/x64/src/testing/benchmark.go:542 +0x738
testing.(*M).Run(0xc0000fc000, 0x0)
    /opt/hostedtoolcache/go/1.15.10/x64/src/testing/testing.go:1351 +0x77f
main.main()
    _testmain.go:451 +0x357

goroutine 190 [running]:
    goroutine running on other thread; stack unavailable
created by github.com/pion/stun.NewClient
    /home/runner/work/stun/stun/client.go:152 +0x647

goroutine 209 [runnable]:
github.com/pion/stun.(*Client).readUntilClosed(0xc00019e820)
    /home/runner/work/stun/stun/client.go:323 +0x185
created by github.com/pion/stun.NewClient
    /home/runner/work/stun/stun/client.go:152 +0x647

goroutine 2361 [runnable]:
runtime.Gosched(...)
    /opt/hostedtoolcache/go/1.15.10/x64/src/runtime/proc.go:271
runtime.GC()
    /opt/hostedtoolcache/go/1.15.10/x64/src/runtime/mgc.go:1108 +0x85
testing.(*B).runN(0xc0000da000, 0x64)
    /opt/hostedtoolcache/go/1.15.10/x64/src/testing/benchmark.go:185 +0xe5
testing.(*B).launch(0xc0000da000)
    /opt/hostedtoolcache/go/1.15.10/x64/src/testing/benchmark.go:321 +0x166
created by testing.(*B).doBench
    /opt/hostedtoolcache/go/1.15.10/x64/src/testing/benchmark.go:276 +0x65

goroutine 350 [runnable]:
github.com/pion/stun.(*Client).readUntilClosed(0xc00019edc0)
    /home/runner/work/stun/stun/client.go:323 +0x185
created by github.com/pion/stun.NewClient
    /home/runner/work/stun/stun/client.go:152 +0x647

goroutine 200 [sleep]:
time.Sleep(0xf4240)
    /opt/hostedtoolcache/go/1.15.10/x64/src/runtime/time.go:188 +0xbf
github.com/pion/stun.noopConnection.Read(...)
    /home/runner/work/stun/stun/client_test.go:67
github.com/pion/stun.(*Message).ReadFrom(0xc0000134f0, 0x7f54cb8d2408, 0x921ce8, 0x7f54cb8d2408, 0x921ce8, 0xc000092030)
    /home/runner/work/stun/stun/message.go:332 +0xe9
github.com/pion/stun.(*Client).readUntilClosed(0xc00019e640)
    /home/runner/work/stun/stun/client.go:327 +0x22a
created by github.com/pion/stun.NewClient
    /home/runner/work/stun/stun/client.go:152 +0x647

goroutine 355 [runnable]:
net.(*pipe).Read(0xc0000fc500, 0xc000156000, 0x400, 0x400, 0x72dca0, 0x7f54cb8d23e8, 0xc000092080)
    /opt/hostedtoolcache/go/1.15.10/x64/src/net/pipe.go:141 +0x331
github.com/pion/stun.(*Message).ReadFrom(0xc00013b450, 0x7f54cb8d23e8, 0xc0000fc500, 0x7f54cb8d23e8, 0xc0000fc500, 0xc000092080)
    /home/runner/work/stun/stun/message.go:332 +0xe9
github.com/pion/stun.(*Client).readUntilClosed(0xc00019ee60)
    /home/runner/work/stun/stun/client.go:327 +0x22a
created by github.com/pion/stun.NewClient
    /home/runner/work/stun/stun/client.go:152 +0x647

goroutine 226 [chan receive, 10 minutes]:
github.com/pion/stun.TestClientRTOWriteErr.func4.1(0xc0001d0000, 0xc0000d8de0, 0xc0000a0f4c, 0xc0000bb280, 0x975091db1a90a9f6, 0xea870ecb, 0xc0001c0600, 0xc0001aff80, 0x798ac0, 0xc0001b0300, ...)
    /home/runner/work/stun/stun/client_test.go:1239 +0x5f
created by github.com/pion/stun.TestClientRTOWriteErr.func4
    /home/runner/work/stun/stun/client_test.go:1238 +0x393

goroutine 220 [runnable]:
github.com/pion/stun.(*Client).readUntilClosed(0xc00019e960)
    /home/runner/work/stun/stun/client.go:323 +0x185
created by github.com/pion/stun.NewClient
    /home/runner/work/stun/stun/client.go:152 +0x647

goroutine 235 [runnable]:
github.com/pion/stun.(*Client).readUntilClosed(0xc00019eb40)
    /home/runner/work/stun/stun/client.go:327 +0x205
created by github.com/pion/stun.NewClient
    /home/runner/work/stun/stun/client.go:152 +0x647

goroutine 372 [runnable]:
github.com/pion/stun.(*Client).readUntilClosed(0xc00019ef00)
    /home/runner/work/stun/stun/client.go:327 +0x205
created by github.com/pion/stun.NewClient
    /home/runner/work/stun/stun/client.go:152 +0x647

goroutine 404 [runnable]:
github.com/pion/stun.(*Client).readUntilClosed(0xc00019efa0)
    /home/runner/work/stun/stun/client.go:327 +0x205
created by github.com/pion/stun.NewClient
    /home/runner/work/stun/stun/client.go:152 +0x647

goroutine 783 [runnable]:
github.com/pion/stun.(*Client).readUntilClosed(0xc00019f0e0)
    /home/runner/work/stun/stun/client.go:323 +0x185
created by github.com/pion/stun.NewClient
    /home/runner/work/stun/stun/client.go:152 +0x647

goroutine 481 [runnable]:
github.com/pion/stun.(*Client).readUntilClosed(0xc00019f040)
    /home/runner/work/stun/stun/client.go:327 +0x205
created by github.com/pion/stun.NewClient
    /home/runner/work/stun/stun/client.go:152 +0x647

rax    0x3ffffffffff
rbx    0x7f549d320068
rcx    0x7f548f3cf700
rdx    0x7f54cbe1a318
rdi    0x7ffc58c91790
rsi    0x2f
rbp    0x7ffc58c91790
rsp    0x7ffc58c91790
r8     0xfffffc0000000000
r9     0x1
r10    0x0
r11    0x1
r12    0x7f549d321990
r13    0x7f54cbe1a318
r14    0xfffffc0000000000
r15    0x3ffffffffff
rip    0x40f708
rflags 0x206
cs     0x33
fs     0x0
gs     0x0
*** Test killed with quit: ran too long (11m0s).
exit status 2
FAIL    github.com/pion/stun    660.054s
FAIL
exit status 1