gomonkey
gomonkey copied to clipboard
mac os m1 ApplyFuncReturn not work and unit test many panic
fcRegions := []Region{
{
RegionId: "cn-hangzhou",
Addr: "%s.cn-hangzhou.fc.aliyuncs.com",
},
}
fcRegionHook := ApplyFuncReturn(GetFcRegions, fcRegions)
defer fcRegionHook.Reset()
E
Errors:
* /Users/lion/gopath/src/gomonkey/test/apply_func_return_test.go
Line 20: - permission denied
goroutine 18 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400012c018, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bfa900?, 0x140001109c0?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x14000126168, {0x100bfa900?, 0x100c30390?, 0x1?}, {0x100bfa900, 0x140001109c0, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyFuncReturn(0x140001355b8?, {0x100bfa900, 0x100c30390}, {0x14000156060, 0x2, 0x2})
/Users/lion/gopath/src/gomonkey/patch.go:170 +0xc4
github.com/agiledragon/gomonkey/v2.ApplyFuncReturn({0x100bfa900, 0x100c30390}, {0x14000156060, 0x2, 0x2})
/Users/lion/gopath/src/gomonkey/patch.go:61 +0x48
github.com/agiledragon/gomonkey/v2/test.TestApplyFuncReturn.func1.1()
/Users/lion/gopath/src/gomonkey/test/apply_func_return_test.go:20 +0xcc
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x140001107e0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000110780, 0x14000126138)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyFuncReturn.func1()
/Users/lion/gopath/src/gomonkey/test/apply_func_return_test.go:17 +0x60
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000108d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000108d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000110690?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000110690)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000110630, 0x14000156040)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyFuncReturn(0x0?)
/Users/lion/gopath/src/gomonkey/test/apply_func_return_test.go:15 +0x74
testing.tRunner(0x14000118820, 0x100c301d0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbe67b, 0x13}, 0x100c301d0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
1 total assertion
--- FAIL: TestApplyFuncReturn (0.00s)
EEE
Errors:
* /Users/lion/gopath/src/gomonkey/test/apply_func_seq_test.go
Line 24: - permission denied
goroutine 19 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400012c0c0, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bfa900?, 0x14000110d20?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x14000126240, {0x100bfa900?, 0x100c30390?, 0x3?}, {0x100bfa900, 0x14000110d20, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyFuncSeq(0x14000135578?, {0x100bfa900, 0x100c30390}, {0x14000135630, 0x3, 0x3})
/Users/lion/gopath/src/gomonkey/patch.go:139 +0x94
github.com/agiledragon/gomonkey/v2.ApplyFuncSeq({0x100bfa900, 0x100c30390}, {0x14000135630, 0x3, 0x3})
/Users/lion/gopath/src/gomonkey/patch.go:49 +0x48
github.com/agiledragon/gomonkey/v2/test.TestApplyFuncSeq.func1.1()
/Users/lion/gopath/src/gomonkey/test/apply_func_seq_test.go:24 +0x234
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000110c00)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000110ba0, 0x14000126210)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyFuncSeq.func1()
/Users/lion/gopath/src/gomonkey/test/apply_func_seq_test.go:15 +0x60
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000108d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000108d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000110ab0?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000110ab0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000110a50, 0x14000156100)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyFuncSeq(0x0?)
/Users/lion/gopath/src/gomonkey/test/apply_func_seq_test.go:13 +0x74
testing.tRunner(0x14000118d00, 0x100c301f8)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbd703, 0x10}, 0x100c301f8)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
* /Users/lion/gopath/src/gomonkey/test/apply_func_seq_test.go
Line 46: - permission denied
goroutine 19 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400012c108, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bfa900?, 0x14000110f60?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x140001262a0, {0x100bfa900?, 0x100c30390?, 0x2?}, {0x100bfa900, 0x14000110f60, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyFuncSeq(0x140001355b8?, {0x100bfa900, 0x100c30390}, {0x14000135650, 0x2, 0x2})
/Users/lion/gopath/src/gomonkey/patch.go:139 +0x94
github.com/agiledragon/gomonkey/v2.ApplyFuncSeq({0x100bfa900, 0x100c30390}, {0x14000135650, 0x2, 0x2})
/Users/lion/gopath/src/gomonkey/patch.go:49 +0x48
github.com/agiledragon/gomonkey/v2/test.TestApplyFuncSeq.func1.2()
/Users/lion/gopath/src/gomonkey/test/apply_func_seq_test.go:46 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000110e40)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000110de0, 0x14000126270)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyFuncSeq.func1()
/Users/lion/gopath/src/gomonkey/test/apply_func_seq_test.go:40 +0xa8
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000108d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000108d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000110ab0?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000110ab0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000110a50, 0x14000156100)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyFuncSeq(0x0?)
/Users/lion/gopath/src/gomonkey/test/apply_func_seq_test.go:13 +0x74
testing.tRunner(0x14000118d00, 0x100c301f8)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbd703, 0x10}, 0x100c301f8)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
* /Users/lion/gopath/src/gomonkey/test/apply_func_seq_test.go
Line 63: - permission denied
goroutine 19 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400012c150, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bfa900?, 0x14000111140?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x14000126300, {0x100bfa900?, 0x100c30390?, 0x2?}, {0x100bfa900, 0x14000111140, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyFuncSeq(0x140001355b8?, {0x100bfa900, 0x100c30390}, {0x14000135650, 0x2, 0x2})
/Users/lion/gopath/src/gomonkey/patch.go:139 +0x94
github.com/agiledragon/gomonkey/v2.ApplyFuncSeq({0x100bfa900, 0x100c30390}, {0x14000135650, 0x2, 0x2})
/Users/lion/gopath/src/gomonkey/patch.go:49 +0x48
github.com/agiledragon/gomonkey/v2/test.TestApplyFuncSeq.func1.3()
/Users/lion/gopath/src/gomonkey/test/apply_func_seq_test.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000111020)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000110fc0, 0x140001262d0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyFuncSeq.func1()
/Users/lion/gopath/src/gomonkey/test/apply_func_seq_test.go:57 +0xf0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000108d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000108d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000110ab0?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000110ab0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000110a50, 0x14000156100)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyFuncSeq(0x0?)
/Users/lion/gopath/src/gomonkey/test/apply_func_seq_test.go:13 +0x74
testing.tRunner(0x14000118d00, 0x100c301f8)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbd703, 0x10}, 0x100c301f8)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
4 total assertions
--- FAIL: TestApplyFuncSeq (0.01s)
EEEE
Errors:
* /Users/lion/gopath/src/gomonkey/test/apply_func_test.go
Line 20: - permission denied
goroutine 20 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400012c1e0, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bfdd40?, 0x100c30170?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x140001263d8, {0x100bfdd40?, 0x100c30380?, 0x14000111440?}, {0x100bfdd40, 0x100c30170, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyFunc(0x140001113b0?, {0x100bfdd40?, 0x100c30380?}, {0x100bfdd40, 0x100c30170})
/Users/lion/gopath/src/gomonkey/patch.go:83 +0x70
github.com/agiledragon/gomonkey/v2.ApplyFunc({0x100bfdd40, 0x100c30380}, {0x100bfdd40, 0x100c30170})
/Users/lion/gopath/src/gomonkey/patch.go:25 +0x40
github.com/agiledragon/gomonkey/v2/test.TestApplyFunc.func1.1()
/Users/lion/gopath/src/gomonkey/test/apply_func_test.go:20 +0x44
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000111380)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000111320, 0x140001263a8)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyFunc.func1()
/Users/lion/gopath/src/gomonkey/test/apply_func_test.go:19 +0x60
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000108d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000108d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000111230?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000111230)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x140001111d0, 0x140001562c0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyFunc(0x0?)
/Users/lion/gopath/src/gomonkey/test/apply_func_test.go:17 +0x74
testing.tRunner(0x14000119380, 0x100c30268)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbcb1c, 0xd}, 0x100c30268)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
* /Users/lion/gopath/src/gomonkey/test/apply_func_test.go
Line 30: - permission denied
goroutine 20 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400012c228, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bfdd40?, 0x100c30180?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x14000126420, {0x100bfdd40?, 0x100c30380?, 0x14000111650?}, {0x100bfdd40, 0x100c30180, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyFunc(0x140001115c0?, {0x100bfdd40?, 0x100c30380?}, {0x100bfdd40, 0x100c30180})
/Users/lion/gopath/src/gomonkey/patch.go:83 +0x70
github.com/agiledragon/gomonkey/v2.ApplyFunc({0x100bfdd40, 0x100c30380}, {0x100bfdd40, 0x100c30180})
/Users/lion/gopath/src/gomonkey/patch.go:25 +0x40
github.com/agiledragon/gomonkey/v2/test.TestApplyFunc.func1.2()
/Users/lion/gopath/src/gomonkey/test/apply_func_test.go:30 +0x44
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000111590)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000111530, 0x140001263f0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyFunc.func1()
/Users/lion/gopath/src/gomonkey/test/apply_func_test.go:29 +0xa8
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000108d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000108d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000111230?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000111230)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x140001111d0, 0x140001562c0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyFunc(0x0?)
/Users/lion/gopath/src/gomonkey/test/apply_func_test.go:17 +0x74
testing.tRunner(0x14000119380, 0x100c30268)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbcb1c, 0xd}, 0x100c30268)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
* /Users/lion/gopath/src/gomonkey/test/apply_func_test.go
Line 40: - permission denied
goroutine 20 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400012c270, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bfdd40?, 0x100c30190?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x14000126468, {0x100bfdd40?, 0x100c30380?, 0x140001117d0?}, {0x100bfdd40, 0x100c30190, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyFunc(0x14000111740?, {0x100bfdd40?, 0x100c30380?}, {0x100bfdd40, 0x100c30190})
/Users/lion/gopath/src/gomonkey/patch.go:83 +0x70
github.com/agiledragon/gomonkey/v2.ApplyFunc({0x100bfdd40, 0x100c30380}, {0x100bfdd40, 0x100c30190})
/Users/lion/gopath/src/gomonkey/patch.go:25 +0x40
github.com/agiledragon/gomonkey/v2/test.TestApplyFunc.func1.3()
/Users/lion/gopath/src/gomonkey/test/apply_func_test.go:40 +0x44
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000111710)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x140001116b0, 0x14000126438)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyFunc.func1()
/Users/lion/gopath/src/gomonkey/test/apply_func_test.go:39 +0xf0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000108d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000108d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000111230?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000111230)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x140001111d0, 0x140001562c0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyFunc(0x0?)
/Users/lion/gopath/src/gomonkey/test/apply_func_test.go:17 +0x74
testing.tRunner(0x14000119380, 0x100c30268)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbcb1c, 0xd}, 0x100c30268)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
* /Users/lion/gopath/src/gomonkey/test/apply_func_test.go
Line 55: - permission denied
goroutine 20 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400012c2b8, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bf9d00?, 0x100c301a8?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x140001264b0, {0x100bf9d00?, 0x100c2ffd0?, 0x14000111950?}, {0x100bf9d00, 0x100c301a8, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyFunc(0x28?, {0x100bf9d00?, 0x100c2ffd0?}, {0x100bf9d00, 0x100c301a8})
/Users/lion/gopath/src/gomonkey/patch.go:83 +0x70
github.com/agiledragon/gomonkey/v2.ApplyFunc({0x100bf9d00, 0x100c2ffd0}, {0x100bf9d00, 0x100c301a8})
/Users/lion/gopath/src/gomonkey/patch.go:25 +0x40
github.com/agiledragon/gomonkey/v2/test.TestApplyFunc.func1.4()
/Users/lion/gopath/src/gomonkey/test/apply_func_test.go:55 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000111890)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000111830, 0x14000126480)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyFunc.func1()
/Users/lion/gopath/src/gomonkey/test/apply_func_test.go:54 +0x138
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000108d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000108d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000111230?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000111230)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x140001111d0, 0x140001562c0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyFunc(0x0?)
/Users/lion/gopath/src/gomonkey/test/apply_func_test.go:17 +0x74
testing.tRunner(0x14000119380, 0x100c30268)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbcb1c, 0xd}, 0x100c30268)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
8 total assertions
--- FAIL: TestApplyFunc (0.01s)
........................................
48 total assertions
...............
63 total assertions
...
66 total assertions
..
68 total assertions
E
Errors:
* /Users/lion/gopath/src/gomonkey/test/apply_interface_reused_test.go
Line 15: - permission denied
goroutine 25 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400012c4c8, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bf7520?, 0x1400026b170?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x14000127878, {0x100bf7520?, 0x100c30388?, 0x14000269530?}, {0x100bf7520, 0x1400026b170, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyFunc(0x140001089f8?, {0x100bf7520?, 0x100c30388?}, {0x100bf7520, 0x1400026b170})
/Users/lion/gopath/src/gomonkey/patch.go:83 +0x70
github.com/agiledragon/gomonkey/v2.ApplyFunc({0x100bf7520, 0x100c30388}, {0x100bf7520, 0x1400026b170})
/Users/lion/gopath/src/gomonkey/patch.go:25 +0x40
github.com/agiledragon/gomonkey/v2/test.TestApplyInterfaceReused.func1()
/Users/lion/gopath/src/gomonkey/test/apply_interface_reused_test.go:15 +0x84
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000108d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000108d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000269410?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000269410)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x140002693b0, 0x14000156680)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyInterfaceReused(0x1400026cea0)
/Users/lion/gopath/src/gomonkey/test/apply_interface_reused_test.go:14 +0x98
testing.tRunner(0x1400026cea0, 0x100c30290)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bc035c, 0x18}, 0x100c30290)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
69 total assertions
--- FAIL: TestApplyInterfaceReused (0.00s)
Slice: Add elem: 1 succ
.ESlice: Add elem: 2 succ
.ESlice: Add elem: 3 succ
.Slice: Remove elem: 3 succ
ESlice: Add elem: 4 succ
.Slice: Remove elem: 4 succ
ESlice: Append elem: [1 2 3] succ
.E
Errors:
* /Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go
Line 22: - permission denied
goroutine 5 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400001e150, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bf95e0?, 0x14000010540?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x1400000c120, {0x100bf95e0?, 0x1400000e098?, 0x100c302c8?}, {0x100bf95e0, 0x14000010540, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyMethodFunc(0x100d644c0?, {0x100c03900?, 0x0?}, {0x100bba659, 0x3}, {0x100bf67a0, 0x100c302c8})
/Users/lion/gopath/src/gomonkey/patch.go:101 +0xe0
github.com/agiledragon/gomonkey/v2.ApplyMethodFunc({0x100c03900, 0x0}, {0x100bba659, 0x3}, {0x100bf67a0, 0x100c302c8})
/Users/lion/gopath/src/gomonkey/patch.go:33 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodFunc.func1.1()
/Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go:22 +0xa8
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000010240)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x140000101e0, 0x1400000c0d8)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodFunc.func1()
/Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go:19 +0xb8
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000104d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000104d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x140000100f0?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x140000100f0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000010090, 0x1400005e060)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodFunc(0x140000031e0)
/Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go:18 +0xf4
testing.tRunner(0x140000031e0, 0x100c30300)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbe6a1, 0x13}, 0x100c30300)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
* /Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go
Line 36: - permission denied
goroutine 5 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400001e198, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bf95e0?, 0x140000107e0?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x1400000c2d0, {0x100bf95e0?, 0x1400000e0b0?, 0x100c302d0?}, {0x100bf95e0, 0x140000107e0, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyMethodFunc(0x100d644c0?, {0x100c03900?, 0x0?}, {0x100bba659, 0x3}, {0x100bf67a0, 0x100c302d0})
/Users/lion/gopath/src/gomonkey/patch.go:101 +0xe0
github.com/agiledragon/gomonkey/v2.ApplyMethodFunc({0x100c03900, 0x0}, {0x100bba659, 0x3}, {0x100bf67a0, 0x100c302d0})
/Users/lion/gopath/src/gomonkey/patch.go:33 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodFunc.func1.2()
/Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go:36 +0xa8
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x140000106c0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000010660, 0x1400000c288)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodFunc.func1()
/Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go:33 +0x148
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000104d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000104d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x140000100f0?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x140000100f0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000010090, 0x1400005e060)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodFunc(0x140000031e0)
/Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go:18 +0xf4
testing.tRunner(0x140000031e0, 0x100c30300)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbe6a1, 0x13}, 0x100c30300)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
* /Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go
Line 51: - permission denied
goroutine 5 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400001e1e0, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bf95e0?, 0x140000109c0?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x1400000c3c0, {0x100bf95e0?, 0x1400000e0b8?, 0x100c302d8?}, {0x100bf95e0, 0x140000109c0, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyMethodFunc(0x100d644c0?, {0x100c03900?, 0x0?}, {0x100bba659, 0x3}, {0x100bf67a0, 0x100c302d8})
/Users/lion/gopath/src/gomonkey/patch.go:101 +0xe0
github.com/agiledragon/gomonkey/v2.ApplyMethodFunc({0x100c03900, 0x0}, {0x100bba659, 0x3}, {0x100bf67a0, 0x100c302d8})
/Users/lion/gopath/src/gomonkey/patch.go:33 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodFunc.func1.3()
/Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go:51 +0xd4
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x140000108a0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000010840, 0x1400000c378)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodFunc.func1()
/Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go:47 +0x1d8
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000104d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000104d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x140000100f0?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x140000100f0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000010090, 0x1400005e060)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodFunc(0x140000031e0)
/Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go:18 +0xf4
testing.tRunner(0x140000031e0, 0x100c30300)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbe6a1, 0x13}, 0x100c30300)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
* /Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go
Line 70: - permission denied
goroutine 5 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400001e228, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bfdd40?, 0x100c302e8?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x1400000c4b0, {0x100bfdd40?, 0x100c30380?, 0x14000010b40?}, {0x100bfdd40, 0x100c302e8, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyFunc(0x0?, {0x100bfdd40?, 0x100c30380?}, {0x100bfdd40, 0x100c302e8})
/Users/lion/gopath/src/gomonkey/patch.go:83 +0x70
github.com/agiledragon/gomonkey/v2.ApplyFunc({0x100bfdd40, 0x100c30380}, {0x100bfdd40, 0x100c302e8})
/Users/lion/gopath/src/gomonkey/patch.go:25 +0x40
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodFunc.func1.4()
/Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go:70 +0xc8
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000010a80)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000010a20, 0x1400000c468)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodFunc.func1()
/Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go:66 +0x268
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000104d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000104d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x140000100f0?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x140000100f0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000010090, 0x1400005e060)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodFunc(0x140000031e0)
/Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go:18 +0xf4
testing.tRunner(0x140000031e0, 0x100c30300)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbe6a1, 0x13}, 0x100c30300)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
* /Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go
Line 90: - permission denied
goroutine 5 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400001e2a0, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x14000026230?, 0x14000010de0?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x1400000c5b8, {0x14000026230?, 0x1400000e0d8?, 0x100c302f8?}, {0x14000026230, 0x14000010de0, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyMethodFunc(0x100d644c0?, {0x100c03900?, 0x0?}, {0x100bbabe3, 0x6}, {0x100bf5a20, 0x100c302f8})
/Users/lion/gopath/src/gomonkey/patch.go:101 +0xe0
github.com/agiledragon/gomonkey/v2.ApplyMethodFunc({0x100c03900, 0x0}, {0x100bbabe3, 0x6}, {0x100bf5a20, 0x100c302f8})
/Users/lion/gopath/src/gomonkey/patch.go:33 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodFunc.func1.5()
/Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go:90 +0x110
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000010c00)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000010ba0, 0x1400000c558)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodFunc.func1()
/Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go:86 +0x2f8
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000104d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000104d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x140000100f0?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x140000100f0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000010090, 0x1400005e060)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodFunc(0x140000031e0)
/Users/lion/gopath/src/gomonkey/test/apply_method_func_test.go:18 +0xf4
testing.tRunner(0x140000031e0, 0x100c30300)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbe6a1, 0x13}, 0x100c30300)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
79 total assertions
--- FAIL: TestApplyMethodFunc (0.01s)
E
Errors:
* /Users/lion/gopath/src/gomonkey/test/apply_method_return_test.go
Line 20: - permission denied
goroutine 6 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400001e360, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bfd560?, 0x14000011290?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x1400000c6a8, {0x100bfd560?, 0x1400000e158?, 0x1?}, {0x100bfd560, 0x14000011290, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyMethodReturn(0x100d644c0?, {0x100bfc000?, 0x100d97be8?}, {0x100bbb2e2, 0x8}, {0x1400005e2c0, 0x2, 0x2})
/Users/lion/gopath/src/gomonkey/patch.go:181 +0x120
github.com/agiledragon/gomonkey/v2.ApplyMethodReturn({0x100bfc000, 0x100d97be8}, {0x100bbb2e2, 0x8}, {0x1400005e2c0, 0x2, 0x2})
/Users/lion/gopath/src/gomonkey/patch.go:65 +0x58
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodReturn.func1.1()
/Users/lion/gopath/src/gomonkey/test/apply_method_return_test.go:20 +0xc4
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000011020)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000010fc0, 0x1400000c678)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodReturn.func1()
/Users/lion/gopath/src/gomonkey/test/apply_method_return_test.go:18 +0x9c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000104d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000104d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000010ed0?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000010ed0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000010e70, 0x1400005e2a0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodReturn(0x14000003ba0)
/Users/lion/gopath/src/gomonkey/test/apply_method_return_test.go:17 +0x98
testing.tRunner(0x14000003ba0, 0x100c30308)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbf29b, 0x15}, 0x100c30308)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
80 total assertions
--- FAIL: TestApplyMethodReturn (0.00s)
EEE
Errors:
* /Users/lion/gopath/src/gomonkey/test/apply_method_seq_test.go
Line 24: - permission denied
goroutine 7 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400001e3f0, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bfd560?, 0x140000115f0?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x1400000c828, {0x100bfd560?, 0x1400000e180?, 0x3?}, {0x100bfd560, 0x140000115f0, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyMethodSeq(0x100d644c0?, {0x100bfc000?, 0x100d97be8?}, {0x100bbb2e2, 0x8}, {0x14000135630, 0x3, 0x3})
/Users/lion/gopath/src/gomonkey/patch.go:148 +0xf0
github.com/agiledragon/gomonkey/v2.ApplyMethodSeq({0x100bfc000, 0x100d97be8}, {0x100bbb2e2, 0x8}, {0x14000135630, 0x3, 0x3})
/Users/lion/gopath/src/gomonkey/patch.go:53 +0x58
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodSeq.func1.1()
/Users/lion/gopath/src/gomonkey/test/apply_method_seq_test.go:24 +0x244
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x140000114d0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000011470, 0x1400000c7f8)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodSeq.func1()
/Users/lion/gopath/src/gomonkey/test/apply_method_seq_test.go:15 +0x9c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000104d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000104d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000011380?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000011380)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000011320, 0x1400005e3e0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodSeq(0x140003d6000)
/Users/lion/gopath/src/gomonkey/test/apply_method_seq_test.go:13 +0x98
testing.tRunner(0x140003d6000, 0x100c30310)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbe08e, 0x12}, 0x100c30310)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
* /Users/lion/gopath/src/gomonkey/test/apply_method_seq_test.go
Line 43: - permission denied
goroutine 7 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400001e438, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bfd560?, 0x14000011830?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x1400000c888, {0x100bfd560?, 0x1400000e190?, 0x2?}, {0x100bfd560, 0x14000011830, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyMethodSeq(0x100d644c0?, {0x100bfc000?, 0x100d97be8?}, {0x100bbb2e2, 0x8}, {0x14000135650, 0x2, 0x2})
/Users/lion/gopath/src/gomonkey/patch.go:148 +0xf0
github.com/agiledragon/gomonkey/v2.ApplyMethodSeq({0x100bfc000, 0x100d97be8}, {0x100bbb2e2, 0x8}, {0x14000135650, 0x2, 0x2})
/Users/lion/gopath/src/gomonkey/patch.go:53 +0x58
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodSeq.func1.2()
/Users/lion/gopath/src/gomonkey/test/apply_method_seq_test.go:43 +0x16c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000011710)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x140000116b0, 0x1400000c858)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodSeq.func1()
/Users/lion/gopath/src/gomonkey/test/apply_method_seq_test.go:37 +0x118
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000104d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000104d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000011380?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000011380)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000011320, 0x1400005e3e0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodSeq(0x140003d6000)
/Users/lion/gopath/src/gomonkey/test/apply_method_seq_test.go:13 +0x98
testing.tRunner(0x140003d6000, 0x100c30310)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbe08e, 0x12}, 0x100c30310)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
* /Users/lion/gopath/src/gomonkey/test/apply_method_seq_test.go
Line 60: - permission denied
goroutine 7 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400001e480, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bfd560?, 0x14000011a10?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x1400000c8e8, {0x100bfd560?, 0x1400000e198?, 0x2?}, {0x100bfd560, 0x14000011a10, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyMethodSeq(0x100d644c0?, {0x100bfc000?, 0x100d97be8?}, {0x100bbb2e2, 0x8}, {0x14000135650, 0x2, 0x2})
/Users/lion/gopath/src/gomonkey/patch.go:148 +0xf0
github.com/agiledragon/gomonkey/v2.ApplyMethodSeq({0x100bfc000, 0x100d97be8}, {0x100bbb2e2, 0x8}, {0x14000135650, 0x2, 0x2})
/Users/lion/gopath/src/gomonkey/patch.go:53 +0x58
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodSeq.func1.3()
/Users/lion/gopath/src/gomonkey/test/apply_method_seq_test.go:60 +0x16c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x140000118f0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000011890, 0x1400000c8b8)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodSeq.func1()
/Users/lion/gopath/src/gomonkey/test/apply_method_seq_test.go:54 +0x194
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000104d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000104d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000011380?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000011380)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000011320, 0x1400005e3e0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethodSeq(0x140003d6000)
/Users/lion/gopath/src/gomonkey/test/apply_method_seq_test.go:13 +0x98
testing.tRunner(0x140003d6000, 0x100c30310)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbe08e, 0x12}, 0x100c30310)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
83 total assertions
--- FAIL: TestApplyMethodSeq (0.00s)
Slice: Add elem: 1 succ
.ESlice: Add elem: 2 succ
.ESlice: Add elem: 3 succ
.Slice: Remove elem: 3 succ
ESlice: Add elem: 4 succ
.Slice: Remove elem: 4 succ
E
Errors:
* /Users/lion/gopath/src/gomonkey/test/apply_method_test.go
Line 19: - permission denied
goroutine 8 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400001e510, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bf95e0?, 0x100c30298?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x1400000ca20, {0x100bf95e0?, 0x1400000e1b0?, 0x18?}, {0x100bf95e0, 0x100c30298, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyMethod(0x100d644c0?, {0x100c03900?, 0x0?}, {0x100bba659, 0x3}, {0x100bf95e0, 0x100c30298})
/Users/lion/gopath/src/gomonkey/patch.go:92 +0xe0
github.com/agiledragon/gomonkey/v2.ApplyMethod({0x100c03900, 0x0}, {0x100bba659, 0x3}, {0x100bf95e0, 0x100c30298})
/Users/lion/gopath/src/gomonkey/patch.go:29 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethod.func1.1()
/Users/lion/gopath/src/gomonkey/test/apply_method_test.go:19 +0xa8
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000011c50)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000011bf0, 0x1400000c9d8)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyMethod.func1()
/Users/lion/gopath/src/gomonkey/test/apply_method_test.go:16 +0xb8
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000104d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000104d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000011b00?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000011b00)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000011aa0, 0x1400005e660)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethod(0x140003d6680)
/Users/lion/gopath/src/gomonkey/test/apply_method_test.go:14 +0xf4
testing.tRunner(0x140003d6680, 0x100c30318)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbd2de, 0xf}, 0x100c30318)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
* /Users/lion/gopath/src/gomonkey/test/apply_method_test.go
Line 33: - permission denied
goroutine 8 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400001e558, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bf95e0?, 0x100c302a0?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x1400000caf8, {0x100bf95e0?, 0x1400000e1c0?, 0x18?}, {0x100bf95e0, 0x100c302a0, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyMethod(0x100d644c0?, {0x100c03900?, 0x0?}, {0x100bba659, 0x3}, {0x100bf95e0, 0x100c302a0})
/Users/lion/gopath/src/gomonkey/patch.go:92 +0xe0
github.com/agiledragon/gomonkey/v2.ApplyMethod({0x100c03900, 0x0}, {0x100bba659, 0x3}, {0x100bf95e0, 0x100c302a0})
/Users/lion/gopath/src/gomonkey/patch.go:29 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethod.func1.2()
/Users/lion/gopath/src/gomonkey/test/apply_method_test.go:33 +0xa8
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000011e60)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000011e00, 0x1400000cab0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyMethod.func1()
/Users/lion/gopath/src/gomonkey/test/apply_method_test.go:30 +0x148
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000104d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000104d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000011b00?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000011b00)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000011aa0, 0x1400005e660)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethod(0x140003d6680)
/Users/lion/gopath/src/gomonkey/test/apply_method_test.go:14 +0xf4
testing.tRunner(0x140003d6680, 0x100c30318)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbd2de, 0xf}, 0x100c30318)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
* /Users/lion/gopath/src/gomonkey/test/apply_method_test.go
Line 48: - permission denied
goroutine 8 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400001e5a0, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bf95e0?, 0x100c302a8?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x1400000cbd0, {0x100bf95e0?, 0x1400000e1c8?, 0x18?}, {0x100bf95e0, 0x100c302a8, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyMethod(0x100d644c0?, {0x100c03900?, 0x0?}, {0x100bba659, 0x3}, {0x100bf95e0, 0x100c302a8})
/Users/lion/gopath/src/gomonkey/patch.go:92 +0xe0
github.com/agiledragon/gomonkey/v2.ApplyMethod({0x100c03900, 0x0}, {0x100bba659, 0x3}, {0x100bf95e0, 0x100c302a8})
/Users/lion/gopath/src/gomonkey/patch.go:29 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethod.func1.3()
/Users/lion/gopath/src/gomonkey/test/apply_method_test.go:48 +0xd4
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000464000)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000011f80, 0x1400000cb88)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyMethod.func1()
/Users/lion/gopath/src/gomonkey/test/apply_method_test.go:44 +0x1d8
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000104d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000104d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000011b00?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000011b00)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000011aa0, 0x1400005e660)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethod(0x140003d6680)
/Users/lion/gopath/src/gomonkey/test/apply_method_test.go:14 +0xf4
testing.tRunner(0x140003d6680, 0x100c30318)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbd2de, 0xf}, 0x100c30318)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
* /Users/lion/gopath/src/gomonkey/test/apply_method_test.go
Line 67: - permission denied
goroutine 8 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400001e5e8, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bfdd40?, 0x100c302b8?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x1400000cca8, {0x100bfdd40?, 0x100c30380?, 0x14000464240?}, {0x100bfdd40, 0x100c302b8, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyFunc(0x0?, {0x100bfdd40?, 0x100c30380?}, {0x100bfdd40, 0x100c302b8})
/Users/lion/gopath/src/gomonkey/patch.go:83 +0x70
github.com/agiledragon/gomonkey/v2.ApplyFunc({0x100bfdd40, 0x100c30380}, {0x100bfdd40, 0x100c302b8})
/Users/lion/gopath/src/gomonkey/patch.go:25 +0x40
github.com/agiledragon/gomonkey/v2/test.TestApplyMethod.func1.4()
/Users/lion/gopath/src/gomonkey/test/apply_method_test.go:67 +0xc8
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000464180)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000464120, 0x1400000cc60)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyMethod.func1()
/Users/lion/gopath/src/gomonkey/test/apply_method_test.go:63 +0x268
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000104d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000104d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000011b00?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000011b00)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000011aa0, 0x1400005e660)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyMethod(0x140003d6680)
/Users/lion/gopath/src/gomonkey/test/apply_method_test.go:14 +0xf4
testing.tRunner(0x140003d6680, 0x100c30318)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbd2de, 0xf}, 0x100c30318)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
91 total assertions
--- FAIL: TestApplyMethod (0.00s)
EE
Errors:
* /Users/lion/gopath/src/gomonkey/test/apply_private_method_test.go
Line 16: - permission denied
goroutine 9 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400001e678, 0x18, 0x8f?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bf5600?, 0x100c30320?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCoreOnlyForPrivateMethod(0x1400000cd68, 0x1400000e1e0, {0x100bf5600, 0x100c30320, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:232 +0xd8
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyPrivateMethod(0x28?, {0x100c09b80?, 0x0?}, {0x100bba5f6, 0x2}, {0x100bf5600, 0x100c30320})
/Users/lion/gopath/src/gomonkey/patch.go:110 +0x78
github.com/agiledragon/gomonkey/v2.ApplyPrivateMethod({0x100c09b80, 0x0}, {0x100bba5f6, 0x2}, {0x100bf5600, 0x100c30320})
/Users/lion/gopath/src/gomonkey/patch.go:37 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyPrivateMethod.func1.1()
/Users/lion/gopath/src/gomonkey/test/apply_private_method_test.go:16 +0x4c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000464480)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000464420, 0x1400000cd38)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyPrivateMethod.func1()
/Users/lion/gopath/src/gomonkey/test/apply_private_method_test.go:13 +0x60
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000104d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000104d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000464330?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000464330)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x140004642d0, 0x1400005e7c0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyPrivateMethod(0x0?)
/Users/lion/gopath/src/gomonkey/test/apply_private_method_test.go:12 +0x74
testing.tRunner(0x140003d6ea0, 0x100c30348)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbf83a, 0x16}, 0x100c30348)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
* /Users/lion/gopath/src/gomonkey/test/apply_private_method_test.go
Line 26: - permission denied
goroutine 9 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400001e6c0, 0x18, 0x92?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bf64a0?, 0x100c30330?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCoreOnlyForPrivateMethod(0x1400000cdb0, 0x1400000e1f0, {0x100bf64a0, 0x100c30330, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:232 +0xd8
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyPrivateMethod(0x28?, {0x100c07f00?, 0x100d97be8?}, {0x100bbb963, 0x9}, {0x100bf64a0, 0x100c30330})
/Users/lion/gopath/src/gomonkey/patch.go:110 +0x78
github.com/agiledragon/gomonkey/v2.ApplyPrivateMethod({0x100c07f00, 0x100d97be8}, {0x100bbb963, 0x9}, {0x100bf64a0, 0x100c30330})
/Users/lion/gopath/src/gomonkey/patch.go:37 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyPrivateMethod.func1.2()
/Users/lion/gopath/src/gomonkey/test/apply_private_method_test.go:26 +0x50
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000464630)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x140004645d0, 0x1400000cd80)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestApplyPrivateMethod.func1()
/Users/lion/gopath/src/gomonkey/test/apply_private_method_test.go:24 +0xa8
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x14000104d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x14000104d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x14000464330?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x14000464330)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x140004642d0, 0x1400005e7c0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestApplyPrivateMethod(0x0?)
/Users/lion/gopath/src/gomonkey/test/apply_private_method_test.go:12 +0x74
testing.tRunner(0x140003d6ea0, 0x100c30348)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbf83a, 0x16}, 0x100c30348)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
93 total assertions
--- FAIL: TestApplyPrivateMethod (0.00s)
E
Errors:
* /Users/lion/gopath/src/gomonkey/test/patch_pair_test.go
Line 38: - permission denied
goroutine 50 [running]:
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:148 +0x40
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/reporting/reports.go:121 +0x70
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:235 +0xbc
panic({0x100c09600, 0x100d521a8})
/Users/lion/src/go/go1.20.2/src/runtime/panic.go:884 +0x1c8
github.com/agiledragon/gomonkey/v2.modifyBinary(0x18?, {0x1400001e150, 0x18, 0x100c34d18?})
/Users/lion/gopath/src/gomonkey/modify_binary_darwin.go:9 +0xa8
github.com/agiledragon/gomonkey/v2.replace(0x100bfdd40?, 0x100c30350?)
/Users/lion/gopath/src/gomonkey/patch.go:256 +0x74
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x1400000c0c0, {0x100bfdd40?, 0x100c30380?, 0x100ba168c?}, {0x100bfdd40, 0x100c30350, 0x13})
/Users/lion/gopath/src/gomonkey/patch.go:218 +0xe0
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyFunc(0x0?, {0x100bfdd40?, 0x100c30380?}, {0x100bfdd40, 0x100c30350})
/Users/lion/gopath/src/gomonkey/patch.go:83 +0x70
github.com/agiledragon/gomonkey/v2/test.TestPatchPair.func1.1()
/Users/lion/gopath/src/gomonkey/test/patch_pair_test.go:38 +0xf0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:163 +0x30
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId(0x14000464210)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:19 +0xe8
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x140004641b0, 0x1400000c090)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:162 +0x3d0
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:77 +0x3c
github.com/agiledragon/gomonkey/v2/test.TestPatchPair.func1()
/Users/lion/gopath/src/gomonkey/test/patch_pair_test.go:16 +0x60
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/discovery.go:80 +0x24
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:261 +0x170
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:110 +0xcc
github.com/jtolds/gls.(*ContextManager).SetValues.func1(0x0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:97 +0x318
github.com/jtolds/gls.EnsureGoroutineId.func1()
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0x28
github.com/jtolds/gls._m(0x140000a8d98?, 0x100ba8bac?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:108 +0x28
github.com/jtolds/gls.github_com_jtolds_gls_markS(0x100d63901?, 0x140000a8d80?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:56 +0x1c
github.com/jtolds/gls.addStackTag(0x100d639c0?, 0x140004640c0?)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/stack_tags.go:49 +0x20
github.com/jtolds/gls.EnsureGoroutineId(0x140004640c0)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/gid.go:24 +0xc0
github.com/jtolds/gls.(*ContextManager).SetValues(0x1400010c5c0, 0x14000464060, 0x1400005e040)
/Users/lion/gopath/pkg/mod/github.com/jtolds/[email protected]+incompatible/context.go:63 +0x15c
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/context.go:105 +0x230
/Users/lion/gopath/pkg/mod/github.com/smartystreets/[email protected]/convey/doc.go:75 +0x50
github.com/agiledragon/gomonkey/v2/test.TestPatchPair(0x0?)
/Users/lion/gopath/src/gomonkey/test/patch_pair_test.go:14 +0x74
testing.tRunner(0x140003d6000, 0x100c30370)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
created by testing.(*T).Run
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1629 +0x34c
goroutine 1 [chan receive]:
testing.(*T).Run(0x14000118680, {0x100bbcb29, 0xd}, 0x100c30370)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1630 +0x360
testing.runTests.func1(0x14000133c98?)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2036 +0x48
testing.tRunner(0x14000118680, 0x14000133d68)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1576 +0x10c
testing.runTests(0x1400013c0a0?, {0x100d5f7a0, 0xe, 0xe}, {0x100bbd518?, 0xf?, 0x100d63c20?})
/Users/lion/src/go/go1.20.2/src/testing/testing.go:2034 +0x2ec
testing.(*M).Run(0x1400013c0a0)
/Users/lion/src/go/go1.20.2/src/testing/testing.go:1906 +0x410
main.main()
_testmain.go:73 +0x90
the same to me
Which version is gomonke?
it is unstable in some environments. may try xgo: https://github.com/xhd2015/xgo
go test -v -run=^TestFn$ -gcflags=all=-l,in mac os m1 must add -gcflags=all=-l option