Telefonica/toolium

View on GitHub
fix: allow empty export response in export_poeditor_project #429
Rubén González Alonso authored da7610dc
complete00:00:25
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.yml.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-eslint:b1490
b1490: Pulling from codeclimate/codeclimate-eslint
a2abf6c4d29d: Already exists
716b0e096692: Already exists
fe6faad74785: Already exists
210ec5508c76: Already exists
c0598cf3675c: Already exists
48e77e86811c: Pulling fs layer
7cc33ddd22ed: Pulling fs layer
595bad1deab8: Pulling fs layer
e6a49bbc35fb: Pulling fs layer
93bf00f6f72d: Pulling fs layer
94e03836dd33: Pulling fs layer
1c6a0f89a4a6: Pulling fs layer
1ce7eb517bdd: Pulling fs layer
34c44125099a: Pulling fs layer
1be2fd54b137: Pulling fs layer
1ce7eb517bdd: Waiting
93bf00f6f72d: Waiting
34c44125099a: Waiting
94e03836dd33: Waiting
1be2fd54b137: Waiting
1c6a0f89a4a6: Waiting
e6a49bbc35fb: Waiting
7cc33ddd22ed: Download complete
595bad1deab8: Download complete
48e77e86811c: Download complete
48e77e86811c: Pull complete
93bf00f6f72d: Download complete
7cc33ddd22ed: Pull complete
e6a49bbc35fb: Verifying Checksum
e6a49bbc35fb: Download complete
595bad1deab8: Pull complete
94e03836dd33: Verifying Checksum
94e03836dd33: Download complete
e6a49bbc35fb: Pull complete
1ce7eb517bdd: Verifying Checksum
1ce7eb517bdd: Download complete
93bf00f6f72d: Pull complete
34c44125099a: Verifying Checksum
34c44125099a: Download complete
1be2fd54b137: Download complete
94e03836dd33: Pull complete
1c6a0f89a4a6: Verifying Checksum
1c6a0f89a4a6: Download complete
1c6a0f89a4a6: Pull complete
1ce7eb517bdd: Pull complete
34c44125099a: Pull complete
1be2fd54b137: Pull complete
Digest: sha256:f708abcd40db93afb3c275dfbab63e35030f65d3078948b00109e242b33f2a1b
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-eslint:b1490
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-04-24T11:12:12.351254 #1]  INFO -- : Skipping file toolium/selenoid.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 128
    self.driver_wrapper.logger.info(f'Selenoid host info: {selenoid_info}')
                                                                         ^
SyntaxError: invalid syntax


I, [2024-04-24T11:12:12.382572 #1]  INFO -- : Skipping file ./toolium/behave/env_utils.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 283
    raise Exception(f'Before scenario steps have failed: {error_message}')
                                                                        ^
SyntaxError: invalid syntax


I, [2024-04-24T11:12:12.485411 #1]  INFO -- : Skipping file ./toolium/utils/poeditor.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 107
    message = f"There are more than one POEditor project with name \"{project_name}\": {project_names}"
                                                                                                      ^
SyntaxError: invalid syntax


I, [2024-04-24T11:12:12.496329 #1]  INFO -- : Skipping file ./toolium/utils/data_generator.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 99
    def random_uuidv4(self) -> str:
                            ^
SyntaxError: invalid syntax


I, [2024-04-24T11:12:12.535420 #1]  INFO -- : Skipping file ./toolium/utils/dataset.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 122
    logger.debug(f'Replaced param from "{param}" to "{new_param}"')
                                                                 ^
SyntaxError: invalid syntax


I, [2024-04-24T11:12:12.546725 #1]  INFO -- : Skipping file toolium/visual_test.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 136
    error_message = f'Baseline file not found: {baseline_path}'
                                                              ^
SyntaxError: invalid syntax


I, [2024-04-24T11:12:12.565506 #1]  INFO -- : Skipping file toolium/config_driver.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 105
    server_url = f"{self.utils.get_server_url()}{self.config.get_optional('Server', 'base_path', '')}"
                                                                                                     ^
SyntaxError: invalid syntax


I, [2024-04-24T11:12:12.726877 #1]  INFO -- : Skipping file ./toolium/pageelements/page_element.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 87
    parent_msg = f" and parent locator {self.parent_locator_str()}" if self.parent else ''
                                                                  ^
SyntaxError: invalid syntax


I, [2024-04-24T11:12:12.737690 #1]  INFO -- : Skipping file ./toolium/pageelements/page_elements.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 114
    def page_elements(self) -> List[Any]:
                            ^
SyntaxError: invalid syntax
7
eslint
eslint engine documentation
View output
Ignoring the following rules that rely on module resolution:
	 * import/extensionsimport/named
	 * import/namespace
	 * import/no-absolute-path
	 * import/no-cycle
	 * import/no-duplicates
	 * import/no-extraneous-dependencies
	 * import/no-named-as-default
	 * import/no-named-as-default-member
	 * import/no-restricted-paths
	 * import/no-unresolved
	 * node/no-hide-code-modules
	 * node/no-missing-require
Ignoring the following settings that rely on module resolution:
	 * undefined
Skipped modules
	 * undefined