Skip to content

refactor(virt): migrate virt to direct constants submodule imports#5318

Merged
dshchedr merged 4 commits into
RedHatQE:mainfrom
vsibirsk:vk-migrate-virt-imports
Jun 29, 2026
Merged

refactor(virt): migrate virt to direct constants submodule imports#5318
dshchedr merged 4 commits into
RedHatQE:mainfrom
vsibirsk:vk-migrate-virt-imports

Merge branch 'main' into vk-migrate-virt-imports

f15a871
Select commit
Loading
Failed to load commit list.
cnv-tests-github-webhook-dollierp / build-container succeeded Jun 29, 2026 in 0s

Build container

Details

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100 5844k  100 5844k    0     0  11.2M      0 --:--:-- --:--:-- --:--:-- 11.2M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100   928  100   928    0     0   2389      0 --:--:-- --:--:-- --:--:--  2389
Downloading cpython-3.14.6-linux-x86_64-gnu (download) (34.4MiB)
 Downloaded cpython-3.14.6-linux-x86_64-gnu (download)
Using CPython 3.14.6
Creating virtual environment at: .venv
Resolved 186 packages in 37ms
   Building openshift-virtualization-tests-5-0 @ file:///openshift-virtualization-tests
Downloading pynacl (1.3MiB)
Downloading kubernetes (1.9MiB)
Downloading ruff (11.0MiB)
Downloading sqlalchemy (3.1MiB)
Downloading pydantic-core (2.0MiB)
Downloading openstacksdk (1.9MiB)
Downloading beartype (1.3MiB)
Downloading netaddr (2.2MiB)
Downloading jedi (4.7MiB)
Downloading pygments (1.2MiB)
Downloading cryptography (4.5MiB)
   Building openshift-python-utilities==6.0.16
   Building openshift-python-wrapper-data-collector==2.0.15
 Downloaded beartype
 Downloaded pynacl
   Building timeout-sampler==1.0.22
   Building python-simple-logger==2.0.19
   Building python-utility-scripts==2.0.6
   Building pyhelper-utils==2.0.3
 Downloaded pygments
 Downloaded pydantic-core
   Building pytest-dependency==0.6.1
 Downloaded netaddr
 Downloaded sqlalchemy
 Downloaded ruff
 Downloaded cryptography
 Downloaded kubernetes
   Building openshift-python-wrapper==11.0.133
 Downloaded openstacksdk
 Downloaded jedi
      Built openshift-python-wrapper==11.0.133
      Built openshift-virtualization-tests-5-0 @ file:///openshift-virtualization-tests
      Built pyhelper-utils==2.0.3
      Built openshift-python-utilities==6.0.16
      Built python-simple-logger==2.0.19
      Built openshift-python-wrapper-data-collector==2.0.15
      Built python-utility-scripts==2.0.6
      Built timeout-sampler==1.0.22
      Built pytest-dependency==0.6.1
Prepared 175 packages in 1m 10s
Installed 175 packages in 23.25s
 + aiofile==3.11.1
 + annotated-types==0.7.0
 + anyio==4.14.0
 + ast-comments==1.3.0
 + asttokens==3.0.1
 + attrs==26.1.0
 + authlib==1.7.2
 + bcrypt==5.0.0
 + beartype==0.22.9
 + beautifulsoup4==4.15.0
 + bitmath==2.1.1
 + bs4==0.0.2
 + cachebox==5.2.3
 + cachetools==7.1.4
 + caio==0.9.25
 + certifi==2026.6.17
 + cffi==2.0.0
 + charset-normalizer==3.4.7
 + click==8.4.1
 + cloup==3.1.0
 + colorlog==6.10.1
 + cryptography==49.0.0
 + cyclopts==4.18.0
 + dacite==1.9.2
 + decorator==5.3.1
 + deepdiff==9.1.0
 + defusedxml==0.7.1
 + deprecation==2.1.0
 + dictdiffer==0.9.0
 + dnspython==2.8.0
 + docker==7.1.0
 + docstring-parser==0.18.0
 + dogpile-cache==1.5.0
 + durationpy==0.10
 + email-validator==2.3.0
 + exceptiongroup==1.3.1
 + executing==2.2.1
 + fastmcp==3.4.2
 + fastmcp-slim==3.4.2
 + greenlet==3.5.2
 + griffelib==2.1.0
 + h11==0.16.0
 + httpcore==1.0.9
 + httpx==0.28.1
 + httpx-sse==0.4.3
 + idna==3.18
 + importlib-metadata==9.0.0
 + importlib-resources==7.1.0
 + iniconfig==2.3.0
 + invoke==3.0.3
 + ipdb==0.13.13
 + ipython==9.14.1
 + ipython-pygments-lexers==1.1.1
 + iso8601==2.1.0
 + jaraco-classes==3.4.0
 + jaraco-context==6.1.2
 + jaraco-functools==4.5.0
 + jedi==0.20.0
 + jeepney==0.9.0
 + jinja2==3.1.6
 + jira==3.10.5
 + jmespath==1.1.0
 + joserfc==1.7.

