failmap/failmap

View on GitHub
Create publiccode.yml #312
Elger Jonker authored 371106cd
complete00:00:54
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: 'engines' has been deprecated, please use 'plugins' instead
WARNING: 'exclude_paths' has been deprecated, please use 'exclude_patterns' instead
WARNING: 'ratings' 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-pep8:b25
b25: Pulling from codeclimate/codeclimate-pep8
ab6db1bc80d0: Pulling fs layer
bf17e9a1c113: Pulling fs layer
4f8d95c214b1: Pulling fs layer
0de813e89c33: Pulling fs layer
a9696c7f4cd8: Pulling fs layer
51b9219e6e44: Pulling fs layer
e3c7e34cb08c: Pulling fs layer
328f3a57c882: Pulling fs layer
43b5f16a0c84: Pulling fs layer
a9696c7f4cd8: Waiting
51b9219e6e44: Waiting
4f8d95c214b1: Waiting
0de813e89c33: Waiting
e3c7e34cb08c: Waiting
328f3a57c882: Waiting
bf17e9a1c113: Waiting
43b5f16a0c84: Waiting
bf17e9a1c113: Verifying Checksum
bf17e9a1c113: Download complete
4f8d95c214b1: Verifying Checksum
4f8d95c214b1: Download complete
a9696c7f4cd8: Verifying Checksum
a9696c7f4cd8: Download complete
ab6db1bc80d0: Pull complete
bf17e9a1c113: Pull complete
51b9219e6e44: Download complete
e3c7e34cb08c: Download complete
0de813e89c33: Download complete
4f8d95c214b1: Pull complete
43b5f16a0c84: Verifying Checksum
43b5f16a0c84: Download complete
328f3a57c882: Verifying Checksum
328f3a57c882: Download complete
0de813e89c33: Pull complete
a9696c7f4cd8: Pull complete
51b9219e6e44: Pull complete
e3c7e34cb08c: Pull complete
328f3a57c882: Pull complete
43b5f16a0c84: Pull complete
Digest: sha256:75f70c714bc5f9e65359d45469a1fe7c1b181a15aee8fbabec7e23c65b19d447
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-pep8:b25
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
2e56add6654f: Waiting
c2b31566ca3d: Waiting
6c87f215a2be: Waiting
21f0a0866768: Download complete
e00d546a75ad: Verifying Checksum
e00d546a75ad: Download complete
cd9d3946aa16: Verifying Checksum
cd9d3946aa16: Download complete
e00d546a75ad: Pull complete
6c87f215a2be: Verifying Checksum
6c87f215a2be: Download complete
c2b31566ca3d: Verifying Checksum
c2b31566ca3d: Download complete
21f0a0866768: Pull complete
cd9d3946aa16: Pull complete
2e56add6654f: Verifying Checksum
2e56add6654f: Download 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
docker pull codeclimate/codeclimate-shellcheck:b684
b684: Pulling from codeclimate/codeclimate-shellcheck
Digest: sha256:e0b2536aefdfd2c58c796ab66fea38b8c8b0389ce41a9bbfcd59ccd54b530acc
Status: Image is up to date for registry.prod.codeclimate.net/codeclimate/codeclimate-shellcheck:b684
docker pull codeclimate/codeclimate-eslint:b1476
b1476: Pulling from codeclimate/codeclimate-eslint
a2abf6c4d29d: Pulling fs layer
716b0e096692: Pulling fs layer
d65f0cc0c2e2: Pulling fs layer
c7fbf3401fad: Pulling fs layer
811ff2aaa8ce: Pulling fs layer
6961ed5764f3: Pulling fs layer
77321725071c: Pulling fs layer
e5ddd6d9acb6: Pulling fs layer
176840c42401: Pulling fs layer
414f407f492d: Pulling fs layer
7023f3ea382b: Pulling fs layer
af2390cc3e5d: Pulling fs layer
8bc34c14ff5d: Pulling fs layer
50a05621282c: Pulling fs layer
543da683a9cb: Pulling fs layer
176840c42401: Waiting
414f407f492d: Waiting
7023f3ea382b: Waiting
af2390cc3e5d: Waiting
8bc34c14ff5d: Waiting
50a05621282c: Waiting
543da683a9cb: Waiting
6961ed5764f3: Waiting
77321725071c: Waiting
e5ddd6d9acb6: Waiting
c7fbf3401fad: Waiting
811ff2aaa8ce: Waiting
716b0e096692: Verifying Checksum
716b0e096692: Download complete
c7fbf3401fad: Verifying Checksum
c7fbf3401fad: Download complete
a2abf6c4d29d: Verifying Checksum
a2abf6c4d29d: Download complete
d65f0cc0c2e2: Verifying Checksum
d65f0cc0c2e2: Download complete
6961ed5764f3: Verifying Checksum
6961ed5764f3: Download complete
811ff2aaa8ce: Verifying Checksum
811ff2aaa8ce: Download complete
e5ddd6d9acb6: Download complete
77321725071c: Download complete
176840c42401: Verifying Checksum
176840c42401: Download complete
414f407f492d: Verifying Checksum
414f407f492d: Download complete
7023f3ea382b: Verifying Checksum
7023f3ea382b: Download complete
8bc34c14ff5d: Verifying Checksum
8bc34c14ff5d: Download complete
543da683a9cb: Verifying Checksum
543da683a9cb: Download complete
50a05621282c: Verifying Checksum
50a05621282c: Download complete
af2390cc3e5d: Verifying Checksum
af2390cc3e5d: Download complete
a2abf6c4d29d: Pull complete
716b0e096692: Pull complete
d65f0cc0c2e2: Pull complete
c7fbf3401fad: Pull complete
811ff2aaa8ce: Pull complete
6961ed5764f3: Pull complete
77321725071c: Pull complete
e5ddd6d9acb6: Pull complete
176840c42401: Pull complete
414f407f492d: Pull complete
7023f3ea382b: Pull complete
af2390cc3e5d: Pull complete
8bc34c14ff5d: Pull complete
50a05621282c: Pull complete
543da683a9cb: Pull complete
Digest: sha256:1927fd540edeebf51540dffc05058271fdf3caec4291ef07f3c1dd0947431add
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-eslint:b1476
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-05-06T04:07:39.235239 #1]  WARN -- : Skipping websecmap/map/static/js/translations/internet_nl.nl.js due to CC::Parser::Client::HTTPError
W, [2024-05-06T04:07:39.235294 #1]  WARN -- : Response status: 422
W, [2024-05-06T04:07:39.244981 #1]  WARN -- : Skipping websecmap/map/static/js/translations/internet_nl.en.js due to CC::Parser::Client::HTTPError
W, [2024-05-06T04:07:39.245025 #1]  WARN -- : Response status: 422
W, [2024-05-06T04:07:39.297794 #1]  WARN -- : Skipping websecmap/map/static/js/translations/internet_nl.js due to CC::Parser::Client::HTTPError
W, [2024-05-06T04:07:39.297834 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-05-06T04:07:46.679409 #1]  WARN -- : Skipping ./websecmap/map/static/js/translations/internet_nl.nl.js due to CC::Parser::Client::HTTPError
W, [2024-05-06T04:07:46.679458 #1]  WARN -- : Response status: 422
W, [2024-05-06T04:07:46.684580 #1]  WARN -- : Skipping ./websecmap/map/static/js/translations/internet_nl.en.js due to CC::Parser::Client::HTTPError
W, [2024-05-06T04:07:46.684631 #1]  WARN -- : Response status: 422
W, [2024-05-06T04:07:46.746460 #1]  WARN -- : Skipping ./websecmap/map/static/js/translations/internet_nl.js due to CC::Parser::Client::HTTPError
W, [2024-05-06T04:07:46.746504 #1]  WARN -- : Response status: 422
I, [2024-05-06T04:07:46.878504 #1]  INFO -- : Skipping file ./tests/integration/integration_scanners/test_dummy.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 50
    def text(filepath: str):
                     ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:46.929079 #1]  INFO -- : Skipping file ./websecmap/organizations/management/commands/hash_coordinates.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
    log.info(f"Done creating hashes for {len(coordinates)}.")
                                                           ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:46.977412 #1]  INFO -- : Skipping file ./websecmap/organizations/management/commands/create_dataset_sql_dump.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 56
    f"mysqldump -u [todo] -p [todo] "
                                    ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:46.985146 #1]  INFO -- : Skipping file ./websecmap/organizations/management/commands/reset_autocomputed_fields_in_urls.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
    print(f"Going to re-calculate and save autocomputed_ values for {len(urls)} urls.")
                                                                                     ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:47.004809 #1]  INFO -- : Skipping file ./websecmap/organizations/management/commands/one_shot_merge_NL_municipalities_2021.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 67
    def rebuild_reports(organizations: List[str]):
                                     ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:47.056791 #1]  INFO -- : Skipping file ./websecmap/organizations/management/commands/add_urls.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 53
    def get_new_urls(urls: List[str]):
                         ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:47.071038 #1]  INFO -- : Skipping file ./websecmap/organizations/management/commands/copy_urls.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 34
    f"Either source or target does not exist in the database. "
                                                              ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:47.127666 #1]  INFO -- : Skipping file ./websecmap/organizations/datasources/__init__.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 101
    def url_to_filename(url: str):
                           ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:47.185541 #1]  INFO -- : Skipping file websecmap/organizations/admin.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 245
    def generic_action(self, task_composer: types.compose_task, name: str, request, queryset):
                                          ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:47.199240 #1]  INFO -- : Skipping file websecmap/organizations/adminstrative_transformations.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
    source_organizations_names: List[str],
                              ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:47.214935 #1]  INFO -- : Skipping file websecmap/organizations/models.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 129
    def add_url(self, url: str):
                         ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:47.228236 #1]  INFO -- : Skipping file ./websecmap/celery/__init__.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 79
    def __init__(self, message, *args, cause=None):
                                           ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:47.243744 #1]  INFO -- : Skipping file websecmap/types.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 7
    organizations_filter: dict = dict(),
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:47.452354 #1]  INFO -- : Skipping file websecmap/game/models.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 44
    return f"{self.name}"
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:47.464800 #1]  INFO -- : Skipping file websecmap/app/debug.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 8
    def count_queries(message: str = ""):
                             ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:47.698205 #1]  INFO -- : Skipping file ./websecmap/app/tests/test_periodic_tasks.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 38
    log.debug(f"Checking of the imported module {module_name} actually has the method {method}.")
                                                                                               ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:47.721747 #1]  INFO -- : Skipping file websecmap/app/progressbar.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
    print("\r%s |%s| %s%% %s" % (prefix, bar, percent, suffix), end="\r")
                                                                   ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:47.815093 #1]  INFO -- : Skipping file websecmap/app/constance.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 10
    def get_bulk_values(keys: List[str]):
                            ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:47.832126 #1]  INFO -- : Skipping file websecmap/app/models.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 78
    def create(cls, task: celery.Task, name: str, request, *args, **kwargs) -> "Job":
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:47.986429 #1]  INFO -- : Skipping file ./websecmap/scanners/management/commands/revive.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 69
    def revive(object_type, date, preview: bool = True):
                                         ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.017760 #1]  INFO -- : Skipping file ./websecmap/scanners/management/commands/plan_create_periodic_tasks.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 20
    def plan_daily(scanner: str, method: str, interval: str = "every day"):
                          ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.067225 #1]  INFO -- : Skipping file websecmap/scanners/plannedscan.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 47
    def calculate_progress() -> List[Dict[str, int]]:
                             ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.080169 #1]  INFO -- : Skipping file websecmap/scanners/autoexplain.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 23
    def add_bot_explanation(scan: EndpointGenericScan, explanation: str, duration: timedelta):
                                ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.083044 #1]  INFO -- : Skipping file websecmap/scanners/scanmanager.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 store_endpoint_scan_result(scan_type: str, endpoint_id: int, rating: str, message: str, evidence: str = ""):
                                            ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.110999 #1]  INFO -- : Skipping file ./websecmap/scanners/tests/test_autoexplain.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 32
    with open(f"{current_path}/websecmap/scanners/tests/autoexplain/valid_chain.json") as f:
                                                                                    ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.122344 #1]  INFO -- : Skipping file ./websecmap/scanners/tests/test_remove_duplicate_endpoints_2.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 22
    target_ep = Endpoint.objects.create(**{**duplicate_properties, **{"discovered_on": date(2021, 7, 1)}})
                                            ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.165855 #1]  INFO -- : Skipping file ./websecmap/scanners/tests/test_known_subdomains.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
    u, created = Url.objects.all().get_or_create(url=f"{subdomain}.ex.com")
                                                                         ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.328723 #1]  INFO -- : Skipping file ./websecmap/scanners/tests/test_plannedscan.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 39
    def create_url(url: str = "example.com"):
                      ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.353699 #1]  INFO -- : Skipping file websecmap/scanners/proxy.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 claim_proxy(tracing_label="") -> Dict[str, Any]:
                                      ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.364715 #1]  INFO -- : Skipping file websecmap/scanners/impact.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 85
    log.debug(f"Calculating impact for country: {config.PROJECT_COUNTRY}.")
                                                                         ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.374603 #1]  INFO -- : Skipping file websecmap/scanners/duplicates.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 9
    def deduplicate_all_endpoints_sequentially(days: int = 60):
                                                   ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.390974 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/subdomains.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 33
    def url_by_filters(organizations_filter: dict = dict(), urls_filter: dict = dict()) -> List:
                                           ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.393312 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/autoexplain_microsoft_neighboring_services.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 52
    def scan(scan_id: int):
                    ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.402634 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/plain_http.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 39
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.406321 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/autoexplain_trust_microsoft.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 172
    log.debug(f"Scan {epgs} fits all criteria to be auto explained for incorrect cert usage.")
                                                                                            ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.419603 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/verify_unresolvable.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 14
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.422196 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/dns_known_subdomains.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 28
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.432641 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/autoexplain_dutch_untrusted_cert.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 60
    def compose_scan_task(urls: List[Url]) -> Task:
                              ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.433280 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/internet_nl_v2_web.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 28
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.445195 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/internet_nl_v2_websecmap.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 28
    def valid_api_settings(scan: InternetNLV2Scan):
                               ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.448145 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/dummy.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 39
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.456465 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/internet_nl_v2_mail.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 28
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.459803 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/screenshot.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 46
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.469170 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/autoexplain_no_https_microsoft.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 89
    log.debug(f"Retrieved cname value: {cnameval}.")
                                                  ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.471547 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/http.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 97
    def filter_discover(organizations_filter: dict = dict(), urls_filter: dict = dict(), **kwargs):
                                            ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.480756 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/dnssec.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 49
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.483095 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/security_headers.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 35
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.491945 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/internet_nl_v2.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 24
    url: str = ""
       ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.495660 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/onboard.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 20
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.504816 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/ftp.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 45
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.508496 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/dns_endpoints.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 39
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.517290 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/__init__.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 60
    def allowed_to_scan(scanner_name: str = ""):
                                    ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.522403 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/dns_clean_wildcards.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
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.531483 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/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 20
    def get_nameservers() -> List[str]:
                          ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.535984 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/dns_wildcards.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
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.543574 #1]  INFO -- : Skipping file ./websecmap/scanners/scanner/tls_qualys.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 68
    organizations_filter: dict = dict(), urls_filter: dict = dict(), endpoints_filter: dict = dict(), **kwargs
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.548554 #1]  INFO -- : Skipping file websecmap/scanners/admin.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 297
    f"<a href='{config.INTERNET_NL_API_USERNAME}:{config.INTERNET_NL_API_PASSWORD}"
                                                                                  ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.562224 #1]  INFO -- : Skipping file websecmap/scanners/constance.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
    variable_name = f"RATE_LIMIT_{scanner['name'].upper()}_{plannable_activity.upper()}"
                                                                                       ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.584326 #1]  INFO -- : Skipping file websecmap/scanners/models.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 93
    def force_get(url_id: int, ip_version, protocol, port):
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.615074 #1]  INFO -- : Skipping file ./websecmap/api/tests/sidnclient.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
    r = client.get(f"{your_api_endpoint}layers/")
                                               ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.615701 #1]  INFO -- : Skipping file ./websecmap/api/tests/test_sidn.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 39
    text=text(f"{current_path}/websecmap/api/tests/public_suffix_list.dat"),
                                                                         ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.628967 #1]  INFO -- : Skipping file ./websecmap/api/apis/sidn.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 71
    def sidn_domain_upload(user_id: int, csv_data: str):
                                  ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.658292 #1]  INFO -- : Skipping file ./websecmap/api/apis/zorgkaart.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 56
    def organization_and_url_import(flat_organizations: List[Dict[str, Any]]):
                                                      ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.725041 #1]  INFO -- : Skipping file ./websecmap/map/management/commands/reports_calculate_map_health.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
    def _update_map_health_reports(days: int = 366, countries: List = None, organization_types: List = None):
                                       ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.735546 #1]  INFO -- : Skipping file ./websecmap/map/management/commands/map_manual_test_osm.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 19
    [boundary=administrative][admin_level={admin_level}]; out geom;"""
                                                                     ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.790674 #1]  INFO -- : Skipping file ./websecmap/map/management/commands/map_parse_administrative_regions.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 1559
    def figure_out_country(lines: List[str]):
                                ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.864365 #1]  INFO -- : Skipping file websecmap/map/rebuild_report.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
    organizations_filter: dict = dict(),
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.876564 #1]  INFO -- : Skipping file websecmap/map/views.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 104
    request, country: str = DEFAULT_COUNTRY, organization_type=DEFAULT_LAYER, file_format: str = DEFAULT_FILE_FORMAT
                    ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.889191 #1]  INFO -- : Skipping file ./websecmap/map/tests/test_openstreetmap.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 40
    return MockResponse(file_get_contents(f"{path}/openstreetmap/AL_county.gz"), 200)
                                                                             ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.951339 #1]  INFO -- : Skipping file ./websecmap/map/logic/map_defaults.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 32
    def get_organization_type(name: str):
                                  ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.957289 #1]  INFO -- : Skipping file ./websecmap/map/logic/top.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 get_top_win_data(country: str = "NL", organization_type="municipality", weeks_back=0):
                                ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.968433 #1]  INFO -- : Skipping file ./websecmap/map/logic/map.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 24
    report_sql = f"SELECT id, calculation FROM map_organizationreport WHERE id IN ({','.join(ids)})"
                                                                                                   ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.969006 #1]  INFO -- : Skipping file ./websecmap/map/logic/rss_feeds.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 95
    def title(self, scan_type: str = ""):
                             ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.980287 #1]  INFO -- : Skipping file ./websecmap/map/logic/datasets.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 8
    def create_filename(set_name, country: str = "NL", organization_type="municipality"):
                                         ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.981434 #1]  INFO -- : Skipping file ./websecmap/map/logic/map_health.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 32
    published_scan_types, days: int = 366, countries: List = None, organization_types: List = None
                              ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.991877 #1]  INFO -- : Skipping file ./websecmap/map/logic/wikidata.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 9
    OFFICIAL_WEBSITE: str = "P856"
                    ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:48.998687 #1]  INFO -- : Skipping file ./websecmap/map/logic/stats_and_graphs.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 74
    def get_organization_vulnerability_timeline(organization_id: int):
                                                               ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:49.003328 #1]  INFO -- : Skipping file ./websecmap/map/logic/identical_organizations.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 43
    print(f"Identical organizations to {organization.id}: {organization.name}")
                                                                             ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:49.010368 #1]  INFO -- : Skipping file ./websecmap/map/logic/coordinates.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 60
    f"Discovered a point without a coordinate: ID: {coordinate}. Used by the following "
                                                                                       ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:49.014686 #1]  INFO -- : Skipping file ./websecmap/map/logic/ticker.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 10
    country: str = "NL", organization_type: str = "municipality", weeks_back: int = 0, weeks_duration: int = 0
           ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:49.021915 #1]  INFO -- : Skipping file ./websecmap/map/logic/latest.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 57
    "service": f"{scan.endpoint.protocol}/{scan.endpoint.port} (IPv{scan.endpoint.ip_version})",
                                                                                              ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:49.061009 #1]  INFO -- : Skipping file ./websecmap/map/logic/admin.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 operation_response(error: bool = False, success: bool = False, message: str = "", data: Dict = None):
                                ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:49.072703 #1]  INFO -- : Skipping file ./websecmap/map/logic/openstreetmap.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 45
    def get_resampling_resolution(country: str = "NL", organization_type: str = "municipality"):
                                         ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:49.090154 #1]  INFO -- : Skipping file ./websecmap/map/logic/explain.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 133
    def get_scan(scan_id: int, scan_type: str) -> Union[EndpointGenericScan, UrlGenericScan, None]:
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:49.106699 #1]  INFO -- : Skipping file ./websecmap/map/logic/organization_report.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 18
    country: str = DEFAULT_COUNTRY, organization_type=DEFAULT_LAYER, organization_name=None, weeks_back=0
           ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:49.130462 #1]  INFO -- : Skipping file websecmap/map/admin.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 106
    def start_import(region_id: int):
                              ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:49.146577 #1]  INFO -- : Skipping file websecmap/map/map_configs.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 9
    def filter_map_configs(countries: List = None, organization_types: List = None):
                                    ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:49.178061 #1]  INFO -- : Skipping file websecmap/map/report.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 61
    organizations_filter: dict = dict(),
                        ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:49.213046 #1]  INFO -- : Skipping file ./websecmap/reporting/management/commands/report_list_scan_after_dead_endpoint.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 24
    print(f"{dead_endpoint.is_dead_since} Scans after endpoint died: {dead_endpoint}")
                                                                                    ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:49.327867 #1]  INFO -- : Skipping file websecmap/reporting/rebuild_url_report.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 14
    def compose_task(**kwargs) -> Task:
                               ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:49.329859 #1]  INFO -- : Skipping file websecmap/reporting/severity.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 20
    def get_security_header_calculation(scan: Union[EndpointGenericScan, UrlGenericScan]):
                                            ^
SyntaxError: invalid syntax


I, [2024-05-06T04:07:49.363459 #1]  INFO -- : Skipping file websecmap/reporting/report.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 49
    def recreate_url_reports(urls: List[int]) -> List[Task]:
                                 ^
SyntaxError: invalid syntax
7
pep8
pep8 engine documentation
View output
conftest.py locale/ tests/ websecmap/locale/ websecmap/organizations/locale/ websecmap/organizations/management/ websecmap/organizations/signals.py websecmap/organizations/datasources/ websecmap/organizations/tests/ websecmap/organizations/static/ websecmap/organizations/fixtures/ websecmap/organizations/apps.py websecmap/organizations/admin.py websecmap/organizations/__init__.py websecmap/organizations/adminstrative_transformations.py websecmap/organizations/models.py websecmap/signals.py websecmap/celery/ websecmap/types.py websecmap/game/locale/ websecmap/game/templatetags/ websecmap/game/views.py websecmap/game/templates/ websecmap/game/static/ websecmap/game/apps.py websecmap/game/admin.py websecmap/game/__init__.py websecmap/game/urls.py websecmap/game/tests.py websecmap/game/models.py websecmap/game/forms.py websecmap/app/debug.py websecmap/app/middleware/ websecmap/app/management/ websecmap/app/tasks.py websecmap/app/templates/ websecmap/app/tests/ websecmap/app/common.py websecmap/app/static/ websecmap/app/fixtures/ websecmap/app/progressbar.py websecmap/app/dashboard_modules.py websecmap/app/dashboard_module_views.py websecmap/app/dashboard.py websecmap/app/admin.py websecmap/app/backends/ websecmap/app/__init__.py websecmap/app/constance.py websecmap/app/models.py websecmap/testrunner.py websecmap/manage.py websecmap/scanners/management/ websecmap/scanners/plannedscan.py websecmap/scanners/autoexplain.py websecmap/scanners/scanmanager.py websecmap/scanners/tasks.py websecmap/scanners/tests/ websecmap/scanners/timeout.py websecmap/scanners/logic/ websecmap/scanners/proxy.py websecmap/scanners/impact.py websecmap/scanners/duplicates.py websecmap/scanners/resources/ websecmap/scanners/apps.py websecmap/scanners/docs/ websecmap/scanners/scanner/ websecmap/scanners/admin.py websecmap/scanners/__init__.py websecmap/scanners/constance.py websecmap/scanners/models.py websecmap/api/views.py websecmap/api/tasks.py websecmap/api/templates/ websecmap/api/tests/ websecmap/api/apis/ websecmap/api/apps.py websecmap/api/admin.py websecmap/api/urls.py websecmap/api/models.py websecmap/map/management/ websecmap/map/rebuild_report.py websecmap/map/views.py websecmap/map/tasks.py websecmap/map/templates/ websecmap/map/tests/ websecmap/map/logic/ websecmap/map/static/js/components/ websecmap/map/static/js/translations/ websecmap/map/static/js/__init__.py websecmap/map/static/favicons/ websecmap/map/static/__init__.py websecmap/map/static/images/ websecmap/map/map_updates/ websecmap/map/apps.py websecmap/map/admin.py websecmap/map/__init__.py websecmap/map/map_configs.py websecmap/map/urls.py websecmap/map/models.py websecmap/map/report.py websecmap/converters.py websecmap/reporting/management/ websecmap/reporting/tests/ websecmap/reporting/severity.py websecmap/reporting/rebuild_url_report.py websecmap/reporting/apps.py websecmap/reporting/admin.py websecmap/reporting/__init__.py websecmap/reporting/models.py websecmap/reporting/report.py websecmap/__init__.py websecmap/wsgi.py websecmap/urls.py websecmap/uploads/ websecmap/settings.py websecmap/jet.py websecmap/fail/apps.py websecmap/fail/__init__.py docs/ tools/ setup.py/usr/lib/python3.9/site-packages/pycodestyle.py:2665: UserWarning: [pep8] section is deprecated. Use [pycodestyle].
  warnings.warn('[pep8] section is deprecated. Use [pycodestyle].')
8
radon
radon engine documentation
View output
Running radon3...
9
shellcheck
shellcheck engine documentation
10
eslint
eslint engine documentation
View output
No rules are configured. Make sure you have added a config file with rules enabled.
See our documentation at https://docs.codeclimate.com/docs/eslint for more information.
(node:8) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:8) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'set' of module exports inside circular dependency