← Back to Pull requests

CherryPicked: [cnv-4.21] storage, infra, ipv6: Adjust import http tests #6901

Closed
unknown closed this pull request without merging on Nov 13, 2026 08:40 UTC
View on GitHub
unknown unknown commented on Nov 12, 2026 11:27 UTC
Author

##### What this PR does / why we need it:

Storage gating tests in tests/storage/cdi_import/test_import_http.py require the following changes for running on IPv6 single-stack clusters:

  • Short hostname internal-http.cnv-tests-utilities went through the external HTTP proxy (not in no_proxy); FQDN .svc.cluster.local matches and bypasses it.

  • openssl s_client - IPv6 addresses need bracket syntax [::1]:443

  • Use Alpine v3.20.1 from artifactory for all architectures
  • These changes are followed by update of the image used in test to v1.2.0:

  • TLS cert SAN - old cert baked into the image only had the short name; needed to regenerate with FQDN included

  • Makefile update to use Alpine v3.20.1 from artifactory for all architectures

  • Add IPv6 listening sockets to Nginx server blocks
  • test_unpack_compressed is dropped as it's covered in Tier1

    ##### Which issue(s) this PR fixes:

    CNV-100912

    ##### Special notes for reviewer:

    Backport to cnv-4.21 of https://github.com/RedHatQE/openshift-virtualization-tests/pull/4171 (original issue: https://redhat.atlassian.net/browse/CNV-80593). The previous automated backport, https://github.com/RedHatQE/openshift-virtualization-tests/pull/6900, was closed due to incorrect conflict resolution. This backport preserves the 4.21 file structure and applies the original removal of test_unpack_compressed. Equivalent Tier 1 coverage for both negative compressed raw-image cases was not confirmed during the backport review.

    Validation: pre-commit passed; full tox matrix passed, including 677 utilities unit tests and 98.53% coverage. Cluster verification remains pending.

    ##### jira-ticket: https://redhat.atlassian.net/browse/CNV-100912
    <!-- full-ticket-url needs to be provided. This would add a link to the pull request to the jira and close it when the pull request is merged
    If the task is not tracked by a Jira ticket, just write "NONE".
    -->

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    Summary by CodeRabbit

    Chores
    Updated internal HTTP test image tag to v1.2.0
    Added Artifactory-backed Alpine image references for multiple architectures

    Bug Fixes
    Certificate retrieval now formats IPv6 addresses with brackets for host:port
    Internal service address recognition updated to use fully-qualified in-cluster DNS

    Tests
    Storage/import tests switched to Alpine images and removed a failing compressed-unpack case
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    ---
    _Generated by Codex · Agents: primary (/root) · Skills: backport-cnv-tests · Models: gpt-6.1-terra_

    Diff: 327 lines (+245 / -82) across 4 files Reviewer: acinko-rh Review duration: 1273m
    All Vouch review confidence checks passed
    Residual risk 0.26 = Change Risk (0.65) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.65 · 327 lines diff across 4 files
    0.65
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.347
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.065
    Real PR Conversation Timeline
    1 comments
    "Review active on #6901"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 65.2% (HIGH) · Higher = larger blast radius
    65.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 25.8% · Safe to merge
    25.8%