[pre-commit.ci] pre-commit autoupdate #168
Merged
manage-repositories-app / tox
succeeded
Jun 3, 2024 in 0s
Tox
Details
time="2024-06-03T20:59:19+03:00" level=warning msg="Path \"/run/secrets/etc-pki-entitlement\" from \"/etc/containers/mounts.conf\" doesn't exist, skipping"
time="2024-06-03T20:59:19+03:00" level=warning msg="Path \"/run/secrets/rhsm\" from \"/etc/containers/mounts.conf\" doesn't exist, skipping"
Cloning into '/tmp/repository'...
Note: switching to 'origin/pr/168'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at e9510c3 [pre-commit.ci] pre-commit autoupdate
unused-code: install_deps> python -I -m pip install python-utility-scripts
unused-code: commands[0]> pyutils-unusedcode --exclude-files app.py
unused-code: OK ✔ in 30.46 seconds
unittests: install_deps> python -I -m pip install poetry
unittests: commands[0]> poetry install
Installing dependencies from lock file
Package operations: 107 installs, 4 updates, 0 removals
- Downgrading certifi (2024.6.2 -> 2024.2.2)
- Installing pyasn1 (0.6.0)
- Installing six (1.16.0)
- Installing asttokens (2.4.1)
- Installing cachetools (5.3.3)
- Installing colorlog (6.8.2)
- Installing executing (2.0.1)
- Installing oauthlib (3.2.2)
- Installing parso (0.8.4)
- Installing pure-eval (0.2.2)
- Installing pyasn1-modules (0.4.0)
- Downgrading requests (2.32.3 -> 2.31.0)
- Installing rsa (4.9)
- Installing text-unidecode (1.3)
- Installing traitlets (5.14.3)
- Installing wcwidth (0.2.13)
- Installing backcall (0.2.0)
- Installing bcrypt (4.1.2)
- Downgrading cryptography (42.0.7 -> 42.0.5)
- Installing decorator (5.1.1)
- Installing google-auth (2.29.0)
- Installing iniconfig (2.0.0)
- Installing jedi (0.19.1)
- Installing markupsafe (2.1.5)
- Installing matplotlib-inline (0.1.7)
- Installing mdurl (0.1.2)
- Downgrading packaging (24.0 -> 23.2)
- Installing pickleshare (0.7.5)
- Installing pluggy (1.5.0)
- Installing prompt-toolkit (3.0.43)
- Installing protobuf (4.25.3)
- Installing pygments (2.17.2)
- Installing pynacl (1.5.0)
- Installing python-dateutil (2.9.0.post0)
- Installing python-fsutil (0.14.1)
- Installing python-simple-logger (1.0.23)
- Installing python-slugify (8.0.4)
- Installing pyyaml (6.0.1)
- Installing requests-oauthlib (2.0.0)
- Installing stack-data (0.6.3)
- Installing websocket-client (1.8.0)
- Installing googleapis-common-protos (1.63.0)
- Installing grpcio (1.62.2)
- Installing ipython (8.12.3)
- Installing jinja2 (3.1.3)
- Installing jmespath (1.0.1)
- Installing kubernetes (29.0.0)
- Installing markdown-it-py (3.0.0)
- Installing netaddr (1.2.1)
- Installing paramiko (3.4.0)
- Installing pbr (6.0.0)
- Installing pyjwt (2.8.0)
- Installing pytest (8.2.0)
- Installing python-benedict (0.33.2)
- Installing timeout-sampler (0.0.26)
- Installing typing-extensions (4.11.0)
- Installing xmltodict (0.13.0)
- Installing azure-core (1.30.1)
- Installing botocore (1.34.94)
- Installing grpcio-status (1.62.2)
- Installing ipdb (0.13.13)
- Installing isodate (0.6.1)
- Installing msal (1.28.0)
- Installing openshift-python-wrapper (10.0.37)
- Installing portalocker (2.8.2)
- Installing proto-plus (1.23.0)
- Installing pytest-testconfig (0.2.0)
- Installing python-rrmngmnt (0.1.32)
- Installing rich (13.7.1)
- Installing soupsieve (2.5)
- Installing azure-common (1.1.28)
- Installing azure-mgmt-core (1.4.0)
- Installing beautifulsoup4 (4.12.3)
- Installing google-api-core (2.18.0)
- Installing msal-extensions (1.1.0)
- Installing msrest (0.7.1)
- Installing openshift-python-wrapper-data-collector (1.0.43)
- Installing pyhelper-utils (0.0.15)
- Installing s3transfer (0.10.1)
- Installing semver (3.0.2)
- Installing smmap (5.0.1)
- Installing wrapt (1.16.0)
- Installing azure-identity (1.16.0)
- Installing azure-mgmt-network (25.3.0)
- Installing azure-mgmt-redhatopenshift (1.4.0)
- Installing azure-mgmt-resource (23.0.1)
- Installing azure-mgmt-subscription (3.1.1)
- Installing blinker (1.8.1)
- Installing click (8.1.7)
- Installing configparser (7.0.0)
- Installing coverage (7.5.0)
- Installing boto3 (1.34.94)
- Installing deprecated (1.2.14)
- Installing gitdb (4.0.11)
- Installing google-cloud-compute (1.18.0)
- Installing itsdangerous (2.2.0)
- Installing multi-key-dict (2.0.3)
- Installing openshift-python-utilities (5.0.41)
- Installing pytz (2024.1)
- Installing werkzeug (3.0.2)
- Installing croniter (2.0.5)
- Installing flask (3.0.3)
- Installing gitpython (3.1.43)
- Installing pyaml-env (1.2.1)
- Installing pygithub (2.3.0)
- Installing pytest-cov (5.0.0)
- Installing pytest-mock (3.14.0)
- Installing python-gitlab (4.5.0)
- Installing python-jenkins (1.8.2)
- Installing redhat-qe-cloud-tools (1.0.70)
- Installing shortuuid (1.0.13)
Installing the current project: ci-jobs-trigger (0.1.0)
unittests: commands[1]> poetry run pytest ci_jobs_trigger/tests
============================= test session starts ==============================
platform linux -- Python 3.12.2, pytest-8.2.0, pluggy-1.5.0
cachedir: .tox/unittests/.pytest_cache
rootdir: /tmp/repository
configfile: pytest.ini
plugins: cov-5.0.0, testconfig-0.2.0, mock-3.14.0
collected 24 items
ci_jobs_trigger/tests/addons_webhook_trigger/test_addons_webhook_trigger.py . [ 4%]
[ 4%]
ci_jobs_trigger/tests/job_retriggering/test_job_triggering.py ........ [ 37%]
ci_jobs_trigger/tests/operators_iib_trigger/test_operators_iib_trigger.py . [ 41%]
...... [ 66%]
ci_jobs_trigger/tests/zstream_trigger/test_zstream_trigger.py ........ [100%]
=============================== warnings summary ===============================
.tox/unittests/lib/python3.12/site-packages/pyaml_env/parse_config.py:58
/tmp/repository/.tox/unittests/lib/python3.12/site-packages/pyaml_env/parse_config.py:58: SyntaxWarning: invalid escape sequence '\w'
type_tag_pattern = re.compile(f'({type_tag}\w+\s)')
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
---------- coverage: platform linux, python 3.12.2-final-0 -----------
Name Stmts Miss Cover
-------------------------------------------------------------------------------------------
ci_jobs_trigger/libs/addons_webhook_trigger/addons_webhook_trigger.py 66 10 85%
ci_jobs_trigger/libs/jenkins/utils/general.py 35 20 43%
ci_jobs_trigger/libs/openshift_ci/re_trigger/job_db.py 28 0 100%
ci_jobs_trigger/libs/openshift_ci/re_trigger/re_trigger.py 111 42 62%
ci_jobs_trigger/libs/openshift_ci/utils/constants.py 2 0 100%
ci_jobs_trigger/libs/openshift_ci/utils/general.py 6 0 100%
ci_jobs_trigger/libs/openshift_ci/zstream_trigger/zstream_trigger.py 128 38 70%
ci_jobs_trigger/libs/operators_iib_trigger/iib_trigger.py 156 56 64%
ci_jobs_trigger/libs/utils/general.py 49 16 67%
ci_jobs_trigger/utils/constant.py 1 0 100%
ci_jobs_trigger/utils/general.py 42 20 52%
-------------------------------------------------------------------------------------------
TOTAL 624 202 68%
12 empty files skipped.
Coverage HTML written to dir .tests_coverage
Required test coverage of 65.0% reached. Total coverage: 67.63%
======================== 24 passed, 1 warning in 2.40s =========================
unused-code: OK (30.46=setup[29.93]+cmd[0.54] seconds)
unittests: OK (28.16=setup[11.32]+cmd[13.29,3.55] seconds)
congratulations :) (58.69 seconds)
Loading