Created
April 16, 2020 11:15
-
-
Save adriansr/0182dd16c51dc35a811d2b223e7979fc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GOROOT=/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64 #gosetup | |
GOPATH=/Users/adrian/go #gosetup | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/bin/go test -c -o /private/var/folders/4t/d2fxfql505j76bjd6yb6qhc80000gn/T/___TestReplaceIndexInIndexPattern_in_github_com_elastic_beats_v7_libbeat_dashboards github.com/elastic/beats/v7/libbeat/dashboards #gosetup | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/bin/go tool test2json -t /private/var/folders/4t/d2fxfql505j76bjd6yb6qhc80000gn/T/___TestReplaceIndexInIndexPattern_in_github_com_elastic_beats_v7_libbeat_dashboards -test.v -test.run ^TestReplaceIndexInIndexPattern$ #gosetup | |
=== RUN TestReplaceIndexInIndexPattern | |
=== RUN TestReplaceIndexInIndexPattern/Replace_in_[]interface(map).map | |
=== RUN TestReplaceIndexInIndexPattern/Replace_in_[]interface(map).mapstr | |
=== RUN TestReplaceIndexInIndexPattern/Replace_in_[]map.mapstr | |
=== RUN TestReplaceIndexInIndexPattern/Replace_in_[]mapstr.mapstr | |
=== RUN TestReplaceIndexInIndexPattern/Replace_in_[]mapstr.interface(mapstr) | |
=== RUN TestReplaceIndexInIndexPattern/Do_not_create_missing_attributes | |
=== RUN TestReplaceIndexInIndexPattern/Create_missing_id | |
runtime: bad pointer in frame reflect.Value.MapKeys at 0xc0000ef518: 0x1 | |
fatal error: invalid pointer found on stack | |
runtime stack: | |
runtime.throw(0x147a3a4, 0x1e) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/panic.go:774 +0x72 fp=0x7ffeefbfef90 sp=0x7ffeefbfef60 pc=0x1030d52 | |
runtime.adjustpointers(0xc0000ef510, 0x7ffeefbff090, 0x7ffeefbff420, 0x15b8a90, 0x1780460) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/stack.go:591 +0x220 fp=0x7ffeefbfeff0 sp=0x7ffeefbfef90 pc=0x1048260 | |
runtime.adjustframe(0x7ffeefbff330, 0x7ffeefbff420, 0x1780460) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/stack.go:633 +0x34f fp=0x7ffeefbff0c0 sp=0x7ffeefbfeff0 pc=0x10485bf | |
runtime.gentraceback(0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0xc000001b00, 0x0, 0x0, 0x7fffffff, 0x148c0b0, 0x7ffeefbff420, 0x0, ...) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/traceback.go:334 +0x10ed fp=0x7ffeefbff398 sp=0x7ffeefbff0c0 pc=0x1054cbd | |
runtime.copystack(0xc000001b00, 0x2000, 0x10f6901) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/stack.go:886 +0x25a fp=0x7ffeefbff550 sp=0x7ffeefbff398 pc=0x1048c3a | |
runtime.newstack() | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/stack.go:1055 +0x2fb fp=0x7ffeefbff6e0 sp=0x7ffeefbff550 pc=0x104903b | |
runtime.morestack() | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/asm_amd64.s:449 +0x8f fp=0x7ffeefbff6e8 sp=0x7ffeefbff6e0 pc=0x105ddcf | |
goroutine 13 [copystack]: | |
runtime.call64(0x0, 0x148ba88, 0xc0000ef908, 0x2800000028) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/asm_amd64.s:540 +0x6d fp=0xc0000ef308 sp=0xc0000ef300 pc=0x105e0ed | |
panic(0x13fbb80, 0x17ae2a0) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/panic.go:679 +0x1b2 fp=0xc0000ef398 sp=0xc0000ef308 pc=0x1030892 | |
encoding/json.(*encodeState).marshal.func1(0xc0000667a8) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/encoding/json/encode.go:305 +0x9a fp=0xc0000ef3c0 sp=0xc0000ef398 pc=0x118eaba | |
runtime.call32(0x0, 0x148b878, 0xc0000ef760, 0x800000008) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/asm_amd64.s:539 +0x3b fp=0xc0000ef3f0 sp=0xc0000ef3c0 pc=0x105e03b | |
panic(0x13fbb80, 0x17ae2a0) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/panic.go:679 +0x1b2 fp=0xc0000ef480 sp=0xc0000ef3f0 pc=0x1030892 | |
runtime.panicmem(...) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/panic.go:199 | |
runtime.sigpanic() | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/signal_unix.go:394 +0x3ec fp=0xc0000ef4b0 sp=0xc0000ef480 pc=0x1045fbc | |
reflect.maplen(0x1, 0x0) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/map.go:1369 +0xa fp=0xc0000ef4b8 sp=0xc0000ef4b0 pc=0x101222a | |
reflect.Value.MapKeys(0x1455de0, 0x1, 0x15, 0x0, 0x100fc2b, 0xc000066618) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/reflect/value.go:1200 +0x20e fp=0xc0000ef548 sp=0xc0000ef4b8 pc=0x10baf9e | |
encoding/json.mapEncoder.encode(0x148b8b8, 0xc0000f4540, 0x1455de0, 0x1, 0x15, 0x1450100) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/encoding/json/encode.go:690 +0xff fp=0xc0000ef690 sp=0xc0000ef548 pc=0x11859df | |
encoding/json.mapEncoder.encode-fm(0xc0000f4540, 0x1455de0, 0x1, 0x15, 0x100) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/encoding/json/encode.go:682 +0x64 fp=0xc0000ef6d0 sp=0xc0000ef690 pc=0x118f6c4 | |
encoding/json.(*encodeState).reflectValue(0xc0000f4540, 0x1455de0, 0x1, 0x15, 0x100) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/encoding/json/encode.go:337 +0x82 fp=0xc0000ef708 sp=0xc0000ef6d0 pc=0x1182ed2 | |
encoding/json.(*encodeState).marshal(0xc0000f4540, 0x1455de0, 0x1, 0x1450100, 0x0, 0x0) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/encoding/json/encode.go:309 +0x10b fp=0xc0000ef788 sp=0xc0000ef708 pc=0x118297b | |
encoding/json.Marshal(0x1455de0, 0x1, 0x1452700, 0x1e15150, 0xc000066870, 0x10b9f31, 0x1452700) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/encoding/json/encode.go:161 +0x52 fp=0xc0000ef800 sp=0xc0000ef788 pc=0x1181f52 | |
github.com/elastic/beats/v7/libbeat/common.MapStr.String(0x1, 0x1455d01, 0x1e15150) | |
/Users/adrian/go/src/github.com/elastic/beats/libbeat/common/mapstr.go:208 +0x3b fp=0xc0000ef858 sp=0xc0000ef800 pc=0x136e43b | |
github.com/elastic/beats/v7/libbeat/common.(*MapStr).String(0xc000108030, 0x1452700, 0xc000108030) | |
<autogenerated>:1 +0x3c fp=0xc0000ef880 sp=0xc0000ef858 pc=0x1370cbc | |
github.com/davecgh/go-spew/spew.handleMethods(0x17afcc0, 0x14fc720, 0xc000108cc0, 0x1455de0, 0xc000108030, 0x15, 0x0) | |
/Users/adrian/go/src/github.com/elastic/beats/vendor/github.com/davecgh/go-spew/spew/common.go:137 +0x599 fp=0xc0000ef9f0 sp=0xc0000ef880 pc=0x137d469 | |
github.com/davecgh/go-spew/spew.(*dumpState).dump(0xc000066c00, 0x1455de0, 0xc000108030, 0x15) | |
/Users/adrian/go/src/github.com/elastic/beats/vendor/github.com/davecgh/go-spew/spew/dump.go:306 +0x14b3 fp=0xc0000efb98 sp=0xc0000ef9f0 pc=0x1382613 | |
github.com/davecgh/go-spew/spew.fdump(0x17afcc0, 0x14fc720, 0xc000108cc0, 0xc000066db0, 0x1, 0x1) | |
/Users/adrian/go/src/github.com/elastic/beats/vendor/github.com/davecgh/go-spew/spew/dump.go:465 +0x159 fp=0xc0000efc40 sp=0xc0000efb98 pc=0x1382bf9 | |
github.com/davecgh/go-spew/spew.(*ConfigState).Sdump(0x17afcc0, 0xc000066db0, 0x1, 0x1, 0x15, 0xc000108030) | |
/Users/adrian/go/src/github.com/elastic/beats/vendor/github.com/davecgh/go-spew/spew/config.go:281 +0x78 fp=0xc0000efc88 sp=0xc0000efc40 pc=0x137f9c8 | |
github.com/stretchr/testify/assert.diff(0x1455de0, 0xc000108030, 0x1455de0, 0xc00009dfb0, 0x0, 0x0) | |
/Users/adrian/go/src/github.com/elastic/beats/vendor/github.com/stretchr/testify/assert/assertions.go:1422 +0x1de fp=0xc0000efe58 sp=0xc0000efc88 pc=0x138c01e | |
github.com/stretchr/testify/assert.Equal(0x14fd000, 0xc000102900, 0x1455de0, 0xc000108030, 0x1455de0, 0xc00009dfb0, 0x0, 0x0, 0x0, 0x550e6a0) | |
/Users/adrian/go/src/github.com/elastic/beats/vendor/github.com/stretchr/testify/assert/assertions.go:343 +0x25a fp=0xc0000eff08 sp=0xc0000efe58 pc=0x138b6ea | |
github.com/elastic/beats/v7/libbeat/dashboards.TestReplaceIndexInIndexPattern.func1(0xc000102900) | |
/Users/adrian/go/src/github.com/elastic/beats/libbeat/dashboards/modify_json_test.go:244 +0xdb fp=0xc0000eff70 sp=0xc0000eff08 pc=0x1391afb | |
testing.tRunner(0xc000102900, 0xc000120270) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/testing/testing.go:909 +0xc9 fp=0xc0000effd0 sp=0xc0000eff70 pc=0x10f6fa9 | |
runtime.goexit() | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc0000effd8 sp=0xc0000effd0 pc=0x105fd31 | |
created by testing.(*T).Run | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/testing/testing.go:960 +0x350 | |
goroutine 1 [chan receive]: | |
runtime.gopark(0x148c370, 0xc000030478, 0xc00005170e, 0x3) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/proc.go:304 +0xe0 fp=0xc0000edb10 sp=0xc0000edaf0 pc=0x1032ab0 | |
runtime.goparkunlock(...) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/proc.go:310 | |
runtime.chanrecv(0xc000030420, 0xc0000edc27, 0xc000000101, 0x10f7350) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/chan.go:524 +0x2e8 fp=0xc0000edba0 sp=0xc0000edb10 pc=0x10078a8 | |
runtime.chanrecv1(0xc000030420, 0xc0000edc27) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/chan.go:406 +0x2b fp=0xc0000edbd0 sp=0xc0000edba0 pc=0x100756b | |
testing.(*T).Run(0xc000102100, 0x147a14c, 0x1e, 0x148ba98, 0x1083f01) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/testing/testing.go:961 +0x377 fp=0xc0000edc80 sp=0xc0000edbd0 pc=0x10f7377 | |
testing.runTests.func1(0xc000102000) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/testing/testing.go:1202 +0x78 fp=0xc0000edcd0 sp=0xc0000edc80 pc=0x10facc8 | |
testing.tRunner(0xc000102000, 0xc0000eddc0) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/testing/testing.go:909 +0xc9 fp=0xc0000edd30 sp=0xc0000edcd0 pc=0x10f6fa9 | |
testing.runTests(0xc00000e6e0, 0x17b45a0, 0x3, 0x3, 0x0) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/testing/testing.go:1200 +0x2a7 fp=0xc0000eddf0 sp=0xc0000edd30 pc=0x10f8887 | |
testing.(*M).Run(0xc0000f2080, 0x0) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/testing/testing.go:1117 +0x176 fp=0xc0000edef8 sp=0xc0000eddf0 pc=0x10f77e6 | |
main.main() | |
_testmain.go:48 +0x135 fp=0xc0000edf60 sp=0xc0000edef8 pc=0x1391cb5 | |
runtime.main() | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/proc.go:203 +0x21e fp=0xc0000edfe0 sp=0xc0000edf60 pc=0x10326de | |
runtime.goexit() | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc0000edfe8 sp=0xc0000edfe0 pc=0x105fd31 | |
goroutine 2 [force gc (idle)]: | |
runtime.gopark(0x148c370, 0x17ba430, 0x1411, 0x1) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/proc.go:304 +0xe0 fp=0xc000052fb0 sp=0xc000052f90 pc=0x1032ab0 | |
runtime.goparkunlock(...) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/proc.go:310 | |
runtime.forcegchelper() | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/proc.go:253 +0xb7 fp=0xc000052fe0 sp=0xc000052fb0 pc=0x1032967 | |
runtime.goexit() | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc000052fe8 sp=0xc000052fe0 pc=0x105fd31 | |
created by runtime.init.5 | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/proc.go:242 +0x35 | |
goroutine 3 [GC sweep wait]: | |
runtime.gopark(0x148c370, 0x17ba5c0, 0x140c, 0x1) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/proc.go:304 +0xe0 fp=0xc0000537a8 sp=0xc000053788 pc=0x1032ab0 | |
runtime.goparkunlock(...) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/proc.go:310 | |
runtime.bgsweep(0xc000090000) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/mgcsweep.go:70 +0x9c fp=0xc0000537d8 sp=0xc0000537a8 pc=0x102435c | |
runtime.goexit() | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc0000537e0 sp=0xc0000537d8 pc=0x105fd31 | |
created by runtime.gcenable | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/mgc.go:210 +0x5c | |
goroutine 4 [GC scavenge wait]: | |
runtime.gopark(0x148c370, 0x17ba9e0, 0x140d, 0x1) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/proc.go:304 +0xe0 fp=0xc000053f40 sp=0xc000053f20 pc=0x1032ab0 | |
runtime.goparkunlock(...) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/proc.go:310 | |
runtime.bgscavenge(0xc000090000) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/mgcscavenge.go:299 +0xe1 fp=0xc000053fd8 sp=0xc000053f40 pc=0x10239e1 | |
runtime.goexit() | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc000053fe0 sp=0xc000053fd8 pc=0x105fd31 | |
created by runtime.gcenable | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/mgc.go:211 +0x7e | |
goroutine 5 [finalizer wait]: | |
runtime.gopark(0x148c370, 0x17d7638, 0x1410, 0x1) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/proc.go:304 +0xe0 fp=0xc000054758 sp=0xc000054738 pc=0x1032ab0 | |
runtime.goparkunlock(...) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/proc.go:310 | |
runtime.runfinq() | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/mfinal.go:175 +0xa3 fp=0xc0000547e0 sp=0xc000054758 pc=0x101a253 | |
runtime.goexit() | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc0000547e8 sp=0xc0000547e0 pc=0x105fd31 | |
created by runtime.createfing | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/mfinal.go:156 +0x61 | |
goroutine 6 [chan receive]: | |
runtime.gopark(0x148c370, 0xc000030d18, 0xc00005170e, 0x3) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/proc.go:304 +0xe0 fp=0xc000065b70 sp=0xc000065b50 pc=0x1032ab0 | |
runtime.goparkunlock(...) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/proc.go:310 | |
runtime.chanrecv(0xc000030cc0, 0xc000065c87, 0xc000001901, 0x10f7350) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/chan.go:524 +0x2e8 fp=0xc000065c00 sp=0xc000065b70 pc=0x10078a8 | |
runtime.chanrecv1(0xc000030cc0, 0xc000065c87) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/chan.go:406 +0x2b fp=0xc000065c30 sp=0xc000065c00 pc=0x100756b | |
testing.(*T).Run(0xc000102900, 0x1474720, 0x11, 0xc000120270, 0xc000107000) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/testing/testing.go:961 +0x377 fp=0xc000065ce0 sp=0xc000065c30 pc=0x10f7377 | |
github.com/elastic/beats/v7/libbeat/dashboards.TestReplaceIndexInIndexPattern(0xc000102100) | |
/Users/adrian/go/src/github.com/elastic/beats/libbeat/dashboards/modify_json_test.go:241 +0x20c2 fp=0xc000065f70 sp=0xc000065ce0 pc=0x13911e2 | |
testing.tRunner(0xc000102100, 0x148ba98) | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/testing/testing.go:909 +0xc9 fp=0xc000065fd0 sp=0xc000065f70 pc=0x10f6fa9 | |
runtime.goexit() | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc000065fd8 sp=0xc000065fd0 pc=0x105fd31 | |
created by testing.(*T).Run | |
/Users/adrian/.gvm/versions/go1.13.10.darwin.amd64/src/testing/testing.go:960 +0x350 | |
Process finished with exit code 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment