endremborza/atqo

View on GitHub
docs for v0.4.2 #90
Endre Márk Borza authored 9f4d58b1
complete00:00:14
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
No errors or warnings found in .codeclimate.json.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
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-06-12T07:40:54.408587 #1]  INFO -- : Skipping file atqo/exchange.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 15
    actor_capsets: Iterable[CapabilitySet],
                 ^
SyntaxError: invalid syntax


I, [2024-06-12T07:40:54.412842 #1]  INFO -- : Skipping file atqo/bases.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 15
    param_str = ", ".join(f"{k}={v}" for k, v in self.__dict__.items())
                                   ^
SyntaxError: invalid syntax


I, [2024-06-12T07:40:54.419990 #1]  INFO -- : Skipping file atqo/simplified_functions.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 16
    def __init__(self, iterable, batch_size, mapper=_Task) -> None:
                                                           ^
SyntaxError: invalid syntax


I, [2024-06-12T07:40:54.426155 #1]  INFO -- : Skipping file atqo/resource_handling.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 11
    resource_needs: Union[Dict[Enum, int], "NumStore"],
                  ^
SyntaxError: invalid syntax


I, [2024-06-12T07:40:54.439581 #1]  INFO -- : Skipping file atqo/core.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 30
    def _start_loop(loop: asyncio.AbstractEventLoop) -> None:
                        ^
SyntaxError: invalid syntax


I, [2024-06-12T07:40:54.450246 #1]  INFO -- : Skipping file atqo/distributed_apis.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
    def __init__(self) -> None:
                       ^
SyntaxError: invalid syntax


I, [2024-06-12T07:40:54.459500 #1]  INFO -- : Skipping file atqo/lock_stores.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 12
    def acquire(self, key) -> Lock:
                           ^
SyntaxError: invalid syntax


I, [2024-06-12T07:40:54.461954 #1]  INFO -- : Skipping file atqo/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 5
    def dic_merge(d1: dict, d2: dict, _def, fun):
                    ^
SyntaxError: invalid syntax


I, [2024-06-12T07:40:54.470770 #1]  INFO -- : Skipping file atqo/exceptions.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 25
    def __init__(self, *args: object) -> None:
                            ^
SyntaxError: invalid syntax
7
sonar-python
sonar-python engine documentation
View output
INFO: Java 1.8.0_111-internal Oracle Corporation (64-bit)
INFO: Linux 4.4.0-1128-aws amd64
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-core-2.17.0.899.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-cli-2.1.0.566.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
INFO: Index files
INFO: 18 files indexed
ERROR: Unable to parse file: /code/atqo/exchange.py
ERROR: Parse error at line 174 column 25:

  171: > None:
  172:         self._capset = capset
  173:         self._possible_barters = [cs for cs in capsets if cs != capset]
  -->          self.barter_pairs: List[Tuple[NumStore, NumStore]] = []
  175:         self._get_all_barter_pairs(capset.total_resource_use)
  176: 
  177:     def _get_all_barter_pairs(self, available

ERROR: Unable to parse file: /code/atqo/core.py
ERROR: Parse error at line 65 column 26:

   61: partial) else v
   62:             assert ActorBase in _ab.mro()
   63: 
   64:         self._loop, self._thread = _get_loop_of_daemon()
  -->          self._result_queue: Queue[TaskResult] = Queue()
   66:         self._task_queues: dict[CapabilitySet, TaskQueue] = {}
   67:         self._verbose = verbose
   68: 

ERROR: Unable to parse file: /code/atqo/exceptions.py
ERROR: Parse error at line 27 column 14:

   25:     def __init__(self, *args: object) -> None:
   26:         super().__init__(*args)
  -->          self.e: Exception = args[0]
   28:         self.tb: Traceback = args[1]
   29: EOF

INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 0.518s
INFO: Final Memory: 6M/295M
INFO: ------------------------------------------------------------------------