Skip to content

Instantly share code, notes, and snippets.

@ioc32
Created November 4, 2015 19:27
Show Gist options
  • Save ioc32/1e08b656db9fabda2bba to your computer and use it in GitHub Desktop.
Save ioc32/1e08b656db9fabda2bba to your computer and use it in GitHub Desktop.
heka queue_full_shutdown_fix test results
[root@localhost build]# ctest
Test project /root/heka/build
Start 1: cmd/hekad
1/26 Test #1: cmd/hekad ........................ Passed 3.22 sec
Start 2: message
2/26 Test #2: message .......................... Passed 1.52 sec
Start 3: pipeline
3/26 Test #3: pipeline ......................... Passed 3.90 sec
Start 4: plugins
4/26 Test #4: plugins .......................... Passed 2.62 sec
Start 5: plugins/amqp
5/26 Test #5: plugins/amqp ..................... Passed 2.74 sec
Start 6: plugins/dasher
6/26 Test #6: plugins/dasher ................... Passed 2.54 sec
Start 7: plugins/elasticsearch
7/26 Test #7: plugins/elasticsearch ............ Passed 2.04 sec
Start 8: plugins/file
8/26 Test #8: plugins/file ..................... Passed 3.08 sec
Start 9: plugins/graphite
9/26 Test #9: plugins/graphite ................. Passed 2.67 sec
Start 10: plugins/http
10/26 Test #10: plugins/http .....................***Failed 2.73 sec
github.com/mozilla-services/heka/plugins/http.HttpOutputSpec
- An HttpOutput
- that is started
- honors http timeout interval [FAIL]
*** Expected: is <true>
got: “false”
github.com/mozilla-services/heka/plugins/http.HttpOutputSpec.func2.2.8()
at /root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/http/http_output_test.go:239
29 specs, 1 failures
--- FAIL: TestAllSpecs (0.08s)
FAIL
FAIL github.com/mozilla-services/heka/plugins/http 0.082s
Start 11: plugins/irc
11/26 Test #11: plugins/irc ......................***Failed 2.46 sec
2015/11/04 19:15:57 Missing EXPECT() for invoked function: *pipelinemock.MockOutputRunner.LogError([Dropped message. OutQueue is full.])
/root/heka/build/heka/src/github.com/rafrombrc/gomock/gomock/controller.go:116 (0x5a3bc1)
(*Controller).Call: stack := debug.Stack()
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipelinemock/mock_outputrunner.go:96 (0x732836)
(*MockOutputRunner).LogError: _m.ctrl.Call(_m, "LogError", _param0)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/irc/irc_output.go:187 (0x485d04)
(*IrcOutput).Run: output.runner.LogError(ErrOutQueueFull)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/irc/irc_output_test.go:89 (0x48ae33)
IrcOutputSpec.func1.2.1.1: err := ircOutput.Run(outTestHelper.MockOutputRunner, outTestHelper.MockHelper)
/usr/lib/golang/src/runtime/asm_amd64.s:1696 (0x45ec71)
goexit: BYTE $0x90 // NOP
FAIL github.com/mozilla-services/heka/plugins/irc 0.006s
Start 12: plugins/kafka
12/26 Test #12: plugins/kafka .................... Passed 4.27 sec
Start 13: plugins/logstreamer
13/26 Test #13: plugins/logstreamer .............. Passed 2.35 sec
Start 14: plugins/nagios
14/26 Test #14: plugins/nagios ................... Passed 2.26 sec
Start 15: plugins/payload
15/26 Test #15: plugins/payload .................. Passed 2.22 sec
Start 16: plugins/process
16/26 Test #16: plugins/process ..................***Failed 2.69 sec
2015/11/04 19:16:11 Pre-loading: [NullSplitter]
2015/11/04 19:16:11 Loading: [NullSplitter]
2015/11/04 19:16:11 Pre-loading: [NullSplitter]
2015/11/04 19:16:11 Loading: [NullSplitter]
panic: close of nil channel
goroutine 18 [running]:
github.com/mozilla-services/heka/plugins/process.(*ProcessInput).Stop.func1()
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_input.go:298 +0x5a
sync.(*Once).Do(0xc8200c6dec, 0xc82009dbe0)
/usr/lib/golang/src/sync/once.go:44 +0xe4
github.com/mozilla-services/heka/plugins/process.(*ProcessInput).Stop(0xc8200c6d20)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_input.go:299 +0x48
github.com/mozilla-services/heka/pipeline.(*PipelineConfig).RemoveInputRunner(0xc82000c780, 0x7f444ef9c188, 0xc82018c780)
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/config.go:459 +0x207
github.com/mozilla-services/heka/plugins/process.(*ProcessDirectoryInput).loadInputs(0xc8200d4c30, 0x0, 0x0)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_directory_input.go:141 +0x52f
github.com/mozilla-services/heka/plugins/process.(*ProcessDirectoryInput).Run(0xc8200d4c30, 0x7f444ef9bd08, 0xc8201228f0, 0x7f444ef9bdc8, 0xc8201228e0, 0x0, 0x0)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_directory_input.go:104 +0x1ca
created by github.com/mozilla-services/heka/plugins/process.ProcessDirectoryInputSpec.func1
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_directory_input_test.go:116 +0xbab
goroutine 1 [chan receive]:
testing.RunTests(0x991bc0, 0xafaaf0, 0x1, 0x1, 0x1)
/usr/lib/golang/src/testing/testing.go:562 +0x8ad
testing.(*M).Run(0xc820049ef8, 0x7f444ef9b830)
/usr/lib/golang/src/testing/testing.go:494 +0x70
main.main()
github.com/mozilla-services/heka/plugins/process/_test/_testmain.go:54 +0x116
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/lib/golang/src/runtime/asm_amd64.s:1696 +0x1
goroutine 5 [syscall]:
os/signal.loop()
/usr/lib/golang/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/usr/lib/golang/src/os/signal/signal_unix.go:28 +0x37
goroutine 6 [semacquire]:
sync.runtime_Semacquire(0xc820122bfc)
/usr/lib/golang/src/runtime/sema.go:43 +0x26
sync.(*WaitGroup).Wait(0xc820122bf0)
/usr/lib/golang/src/sync/waitgroup.go:126 +0xb4
github.com/mozilla-services/heka/plugins/process.ProcessDirectoryInputSpec.func1.8()
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_directory_input_test.go:203 +0x2e7
github.com/rafrombrc/gospec/src/gospec.recoverOnPanic(0xc820171140, 0x0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/recover.go:33 +0x56
github.com/rafrombrc/gospec/src/gospec.(*specRun).execute(0xc820196380)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/specification.go:39 +0x29
github.com/rafrombrc/gospec/src/gospec.(*taskContext).execute(0xc8200cb980, 0xc820196380)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:90 +0x53
github.com/rafrombrc/gospec/src/gospec.(*taskContext).processCurrentSpec(0xc8200cb980)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:67 +0x51
github.com/rafrombrc/gospec/src/gospec.(*taskContext).Specify(0xc8200cb980, 0x91e5e0, 0x15, 0xc820171140)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:54 +0x4d
github.com/mozilla-services/heka/plugins/process.ProcessDirectoryInputSpec.func1()
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_directory_input_test.go:208 +0x10ca
github.com/rafrombrc/gospec/src/gospec.recoverOnPanic(0xc8200cbec0, 0x0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/recover.go:33 +0x56
github.com/rafrombrc/gospec/src/gospec.(*specRun).execute(0xc8200d6a10)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/specification.go:39 +0x29
github.com/rafrombrc/gospec/src/gospec.(*taskContext).execute(0xc8200cb980, 0xc8200d6a10)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:90 +0x53
github.com/rafrombrc/gospec/src/gospec.(*taskContext).processCurrentSpec(0xc8200cb980)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:67 +0x51
github.com/rafrombrc/gospec/src/gospec.(*taskContext).Specify(0xc8200cb980, 0x911880, 0x17, 0xc8200cbec0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:54 +0x4d
github.com/mozilla-services/heka/plugins/process.ProcessDirectoryInputSpec(0x7f444ef9b8e0, 0xc8200cb980)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_directory_input_test.go:209 +0x6d7
github.com/rafrombrc/gospec/src/gospec.(*Runner).execute.func1()
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/runner.go:103 +0x55
github.com/rafrombrc/gospec/src/gospec.recoverOnPanic(0xc82015c1c0, 0x0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/recover.go:33 +0x56
github.com/rafrombrc/gospec/src/gospec.(*specRun).execute(0xc8200d6850)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/specification.go:39 +0x29
github.com/rafrombrc/gospec/src/gospec.(*taskContext).execute(0xc8200cb980, 0xc8200d6850)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:90 +0x53
github.com/rafrombrc/gospec/src/gospec.(*taskContext).processCurrentSpec(0xc8200cb980)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:67 +0x51
github.com/rafrombrc/gospec/src/gospec.(*taskContext).Specify(0xc8200cb980, 0x9fd540, 0x4a, 0xc82015c1c0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:54 +0x4d
github.com/rafrombrc/gospec/src/gospec.(*Runner).execute(0xc820016730, 0x9fd540, 0x4a, 0x991b18, 0xc8200cb980, 0x5a5015)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/runner.go:103 +0xa1
github.com/rafrombrc/gospec/src/gospec.(*Runner).startNextScheduledTask(0xc820016730)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/runner.go:82 +0xd0
github.com/rafrombrc/gospec/src/gospec.(*Runner).startAllScheduledTasks(0xc820016730)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/runner.go:55 +0x30
github.com/rafrombrc/gospec/src/gospec.(*Runner).Run(0xc820016730)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/runner.go:47 +0x21
github.com/rafrombrc/gospec/src/gospec.runAndPrint(0xc820016730, 0x0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/main.go:54 +0x1c5
github.com/rafrombrc/gospec/src/gospec.MainGoTest(0xc820016730, 0xc820074120)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/main.go:39 +0x21
github.com/mozilla-services/heka/plugins/process.TestAllSpecs(0xc820074120)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/all_specs_test.go:30 +0x1bd
testing.tRunner(0xc820074120, 0xafaaf0)
/usr/lib/golang/src/testing/testing.go:456 +0x98
created by testing.RunTests
/usr/lib/golang/src/testing/testing.go:561 +0x86d
goroutine 13 [runnable]:
github.com/mozilla-services/heka/plugins/process.(*ProcessInput).RunCmd(0xc8200c60e0)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_input.go:317 +0x1fa
created by github.com/mozilla-services/heka/plugins/process.(*ProcessInput).Run
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_input.go:232 +0x2ba
goroutine 9 [runnable]:
github.com/mozilla-services/heka/plugins/process.(*ProcessInput).Run(0xc8200c60e0, 0x7f444ef9c188, 0xc82007ea00, 0x7f444ef9c390, 0xc82000c3c0, 0x0, 0x0)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_input.go:235 +0x2e1
github.com/mozilla-services/heka/pipeline.(*iRunner).Starter(0xc82007ea00, 0x7f444ef9c390, 0xc82000c3c0, 0xc82000c54c)
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:325 +0x1bb
created by github.com/mozilla-services/heka/pipeline.(*iRunner).Start
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:305 +0x88d
goroutine 10 [runnable]:
github.com/mozilla-services/heka/plugins/process.(*ProcessInput).Run(0xc8200c62a0, 0x7f444ef9c188, 0xc82007edc0, 0x7f444ef9c390, 0xc82000c3c0, 0x0, 0x0)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_input.go:235 +0x2e1
github.com/mozilla-services/heka/pipeline.(*iRunner).Starter(0xc82007edc0, 0x7f444ef9c390, 0xc82000c3c0, 0xc82000c54c)
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:325 +0x1bb
created by github.com/mozilla-services/heka/pipeline.(*iRunner).Start
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:305 +0x88d
goroutine 11 [runnable]:
github.com/mozilla-services/heka/plugins/process.(*ProcessInput).Run(0xc8200c6460, 0x7f444ef9c188, 0xc82007f180, 0x7f444ef9c390, 0xc82000c3c0, 0x0, 0x0)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_input.go:235 +0x2e1
github.com/mozilla-services/heka/pipeline.(*iRunner).Starter(0xc82007f180, 0x7f444ef9c390, 0xc82000c3c0, 0xc82000c54c)
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:325 +0x1bb
created by github.com/mozilla-services/heka/pipeline.(*iRunner).Start
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:305 +0x88d
goroutine 12 [runnable]:
github.com/mozilla-services/heka/plugins/process.(*ProcessInput).Run(0xc8200c6620, 0x7f444ef9c188, 0xc82007f540, 0x7f444ef9c390, 0xc82000c3c0, 0x0, 0x0)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_input.go:235 +0x2e1
github.com/mozilla-services/heka/pipeline.(*iRunner).Starter(0xc82007f540, 0x7f444ef9c390, 0xc82000c3c0, 0xc82000c54c)
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:325 +0x1bb
created by github.com/mozilla-services/heka/pipeline.(*iRunner).Start
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:305 +0x88d
goroutine 14 [runnable]:
github.com/mozilla-services/heka/plugins/process.(*ProcessInput).RunCmd(0xc8200c62a0)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_input.go:317 +0x1fa
created by github.com/mozilla-services/heka/plugins/process.(*ProcessInput).Run
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_input.go:232 +0x2ba
goroutine 15 [runnable]:
github.com/mozilla-services/heka/plugins/process.(*ProcessInput).RunCmd(0xc8200c6460)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_input.go:317 +0x1fa
created by github.com/mozilla-services/heka/plugins/process.(*ProcessInput).Run
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_input.go:232 +0x2ba
goroutine 16 [runnable]:
github.com/mozilla-services/heka/plugins/process.(*ProcessInput).RunCmd(0xc8200c6620)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_input.go:317 +0x1fa
created by github.com/mozilla-services/heka/plugins/process.(*ProcessInput).Run
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/process/process_input.go:232 +0x2ba
goroutine 19 [runnable]:
github.com/mozilla-services/heka/pipeline.(*iRunner).Starter(0xc82007fb80, 0x7f444ef9c390, 0xc82000c780, 0xc82000c90c)
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:309
created by github.com/mozilla-services/heka/pipeline.(*iRunner).Start
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:305 +0x88d
goroutine 20 [runnable]:
github.com/mozilla-services/heka/pipeline.(*iRunner).Starter(0xc82018c000, 0x7f444ef9c390, 0xc82000c780, 0xc82000c90c)
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:309
created by github.com/mozilla-services/heka/pipeline.(*iRunner).Start
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:305 +0x88d
goroutine 21 [runnable]:
github.com/mozilla-services/heka/pipeline.(*iRunner).Starter(0xc82018c3c0, 0x7f444ef9c390, 0xc82000c780, 0xc82000c90c)
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:309
created by github.com/mozilla-services/heka/pipeline.(*iRunner).Start
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:305 +0x88d
goroutine 22 [runnable]:
github.com/mozilla-services/heka/pipeline.(*iRunner).Starter(0xc82018c780, 0x7f444ef9c390, 0xc82000c780, 0xc82000c90c)
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:309
created by github.com/mozilla-services/heka/pipeline.(*iRunner).Start
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/plugin_runners.go:305 +0x88d
FAIL github.com/mozilla-services/heka/plugins/process 0.119s
Start 17: plugins/smtp
17/26 Test #17: plugins/smtp ..................... Passed 2.48 sec
Start 18: plugins/statsd
18/26 Test #18: plugins/statsd ................... Passed 2.45 sec
Start 19: plugins/tcp
19/26 Test #19: plugins/tcp ...................... Passed 2.60 sec
Start 20: plugins/udp
20/26 Test #20: plugins/udp ......................***Failed 602.52 sec
SIGQUIT: quit
PC=0x45ff51 m=0
goroutine 5 [syscall]:
runtime.notetsleepg(0xb11a40, 0xffffffffffffffff, 0x1)
/usr/lib/golang/src/runtime/lock_futex.go:202 +0x4e fp=0xc820025f40 sp=0xc820025f18
runtime.signal_recv(0x0)
/usr/lib/golang/src/runtime/sigqueue.go:111 +0x132 fp=0xc820025f78 sp=0xc820025f40
os/signal.loop()
/usr/lib/golang/src/os/signal/signal_unix.go:22 +0x18 fp=0xc820025fc0 sp=0xc820025f78
runtime.goexit()
/usr/lib/golang/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc820025fc8 sp=0xc820025fc0
created by os/signal.init.1
/usr/lib/golang/src/os/signal/signal_unix.go:28 +0x37
goroutine 1 [chan receive]:
testing.RunTests(0x980580, 0xae3910, 0x1, 0x1, 0xc82005b801)
/usr/lib/golang/src/testing/testing.go:562 +0x8ad
testing.(*M).Run(0xc820049ef8, 0x7f8b26dd4830)
/usr/lib/golang/src/testing/testing.go:494 +0x70
main.main()
github.com/mozilla-services/heka/plugins/udp/_test/_testmain.go:54 +0x116
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/lib/golang/src/runtime/asm_amd64.s:1696 +0x1
goroutine 6 [chan receive]:
github.com/mozilla-services/heka/plugins/udp.UdpInputSpec.func1.2.1()
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/udp/udp_input_test.go:108 +0x2c2
github.com/rafrombrc/gospec/src/gospec.recoverOnPanic(0xc8200173b0, 0x0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/recover.go:33 +0x56
github.com/rafrombrc/gospec/src/gospec.(*specRun).execute(0xc82016a770)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/specification.go:39 +0x29
github.com/rafrombrc/gospec/src/gospec.(*taskContext).execute(0xc820011290, 0xc82016a770)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:90 +0x53
github.com/rafrombrc/gospec/src/gospec.(*taskContext).processCurrentSpec(0xc820011290)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:67 +0x51
github.com/rafrombrc/gospec/src/gospec.(*taskContext).Specify(0xc820011290, 0x934800, 0x24, 0xc8200173b0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:54 +0x4d
github.com/mozilla-services/heka/plugins/udp.UdpInputSpec.func1.2()
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/udp/udp_input_test.go:111 +0x436
github.com/rafrombrc/gospec/src/gospec.recoverOnPanic(0xc8200172c0, 0x0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/recover.go:33 +0x56
github.com/rafrombrc/gospec/src/gospec.(*specRun).execute(0xc82016a690)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/specification.go:39 +0x29
github.com/rafrombrc/gospec/src/gospec.(*taskContext).execute(0xc820011290, 0xc82016a690)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:90 +0x53
github.com/rafrombrc/gospec/src/gospec.(*taskContext).processCurrentSpec(0xc820011290)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:67 +0x51
github.com/rafrombrc/gospec/src/gospec.(*taskContext).Specify(0xc820011290, 0x912d10, 0x13, 0xc8200172c0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:54 +0x4d
github.com/mozilla-services/heka/plugins/udp.UdpInputSpec.func1()
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/udp/udp_input_test.go:112 +0xb6f
github.com/rafrombrc/gospec/src/gospec.recoverOnPanic(0xc8201685a0, 0x0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/recover.go:33 +0x56
github.com/rafrombrc/gospec/src/gospec.(*specRun).execute(0xc82016a5b0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/specification.go:39 +0x29
github.com/rafrombrc/gospec/src/gospec.(*taskContext).execute(0xc820011290, 0xc82016a5b0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:90 +0x53
github.com/rafrombrc/gospec/src/gospec.(*taskContext).processCurrentSpec(0xc820011290)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:67 +0x51
github.com/rafrombrc/gospec/src/gospec.(*taskContext).Specify(0xc820011290, 0x8c1010, 0xa, 0xc8201685a0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:54 +0x4d
github.com/mozilla-services/heka/plugins/udp.UdpInputSpec(0x7f8b26dd48e0, 0xc820011290)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/udp/udp_input_test.go:175 +0x4ce
github.com/rafrombrc/gospec/src/gospec.(*Runner).execute.func1()
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/runner.go:103 +0x55
github.com/rafrombrc/gospec/src/gospec.recoverOnPanic(0xc820168500, 0x0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/recover.go:33 +0x56
github.com/rafrombrc/gospec/src/gospec.(*specRun).execute(0xc82016a4d0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/specification.go:39 +0x29
github.com/rafrombrc/gospec/src/gospec.(*taskContext).execute(0xc820011290, 0xc82016a4d0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:90 +0x53
github.com/rafrombrc/gospec/src/gospec.(*taskContext).processCurrentSpec(0xc820011290)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:67 +0x51
github.com/rafrombrc/gospec/src/gospec.(*taskContext).Specify(0xc820011290, 0x9e8aa0, 0x39, 0xc820168500)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:54 +0x4d
github.com/rafrombrc/gospec/src/gospec.(*Runner).execute(0xc820016780, 0x9e8aa0, 0x39, 0x9804e0, 0xc820011290, 0x5cce05)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/runner.go:103 +0xa1
github.com/rafrombrc/gospec/src/gospec.(*Runner).startNextScheduledTask(0xc820016780)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/runner.go:82 +0xd0
github.com/rafrombrc/gospec/src/gospec.(*Runner).startAllScheduledTasks(0xc820016780)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/runner.go:55 +0x30
github.com/rafrombrc/gospec/src/gospec.(*Runner).Run(0xc820016780)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/runner.go:47 +0x21
github.com/rafrombrc/gospec/src/gospec.runAndPrint(0xc820016780, 0x0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/main.go:54 +0x1c5
github.com/rafrombrc/gospec/src/gospec.MainGoTest(0xc820016780, 0xc820072120)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/main.go:39 +0x21
github.com/mozilla-services/heka/plugins/udp.TestAllSpecs(0xc820072120)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/udp/all_specs_test.go:30 +0x1bd
testing.tRunner(0xc820072120, 0xae3910)
/usr/lib/golang/src/testing/testing.go:456 +0x98
created by testing.RunTests
/usr/lib/golang/src/testing/testing.go:561 +0x86d
goroutine 16 [IO wait]:
net.runtime_pollWait(0x7f8b26dd5878, 0x72, 0xc82000a1d0)
/usr/lib/golang/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc82016a760, 0x72, 0x0, 0x0)
/usr/lib/golang/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc82016a760, 0x0, 0x0)
/usr/lib/golang/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc82016a700, 0xc820180000, 0x10000, 0x10000, 0x0, 0x7f8b26dd0050, 0xc82000a1d0)
/usr/lib/golang/src/net/fd_unix.go:232 +0x23a
net.(*conn).Read(0xc820028330, 0xc820180000, 0x10000, 0x10000, 0x0, 0x0, 0x0)
/usr/lib/golang/src/net/net.go:172 +0xe4
github.com/mozilla-services/heka/plugins/udp.UdpInputSpec.func1.1(0x7f8b26dd5b90, 0xc820028330, 0x0, 0x0)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/udp/udp_input_test.go:83 +0x86
reflect.Value.call(0x7c7dc0, 0xc820146f60, 0x13, 0x8b9df8, 0x4, 0xc82016ca80, 0x2, 0x2, 0x0, 0x0, ...)
/usr/lib/golang/src/reflect/value.go:432 +0x120a
reflect.Value.Call(0x7c7dc0, 0xc820146f60, 0x13, 0xc82016ca80, 0x2, 0x2, 0x0, 0x0, 0x0)
/usr/lib/golang/src/reflect/value.go:300 +0xb1
github.com/rafrombrc/gomock/gomock.(*Call).call.func1()
/root/heka/build/heka/src/github.com/rafrombrc/gomock/gomock/call.go:213 +0x64
github.com/rafrombrc/gomock/gomock.(*Controller).Call(0xc820168520, 0x8a2f40, 0xc820146e80, 0x8c4460, 0xb, 0xc820168880, 0x2, 0x2, 0x0, 0x0, ...)
/root/heka/build/heka/src/github.com/rafrombrc/gomock/gomock/controller.go:141 +0x582
github.com/mozilla-services/heka/pipelinemock.(*MockSplitterRunner).SplitStream(0xc820146e80, 0x7f8b26dd6338, 0xc820028330, 0x0, 0x0, 0x0, 0x0)
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipelinemock/mock_splitterrunner.go:191 +0x18d
github.com/mozilla-services/heka/plugins/udp.(*UdpInput).Run(0xc820017220, 0x7f8b26dd6278, 0xc820146e70, 0x7f8b26dd5cd0, 0xc820146e60, 0x0, 0x0)
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/udp/udp_input.go:161 +0x797
created by github.com/mozilla-services/heka/plugins/udp.UdpInputSpec.func1.2.1
/root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/udp/udp_input_test.go:100 +0xf2
rax 0xca
rbx 0x0
rcx 0xffffffffffffffff
rdx 0x0
rdi 0xb11a40
rsi 0x0
rbp 0x1
rsp 0xc820025e98
r8 0x0
r9 0x0
r10 0x0
r11 0x286
r12 0x2c
r13 0x97d644
r14 0x0
r15 0x8
rip 0x45ff51
rflags 0x286
cs 0x33
fs 0x0
gs 0x0
*** Test killed with quit: ran too long (10m0s).
FAIL github.com/mozilla-services/heka/plugins/udp 600.007s
Start 21: logstreamer
21/26 Test #21: logstreamer ...................... Passed 1.31 sec
Start 22: client
22/26 Test #22: client ........................... Passed 0.93 sec
Start 23: sandbox_move_modules
23/26 Test #23: sandbox_move_modules ............. Passed 0.05 sec
Start 24: sandbox
24/26 Test #24: sandbox .......................... Passed 1.41 sec
Start 25: sandbox_plugins
25/26 Test #25: sandbox_plugins .................. Passed 3.61 sec
Start 26: mozsvc
26/26 Test #26: mozsvc ...........................***Failed 3.34 sec
2015/11/04 19:26:32 missing call(s) to *testsupport.MockAWSService.Query(is anything, is anything, is anything)
/root/heka/build/heka/src/github.com/rafrombrc/gomock/gomock/controller.go:164 (0x65796d)
(*Controller).Finish: string(debug.Stack()))
/root/heka/build/heka/src/github.com/mozilla-services/heka-mozsvc-plugins/cloudwatch_test.go:235 (0x48ddd3)
CloudwatchInputSpec: }
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/runner.go:103 (0x60f345)
(*Runner).execute.func1: c.Specify(name, func() { closure(c) })
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/recover.go:33 (0x60a696)
recoverOnPanic: f()
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/specification.go:39 (0x60e489)
(*specRun).execute: exception := recoverOnPanic(spec.closure)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:90 (0x606123)
(*taskContext).execute: spec.execute()
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:67 (0x605ea1)
(*taskContext).processCurrentSpec: c.execute(spec)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:54 (0x605d4d)
(*taskContext).Specify: c.processCurrentSpec()
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/runner.go:103 (0x60d581)
(*Runner).execute: c.Specify(name, func() { closure(c) })
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/runner.go:82 (0x60d370)
(*Runner).startNextScheduledTask: r.results <- r.execute(task.name, task.closure, task.context)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/runner.go:55 (0x60d1e0)
(*Runner).startAllScheduledTasks: r.startNextScheduledTask()
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/runner.go:47 (0x60d181)
(*Runner).Run: r.startAllScheduledTasks()
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/main.go:54 (0x607535)
runAndPrint: runner.Run()
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/main.go:39 (0x607321)
MainGoTest: results := runAndPrint(runner)
/root/heka/build/heka/src/github.com/mozilla-services/heka-mozsvc-plugins/all_specs_test.go:44 (0x48d197)
TestAllSpecs: gospec.MainGoTest(r, t)
/usr/lib/golang/src/testing/testing.go:456 (0x47ea08)
tRunner: test.F(t)
/usr/lib/golang/src/runtime/asm_amd64.s:1696 (0x45ec11)
goexit: BYTE $0x90 // NOP
2015/11/04 19:26:32 aborting test due to missing call(s)
FAIL github.com/mozilla-services/heka-mozsvc-plugins 0.007s
81% tests passed, 5 tests failed out of 26
Total Test time (real) = 664.00 sec
The following tests FAILED:
10 - plugins/http (Failed)
11 - plugins/irc (Failed)
16 - plugins/process (Failed)
20 - plugins/udp (Failed)
26 - mozsvc (Failed)
Errors while running CTest
@rafrombrc
Copy link

Tests are definitely passing for me. Some suggestions:

  • try make clean-heka; make from the build folder to re-sync the source code
  • if that doesn't work, try make clean or work from a fresh clone to make sure you're starting fresh
  • if that doesn't work, and you're using go 1.5, maybe try go 1.4.3.

Let me know how this goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment