Skip to content

refactor(storage): migrate utilities.constants imports to submodules#5320

Open
vsibirsk wants to merge 1 commit into
RedHatQE:mainfrom
vsibirsk:vk-migrate-storage-imports
Open

refactor(storage): migrate utilities.constants imports to submodules#5320
vsibirsk wants to merge 1 commit into
RedHatQE:mainfrom
vsibirsk:vk-migrate-storage-imports

Conversation

@vsibirsk

@vsibirsk vsibirsk commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator
What this PR does / why we need it:

Replace from utilities.constants import X with direct submodule imports across all 57 files in tests/storage/ and tests/data_protection/.

from utilities.constants import Images is intentionally kept as-is — Images is computed dynamically in init.py until the circular import in utilities/architecture.py is resolved.

Generated-by: Claude Sonnet 4.6

Which issue(s) this PR fixes:
Special notes for reviewer:

This is a next PR in a series.
https://redhat.atlassian.net/browse/CNV-80952 and a follow up of #5188

jira-ticket:

https://redhat.atlassian.net/browse/CNV-89565

Summary by CodeRabbit

  • Refactor

    • Updated many test modules to use more specific constant imports, improving consistency and maintainability across storage and data-protection test suites.
    • Standardized timeouts, image, storage, and environment-related references through clearer module paths.
  • Chores

    • No changes to test behavior, fixtures, or user-facing functionality.

@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

All test files under tests/storage/ and tests/data_protection/oadp/ have their utilities.constants bulk imports split into granular submodule imports (utilities.constants.timeouts, .storage, .components, .images, .instance_types, .cluster, .pytest, .networking, .oadp, .aaq, .hco). No logic changes.

Changes

Constants Import Refactor

Layer / File(s) Summary
Submodule import refactor across all test files
tests/data_protection/oadp/conftest.py, tests/data_protection/oadp/test_velero.py, tests/data_protection/oadp/utils.py, tests/storage/conftest.py, tests/storage/constants.py, tests/storage/utils.py, tests/storage/cdi_clone/*, tests/storage/cdi_config/*, tests/storage/cdi_import/*, tests/storage/cdi_upload/*, tests/storage/checkups/*, tests/storage/cross_cluster_live_migration/*, tests/storage/data_import_cron/*, tests/storage/general/*, tests/storage/golden_image/*, tests/storage/hpp/*, tests/storage/memory_dump/*, tests/storage/online_resize/*, tests/storage/restricted_namespace_cloning/*, tests/storage/snapshots/*, tests/storage/storage_migration/*, tests/storage/upgrade/*, tests/storage/vm_export/*, tests/storage/test_*.py
Replaces all monolithic from utilities.constants import (...) blocks with separate imports from utilities.constants.timeouts, .storage, .components, .images, .instance_types, .cluster, .pytest, .networking, .oadp, .aaq, and .hco. Images remains imported directly from utilities.constants throughout. No test logic changed.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

Suggested reviewers

  • acinko-rh
  • dalia-frank
  • rnetser
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise, under 120 characters, and accurately summarizes the import-refactor across storage/data_protection tests.
Description check ✅ Passed The description matches the template sections and covers the refactor, follow-up notes, and Jira ticket; only the issue field is left blank.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stp Link Required ✅ Passed No new test files or new test_* functions were added; the diff is import-only, so no STP/RFE/Jira traceability links are required.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

Review ran into problems

🔥 Problems

Linked repositories: Your configuration references 1 linked repositories, but your current plan allows 0. Analyzed ``, skipped RedHatQE/openshift-virtualization-tests-design-docs.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@openshift-virtualization-qe-bot-5

Copy link
Copy Markdown

Report bugs in Issues

Welcome! 🎉

This pull request will be automatically processed with the following features:

🔄 Automatic Actions

  • Reviewer Assignment: Reviewers are automatically assigned based on the OWNERS file in the repository root
  • Size Labeling: PR size labels (XS, S, M, L, XL, XXL) are automatically applied based on changes
  • Issue Creation: A tracking issue is created for this PR and will be closed when the PR is merged or closed
  • Branch Labeling: Branch-specific labels are applied to track the target branch
  • Auto-verification: Auto-verified users have their PRs automatically marked as verified
  • Labels: Enabled categories: branch, can-be-merged, cherry-pick, has-conflicts, hold, needs-rebase, size, verified, wip

📋 Available Commands

PR Status Management

  • /wip - Mark PR as work in progress (adds WIP: prefix to title)
  • /wip cancel - Remove work in progress status
  • /hold - Block PR merging (approvers only)
  • /hold cancel - Unblock PR merging
  • /verified - Mark PR as verified
  • /verified cancel - Remove verification status
  • /reprocess - Trigger complete PR workflow reprocessing (useful if webhook failed or configuration changed)
  • /regenerate-welcome - Regenerate this welcome message
  • /security-override - Set security check runs to pass (maintainers only)
  • /security-override cancel - Re-run security checks

Review & Approval

  • /lgtm - Approve changes (looks good to me)
  • /approve - Approve PR (approvers only)
  • /assign-reviewers - Assign reviewers based on OWNERS file
  • /assign-reviewer @username - Assign specific reviewer
  • /check-can-merge - Check if PR meets merge requirements

Testing & Validation

  • /retest tox - Run Python test suite with tox
  • /retest build-container - Rebuild and test container image
  • /retest verify-bugs-are-open - verify-bugs-are-open
  • /retest all - Run all available tests

Container Operations

  • /build-and-push-container - Build and push container image (tagged with PR number)
    • Supports additional build arguments: /build-and-push-container --build-arg KEY=value

Cherry-pick Operations

  • /cherry-pick <branch> - Schedule cherry-pick to target branch when PR is merged
    • Multiple branches: /cherry-pick branch1 branch2 branch3
  • /cherry-pick-retry <branch> - Retry a failed cherry-pick (merged PRs only)

Branch Management

  • /rebase - Rebase this PR branch onto its base branch

Label Management

  • /<label-name> - Add a label to the PR
  • /<label-name> cancel - Remove a label from the PR

✅ Merge Requirements

This PR will be automatically approved when the following conditions are met:

  1. Approval: /approve from at least one approver
  2. LGTM Count: Minimum 2 /lgtm from reviewers
  3. Status Checks: All required status checks must pass
  4. No Blockers: No wip, hold, has-conflicts labels and PR must be mergeable (no conflicts)
  5. Verified: PR must be marked as verified

📊 Review Process

Approvers and Reviewers

Approvers:

  • dshchedr
  • jpeimer
  • myakove
  • rnetser
  • vsibirsk

Reviewers:

  • Acedus
  • Ahmad-Hafe
  • Dsanatar
  • RoniKishner
  • acinko-rh
  • akalenyu
  • awels
  • dalia-frank
  • dshchedr
  • ema-aka-young
  • hmeir
  • josemacassan
  • jpeimer
  • kgoldbla
  • kshvaika
  • rlobillo
  • rnetser
  • vsibirsk
Available Labels
  • hold
  • verified
  • wip
  • lgtm
  • approve
AI Features
  • Cherry-Pick Conflict Resolution: Enabled (claude/claude-opus-4-6[1m])
Security Checks
  • Suspicious Path Detection: Monitors paths: .claude/, .vscode/, .cursor/, .devcontainer/, .pi/, .github/workflows/, .github/actions/
  • Committer Identity Check: Verifies last committer matches PR author
  • Mandatory: Security checks block merge (use /security-override to bypass — maintainers only)

💡 Tips

  • WIP Status: Use /wip when your PR is not ready for review
  • Verification: The verified label is removed on new commits unless the push is detected as a clean rebase
  • Cherry-picking: Cherry-pick labels are processed when the PR is merged
  • Container Builds: Container images are automatically tagged with the PR number
  • Permission Levels: Some commands require approver permissions
  • Auto-verified Users: Certain users have automatic verification and merge privileges

For more information, please refer to the project documentation or contact the maintainers.

@vsibirsk

Copy link
Copy Markdown
Collaborator Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Full review finished.

Replace `from utilities.constants import X` with direct submodule imports
across all 57 files in tests/storage/ and tests/data_protection/.

`from utilities.constants import Images` is intentionally kept as-is —
Images is computed dynamically in __init__.py until the circular import
in utilities/architecture.py is resolved.

Generated-by: Claude Sonnet 4.6
Signed-off-by: vsibirsk <vsibirsk@redhat.com>
@vsibirsk

Copy link
Copy Markdown
Collaborator Author

/verified

rebase to resolve merge conflicts

@openshift-virtualization-qe-bot-3

Copy link
Copy Markdown
Contributor

@coderabbitai

Test execution plan request details

CRITICAL: You MUST post an inline review comment on the first changed line of the first file.
The inline comment should contain the full Test Execution Plan (smoke decision, gating decision, and specific affected tests).
Do NOT submit a blocking review event (REQUEST_CHANGES/APPROVE).
Post a single inline PR comment on Files Changed (non-blocking COMMENT flow).

As an expert software testing engineer, analyze all modified files in this PR and create a targeted test execution plan.
You will post an inline review comment with the test execution plan on the first changed file.
If you fail to run or post a comment, retry.

Analysis Requirements:

  1. Examine code changes in each modified file

  2. Identify affected code paths, functions, and classes

  3. Analyze pytest-specific elements: fixtures (scope, dependencies), parametrization, markers, conftest changes

  4. Trace test dependencies through imports, shared utilities, fixture inheritance, fixture teardown, and yield from cleanup in conftest

  5. Detect new tests introduced in the PR

  6. Utilities and libs impact (when utilities/ or libs/ changes):
    You MUST use shell scripts (rg, git diff) to trace the full impact.
    Follow these sub-steps in order:

    6a. Identify modified symbols: For each changed file under utilities/ or libs/,
    list every modified function or method.
    Example: git diff HEAD~1 --unified=0 -- utilities/hco.py | grep '^[+-]def '

    6b. Find direct callers: Search tests and conftest for each symbol from 6a.
    Example: rg -l 'get_hco_version' tests/

    6c. Trace fixture teardown and cleanup: Find fixtures that reach
    the modified symbol through yield from or context-manager wrappers.
    Example: rg -l 'yield from.*enable_common_boot|def.*enable_common_boot' tests/

    6d. Trace same-file callers: In each changed file, find other functions
    whose body calls a modified symbol (including code after yield
    in @contextmanager helpers).
    Example: rg 'get_hco_version|enable_common_boot' utilities/hco.py

    6e. Expand transitively: If function A calls modified B, then
    tests/fixtures that call A are affected — even when the test body
    never imports B directly.

    Do NOT limit impact to tests that import the modified symbol only.

  7. Smoke test impact: Intersect the affected set from step 6 with smoke-marked tests.
    Run: rg -l '@pytest.mark.smoke' tests/
    VERIFY the above command returned actual file paths before concluding False.
    Set True if either condition is met:

    • a smoke-marked file appears in the affected set from 6b-6e, OR
    • any conftest.py in the smoke test's parent-directory hierarchy (up to repo root)
      imports or calls a modified utilities/libs symbol — including autouse fixtures
      that depend on modified functions. ALL tests in that directory and below are affected.
      Example check: for each smoke_file, scan dirname(smoke_file)/conftest.py,
      dirname(dirname(smoke_file))/conftest.py, etc. for modified symbol imports
      and autouse fixtures that depend on modified symbols.
  8. Gating test impact: Intersect the affected set from step 6 with gating-marked tests.
    Run: rg -l '@pytest.mark.gating' tests/
    Set True if a gating-marked file also appears in the affected set from 6b-6e.
    Utilities/libs changes often affect gating tests without affecting smoke tests.
    Do NOT stop analysis after concluding Run smoke tests: False.

Output rules:
Do NOT include analysis step numbers (1-8) in your visible output.

Your deliverable:
Your inline informational comment will be based on the following requirements:

Test Execution Plan

  • Run smoke tests: True / False — If True, state the dependency path (test → fixture → changed symbol). True ONLY with a verified path.
  • Run gating tests: True / False — If True, state the dependency path. True if any gating-marked test is in the affected set.
  • Affected tests to run (required when utilities/, libs/, or shared conftest changes — list concrete paths even when smoke is False)

Use these formats:

  • path/to/test_file.py - When the entire test file needs verification
  • path/to/test_file.py::TestClass::test_method - When specific test(s) needed
  • path/to/test_file.py::test_function - When specific test(s) needed
  • -m marker - When a marker covers multiple affected tests (e.g. -m gating only if ALL gating tests in scope need run)
  • Tag each listed test or group with its marker when not obvious, e.g. (gating) or (smoke)

Real test commands (MANDATORY when changes affect session/runtime code):

When the affected code runs at session/collection time (conftest fixtures, pytest plugins,
config hooks, session-scoped setup) or modifies runtime behavior that unit tests mock away,
you MUST include concrete pytest commands the PR author must run on a real cluster
to verify the change works end-to-end. Include:

  • A command for the error/fix path (the scenario the PR fixes)
  • A command for the happy path (regression: the normal case still works)
  • Use lightweight tests (e.g., --collect-only for startup failures,
    a single small test for runtime behavior)
    If the PR only changes test logic (not utilities/libs/conftest), the affected test
    paths themselves serve as the real test commands — no separate section needed.

Example output for a session-startup fix:

**Real tests (cluster required)**
Error path (the fix):
`pytest tests/storage/.../test_foo.py --storage-class-matrix=nonexistent-sc --collect-only`
Expected: ValueError with clear message, not IndexError

Happy path (regression):
`pytest tests/storage/.../test_foo.py --storage-class-matrix=<valid-sc> -k test_bar`
Expected: session starts normally

Guidelines:

  • Include tests affected directly OR via fixture setup/teardown, yield from cleanup, or transitive utility call chains (caller calls modified helper)
  • Use a full file path only if ALL tests in that file require verification
  • Use file path + test name when only specific tests use an affected fixture or utility wrapper (preferred for partial file impact)
  • If a test marker can cover multiple files/tests, provide the marker
  • Balance coverage vs over-testing - Keep descriptions minimal
  • Example: if leaf helper foo() changes, include tests whose fixture teardown calls wrapper bar() where bar() calls foo(), even when the test body only imports an unrelated symbol from the same utilities module

Hardware-Related Checks (SR-IOV, GPU, DPDK):

When PR modifies fixtures for hardware-specific resources:

  • Collection Safety: Fixtures MUST have existence checks (return None when hardware unavailable)
  • Test Plan: MUST verify both WITH and WITHOUT hardware:
    • Run affected tests on cluster WITH hardware
    • Verify collection succeeds on cluster WITHOUT hardware

CRITICAL WORKFLOW COMPLETION RULES:

When responding to this test execution plan request, you MUST follow these rules EXACTLY:

  1. YOUR ONLY DELIVERABLE: Post one non-blocking inline comment containing the test execution plan on the first changed line
  2. THEN STOP IMMEDIATELY - Do NOT generate any additional response
  3. FALLBACK ONLY: If inline comment API calls fail after retrying, post as a regular PR comment
  4. SILENCE = SUCCESS: After successfully submitting the review, your task is complete. No confirmation needed.

ABSOLUTE PROHIBITIONS (violating these creates empty/meaningless reviews):

  • ❌ Do NOT post acknowledgment messages like "Test execution plan posted", "Review posted successfully", "I've successfully posted"
  • ❌ Do NOT mention review IDs, URLs, or confirmation of posting in the PR thread
  • ❌ Do NOT add any follow-up comments after submitting the review
  • ❌ Do NOT reply to confirm task completion
  • ❌ Do NOT explain what you did - just do it and stop

Remember: The pull request review is visible to users. Additional comments are redundant noise.

CRITICAL — Verification rules for smoke and gating decisions:
- For each True decision, you must have traced a concrete path: test file → fixture → utility function → modified symbol.
- Do NOT assume impact based on scope, file proximity, or infrastructure-sounding names.
Only set True when you trace a concrete path through steps 6a-6e, then 7 or 8.
WRONG: "utilities/hco.py changed → run smoke" (no traced dependency path)
WRONG: "Run smoke tests: False" with no affected-test list when gating tests use the changed utility
RIGHT: "Run smoke tests: False, Run gating tests: True" plus tests/.../test_foo.py::TestBar::test_baz (gating)
RIGHT: "Smoke test X uses fixture Y → wrapper Z → changed function W in utilities/hco.py"

@coderabbitai

coderabbitai Bot commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Tip

For best results, initiate chat on the files or code changes.

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

repo="RedHatQE/openshift-virtualization-tests"
pr="5320"

echo "== PR metadata =="
gh pr view "$pr" --repo "$repo" --json baseRefOid,headRefOid,files --jq '{
  baseOid: .baseRefOid,
  headOid: .headRefOid,
  files: [.files[].path]
}'

base="$(gh pr view "$pr" --repo "$repo" --json baseRefOid --jq '.baseRefOid')"
head="$(gh pr view "$pr" --repo "$repo" --json headRefOid --jq '.headRefOid')"

echo
echo "== Changed files =="
gh pr diff "$pr" --repo "$repo" --name-only | sort

echo
echo "== First changed file and first added line =="
python - <<'PY'
import subprocess, re, json
repo="RedHatQE/openshift-virtualization-tests"
pr="5320"
files=subprocess.check_output(["gh","pr","diff",pr,"--repo",repo,"--name-only"], text=True).splitlines()
first=files[0]
diff=subprocess.check_output(["gh","pr","diff",pr,"--repo",repo,"--",first], text=True)
new_line=None
for line in diff.splitlines():
    if line.startswith("@@"):
        m=re.search(r"\+(\d+)(?:,(\d+))?", line)
        new_line=int(m.group(1)) if m else None
        continue
    if new_line is None:
        continue
    if line.startswith("+") and not line.startswith("+++"):
        print(json.dumps({"path": first, "line": new_line}, indent=2))
        break
    if not line.startswith("-"):
        new_line += 1
PY

echo
echo "== Changed utilities/libs files =="
gh pr diff "$pr" --repo "$repo" --name-only | rg '^(utilities/|libs/)' || true

echo
echo "== Changed conftest files =="
gh pr diff "$pr" --repo "$repo" --name-only | rg '(^|/)conftest\.py$' || true

echo
echo "== AST outline of changed conftest files =="
while IFS= read -r f; do
  [ -n "$f" ] || continue
  ast-grep outline "$f" --view expanded || true
done < <(gh pr diff "$pr" --repo "$repo" --name-only | rg '(^|/)conftest\.py$' || true)

echo
echo "== Diff hunks for changed conftest files =="
while IFS= read -r f; do
  [ -n "$f" ] || continue
  echo "-- $f --"
  git diff "$base...$head" -- "$f"
done < <(gh pr diff "$pr" --repo "$repo" --name-only | rg '(^|/)conftest\.py$' || true)

echo
echo "== utilities.constants import changes across PR =="
git diff "$base...$head" -- $(gh pr diff "$pr" --repo "$repo" --name-only) | rg -n '^[+-]from utilities\.constants' -C 1 || true

echo
echo "== Changed test files that directly have smoke/gating markers =="
while IFS= read -r f; do
  [ -f "$f" ] || continue
  rg -n '`@pytest`\.mark\.(smoke|gating)' "$f" || true
done < <(gh pr diff "$pr" --repo "$repo" --name-only | rg '(^|/)test_.*\.py$|(^|/).*_test\.py$' || true)

echo
echo "== All smoke-marked test files =="
rg -l '`@pytest`\.mark\.smoke' tests/ || true

echo
echo "== All gating-marked test files =="
rg -l '`@pytest`\.mark\.gating' tests/ || true

echo
echo "== Changed test files =="
gh pr diff "$pr" --repo "$repo" --name-only | rg '(^|/)test_.*\.py$|(^|/).*_test\.py$' || true

echo
echo "== Parent conftest coverage for smoke/gating files =="
python - <<'PY'
import subprocess, pathlib, json

repo="RedHatQE/openshift-virtualization-tests"
pr="5320"
changed=set(subprocess.check_output(["gh","pr","diff",pr,"--repo",repo,"--name-only"], text=True).splitlines())
changed_conftests={p for p in changed if p.endswith("conftest.py")}
smoke=set(filter(None, subprocess.check_output(["rg","-l",r'`@pytest`\.mark\.smoke',"tests/"], text=True).splitlines()))
gating=set(filter(None, subprocess.check_output(["rg","-l",r'`@pytest`\.mark\.gating',"tests/"], text=True).splitlines()))

def parents(path):
    parts=path.split("/")[:-1]
    out=[]
    while parts:
        out.append("/".join(parts+["conftest.py"]))
        parts.pop()
    return out

def hits(files):
    rows=[]
    for f in sorted(files):
        direct = f in changed
        scope_hits=[p for p in parents(f) if p in changed_conftests]
        if direct or scope_hits:
            rows.append({"file": f, "direct_changed": direct, "changed_parent_conftests": scope_hits})
    return rows

print(json.dumps({"smoke_hits": hits(smoke), "gating_hits": hits(gating)}, indent=2))
PY

echo
echo "== Test outline for changed test files =="
python - <<'PY'
import ast, subprocess, pathlib, json

repo="RedHatQE/openshift-virtualization-tests"
pr="5320"
files=subprocess.check_output(["gh","pr","diff",pr,"--repo",repo,"--name-only"], text=True).splitlines()
for f in files:
    p=pathlib.Path(f)
    if not p.exists() or p.suffix != ".py" or not p.name.startswith("test_"):
        continue
    try:
        tree=ast.parse(p.read_text())
    except SyntaxError as e:
        print(json.dumps({f: {"syntax_error": str(e)}}))
        continue
    items=[]
    for node in tree.body:
        if isinstance(node, ast.FunctionDef) and node.name.startswith("test_"):
            items.append(node.name)
        elif isinstance(node, ast.ClassDef) and node.name.startswith("Test"):
            methods=[m.name for m in node.body if isinstance(m, ast.FunctionDef) and m.name.startswith("test_")]
            if methods:
                items.append({node.name: methods})
    print(json.dumps({f: items}, ensure_ascii=False))
PY

Length of output: 10936


🏁 Script executed:

#!/bin/bash
set -euo pipefail

repo="RedHatQE/openshift-virtualization-tests"
owner="${repo%%/*}"
name="${repo#*/}"
pr="5320"

meta="$(gh pr view "$pr" --repo "$repo" --json baseRefOid,headRefOid,files)"
base="$(jq -r '.baseRefOid' <<<"$meta")"
head="$(jq -r '.headRefOid' <<<"$meta")"
mapfile -t files < <(jq -r '.files[].path' <<<"$meta")

first_file="${files[0]}"

python - "$owner" "$name" "$pr" "$base" "$head" "$first_file" "${files[@]}" <<'PY'
import ast
import json
import pathlib
import re
import subprocess
import sys

owner, name, pr, base, head, first_file, *files = sys.argv[1:]

changed_files = files
changed_set = set(changed_files)
changed_conftests = [f for f in changed_files if f.endswith("conftest.py")]
changed_conftest_set = set(changed_conftests)

# Find first added line on the first changed file using local git diff
diff = subprocess.check_output(["git", "diff", f"{base}...{head}", "--", first_file], text=True)
new_line = None
first_line = None
for line in diff.splitlines():
    if line.startswith("@@"):
        m = re.search(r"\+(\d+)(?:,(\d+))?", line)
        new_line = int(m.group(1)) if m else None
        continue
    if new_line is None:
        continue
    if line.startswith("+") and not line.startswith("+++"):
        first_line = new_line
        break
    if not line.startswith("-"):
        new_line += 1
if first_line is None:
    raise SystemExit("No added line found in first changed file")

def rg_files(pattern: str):
    proc = subprocess.run(["rg", "-l", pattern, "tests/"], text=True, capture_output=True, check=False)
    return set(filter(None, proc.stdout.splitlines()))

smoke_files = rg_files(r'`@pytest`\.mark\.smoke')
gating_files = rg_files(r'`@pytest`\.mark\.gating')

def parent_conftests(path: str):
    parts = path.split("/")[:-1]
    out = []
    while parts:
        out.append("/".join(parts + ["conftest.py"]))
        parts.pop()
    return out

smoke_hits = []
for sf in sorted(smoke_files):
    if sf in changed_set:
        smoke_hits.append(f"`{sf}` changed directly")
    else:
        hits = [c for c in parent_conftests(sf) if c in changed_conftest_set]
        if hits:
            smoke_hits.append(f"`{sf}` → `{hits[0]}`")

gating_hits = []
for gf in sorted(gating_files):
    if gf in changed_set:
        gating_hits.append(f"`{gf}` changed directly")
    else:
        hits = [c for c in parent_conftests(gf) if c in changed_conftest_set]
        if hits:
            gating_hits.append(f"`{gf}` → `{hits[0]}`")

# Build affected test list: changed test files + changed conftest directory scopes.
affected = []

for f in changed_files:
    if f.endswith("conftest.py"):
        scope = f.rsplit("/", 1)[0] + "/"
        affected.append(f"`{scope}` (collection/setup scope via changed `{f}`)")
    elif pathlib.Path(f).name.startswith("test_") and f.endswith(".py"):
        tags = []
        if f in smoke_files:
            tags.append("smoke")
        if f in gating_files:
            tags.append("gating")
        suffix = f" ({', '.join(tags)})" if tags else ""
        affected.append(f"`{f}`{suffix}")

# Deduplicate preserving order
deduped = []
seen = set()
for item in affected:
    if item not in seen:
        deduped.append(item)
        seen.add(item)

affected_text = "\n".join(f"- {item}" for item in deduped)

smoke_true = bool(smoke_hits)
gating_true = bool(gating_hits)

smoke_detail = (
    "True — verified collection/setup path: "
    + "; ".join(smoke_hits[:6])
    + ("; ..." if len(smoke_hits) > 6 else "")
    + " → changed import path in the test module/conftest."
    if smoke_true else
    "False — smoke-marked files exist in `tests/`, but none were changed directly and none inherit a changed parent `conftest.py` scope in this PR."
)

gating_detail = (
    "True — verified collection/setup path: "
    + "; ".join(gating_hits[:6])
    + ("; ..." if len(gating_hits) > 6 else "")
    + " → changed import path in the test module/conftest."
    if gating_true else
    "False — gating-marked files exist in `tests/`, but none were changed directly and none inherit a changed parent `conftest.py` scope in this PR."
)

body = f"""**Test Execution Plan**

- **Run smoke tests: {'True' if smoke_true else 'False'}** — {smoke_detail}
- **Run gating tests: {'True' if gating_true else 'False'}** — {gating_detail}

**Affected tests to run**
{affected_text}

**Real tests (cluster required)**

Error/fix path (import resolution at collection/setup time):
`uv run pytest -rA -s -o log_cli=true --tc-file=tests/global_config_amd64.py --tc-format=python --cluster-sanity-skip-check --storage-class-matrix=ocs-storagecluster-ceph-rbd-virtualization --skip-deprecated-api-test tests/storage/ tests/data_protection/oadp/ --collect-only`
Expected: collection succeeds with the direct `utilities.constants.<submodule>` imports; no `ImportError` or circular-import regression.

Happy path (regression):
`uv run pytest -rA -s -o log_cli=true --tc-file=tests/global_config_amd64.py --tc-format=python --cluster-sanity-skip-check --storage-class-matrix=ocs-storagecluster-ceph-rbd-virtualization --skip-deprecated-api-test tests/storage/cdi_import/test_import_http.py tests/storage/snapshots/test_snapshots.py tests/data_protection/oadp/test_velero.py --collect-only`
Expected: representative storage and OADP modules still collect normally after the import-path refactor.

Note: no `utilities/` or `libs/` implementation files changed, and no new tests were added; risk is limited to import resolution in changed test modules and `conftest.py` setup scopes.
"""

payload = {
    "body": body,
    "commit_id": head,
    "path": first_file,
    "side": "RIGHT",
    "line": first_line,
}

path = pathlib.Path("/tmp/coderabbit_tep_payload.json")
path.write_text(json.dumps(payload))

subprocess.check_call([
    "gh", "api",
    f"/repos/{owner}/{name}/pulls/{pr}/comments",
    "-X", "POST",
    "--input", str(path),
])
PY

Length of output: 6280


🏁 Script executed:

#!/bin/bash
set -euo pipefail

repo="RedHatQE/openshift-virtualization-tests"
owner="RedHatQE"
name="openshift-virtualization-tests"
pr="5320"

tmp_meta="$(mktemp)"
tmp_files="$(mktemp)"
tmp_payload="$(mktemp)"
trap 'rm -f "$tmp_meta" "$tmp_files" "$tmp_payload"' EXIT

gh pr view "$pr" --repo "$repo" --json baseRefOid,headRefOid,files > "$tmp_meta"
base="$(jq -r '.baseRefOid' "$tmp_meta")"
head="$(jq -r '.headRefOid' "$tmp_meta")"
jq -r '.files[].path' "$tmp_meta" > "$tmp_files"

python - "$owner" "$name" "$pr" "$base" "$head" "$tmp_files" "$tmp_payload" <<'PY'
import json
import pathlib
import re
import subprocess
import sys

owner, name, pr, base, head, files_path, payload_path = sys.argv[1:]

changed_files = [line for line in pathlib.Path(files_path).read_text().splitlines() if line]
if not changed_files:
    raise SystemExit("No changed files found")

first_file = changed_files[0]
changed_set = set(changed_files)
changed_conftests = [f for f in changed_files if f.endswith("conftest.py")]
changed_conftest_set = set(changed_conftests)

# First added line in first changed file.
diff = subprocess.check_output(["git", "diff", f"{base}...{head}", "--", first_file], text=True)
new_line = None
first_line = None
for line in diff.splitlines():
    if line.startswith("@@"):
        m = re.search(r"\+(\d+)(?:,(\d+))?", line)
        new_line = int(m.group(1)) if m else None
        continue
    if new_line is None:
        continue
    if line.startswith("+") and not line.startswith("+++"):
        first_line = new_line
        break
    if not line.startswith("-"):
        new_line += 1
if first_line is None:
    raise SystemExit(f"No added line found in {first_file}")

def rg_files(pattern: str):
    proc = subprocess.run(["rg", "-l", pattern, "tests/"], text=True, capture_output=True, check=False)
    return set(filter(None, proc.stdout.splitlines()))

smoke_files = rg_files(r'`@pytest`\.mark\.smoke')
gating_files = rg_files(r'`@pytest`\.mark\.gating')

def parent_conftests(path: str):
    parts = path.split("/")[:-1]
    out = []
    while parts:
        out.append("/".join(parts + ["conftest.py"]))
        parts.pop()
    return out

smoke_hits = []
for sf in sorted(smoke_files):
    if sf in changed_set:
        smoke_hits.append(f"`{sf}` changed directly")
        continue
    hits = [c for c in parent_conftests(sf) if c in changed_conftest_set]
    if hits:
        smoke_hits.append(f"`{sf}` → `{hits[0]}`")

gating_hits = []
for gf in sorted(gating_files):
    if gf in changed_set:
        gating_hits.append(f"`{gf}` changed directly")
        continue
    hits = [c for c in parent_conftests(gf) if c in changed_conftest_set]
    if hits:
        gating_hits.append(f"`{gf}` → `{hits[0]}`")

affected = []
for f in changed_files:
    if f.endswith("conftest.py"):
        scope = f.rsplit("/", 1)[0] + "/"
        affected.append(f"`{scope}` (collection/setup scope via changed `{f}`)")
    elif pathlib.Path(f).name.startswith("test_") and f.endswith(".py"):
        tags = []
        if f in smoke_files:
            tags.append("smoke")
        if f in gating_files:
            tags.append("gating")
        suffix = f" ({', '.join(tags)})" if tags else ""
        affected.append(f"`{f}`{suffix}")

deduped = []
seen = set()
for item in affected:
    if item not in seen:
        deduped.append(item)
        seen.add(item)

affected_text = "\n".join(f"- {item}" for item in deduped)

smoke_true = bool(smoke_hits)
gating_true = bool(gating_hits)

smoke_detail = (
    "True — verified collection/setup path: "
    + "; ".join(smoke_hits[:8])
    + ("; ..." if len(smoke_hits) > 8 else "")
    + " → changed import path in the test module/conftest."
    if smoke_true else
    "False — smoke-marked files exist in `tests/`, but none were changed directly and none inherit a changed parent `conftest.py` scope in this PR."
)

gating_detail = (
    "True — verified collection/setup path: "
    + "; ".join(gating_hits[:8])
    + ("; ..." if len(gating_hits) > 8 else "")
    + " → changed import path in the test module/conftest."
    if gating_true else
    "False — gating-marked files exist in `tests/`, but none were changed directly and none inherit a changed parent `conftest.py` scope in this PR."
)

body = f"""**Test Execution Plan**

- **Run smoke tests: {'True' if smoke_true else 'False'}** — {smoke_detail}
- **Run gating tests: {'True' if gating_true else 'False'}** — {gating_detail}

**Affected tests to run**
{affected_text}

**Real tests (cluster required)**

Error/fix path (import resolution at collection/setup time):
`uv run pytest -rA -s -o log_cli=true --tc-file=tests/global_config_amd64.py --tc-format=python --cluster-sanity-skip-check --storage-class-matrix=ocs-storagecluster-ceph-rbd-virtualization --skip-deprecated-api-test tests/storage/ tests/data_protection/oadp/ --collect-only`
Expected: collection succeeds with the direct `utilities.constants.<submodule>` imports; no `ImportError` or circular-import regression.

Happy path (regression):
`uv run pytest -rA -s -o log_cli=true --tc-file=tests/global_config_amd64.py --tc-format=python --cluster-sanity-skip-check --storage-class-matrix=ocs-storagecluster-ceph-rbd-virtualization --skip-deprecated-api-test tests/storage/cdi_import/test_import_http.py tests/storage/snapshots/test_snapshots.py tests/data_protection/oadp/test_velero.py --collect-only`
Expected: representative storage and OADP modules still collect normally after the import-path refactor.

Note: no `utilities/` or `libs/` implementation files changed, and no new tests were added; risk is limited to import resolution in changed test modules and `conftest.py` setup scopes.
"""

payload = {
    "body": body,
    "commit_id": head,
    "path": first_file,
    "side": "RIGHT",
    "line": first_line,
}

pathlib.Path(payload_path).write_text(json.dumps(payload))
print(json.dumps({
    "path": first_file,
    "line": first_line,
    "smoke_true": smoke_true,
    "gating_true": gating_true,
    "smoke_hits_sample": smoke_hits[:5],
    "gating_hits_sample": gating_hits[:5],
}, indent=2))
PY

gh api "/repos/$owner/$name/pulls/$pr/comments" -X POST --input "$tmp_payload"

Length of output: 7408


🏁 Script executed:

#!/bin/bash
set -euo pipefail

repo="RedHatQE/openshift-virtualization-tests"
owner="RedHatQE"
name="openshift-virtualization-tests"
pr="5320"

tmp_meta="$(mktemp)"
tmp_files="$(mktemp)"
tmp_body="$(mktemp)"
tmp_payload="$(mktemp)"
trap 'rm -f "$tmp_meta" "$tmp_files" "$tmp_body" "$tmp_payload"' EXIT

gh pr view "$pr" --repo "$repo" --json files > "$tmp_meta"
jq -r '.files[].path' "$tmp_meta" > "$tmp_files"

python - "$tmp_files" "$tmp_body" <<'PY'
import pathlib
import subprocess
import sys

files_path, body_path = sys.argv[1:]

changed_files = [line for line in pathlib.Path(files_path).read_text().splitlines() if line]
changed_set = set(changed_files)
changed_conftests = [f for f in changed_files if f.endswith("conftest.py")]
changed_conftest_set = set(changed_conftests)

def rg_files(pattern: str):
    proc = subprocess.run(["rg", "-l", pattern, "tests/"], text=True, capture_output=True, check=False)
    return set(filter(None, proc.stdout.splitlines()))

smoke_files = rg_files(r'`@pytest`\.mark\.smoke')
gating_files = rg_files(r'`@pytest`\.mark\.gating')

def parent_conftests(path: str):
    parts = path.split("/")[:-1]
    out = []
    while parts:
        out.append("/".join(parts + ["conftest.py"]))
        parts.pop()
    return out

smoke_hits = []
for sf in sorted(smoke_files):
    if sf in changed_set:
        smoke_hits.append(f"`{sf}` changed directly")
        continue
    hits = [c for c in parent_conftests(sf) if c in changed_conftest_set]
    if hits:
        smoke_hits.append(f"`{sf}` → `{hits[0]}`")

gating_hits = []
for gf in sorted(gating_files):
    if gf in changed_set:
        gating_hits.append(f"`{gf}` changed directly")
        continue
    hits = [c for c in parent_conftests(gf) if c in changed_conftest_set]
    if hits:
        gating_hits.append(f"`{gf}` → `{hits[0]}`")

affected = []
for f in changed_files:
    if f.endswith("conftest.py"):
        scope = f.rsplit("/", 1)[0] + "/"
        affected.append(f"`{scope}` (collection/setup scope via changed `{f}`)")
    elif pathlib.Path(f).name.startswith("test_") and f.endswith(".py"):
        tags = []
        if f in smoke_files:
            tags.append("smoke")
        if f in gating_files:
            tags.append("gating")
        suffix = f" ({', '.join(tags)})" if tags else ""
        affected.append(f"`{f}`{suffix}")

seen = set()
deduped = []
for item in affected:
    if item not in seen:
        deduped.append(item)
        seen.add(item)

affected_text = "\n".join(f"- {item}" for item in deduped)

smoke_true = bool(smoke_hits)
gating_true = bool(gating_hits)

smoke_detail = (
    "True — verified collection/setup path: "
    + "; ".join(smoke_hits[:8])
    + ("; ..." if len(smoke_hits) > 8 else "")
    + " → changed import path in the test module/conftest."
    if smoke_true else
    "False — smoke-marked files exist in `tests/`, but none were changed directly and none inherit a changed parent `conftest.py` scope in this PR."
)

gating_detail = (
    "True — verified collection/setup path: "
    + "; ".join(gating_hits[:8])
    + ("; ..." if len(gating_hits) > 8 else "")
    + " → changed import path in the test module/conftest."
    if gating_true else
    "False — gating-marked files exist in `tests/`, but none were changed directly and none inherit a changed parent `conftest.py` scope in this PR."
)

body = f"""**Test Execution Plan**

- **Run smoke tests: {'True' if smoke_true else 'False'}** — {smoke_detail}
- **Run gating tests: {'True' if gating_true else 'False'}** — {gating_detail}

**Affected tests to run**
{affected_text}

**Real tests (cluster required)**

Error/fix path (import resolution at collection/setup time):
`uv run pytest -rA -s -o log_cli=true --tc-file=tests/global_config_amd64.py --tc-format=python --cluster-sanity-skip-check --storage-class-matrix=ocs-storagecluster-ceph-rbd-virtualization --skip-deprecated-api-test tests/storage/ tests/data_protection/oadp/ --collect-only`
Expected: collection succeeds with the direct `utilities.constants.<submodule>` imports; no `ImportError` or circular-import regression.

Happy path (regression):
`uv run pytest -rA -s -o log_cli=true --tc-file=tests/global_config_amd64.py --tc-format=python --cluster-sanity-skip-check --storage-class-matrix=ocs-storagecluster-ceph-rbd-virtualization --skip-deprecated-api-test tests/storage/cdi_import/test_import_http.py tests/storage/snapshots/test_snapshots.py tests/data_protection/oadp/test_velero.py --collect-only`
Expected: representative storage and OADP modules still collect normally after the import-path refactor.

Note: no `utilities/` or `libs/` implementation files changed, and no new tests were added; risk is limited to import resolution in changed test modules and `conftest.py` setup scopes.
"""

pathlib.Path(body_path).write_text(body)
PY

jq -n --rawfile body "$tmp_body" '{body: $body}' > "$tmp_payload"
gh api "/repos/$owner/$name/issues/$pr/comments" -X POST --input "$tmp_payload"

Length of output: 5486



@openshift-virtualization-qe-bot-3

CRITICAL: I could not complete the required posting step because this integration does not have comment-write permission on #5320.

Why this happened:

  • Creating the inline review comment failed with GitHub API 403: Resource not accessible by integration
  • Retrying with the regular PR comment fallback also failed with the same 403
  • This rule exists because GitHub separates read access from review/comment write access, and this token currently has the former but not the latter

Ready-to-post test execution plan:

**Test Execution Plan**

- **Run smoke tests: True** — verified collection/setup path: `tests/storage/cdi_clone/test_clone.py` changed directly; `tests/storage/cdi_upload/test_upload_virtctl.py` changed directly → changed import path in the test module/conftest.
- **Run gating tests: True** — verified collection/setup path: `tests/storage/cdi_clone/test_clone.py` changed directly; `tests/storage/cdi_config/test_cdi_config.py` changed directly; `tests/storage/cdi_import/test_import_http.py` changed directly; `tests/storage/cdi_upload/test_upload_virtctl.py` changed directly; `tests/storage/disk_preallocation/test_disk_preallocation.py``tests/storage/conftest.py` → changed import path in the test module/conftest.

**Affected tests to run**
- `tests/data_protection/oadp/` (collection/setup scope via changed `tests/data_protection/oadp/conftest.py`)
- `tests/data_protection/oadp/test_velero.py`
- `tests/storage/cdi_clone/` (collection/setup scope via changed `tests/storage/cdi_clone/conftest.py`)
- `tests/storage/cdi_clone/test_clone.py` (smoke, gating)
- `tests/storage/cdi_config/test_cdi_config.py` (gating)
- `tests/storage/cdi_import/` (collection/setup scope via changed `tests/storage/cdi_import/conftest.py`)
- `tests/storage/cdi_import/test_import_http.py` (gating)
- `tests/storage/cdi_import/test_import_registry.py`
- `tests/storage/cdi_upload/` (collection/setup scope via changed `tests/storage/cdi_upload/conftest.py`)
- `tests/storage/cdi_upload/test_upload.py`
- `tests/storage/cdi_upload/test_upload_virtctl.py` (smoke, gating)
- `tests/storage/checkups/` (collection/setup scope via changed `tests/storage/checkups/conftest.py`)
- `tests/storage/checkups/test_checkups.py`
- `tests/storage/` (collection/setup scope via changed `tests/storage/conftest.py`)
- `tests/storage/cross_cluster_live_migration/` (collection/setup scope via changed `tests/storage/cross_cluster_live_migration/conftest.py`)
- `tests/storage/cross_cluster_live_migration/test_cclm.py`
- `tests/storage/data_import_cron/` (collection/setup scope via changed `tests/storage/data_import_cron/conftest.py`)
- `tests/storage/general/` (collection/setup scope via changed `tests/storage/general/conftest.py`)
- `tests/storage/general/test_storage_behavior.py`
- `tests/storage/golden_image/test_cached_snapshots.py`
- `tests/storage/golden_image/test_golden_image.py`
- `tests/storage/hpp/` (collection/setup scope via changed `tests/storage/hpp/conftest.py`)
- `tests/storage/hpp/test_hostpath.py`
- `tests/storage/hpp/test_hpp_node_placement.py`
- `tests/storage/memory_dump/` (collection/setup scope via changed `tests/storage/memory_dump/conftest.py`)
- `tests/storage/online_resize/` (collection/setup scope via changed `tests/storage/online_resize/conftest.py`)
- `tests/storage/online_resize/test_online_resize.py`
- `tests/storage/restricted_namespace_cloning/` (collection/setup scope via changed `tests/storage/restricted_namespace_cloning/conftest.py`)
- `tests/storage/restricted_namespace_cloning/test_restricted_namespace_cloning.py`
- `tests/storage/restricted_namespace_cloning/test_restricted_namespace_cloning_vms.py`
- `tests/storage/snapshots/` (collection/setup scope via changed `tests/storage/snapshots/conftest.py`)
- `tests/storage/snapshots/test_snapshots.py`
- `tests/storage/storage_migration/` (collection/setup scope via changed `tests/storage/storage_migration/conftest.py`)
- `tests/storage/storage_migration/test_storage_class_migration.py`
- `tests/storage/test_cdi_certificate.py`
- `tests/storage/test_cdi_resources.py`
- `tests/storage/test_data_import_cron.py`
- `tests/storage/test_hotplug.py`
- `tests/storage/test_libguestfs.py`
- `tests/storage/test_wffc.py`
- `tests/storage/upgrade/` (collection/setup scope via changed `tests/storage/upgrade/conftest.py`)
- `tests/storage/upgrade/test_upgrade_storage.py`
- `tests/storage/vm_export/` (collection/setup scope via changed `tests/storage/vm_export/conftest.py`)

**Real tests (cluster required)**

Error/fix path (import resolution at collection/setup time):
`uv run pytest -rA -s -o log_cli=true --tc-file=tests/global_config_amd64.py --tc-format=python --cluster-sanity-skip-check --storage-class-matrix=ocs-storagecluster-ceph-rbd-virtualization --skip-deprecated-api-test tests/storage/ tests/data_protection/oadp/ --collect-only`
Expected: collection succeeds with the direct `utilities.constants.<submodule>` imports; no `ImportError` or circular-import regression.

Happy path (regression):
`uv run pytest -rA -s -o log_cli=true --tc-file=tests/global_config_amd64.py --tc-format=python --cluster-sanity-skip-check --storage-class-matrix=ocs-storagecluster-ceph-rbd-virtualization --skip-deprecated-api-test tests/storage/cdi_import/test_import_http.py tests/storage/snapshots/test_snapshots.py tests/data_protection/oadp/test_velero.py --collect-only`
Expected: representative storage and OADP modules still collect normally after the import-path refactor.

Note: no `utilities/` or `libs/` implementation files changed, and no new tests were added; risk is limited to import resolution in changed test modules and `conftest.py` setup scopes.

Target location for the inline comment, if permissions are fixed:

  • tests/data_protection/oadp/conftest.py
  • Line 17

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@tests/storage/hpp/test_hpp_node_placement.py`:
- Line 17: The HPP node-placement test is importing NODE_STR from the AAQ
constants module, creating an unnecessary cross-domain dependency. Update the
test to stop depending on utilities.constants.aaq and instead use a
domain-neutral source for the node key, or replace the import with a local plain
"node" value in the HPP test setup/assertions. Keep the change limited to the
test code that references NODE_STR so the placement tests remain independent of
AAQ-specific constants.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 509073fe-5ac0-49cc-ae8c-d6968c1ae4b1

📥 Commits

Reviewing files that changed from the base of the PR and between be382b2 and 9d2b7e3.

📒 Files selected for processing (56)
  • tests/data_protection/oadp/conftest.py
  • tests/data_protection/oadp/test_velero.py
  • tests/data_protection/oadp/utils.py
  • tests/storage/cdi_clone/conftest.py
  • tests/storage/cdi_clone/test_clone.py
  • tests/storage/cdi_config/test_cdi_config.py
  • tests/storage/cdi_import/conftest.py
  • tests/storage/cdi_import/test_import_http.py
  • tests/storage/cdi_import/test_import_registry.py
  • tests/storage/cdi_import/utils.py
  • tests/storage/cdi_upload/conftest.py
  • tests/storage/cdi_upload/test_upload.py
  • tests/storage/cdi_upload/test_upload_virtctl.py
  • tests/storage/checkups/conftest.py
  • tests/storage/checkups/constants.py
  • tests/storage/checkups/test_checkups.py
  • tests/storage/conftest.py
  • tests/storage/constants.py
  • tests/storage/cross_cluster_live_migration/conftest.py
  • tests/storage/cross_cluster_live_migration/test_cclm.py
  • tests/storage/cross_cluster_live_migration/utils.py
  • tests/storage/data_import_cron/conftest.py
  • tests/storage/general/conftest.py
  • tests/storage/general/test_storage_behavior.py
  • tests/storage/golden_image/test_cached_snapshots.py
  • tests/storage/golden_image/test_golden_image.py
  • tests/storage/hpp/conftest.py
  • tests/storage/hpp/test_hostpath.py
  • tests/storage/hpp/test_hpp_node_placement.py
  • tests/storage/hpp/utils.py
  • tests/storage/memory_dump/conftest.py
  • tests/storage/memory_dump/utils.py
  • tests/storage/online_resize/conftest.py
  • tests/storage/online_resize/test_online_resize.py
  • tests/storage/online_resize/utils.py
  • tests/storage/restricted_namespace_cloning/conftest.py
  • tests/storage/restricted_namespace_cloning/test_restricted_namespace_cloning.py
  • tests/storage/restricted_namespace_cloning/test_restricted_namespace_cloning_vms.py
  • tests/storage/restricted_namespace_cloning/utils.py
  • tests/storage/snapshots/conftest.py
  • tests/storage/snapshots/test_snapshots.py
  • tests/storage/snapshots/utils.py
  • tests/storage/storage_migration/conftest.py
  • tests/storage/storage_migration/test_storage_class_migration.py
  • tests/storage/storage_migration/utils.py
  • tests/storage/test_cdi_certificate.py
  • tests/storage/test_cdi_resources.py
  • tests/storage/test_data_import_cron.py
  • tests/storage/test_hotplug.py
  • tests/storage/test_libguestfs.py
  • tests/storage/test_wffc.py
  • tests/storage/upgrade/conftest.py
  • tests/storage/upgrade/test_upgrade_storage.py
  • tests/storage/utils.py
  • tests/storage/vm_export/conftest.py
  • tests/storage/vm_export/utils.py

Comment thread tests/storage/hpp/test_hpp_node_placement.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants