inetaf / netaddr

Network address types

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TestIPSetRangesStress crash

bradfitz opened this issue · comments

bradfitz@tsdev:~/src/inet.af/netaddr$ go test -long -run=TestIPSetRangesStress -v -count=20
=== RUN   TestIPSetRangesStress
=== PAUSE TestIPSetRangesStress
=== CONT  TestIPSetRangesStress
--- PASS: TestIPSetRangesStress (2.01s)
=== RUN   TestIPSetRangesStress
=== PAUSE TestIPSetRangesStress
=== CONT  TestIPSetRangesStress
--- PASS: TestIPSetRangesStress (1.74s)
=== RUN   TestIPSetRangesStress
=== PAUSE TestIPSetRangesStress
=== CONT  TestIPSetRangesStress
--- PASS: TestIPSetRangesStress (1.73s)
=== RUN   TestIPSetRangesStress
=== PAUSE TestIPSetRangesStress
=== CONT  TestIPSetRangesStress
--- PASS: TestIPSetRangesStress (1.70s)
=== RUN   TestIPSetRangesStress
=== PAUSE TestIPSetRangesStress
=== CONT  TestIPSetRangesStress
--- PASS: TestIPSetRangesStress (1.84s)
=== RUN   TestIPSetRangesStress
=== PAUSE TestIPSetRangesStress
=== CONT  TestIPSetRangesStress
--- PASS: TestIPSetRangesStress (1.81s)
=== RUN   TestIPSetRangesStress
=== PAUSE TestIPSetRangesStress
=== CONT  TestIPSetRangesStress
--- PASS: TestIPSetRangesStress (1.78s)
=== RUN   TestIPSetRangesStress
=== PAUSE TestIPSetRangesStress
=== CONT  TestIPSetRangesStress
--- FAIL: TestIPSetRangesStress (0.43s)
panic: runtime error: index out of range [65535] with length 65535 [recovered]
        panic: runtime error: index out of range [65535] with length 65535

goroutine 32 [running]:
testing.tRunner.func1.1(0x5c5400, 0xc00013c480)
        /home/bradfitz/sdk/go1.15/src/testing/testing.go:1057 +0x30d
testing.tRunner.func1(0xc00045c300)
        /home/bradfitz/sdk/go1.15/src/testing/testing.go:1060 +0x41a
panic(0x5c5400, 0xc00013c480)
        /home/bradfitz/sdk/go1.15/src/runtime/panic.go:969 +0x175
inet.af/netaddr.TestIPSetRangesStress(0xc00045c300)
        /home/bradfitz/src/inet.af/netaddr/ipset_test.go:495 +0x7f7
testing.tRunner(0xc00045c300, 0x5e5ae8)
        /home/bradfitz/sdk/go1.15/src/testing/testing.go:1108 +0xef
created by testing.(*T).Run
        /home/bradfitz/sdk/go1.15/src/testing/testing.go:1159 +0x386
exit status 2
FAIL    inet.af/netaddr 13.079s