You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of recent PRs got one failure in CI because of the registry. See below.
I propose ot remove those tests or find a way to mark them so that if they fail they do not
compromise the CI results.
For instance:
current directory: /tmp/pytest-of-runner/pytest-0/popen-gw0/test_auto_config0
semgrep command: /home/runner/work/semgrep/semgrep/semgrep/.tox/py/bin/python -m semgrep --disable-version-check --config auto --json targets/basic
--- stdout from semgrep process ---
{"errors": [{"code": 2, "level": "error", "message": "Failed to download config from https://semgrep.dev/c/auto: ('Connection aborted.', RemoteDisconnected('Remote end closed\nconnection without response'))", "type": "SemgrepError"}, {"code": 7, "level": "error", "message": "invalid configuration file found (1 configs were invalid)", "type": "SemgrepError"}], "paths": {"_comment": "<add --verbose for a list of skipped paths>", "scanned": []}, "results": []}
--- end semgrep stdout ---
--- stderr from semgrep process ---
Auto config uses Semgrep rules to scan your codebase and the Semgrep Registry to generate recommended rules based on
your languages and frameworks.
Fetching rules from https://semgrep.dev/registry.
--- end semgrep stderr ---
=============================== warnings summary ===============================
semgrep/ignores.py:133
semgrep/ignores.py:133
/home/runner/work/semgrep/semgrep/semgrep/semgrep/ignores.py:133: DeprecationWarning: invalid escape sequence \:
"""
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/e2e/test_check.py::test_auto_config - subprocess.CalledProcessEr...
============ 1 failed, 984 passed, 2 warnings in 476.37s (0:07:56) =============
ERROR: InvocationError for command /opt/hostedtoolcache/Python/3.7.12/x64/bin/pipenv run pytest --ignore=tests/qa/test_public_repos.py -n auto -vv --tb=short (exited with code 1)
The text was updated successfully, but these errors were encountered:
A lot of recent PRs got one failure in CI because of the registry. See below.
I propose ot remove those tests or find a way to mark them so that if they fail they do not
compromise the CI results.
For instance:
The text was updated successfully, but these errors were encountered: