Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mkdir -p /home/<user>/git/go/src/github.com/elastic/beats/filebeat/build/coverage
- # gotestcover is needed to fetch coverage for multiple packages
- go get github.com/elastic/beats/vendor/github.com/pierrre/gotestcover
- # testify is needed for unit and integration tests
- go get github.com/elastic/beats/vendor/github.com/stretchr/testify/assert
- # libcompose is needed for integration tests
- go get github.com/docker/libcompose
- warning: ignoring symlink /home/<user>/git/go/src/github.com/elastic/beats/filebeat/build/python-env/include/python2.7
- warning: ignoring symlink /home/<user>/git/go/src/github.com/elastic/beats/filebeat/build/python-env/lib/python2.7/encodings
- warning: ignoring symlink /home/<user>/git/go/src/github.com/elastic/beats/filebeat/build/python-env/lib/python2.7/lib-dynload
- warning: ignoring symlink /home/<user>/git/go/src/github.com/elastic/beats/filebeat/build/python-env/local/bin
- warning: ignoring symlink /home/<user>/git/go/src/github.com/elastic/beats/filebeat/build/python-env/local/include
- warning: ignoring symlink /home/<user>/git/go/src/github.com/elastic/beats/filebeat/build/python-env/local/lib
- warning: ignoring symlink /home/<user>/git/go/src/github.com/elastic/beats/filebeat/build/python-env/include/python2.7
- warning: ignoring symlink /home/<user>/git/go/src/github.com/elastic/beats/filebeat/build/python-env/lib/python2.7/encodings
- warning: ignoring symlink /home/<user>/git/go/src/github.com/elastic/beats/filebeat/build/python-env/lib/python2.7/lib-dynload
- warning: ignoring symlink /home/<user>/git/go/src/github.com/elastic/beats/filebeat/build/python-env/local/bin
- warning: ignoring symlink /home/<user>/git/go/src/github.com/elastic/beats/filebeat/build/python-env/local/include
- warning: ignoring symlink /home/<user>/git/go/src/github.com/elastic/beats/filebeat/build/python-env/local/lib
- go test -i github.com/elastic/beats/filebeat github.com/elastic/beats/filebeat/autodiscover github.com/elastic/beats/filebeat/autodiscover/builder/hints github.com/elastic/beats/filebeat/beater github.com/elastic/beats/filebeat/channel github.com/elastic/beats/filebeat/cmd github.com/elastic/beats/filebeat/config github.com/elastic/beats/filebeat/crawler github.com/elastic/beats/filebeat/fileset github.com/elastic/beats/filebeat/harvester github.com/elastic/beats/filebeat/harvester/encoding github.com/elastic/beats/filebeat/harvester/reader github.com/elastic/beats/filebeat/include github.com/elastic/beats/filebeat/input github.com/elastic/beats/filebeat/input/docker github.com/elastic/beats/filebeat/input/file github.com/elastic/beats/filebeat/input/log github.com/elastic/beats/filebeat/input/redis github.com/elastic/beats/filebeat/input/stdin github.com/elastic/beats/filebeat/input/syslog github.com/elastic/beats/filebeat/input/tcp github.com/elastic/beats/filebeat/input/udp github.com/elastic/beats/filebeat/inputsource github.com/elastic/beats/filebeat/inputsource/tcp github.com/elastic/beats/filebeat/inputsource/udp github.com/elastic/beats/filebeat/processor/add_kubernetes_metadata github.com/elastic/beats/filebeat/prospector github.com/elastic/beats/filebeat/registrar github.com/elastic/beats/filebeat/scripts/generator github.com/elastic/beats/filebeat/scripts/generator/fields github.com/elastic/beats/filebeat/scripts/generator/fileset github.com/elastic/beats/filebeat/scripts/generator/module github.com/elastic/beats/filebeat/scripts/tester github.com/elastic/beats/filebeat/util
- /home/<user>/git/go/bin/gotestcover -coverprofile=/home/<user>/git/go/src/github.com/elastic/beats/filebeat/build/coverage/unit.cov github.com/elastic/beats/filebeat github.com/elastic/beats/filebeat/autodiscover github.com/elastic/beats/filebeat/autodiscover/builder/hints github.com/elastic/beats/filebeat/beater github.com/elastic/beats/filebeat/channel github.com/elastic/beats/filebeat/cmd github.com/elastic/beats/filebeat/config github.com/elastic/beats/filebeat/crawler github.com/elastic/beats/filebeat/fileset github.com/elastic/beats/filebeat/harvester github.com/elastic/beats/filebeat/harvester/encoding github.com/elastic/beats/filebeat/harvester/reader github.com/elastic/beats/filebeat/include github.com/elastic/beats/filebeat/input github.com/elastic/beats/filebeat/input/docker github.com/elastic/beats/filebeat/input/file github.com/elastic/beats/filebeat/input/log github.com/elastic/beats/filebeat/input/redis github.com/elastic/beats/filebeat/input/stdin github.com/elastic/beats/filebeat/input/syslog github.com/elastic/beats/filebeat/input/tcp github.com/elastic/beats/filebeat/input/udp github.com/elastic/beats/filebeat/inputsource github.com/elastic/beats/filebeat/inputsource/tcp github.com/elastic/beats/filebeat/inputsource/udp github.com/elastic/beats/filebeat/processor/add_kubernetes_metadata github.com/elastic/beats/filebeat/prospector github.com/elastic/beats/filebeat/registrar github.com/elastic/beats/filebeat/scripts/generator github.com/elastic/beats/filebeat/scripts/generator/fields github.com/elastic/beats/filebeat/scripts/generator/fileset github.com/elastic/beats/filebeat/scripts/generator/module github.com/elastic/beats/filebeat/scripts/tester github.com/elastic/beats/filebeat/util
- ? github.com/elastic/beats/filebeat/channel [no test files]
- ? github.com/elastic/beats/filebeat/autodiscover [no test files]
- ? github.com/elastic/beats/filebeat/crawler [no test files]
- ? github.com/elastic/beats/filebeat/cmd [no test files]
- ? github.com/elastic/beats/filebeat/beater [no test files]
- ? github.com/elastic/beats/filebeat/include [no test files]
- ok github.com/elastic/beats/filebeat/harvester/encoding 0.009s coverage: 63.6% of statements
- ok github.com/elastic/beats/filebeat/harvester 0.038s coverage: 9.3% of statements
- command [go test -cover -coverprofile /tmp/gotestcover-316349418 github.com/elastic/beats/filebeat/config]: exit status 1
- --- FAIL: TestMergeConfigFiles (0.00s)
- Error Trace: config_test.go:97
- Error: Not equal:
- expected: 4
- actual : 0
- Test: TestMergeConfigFiles
- FAIL
- coverage: 55.8% of statements
- FAIL github.com/elastic/beats/filebeat/config 0.005s
- ? github.com/elastic/beats/filebeat/input/docker [no test files]
- ok github.com/elastic/beats/filebeat/autodiscover/builder/hints 0.014s coverage: 90.8% of statements
- ok github.com/elastic/beats/filebeat/harvester/reader 0.211s coverage: 80.6% of statements
- ? github.com/elastic/beats/filebeat/input/stdin [no test files]
- ? github.com/elastic/beats/filebeat/input/redis [no test files]
- ok github.com/elastic/beats/filebeat/fileset 0.020s coverage: 51.1% of statements
- ok github.com/elastic/beats/filebeat/input/file 0.005s coverage: 64.1% of statements
- ? github.com/elastic/beats/filebeat/inputsource [no test files]
- ? github.com/elastic/beats/filebeat/input/udp [no test files]
- ok github.com/elastic/beats/filebeat/input 0.005s coverage: 17.7% of statements
- ? github.com/elastic/beats/filebeat/prospector [no test files]
- ? github.com/elastic/beats/filebeat/registrar [no test files]
- ok github.com/elastic/beats/filebeat 0.028s coverage: 0.0% of statements
- ok github.com/elastic/beats/filebeat/inputsource/udp 0.025s coverage: 85.7% of statements
- ok github.com/elastic/beats/filebeat/inputsource/tcp 0.113s coverage: 87.9% of statements
- ok github.com/elastic/beats/filebeat/input/tcp 0.005s coverage: 13.5% of statements
- ? github.com/elastic/beats/filebeat/scripts/generator [no test files]
- ? github.com/elastic/beats/filebeat/scripts/generator/fileset [no test files]
- ok github.com/elastic/beats/filebeat/input/syslog 0.010s coverage: 31.3% of statements
- ? github.com/elastic/beats/filebeat/scripts/generator/module [no test files]
- ok github.com/elastic/beats/filebeat/input/log 0.711s coverage: 16.4% of statements
- ok github.com/elastic/beats/filebeat/scripts/generator/fields 0.007s coverage: 38.4% of statements
- ok github.com/elastic/beats/filebeat/processor/add_kubernetes_metadata 0.003s coverage: 93.8% of statements
- ok github.com/elastic/beats/filebeat/util 0.003s coverage: 71.4% of statements
- ok github.com/elastic/beats/filebeat/scripts/tester 0.003s coverage: 14.0% of statements
- test failed
- ../libbeat/scripts/Makefile:169: recipe for target 'unit-tests' failed
- make: *** [unit-tests] Error 1
Advertisement
Add Comment
Please, Sign In to add comment