saltstack/salt

View on GitHub
Merge pull request #55093 from frogunder/doc_conf_develop #12771
Daniel Wozniak authored 637fe0b0
complete00:05:15
Your first build completed successfully!

Congratulations

Your first build completed successfully!

See the Results

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
docker pull codeclimate/codeclimate-radon:b695
b695: Pulling from codeclimate/codeclimate-radon
e00d546a75ad: Pulling fs layer
21f0a0866768: Pulling fs layer
cd9d3946aa16: Pulling fs layer
2e56add6654f: Pulling fs layer
6c87f215a2be: Pulling fs layer
c2b31566ca3d: Pulling fs layer
c2b31566ca3d: Waiting
6c87f215a2be: Waiting
21f0a0866768: Verifying Checksum
21f0a0866768: Download complete
e00d546a75ad: Download complete
cd9d3946aa16: Download complete
e00d546a75ad: Pull complete
c2b31566ca3d: Verifying Checksum
c2b31566ca3d: Download complete
6c87f215a2be: Verifying Checksum
6c87f215a2be: Download complete
21f0a0866768: Pull complete
2e56add6654f: Verifying Checksum
2e56add6654f: Download complete
cd9d3946aa16: Pull complete
2e56add6654f: Pull complete
6c87f215a2be: Pull complete
c2b31566ca3d: Pull complete
Digest: sha256:dfeb7edc634b4e2f851f3c788f7c21bd8bae097d4c66af722c76a6ba51121f98
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-radon:b695
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-04-21T04:09:03.574616 #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, [2024-04-21T04:09:03.574671 #1]  WARN -- : Response status: 422
W, [2024-04-21T04:09:03.694072 #1]  WARN -- : Skipping doc/_themes/saltstack/static/js/vendor/bootstrap.min.js due to CC::Parser::Client::HTTPError
W, [2024-04-21T04:09:03.694116 #1]  WARN -- : Response status: 422
W, [2024-04-21T04:09:03.698655 #1]  WARN -- : Skipping doc/_themes/saltstack2/static/js/core.min.js due to CC::Parser::Client::HTTPError
W, [2024-04-21T04:09:03.698687 #1]  WARN -- : Response status: 422
W, [2024-04-21T04:09:03.699818 #1]  WARN -- : Skipping doc/_themes/saltstack2/static/js/respond.min.js due to CC::Parser::Client::HTTPError
W, [2024-04-21T04:09:03.699847 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-04-21T04:12:08.029795 #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, [2024-04-21T04:12:08.129745 #1]  WARN -- : Response status: 422
W, [2024-04-21T04:12:09.287808 #1]  WARN -- : Skipping ./doc/_themes/saltstack/static/js/vendor/bootstrap.min.js due to CC::Parser::Client::HTTPError
W, [2024-04-21T04:12:09.287843 #1]  WARN -- : Response status: 422
W, [2024-04-21T04:12:09.290795 #1]  WARN -- : Skipping ./doc/_themes/saltstack2/static/js/core.min.js due to CC::Parser::Client::HTTPError
W, [2024-04-21T04:12:09.290827 #1]  WARN -- : Response status: 422
W, [2024-04-21T04:12:09.291334 #1]  WARN -- : Skipping ./doc/_themes/saltstack2/static/js/respond.min.js due to CC::Parser::Client::HTTPError
W, [2024-04-21T04:12:09.291600 #1]  WARN -- : Response status: 422
I, [2024-04-21T04:12:09.479821 #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 51, 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


I, [2024-04-21T04:12:09.492379 #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 51, 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


I, [2024-04-21T04:12:09.503312 #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 51, 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


I, [2024-04-21T04:12:09.516576 #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 51, 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


I, [2024-04-21T04:12:45.083183 #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 51, 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


I, [2024-04-21T04:13:09.114931 #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 51, 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
7
radon
radon engine documentation
View output
Running radon3...