saltstack/salt

View on GitHub
Merge branch 'develop' into develop #12468
5d6ae9f2b97746f4cf7c163b8e88a0b1uhriap authored e3616944
complete00:06:20
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: 'languages' has been deprecated, and will not be used
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
14
Parser process id: 14
codeclimate-parser socket not present
waiting 1s...
W, [2019-10-16T16:39:48.017422 #1]  WARN -- : Skipping doc/_themes/saltstack/static/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js due to CC::Parser::Client::HTTPError
W, [2019-10-16T16:39:48.017501 #1]  WARN -- : Response status: 422
W, [2019-10-16T16:39:48.127712 #1]  WARN -- : Skipping doc/_themes/saltstack/static/js/vendor/bootstrap.min.js due to CC::Parser::Client::HTTPError
W, [2019-10-16T16:39:48.127776 #1]  WARN -- : Response status: 422
W, [2019-10-16T16:39:48.132628 #1]  WARN -- : Skipping doc/_themes/saltstack2/static/js/core.min.js due to CC::Parser::Client::HTTPError
W, [2019-10-16T16:39:48.132683 #1]  WARN -- : Response status: 422
W, [2019-10-16T16:39:48.134518 #1]  WARN -- : Skipping doc/_themes/saltstack2/static/js/respond.min.js due to CC::Parser::Client::HTTPError
W, [2019-10-16T16:39:48.134563 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/concurrent-ruby-1.0.0/lib/concurrent/atomic/mutex_atomic_fixnum.rb:80: warning: constant ::Fixnum is deprecated
W, [2019-10-16T16:42:45.965130 #1]  WARN -- : Skipping ./doc/_themes/saltstack/static/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js due to CC::Parser::Client::HTTPError
W, [2019-10-16T16:42:46.065172 #1]  WARN -- : Response status: 422
W, [2019-10-16T16:42:47.567456 #1]  WARN -- : Skipping ./doc/_themes/saltstack/static/js/vendor/bootstrap.min.js due to CC::Parser::Client::HTTPError
W, [2019-10-16T16:42:47.567536 #1]  WARN -- : Response status: 422
W, [2019-10-16T16:42:47.768550 #1]  WARN -- : Skipping ./doc/_themes/saltstack2/static/js/core.min.js due to CC::Parser::Client::HTTPError
W, [2019-10-16T16:42:47.849330 #1]  WARN -- : Response status: 422
W, [2019-10-16T16:42:47.855803 #1]  WARN -- : Skipping ./doc/_themes/saltstack2/static/js/respond.min.js due to CC::Parser::Client::HTTPError
W, [2019-10-16T16:42:47.855875 #1]  WARN -- : Response status: 422
/home/app/.rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/concurrent-ruby-1.0.0/lib/concurrent/atomic/mutex_atomic_fixnum.rb:80: warning: constant ::Fixnum is deprecated
I, [2019-10-16T16:42:48.083817 #1]  INFO -- : Skipping file ./templates/test_state/tests/unit/states/test_{{module_name}}.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 47, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 17
    import salt.states.{{module_name}} as {{module_name}}
                       ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2019-10-16T16:42:48.103202 #1]  INFO -- : Skipping file ./templates/state/salt/states/{{module_name}}.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 47, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 27
    {% if depending_libraries %}
     ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2019-10-16T16:42:48.113341 #1]  INFO -- : Skipping file ./templates/test_module/tests/unit/modules/test_{{module_name}}.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 47, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 17
    import salt.modules.{{module_name}} as {{module_name}}
                        ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2019-10-16T16:42:48.119966 #1]  INFO -- : Skipping file ./templates/module/salt/modules/{{module_name}}.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 47, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 26
    {% if depending_libraries %}
     ^
SyntaxError: invalid syntax

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2019-10-16T16:43:32.528448 #1]  INFO -- : Skipping file ./salt/modules/network.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 47, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/json/__init__.py", line 244, in dumps
    return _default_encoder.encode(obj)
  File "/usr/local/python2/lib/python2.7/json/encoder.py", line 207, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/local/python2/lib/python2.7/json/encoder.py", line 270, in iterencode
    return _iterencode(o, 0)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 0: invalid start byte

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
I, [2019-10-16T16:44:02.836957 #1]  INFO -- : Skipping file ./salt/runners/network.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 47, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/json/__init__.py", line 244, in dumps
    return _default_encoder.encode(obj)
  File "/usr/local/python2/lib/python2.7/json/encoder.py", line 207, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/local/python2/lib/python2.7/json/encoder.py", line 270, in iterencode
    return _iterencode(o, 0)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 0: invalid start byte

/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:26:in `block in run'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `block in catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:33:in `catch'
/home/app/.rubies/ruby-2.5.1/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
/usr/src/app/lib/cc/engine/analyzers/command_line_runner.rb:18:in `run'
/usr/src/app/lib/cc/engine/analyzers/python/parser.rb:23:in `parse'
/usr/src/app/lib/cc/engine/analyzers/python/main.rb:26:in `process_file'
/usr/src/app/lib/cc/engine/analyzers/analyzer_base.rb:41:in `run'
/usr/src/app/lib/cc/engine/analyzers/reporter.rb:76:in `block in process_files'
/usr/src/app/lib/cc/engine/analyzers/file_thread_pool.rb:24:in `block (2 levels) in run'
7
radon
radon engine documentation
View output
Running radon3...