Skip to content

Instantly share code, notes, and snippets.

@TeTeHacko
Created November 26, 2019 13:47
Show Gist options
  • Save TeTeHacko/79299bdccc266c2d15ba38d8ccad911a to your computer and use it in GitHub Desktop.
Save TeTeHacko/79299bdccc266c2d15ba38d8ccad911a to your computer and use it in GitHub Desktop.
(python-env) root@debian:~/go/src/github.com/elastic/beats/filebeat# GENERATE=1 INTEGRATION_TESTS=1 BEAT_STRICT_PERMS=false TESTING_FILEBEAT_MODULES=haproxy nosetests tests/system/test_modules.py
EEEE.
======================================================================
ERROR: test_fileset_file_0_haproxy (test_modules.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/go/src/github.com/elastic/beats/filebeat/build/python-env/local/lib/python2.7/site-packages/parameterized/parameterized.py", line 518, in standalone_func
return func(*(a + p.args), **p.kwargs)
File "/root/go/src/github.com/elastic/beats/filebeat/tests/system/test_modules.py", line 106, in test_fileset_file
cfgfile=cfgfile)
File "/root/go/src/github.com/elastic/beats/filebeat/tests/system/test_modules.py", line 177, in run_on_file
self.assert_fields_are_documented(obj)
File "/root/go/src/github.com/elastic/beats/filebeat/tests/system/../../../libbeat/tests/system/beat/beat.py", line 661, in assert_fields_are_documented
expected_fields, dict_fields, aliases = self.load_fields()
File "/root/go/src/github.com/elastic/beats/filebeat/tests/system/../../../libbeat/tests/system/beat/beat.py", line 572, in load_fields
with open(fields_doc, "r") as f:
IOError: [Errno 2] No such file or directory: '/root/go/src/github.com/elastic/beats/filebeat/fields.yml'
-------------------- >> begin captured stdout << ---------------------
Using elasticsearch: http://localhost:9200
Testing haproxy/log on /root/go/src/github.com/elastic/beats/filebeat/tests/system/../../module/haproxy/log/test/tcplog.log
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_fileset_file_1_haproxy (test_modules.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/go/src/github.com/elastic/beats/filebeat/build/python-env/local/lib/python2.7/site-packages/parameterized/parameterized.py", line 518, in standalone_func
return func(*(a + p.args), **p.kwargs)
File "/root/go/src/github.com/elastic/beats/filebeat/tests/system/test_modules.py", line 106, in test_fileset_file
cfgfile=cfgfile)
File "/root/go/src/github.com/elastic/beats/filebeat/tests/system/test_modules.py", line 177, in run_on_file
self.assert_fields_are_documented(obj)
File "/root/go/src/github.com/elastic/beats/filebeat/tests/system/../../../libbeat/tests/system/beat/beat.py", line 661, in assert_fields_are_documented
expected_fields, dict_fields, aliases = self.load_fields()
File "/root/go/src/github.com/elastic/beats/filebeat/tests/system/../../../libbeat/tests/system/beat/beat.py", line 572, in load_fields
with open(fields_doc, "r") as f:
IOError: [Errno 2] No such file or directory: '/root/go/src/github.com/elastic/beats/filebeat/fields.yml'
-------------------- >> begin captured stdout << ---------------------
Using elasticsearch: http://localhost:9200
Testing haproxy/log on /root/go/src/github.com/elastic/beats/filebeat/tests/system/../../module/haproxy/log/test/haproxy.log
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_fileset_file_2_haproxy (test_modules.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/go/src/github.com/elastic/beats/filebeat/build/python-env/local/lib/python2.7/site-packages/parameterized/parameterized.py", line 518, in standalone_func
return func(*(a + p.args), **p.kwargs)
File "/root/go/src/github.com/elastic/beats/filebeat/tests/system/test_modules.py", line 106, in test_fileset_file
cfgfile=cfgfile)
File "/root/go/src/github.com/elastic/beats/filebeat/tests/system/test_modules.py", line 177, in run_on_file
self.assert_fields_are_documented(obj)
File "/root/go/src/github.com/elastic/beats/filebeat/tests/system/../../../libbeat/tests/system/beat/beat.py", line 661, in assert_fields_are_documented
expected_fields, dict_fields, aliases = self.load_fields()
File "/root/go/src/github.com/elastic/beats/filebeat/tests/system/../../../libbeat/tests/system/beat/beat.py", line 572, in load_fields
with open(fields_doc, "r") as f:
IOError: [Errno 2] No such file or directory: '/root/go/src/github.com/elastic/beats/filebeat/fields.yml'
-------------------- >> begin captured stdout << ---------------------
Using elasticsearch: http://localhost:9200
Testing haproxy/log on /root/go/src/github.com/elastic/beats/filebeat/tests/system/../../module/haproxy/log/test/httplog-no-headers.log
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_fileset_file_3_haproxy (test_modules.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/go/src/github.com/elastic/beats/filebeat/build/python-env/local/lib/python2.7/site-packages/parameterized/parameterized.py", line 518, in standalone_func
return func(*(a + p.args), **p.kwargs)
File "/root/go/src/github.com/elastic/beats/filebeat/tests/system/test_modules.py", line 106, in test_fileset_file
cfgfile=cfgfile)
File "/root/go/src/github.com/elastic/beats/filebeat/tests/system/test_modules.py", line 177, in run_on_file
self.assert_fields_are_documented(obj)
File "/root/go/src/github.com/elastic/beats/filebeat/tests/system/../../../libbeat/tests/system/beat/beat.py", line 661, in assert_fields_are_documented
expected_fields, dict_fields, aliases = self.load_fields()
File "/root/go/src/github.com/elastic/beats/filebeat/tests/system/../../../libbeat/tests/system/beat/beat.py", line 572, in load_fields
with open(fields_doc, "r") as f:
IOError: [Errno 2] No such file or directory: '/root/go/src/github.com/elastic/beats/filebeat/fields.yml'
-------------------- >> begin captured stdout << ---------------------
Using elasticsearch: http://localhost:9200
Testing haproxy/log on /root/go/src/github.com/elastic/beats/filebeat/tests/system/../../module/haproxy/log/test/default.log
--------------------- >> end captured stdout << ----------------------
----------------------------------------------------------------------
Ran 5 tests in 5.996s
FAILED (errors=4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment