dnstats/dnstatsio

View on GitHub
Merge branch '76-botchd-email-id-is-count' into 'master' #103
Matthew Burket authored 1e92ab7d
complete00:00:28
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
docker pull codeclimate/codeclimate-bandit:b866
b866: Pulling from codeclimate/codeclimate-bandit
a0e0ef996968: Pulling fs layer
00c69949e211: Pulling fs layer
124b11ffd9dc: Pulling fs layer
74d262bd6915: Pulling fs layer
963a4e0e1415: Pulling fs layer
ea041886215a: Pulling fs layer
3bbf7ff90c63: Pulling fs layer
74d262bd6915: Waiting
ea041886215a: Waiting
963a4e0e1415: Waiting
3bbf7ff90c63: Waiting
00c69949e211: Verifying Checksum
00c69949e211: Download complete
124b11ffd9dc: Verifying Checksum
124b11ffd9dc: Download complete
a0e0ef996968: Download complete
963a4e0e1415: Verifying Checksum
963a4e0e1415: Download complete
ea041886215a: Download complete
a0e0ef996968: Pull complete
3bbf7ff90c63: Verifying Checksum
3bbf7ff90c63: Download complete
00c69949e211: Pull complete
74d262bd6915: Verifying Checksum
74d262bd6915: Download complete
124b11ffd9dc: Pull complete
74d262bd6915: Pull complete
963a4e0e1415: Pull complete
ea041886215a: Pull complete
3bbf7ff90c63: Pull complete
Digest: sha256:b831294279e697e4402c0bd94153247577b1e1297055bac81a8e2922b4dedba5
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-bandit:b866
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
0de813e89c33: Waiting
a9696c7f4cd8: Waiting
51b9219e6e44: Waiting
e3c7e34cb08c: Waiting
328f3a57c882: Waiting
43b5f16a0c84: Waiting
bf17e9a1c113: Verifying Checksum
bf17e9a1c113: Download complete
4f8d95c214b1: Verifying Checksum
4f8d95c214b1: Download complete
ab6db1bc80d0: Verifying Checksum
ab6db1bc80d0: Download complete
a9696c7f4cd8: Verifying Checksum
a9696c7f4cd8: Download complete
ab6db1bc80d0: Pull complete
51b9219e6e44: Download complete
e3c7e34cb08c: Verifying Checksum
e3c7e34cb08c: Download complete
bf17e9a1c113: Pull complete
328f3a57c882: Verifying Checksum
328f3a57c882: Download complete
4f8d95c214b1: Pull complete
43b5f16a0c84: Verifying Checksum
43b5f16a0c84: Download complete
0de813e89c33: Verifying Checksum
0de813e89c33: 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
5
structure
View output
14
Parser process id: 14
codeclimate-parser socket not present
waiting 1s...
W, [2024-06-14T08:43:21.888689 #1]  WARN -- : Skipping website_assets/d3pie.min.js due to CC::Parser::Client::HTTPError
W, [2024-06-14T08:43:21.888745 #1]  WARN -- : Response status: 422
W, [2024-06-14T08:43:21.904883 #1]  WARN -- : Skipping dnstats/charts/templates/charts.j2.js due to CC::Parser::Client::HTTPError
W, [2024-06-14T08:43:21.904925 #1]  WARN -- : Response status: 422
6
duplication
View output
13
Parser process id: 13
codeclimate-parser socket not present
waiting 1s...
W, [2024-06-14T08:43:25.381763 #1]  WARN -- : Skipping ./dnstats/charts/templates/charts.j2.js due to CC::Parser::Client::HTTPError
W, [2024-06-14T08:43:25.381838 #1]  WARN -- : Response status: 422
W, [2024-06-14T08:43:25.384548 #1]  WARN -- : Skipping website_assets/d3pie.min.js due to CC::Parser::Client::HTTPError
W, [2024-06-14T08:43:25.384647 #1]  WARN -- : Response status: 422
I, [2024-06-14T08:43:25.413447 #1]  INFO -- : Skipping file ./dnstats/reports/process.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 process_report(run_id: int, report: dict) -> None:
                             ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.444385 #1]  INFO -- : Skipping file ./dnstats/utils/grading.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 4
    def _grade_errors(errors: list, grade_type: str, site_run_id: int):
                            ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.466342 #1]  INFO -- : Skipping file ./dnstats/utils/abnf.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 3
    def parse_abnf(record: list) -> [dict, bool]:
                         ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.482506 #1]  INFO -- : Skipping file ./dnstats/utils/aws.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 s3_upload_string(bucket: str, filename: str, data: str):
                               ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.487427 #1]  INFO -- : Skipping file ./dnstats/utils/email.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 81
    def _send_published_email(run_id: int):
                                    ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.498902 #1]  INFO -- : Skipping file ./dnstats/utils/numbers.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 validate_32_bit_int_string(input: str) -> NumberErrors:
                                        ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.503243 #1]  INFO -- : Skipping file ./dnstats/utils/__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 13
    def get_int_or_null(input: str):
                             ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.536528 #1]  INFO -- : Skipping file dnstats/dnsutils/ns.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 4
    def get_name_server_ips(name_servers: []) -> {}:
                                        ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.550468 #1]  INFO -- : Skipping file dnstats/dnsutils/mx.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 6
    def get_provider_from_mx_records(ans: list, site: str) -> int:
                                        ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.554460 #1]  INFO -- : Skipping file dnstats/dnsutils/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 1
    def parse_ds(ans: list) -> [int, int]:
                    ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.569212 #1]  INFO -- : Skipping file dnstats/dnsutils/__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 8
    def safe_query(site: str, type: str):
                       ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.571434 #1]  INFO -- : Skipping file dnstats/dnsutils/spf.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 get_spf_stats(ans: list) -> dict:
                         ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.585353 #1]  INFO -- : Skipping file dnstats/grading/bimi.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 3
    def grade(bimis: list, dmarcs: list, domain: str) -> [int, ()]:
                   ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.591692 #1]  INFO -- : Skipping file dnstats/grading/ns.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 grade(ns_records: list, ns_ip_addresses: dict, ns_record_results: dict, domain: str) -> [int, []]:
                        ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.608984 #1]  INFO -- : Skipping file dnstats/grading/soa.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 4
    def grade(soas: list, domain: str) -> [int, []]:
                  ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.610143 #1]  INFO -- : Skipping file dnstats/grading/mx.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 4
    def grade(mxs: list, domain: str) -> [int, list]:
                 ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.625439 #1]  INFO -- : Skipping file dnstats/grading/caa.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 4
    def grade(caa_records: list, domain: str) -> [int, ()]:
                         ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.627125 #1]  INFO -- : Skipping file dnstats/grading/spf.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 13
    def grade(spfs: list, domain: str, has_mx: True) -> [int, list]:
                  ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.640373 #1]  INFO -- : Skipping file dnstats/grading/dmarc.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 grade(dmarcs: list, domain: str) -> [int, ()]:
                    ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.643408 #1]  INFO -- : Skipping file dnstats/grading/__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 4
    def percent_to_letter(percent: float):
                                 ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.661858 #1]  INFO -- : Skipping file dnstats/celery.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 65
    def do_charts(run_id: int):
                        ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.681465 #1]  INFO -- : Skipping file ./dnstats/db/seed.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
    def seed_db() -> None:
                  ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.717850 #1]  INFO -- : Skipping file ./dnstats/db/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 89
    def has_mx(self) -> bool:
                     ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.719011 #1]  INFO -- : Skipping file dnstats/dnsvalidate/bimi.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 27
    def __init__(self, records: list, dmarc_records: list):
                              ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.730987 #1]  INFO -- : Skipping file dnstats/dnsvalidate/util.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 validate_numbers(value: str, invalid_error: enum.Enum, out_of_range_error: enum.Enum, max_value: MaxValue) -> (int, list):
                              ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.732934 #1]  INFO -- : Skipping file dnstats/dnsvalidate/ns.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 21
    def __init__(self, ns_records: list, ns_ip_addresses: dict, ns_server_ns_results: dict,  domain: str):
                                 ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.742209 #1]  INFO -- : Skipping file dnstats/dnsvalidate/mx.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 __init__(self, preference: int, exchange: str):
                                 ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.749210 #1]  INFO -- : Skipping file dnstats/dnsvalidate/soa.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 __init__(self, soas: list, domain: str):
                           ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.755550 #1]  INFO -- : Skipping file dnstats/dnsvalidate/caa.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 __init__(self, caa_records: list, domain: str):
                                  ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.769792 #1]  INFO -- : Skipping file dnstats/dnsvalidate/spf.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 __init__(self, spf: str, domain: str):
                          ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.781580 #1]  INFO -- : Skipping file dnstats/dnsvalidate/dmarc.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 is_valid(self) -> bool:
                       ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.803413 #1]  INFO -- : Skipping file ./dnstats/httputils/__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 4
    def has_security_txt(domain: str, logger):
                               ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.841895 #1]  INFO -- : Skipping file ./dnstats/charts/asset_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 slugify(input_str: str) -> str:
                         ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.842170 #1]  INFO -- : Skipping file ./dnstats/charts/__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 14
    def _render_piejs(categories, histograms, filename: str):
                                                      ^
SyntaxError: invalid syntax


I, [2024-06-14T08:43:25.859388 #1]  INFO -- : Skipping file ./dnstats/charts/colors.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 4
    def get_color(color: int):
                       ^
SyntaxError: invalid syntax
7
bandit
bandit engine documentation
View output
[main]	INFO	profile include tests: None
[main]	INFO	profile exclude tests: None
[main]	INFO	cli include tests: None
[main]	INFO	cli exclude tests: None
8
editorconfig
editorconfig engine documentation
View output
.editorconfig file required
9
pep8
pep8 engine documentation
View output
.github/ .idea/ .vscode/ docs/ dnstats/reports/ dnstats/settingslocal_ci.py dnstats/utils/ dnstats/dnsutils/ns.py dnstats/dnsutils/mx.py dnstats/dnsutils/dnssec.py dnstats/dnsutils/spf.py dnstats/dnsutils/__init__.py dnstats/grading/bimi.py dnstats/grading/ns.py dnstats/grading/mx.py dnstats/grading/soa.py dnstats/grading/caa.py dnstats/grading/spf.py dnstats/grading/__init__.py dnstats/grading/dmarc.py dnstats/celery.py dnstats/alembic/env.py dnstats/alembic/__init__.py dnstats/db/ dnstats/dnsvalidate/bimi.py dnstats/dnsvalidate/util.py dnstats/dnsvalidate/ns.py dnstats/dnsvalidate/mx.py dnstats/dnsvalidate/soa.py dnstats/dnsvalidate/caa.py dnstats/dnsvalidate/spf.py dnstats/dnsvalidate/__init__.py dnstats/dnsvalidate/dmarc.py dnstats/__init__.py dnstats/httputils/ dnstats/data/ dnstats/setup.py dnstats/charts/ dnstats/settings.py output/
10
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: 84 files indexed
INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 0.974s
INFO: Final Memory: 6M/295M
INFO: ------------------------------------------------------------------------