[1/2] STEP 1/5: FROM quay.io/fedora/fedora:41 AS builder
[1/2] STEP 2/5: ENV LANG=C.UTF-8
--> Using cache 0ebf04937ff2532f9583daf9b448b5e748936c252fafccb49b27a20bcc7da8fa
--> 0ebf04937ff2
[1/2] STEP 3/5: ENV CNV_TESTS_CONTAINER=Yes
--> Using cache 966042d463d019c55755b649e6997d27707ff1d0d5da1f94448e149ae035a5a7
--> 966042d463d0
[1/2] STEP 4/5: RUN dnf update -y   && dnf -y install   systemd-container   python3-devel   gcc   sshpass   libcurl-devel   libxslt-devel   libxml2-devel   which   && dnf clean all && rm -rf /var/cache/dnf   && rm -rf /var/lib/dnf   && truncate -s0 /var/log/*.log
--> Using cache b757a34cba2dfea697a7ef3694b1c8b5d81904865e87ffcd2efe1dac6dc47f60
--> b757a34cba2d
[1/2] STEP 5/5: COPY / /openshift-virtualization-tests/
--> e9f80c802fca
[2/2] STEP 1/21: FROM quay.io/fedora/fedora:41 AS runner
[2/2] STEP 2/21: ARG TEST_DIR=/openshift-virtualization-tests
--> Using cache f0001967e205eb106972765febef7176300e1ff8d3fc34fc400427d516425671
--> f0001967e205
[2/2] STEP 3/21: ARG OPENSHIFT_PYTHON_WRAPPER_COMMIT=''
--> Using cache 5225bfa09d578dc0937e7513be3bffdeea166fb95d9475717a2d4440360a8565
--> 5225bfa09d57
[2/2] STEP 4/21: ARG OPENSHIFT_PYTHON_UTILITIES_COMMIT=''
--> Using cache 0a66ff2ff10f548ad43b43572843f865eaba43970679f0543b031fa359b0f422
--> 0a66ff2ff10f
[2/2] STEP 5/21: ARG TIMEOUT_SAMPLER_COMMIT=''
--> Using cache fa2550b9e5d1d3e53b1c5df78034708623a95db74391b6464408775f81f21492
--> fa2550b9e5d1
[2/2] STEP 6/21: ARG PYHELPER_UTILS_COMMIT=''
--> Using cache 458d7e97bfcf030488ff38e32fb175b753bb1c443ca02e7b55738f6e32bee62f
--> 458d7e97bfcf
[2/2] STEP 7/21: ENV LANG=C.UTF-8
--> Using cache 0e548b6b6549d82550b62686dd0ae945889bdb13f67afbdf263c6b9c076aa3db
--> 0e548b6b6549
[2/2] STEP 8/21: ENV CNV_TESTS_CONTAINER=Yes
--> Using cache 27e830baac2473999595a8c688ec7167ae0216731758ed90b7ab4c5e9aad938e
--> 27e830baac24
[2/2] STEP 9/21: ENV UV_PYTHON=python3.14
--> Using cache 064df170e9d558b7f3b5909702f12c077f7816beca5dffd66dab9948a2de7c79
--> 064df170e9d5
[2/2] STEP 10/21: ENV UV_NO_SYNC=1
--> Using cache dc1eeaf2ee12e7e54df805937011b48b0cd614750ae179e701f7e89981d5c306
--> dc1eeaf2ee12
[2/2] STEP 11/21: WORKDIR ${TEST_DIR}
--> Using cache c6b40e31471219e9b87558d43d896d0974938f05867e36f9aebbe38584e6d572
--> c6b40e314712
[2/2] STEP 12/21: ENV UV_CACHE_DIR=${TEST_DIR}/.cache
--> Using cache 36c2394fd3a3ec0257ed5ccc1d00626eed8cbb2bf2ad992fc226336beaa8fe3e
--> 36c2394fd3a3
[2/2] STEP 13/21: ENV HOME=${TEST_DIR}
--> Using cache 9354d28976618dffeb2d34d35abb5e05b5242cd16221270b09def0cc198ea96c
--> 9354d2897661
[2/2] STEP 14/21: RUN dnf update -y   && dnf install -y procps-ng python3 bind-utils jq fwknop parallel wget clang cargo rsync openssl openssl-devel git unzip  && dnf clean all   && rm -rf /var/cache/dnf   && rm -rf /var/lib/dnf   && truncate -s0 /var/log/*.log
--> Using cache f2237cffff73f339e6ca441e329c99d1fb9caed17c2df184948130b2faf923bc
--> f2237cffff73
[2/2] STEP 15/21: COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/bin/
--> Using cache d1c3774b6da0810621083bb3d6f38564509ffa35cc1fd1ca6737357ee26353c8
--> d1c3774b6da0
[2/2] STEP 16/21: COPY --from=builder /usr/bin/which /usr/bin/which
--> Using cache d90e9f835b4ff9f681c5a5bb03ec2f0b8823b18fac96e4446b95f7bd712137c5
--> d90e9f835b4f
[2/2] STEP 17/21: COPY --from=builder /usr/bin/sshpass /usr/bin/sshpass
--> Using cache 0f4c838ca3e6959212491e67d04f177b45c0d3f31e5b45a618d2fa6be614aa12
--> 0f4c838ca3e6
[2/2] STEP 18/21: COPY --from=builder ${TEST_DIR}/ ${TEST_DIR}/
--> 255218380121
[2/2] STEP 19/21: RUN curl -fsSL https://bws.bitwarden.com/install | sh   && mkdir -p ${TEST_DIR}/.config/bws/state
Downloading bws from: https://github.com/bitwarden/sdk-sm/releases/download/bws-v2.1.0/bws-x86_64-unknown-linux-gnu-2.1.0.zip
Downloading checksum file from: https://github.com/bitwarden/sdk-sm/releases/download/bws-v2.1.0/bws-sha256-checksums-2.1.0.txt
Checksum validation successful.
Installing bws...
Archive:  /tmp/tmp.o8TqyIyLdV/bws.zip
  inflating: /tmp/tmp.o8TqyIyLdV/bws  
Attempting to install bws with sudo. Please enter your password if prompted.
sudo is available and we have the necessary permissions.
Installing bws to /usr/local/bin...
bws installed to /usr/local/bin/bws
--> 64cc62711c02
[2/2] STEP 20/21: RUN uv sync --locked   && uv export --no-hashes   && if [[ -n "${OPENSHIFT_PYTHON_WRAPPER_COMMIT}" ]]; then uv pip install git+https://github.com/RedHatQE/openshift-python-wrapper.git@$OPENSHIFT_PYTHON_WRAPPER_COMMIT; fi   && if [[ -n "${OPENSHIFT_PYTHON_UTILITIES_COMMIT}" ]]; then uv pip install git+https://github.com/RedHatQE/openshift-python-utilities.git@$OPENSHIFT_PYTHON_UTILITIES_COMMIT; fi   && if [[ -n "${TIMEOUT_SAMPLER_COMMIT}" ]]; then uv pip install git+https://github.com/RedHatQE/timeout-sampler.git@$TIMEOUT_SAMPLER_COMMIT; fi   && if [[ -n "${PYHELPER_UTILS_COMMIT}" ]]; then uv pip install git+https://github.com/RedHatQE/pyhelper-utils.git@$PYHELPER_UTILS_COMMIT; fi   && rm -rf ${TEST_DIR}/.cache   && rm -rf ${TEST_DIR}/artifacts   && find ${TEST_DIR}/ -type d -name "__pycache__" -print0 | xargs -0 rm -rfv
--> 2b7e0cbf5e7c
[2/2] STEP 21/21: CMD ["uv", "run", "pytest", "--tc=server_url:${HTTP_IMAGE_SERVER}", "--collect-only"]
[2/2] COMMIT quay.io/openshift-cnv/openshift-virtualization-tests:pr-5318
--> 3498f01e13de
Successfully tagged quay.io/openshift-cnv/openshift-virtualization-tests:pr-5318
3498f01e13de0dc5f8453b8633451e4017d9547f359f5b13bc65a883f5bafcbd