Skip to content

Instantly share code, notes, and snippets.

@ioc32
Created November 6, 2015 15:37
Show Gist options
  • Save ioc32/2e1348786f57337551fd to your computer and use it in GitHub Desktop.
Save ioc32/2e1348786f57337551fd to your computer and use it in GitHub Desktop.
heka-ctest-errors
[root@localhost build]# make clean-heka
Scanning dependencies of target clean-heka
[100%] Resynchronizing the Go workspace with the Heka repository
-- GeoIP.h was not found, GeoIP functionality will not be included in this build.
-- Docker plugins enabled.
-- sphinx-build was not found, the documentation will not be generated.
-- Configuring done
-- Generating done
-- Build files have been written to: /root/heka/build
[100%] Built target clean-heka
[root@localhost build]# make
[ 4%] Built target protobuf
[ 7%] Built target go-simplejson
[ 11%] Built target raw
[ 15%] Built target gomock
[ 19%] Built target xmlpath
[ 23%] Built target go-notify
[ 27%] Built target whisper-go
[ 31%] Built target goamz
[ 34%] Built target amqp
[ 37%] Built target g2s
[ 40%] Built target toml
[ 44%] Built target uuid
[ 48%] Built target slices
[ 52%] Built target sets
[ 55%] Built target gostrftime
[ 59%] Built target snappy
[ 63%] Built target gospec
[ 67%] Built target go-ircevent
[ 70%] Built target sarama
[ 74%] Built target raven-go
[ 78%] Built target heka-mozsvc-plugins
[ 82%] Built target go-dockerclient
[ 82%] Built target GoPackages
[ 85%] Built target lua_sandbox
[ 86%] Built target heka_source
[ 86%] Built target message_matcher_parser
[ 87%] Built mock_pluginhelper_test.go
[ 87%] Built mock_pluginrunner_test.go
[ 88%] Built mock_decoder_test.go
[ 88%] Built mock_decoderrunner_test.go
[ 89%] Built mock_inputrunner_test.go
[ 89%] Built mock_filterrunner_test.go
[ 90%] Built mock_outputrunner_test.go
[ 90%] Built mock_input_test.go
[ 91%] Built mock_stataccumulator_test.go
[ 91%] Built mock_deliverer_test.go
[ 91%] Built mock_splitterrunner_test.go
[ 92%] Built mock_pluginhelper.go
[ 92%] Built mock_filterrunner.go
[ 93%] Built mock_decoderrunner.go
[ 93%] Built mock_outputrunner.go
[ 94%] Built mock_inputrunner.go
[ 94%] Built mock_decoder.go
[ 95%] Built mock_stataccumulator.go
[ 95%] Built mock_deliverer.go
[ 96%] Built mock_splitterrunner.go
[ 96%] Built mock_net_conn.go
[ 97%] Built mock_net_listener.go
[ 97%] Built mock_net_error.go
[ 98%] Built mock_whisperrunner_test.go
[ 98%] Built mock_amqpconnection_test.go
[ 98%] Built mock_amqpchannel_test.go
[100%] Built mock_amqpconnectionhub_test.go
[100%] Built mock_amqp_acknowledger.go
[100%] Built target mocks
[100%] Built target hekad
[100%] Built target flood
[100%] Built target heka-cat
[100%] Built target inject
[100%] Built target logstreamer
[100%] Built target sbmgr
[100%] Built target sbmgrload
[root@localhost build]# ctest
Test project /root/heka/build
Start 1: cmd/hekad
1/26 Test #1: cmd/hekad ........................ Passed 3.48 sec
Start 2: message
2/26 Test #2: message .......................... Passed 1.66 sec
Start 3: pipeline
3/26 Test #3: pipeline ......................... Passed 4.35 sec
Start 4: plugins
4/26 Test #4: plugins .......................... Passed 3.21 sec
Start 5: plugins/amqp
5/26 Test #5: plugins/amqp ..................... Passed 3.21 sec
Start 6: plugins/dasher
6/26 Test #6: plugins/dasher ................... Passed 2.96 sec
Start 7: plugins/elasticsearch
7/26 Test #7: plugins/elasticsearch ............ Passed 2.16 sec
Start 8: plugins/file
8/26 Test #8: plugins/file ..................... Passed 3.52 sec
Start 9: plugins/graphite
9/26 Test #9: plugins/graphite ................. Passed 2.92 sec
Start 10: plugins/http
10/26 Test #10: plugins/http .....................***Failed 3.05 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.76 sec
2015/11/05 00:53:34 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.005s
Start 12: plugins/kafka
12/26 Test #12: plugins/kafka .................... Passed 5.32 sec
Start 13: plugins/logstreamer
13/26 Test #13: plugins/logstreamer .............. Passed 2.84 sec
Start 14: plugins/nagios
14/26 Test #14: plugins/nagios ................... Passed 2.58 sec
Start 15: plugins/payload
15/26 Test #15: plugins/payload .................. Passed 2.47 sec
Start 16: plugins/process
16/26 Test #16: plugins/process ..................***Failed 3.09 sec
2015/11/05 00:53:51 Pre-loading: [NullSplitter]
2015/11/05 00:53:51 Loading: [NullSplitter]
2015/11/05 00:53:51 Pre-loading: [NullSplitter]
2015/11/05 00:53:51 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(0xc8200bedec, 0xc82009dbe0)
/usr/lib/golang/src/sync/once.go:44 +0xe4
github.com/mozilla-services/heka/plugins/process.(*ProcessInput).Stop(0xc8200bed20)
/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, 0x7f787e944188, 0xc82018e780)
/root/heka/build/heka/src/github.com/mozilla-services/heka/pipeline/config.go:459 +0x207
github.com/mozilla-services/heka/plugins/process.(*ProcessDirectoryInput).loadInputs(0xc8200ccc30, 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(0xc8200ccc30, 0x7f787e943d08, 0xc8201228f0, 0x7f787e943dc8, 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, 0x7f787e943830)
/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(0xc8200c3980, 0xc820196380)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:90 +0x53
github.com/rafrombrc/gospec/src/gospec.(*taskContext).processCurrentSpec(0xc8200c3980)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:67 +0x51
github.com/rafrombrc/gospec/src/gospec.(*taskContext).Specify(0xc8200c3980, 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(0xc8200c3ec0, 0x0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/recover.go:33 +0x56
github.com/rafrombrc/gospec/src/gospec.(*specRun).execute(0xc8200cea10)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/specification.go:39 +0x29
github.com/rafrombrc/gospec/src/gospec.(*taskContext).execute(0xc8200c3980, 0xc8200cea10)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:90 +0x53
github.com/rafrombrc/gospec/src/gospec.(*taskContext).processCurrentSpec(0xc8200c3980)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:67 +0x51
github.com/rafrombrc/gospec/src/gospec.(*taskContext).Specify(0xc8200c3980, 0x911880, 0x17, 0xc8200c3ec0)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:54 +0x4d
github.com/mozilla-services/heka/plugins/process.ProcessDirectoryInputSpec(0x7f787e9438e0, 0xc8200c3980)
/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(0xc8200ce850)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/specification.go:39 +0x29
github.com/rafrombrc/gospec/src/gospec.(*taskContext).execute(0xc8200c3980, 0xc8200ce850)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:90 +0x53
github.com/rafrombrc/gospec/src/gospec.(*taskContext).processCurrentSpec(0xc8200c3980)
/root/heka/build/heka/src/github.com/rafrombrc/gospec/src/gospec/context.go:67 +0x51
github.com/rafrombrc/gospec/src/gospec.(*taskContext).Specify(0xc8200c3980, 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, 0xc8200c3980, 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(0xc8200be0e0)
/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(0xc8200be0e0, 0x7f787e944188, 0xc82007ea00, 0x7f787e9442b0, 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, 0x7f787e9442b0, 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(0xc8200be2a0, 0x7f787e944188, 0xc82007edc0, 0x7f787e9442b0, 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, 0x7f787e9442b0, 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(0xc8200be460, 0x7f787e944188, 0xc82007f180, 0x7f787e9442b0, 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, 0x7f787e9442b0, 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(0xc8200be620, 0x7f787e944188, 0xc82007f540, 0x7f787e9442b0, 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, 0x7f787e9442b0, 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(0xc8200be2a0)
/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(0xc8200be460)
/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(0xc8200be620)
/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, 0x7f787e9442b0, 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(0xc82018e000, 0x7f787e9442b0, 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(0xc82018e3c0, 0x7f787e9442b0, 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(0xc82018e780, 0x7f787e9442b0, 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.111s
Start 17: plugins/smtp
17/26 Test #17: plugins/smtp ..................... Passed 2.67 sec
Start 18: plugins/statsd
18/26 Test #18: plugins/statsd ................... Passed 2.75 sec
Start 19: plugins/tcp
19/26 Test #19: plugins/tcp ......................***Failed 2.99 sec
2015/11/05 00:53:59 Pre-loading: [HekaFramingSplitter]
2015/11/05 00:53:59 Loading: [HekaFramingSplitter]
2015/11/05 00:53:59 Pre-loading: [HekaFramingSplitter]
2015/11/05 00:53:59 Loading: [HekaFramingSplitter]
2015/11/05 00:53:59 Pre-loading: [HekaFramingSplitter]
2015/11/05 00:53:59 Loading: [HekaFramingSplitter]
2015/11/05 00:53:59 Pre-loading: [HekaFramingSplitter]
2015/11/05 00:53:59 Loading: [HekaFramingSplitter]
github.com/mozilla-services/heka/plugins/tcp.TcpInputSpec
- A TcpInput
- using TLS
- accepts connections and passes them to the splitter [FAIL]
*** Expected: is <nil>
got: “write tcp 127.0.0.1:60644->127.0.0.1:55565: i/o timeout”
github.com/mozilla-services/heka/plugins/tcp.TcpInputSpec.func1.3.2()
at /root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/tcp/tcp_input_test.go:160
*** Expected: equals “15”
got: “0”
github.com/mozilla-services/heka/plugins/tcp.TcpInputSpec.func1.3.2()
at /root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/tcp/tcp_input_test.go:161
*** Expected: is <nil>
got: “write tcp 127.0.0.1:60644->127.0.0.1:55565: i/o timeout”
github.com/mozilla-services/heka/plugins/tcp.TcpInputSpec.func1.3.2()
at /root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/tcp/tcp_input_test.go:166
*** Expected: equals “This is a test.”
got: “”
github.com/mozilla-services/heka/plugins/tcp.TcpInputSpec.func1.3.2()
at /root/heka/build/heka/src/github.com/mozilla-services/heka/plugins/tcp/tcp_input_test.go:167
29 specs, 1 failures
--- FAIL: TestAllSpecs (0.02s)
FAIL
FAIL github.com/mozilla-services/heka/plugins/tcp 0.021s
Start 20: plugins/udp
20/26 Test #20: plugins/udp ......................***Failed 602.94 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, 0x7f180c370830)
/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(0x7f180c3708e0, 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(0x7f180c371878, 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, 0x7f180c36c050, 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(0x7f180c371b90, 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, 0x7f180c372488, 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, 0x7f180c3723c8, 0xc820146e70, 0x7f180c371cd0, 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.004s
Start 21: logstreamer
21/26 Test #21: logstreamer ...................... Passed 1.30 sec
Start 22: client
22/26 Test #22: client ........................... Passed 0.99 sec
Start 23: sandbox_move_modules
23/26 Test #23: sandbox_move_modules ............. Passed 0.03 sec
Start 24: sandbox
24/26 Test #24: sandbox .......................... Passed 1.50 sec
Start 25: sandbox_plugins
25/26 Test #25: sandbox_plugins .................. Passed 3.90 sec
Start 26: mozsvc
26/26 Test #26: mozsvc ........................... Passed 5.66 sec
81% tests passed, 5 tests failed out of 26
Total Test time (real) = 674.32 sec
The following tests FAILED:
10 - plugins/http (Failed)
11 - plugins/irc (Failed)
16 - plugins/process (Failed)
19 - plugins/tcp (Failed)
20 - plugins/udp (Failed)
Errors while running CTest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment