Skip to content

Instantly share code, notes, and snippets.

@kalbasit
Created October 2, 2015 05:07
Show Gist options
  • Select an option

  • Save kalbasit/fa7250867418ae6fca77 to your computer and use it in GitHub Desktop.

Select an option

Save kalbasit/fa7250867418ae6fca77 to your computer and use it in GitHub Desktop.
kalbasit@cratos ~/code/src/github.com/zenhack/go.notmuch [finish_message *] ± % make test
=== RUN TestOpenNotFound
Error opening database at /not-found/.notmuch: No such file or directory
--- PASS: TestOpenNotFound (0.00s)
=== RUN TestCreate
--- PASS: TestCreate (0.02s)
=== RUN TestOpen
--- PASS: TestOpen (0.00s)
=== RUN TestLastStatus
--- PASS: TestLastStatus (0.00s)
=== RUN TestPath
--- PASS: TestPath (0.00s)
=== RUN TestNeedsUpgrade
--- PASS: TestNeedsUpgrade (0.00s)
=== RUN TestUpgrade
--- PASS: TestUpgrade (0.00s)
=== RUN TestAddMessage
--- PASS: TestAddMessage (0.24s)
=== RUN TestFindMessage
--- PASS: TestFindMessage (0.00s)
=== RUN TestCompact
--- PASS: TestCompact (0.02s)
=== RUN TestFindMessageByFilename
--- PASS: TestFindMessageByFilename (0.00s)
=== RUN TestTags
--- PASS: TestTags (0.00s)
=== RUN TestMessageID
--- PASS: TestMessageID (0.00s)
=== RUN TestMessageThreadID
--- PASS: TestMessageThreadID (0.00s)
=== RUN TestMessageReplies
SIGABRT: abort
PC=0x7fff9589a0ae m=4
signal arrived during cgo execution
goroutine 19 [syscall, locked to thread]:
runtime.cgocall(0x40262d0, 0xc82002af08, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/cgocall.go:120 +0xc2 fp=0xc82002aed8 sp=0xc82002aeb0
github.com/zenhack/go%2enotmuch._Cfunc_notmuch_message_destroy(0x541f4c0)
github.com/zenhack/go.notmuch/_test/_obj_test/_cgo_gotypes.go:409 +0x53 fp=0xc82002af08 sp=0xc82002aed8
github.com/zenhack/go%2enotmuch.(*DB).FindMessageByFilename.func1(0xc8200da060)
/Users/kalbasit/code/src/github.com/zenhack/go.notmuch/db.go:218 +0x5f fp=0xc82002af28 sp=0xc82002af08
runtime.call32(0x0, 0x428e4b0, 0xc8200d4000, 0x1000000010)
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_amd64.s:437 +0x3e fp=0xc82002af50 sp=0xc82002af28
runtime.runfinq()
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/mfinal.go:196 +0x2a3 fp=0xc82002afc0 sp=0xc82002af50
runtime.goexit()
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82002afc8 sp=0xc82002afc0
created by runtime.createfing
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/mfinal.go:135 +0x60
goroutine 1 [runnable]:
strconv.trim(0xc8200e4d00)
/usr/local/Cellar/go/1.5.1/libexec/src/strconv/decimal.go:71
strconv.(*decimal).Assign(0xc8200e4d00, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/strconv/decimal.go:101 +0x203
strconv.bigFtoa(0xc82007e128, 0x1, 0x41, 0x2, 0x66, 0x1fc65b90ecc431, 0xfffffffffffffff5, 0x432e6f0, 0x0, 0x0, ...)
/usr/local/Cellar/go/1.5.1/libexec/src/strconv/ftoa.go:157 +0x86
strconv.genericFtoa(0xc82007e128, 0x1, 0x41, 0x3f4fc65b90ecc431, 0x66, 0x2, 0x40, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/strconv/ftoa.go:149 +0x829
strconv.AppendFloat(0xc82007e128, 0x1, 0x41, 0x3f4fc65b90ecc431, 0x66, 0x2, 0x40, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/strconv/ftoa.go:51 +0x99
fmt.(*fmt).formatFloat(0xc82007e128, 0x3f4fc65b90ecc431, 0xc820041466, 0x2, 0x40)
/usr/local/Cellar/go/1.5.1/libexec/src/fmt/format.go:408 +0xb0
fmt.(*fmt).fmt_f64(0xc82007e128, 0x3f4fc65b90ecc431)
/usr/local/Cellar/go/1.5.1/libexec/src/fmt/format.go:458 +0x9c
fmt.(*pp).fmtFloat64(0xc82007e0d0, 0x3f4fc65b90ecc431, 0xc800000066)
/usr/local/Cellar/go/1.5.1/libexec/src/fmt/print.go:480 +0x95
fmt.(*pp).printArg(0xc82007e0d0, 0x41cab60, 0xc820078160, 0x66, 0x0, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/fmt/print.go:769 +0x569
fmt.(*pp).doPrintf(0xc82007e0d0, 0x4237ea0, 0x5, 0xc8200e5a20, 0x1, 0x1)
/usr/local/Cellar/go/1.5.1/libexec/src/fmt/print.go:1219 +0x2a53
fmt.Sprintf(0x4237ea0, 0x5, 0xc8200e5a20, 0x1, 0x1, 0x0, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/fmt/print.go:203 +0x7d
testing.fmtDuration(0xecbdb, 0x0, 0x0)
/usr/local/Cellar/go/1.5.1/libexec/src/testing/testing.go:255 +0x19a
testing.(*T).report(0xc8200de240)
/usr/local/Cellar/go/1.5.1/libexec/src/testing/testing.go:509 +0x6d
testing.RunTests(0x428e650, 0x432cf00, 0x26, 0x26, 0x41fb301)
/usr/local/Cellar/go/1.5.1/libexec/src/testing/testing.go:570 +0xba1
testing.(*M).Run(0xc8200e5f00, 0x4cbd040)
/usr/local/Cellar/go/1.5.1/libexec/src/testing/testing.go:494 +0xe5
main.main()
github.com/zenhack/go.notmuch/_test/_testmain.go:194 +0x385
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/Cellar/go/1.5.1/libexec/src/runtime/asm_amd64.s:1696 +0x1
rax 0x0
rbx 0x6
rcx 0x700000186d28
rdx 0x0
rdi 0x1103
rsi 0x6
rbp 0x700000186d50
rsp 0x700000186d28
r8 0xc820068480
r9 0xc82002aea8
r10 0x8000000
r11 0x206
r12 0x541f4c0
r13 0xc820034d80
r14 0x700000187000
r15 0x0
rip 0x7fff9589a0ae
rflags 0x206
cs 0x7
fs 0x0
gs 0x0
FAIL github.com/zenhack/go.notmuch 0.312s
? github.com/zenhack/go.notmuch/example [no test files]
make: *** [test] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment