← Back to Pull requests

NETOBSERV-2817: Fixes for tests on OCP 4.14 #2840

Closed
unknown closed this pull request without merging on Jul 09, 2026 16:34 UTC
View on GitHub
unknown unknown commented on Jul 06, 2026 19:18 UTC
Author

Description

  • Fixes for backend tests on OCP 4.14

  • Bump go and lint version
  • Dependencies


    n/a

    Test Results

  • Test 53844 - Sanity Test

  • Detected OCP version: v4.14
    [sig-netobserv] Network_Observability with Loki Author:memodi-Critical-53844-Sanity Test NetObserv [Serial]
    /Users/amoghrd/repos/netobserv/netobserv-operator/integration-tests/backend/test_flowcollector.go:1471
    • PASSED [564.287 seconds]

  • Test 63185 - Must-gather Test

  • Detected OCP version: v4.14
    [sig-netobserv] Network_Observability Author:memodi-Medium-63185-Verify NetOberv must-gather plugin [Serial]
    /Users/amoghrd/repos/netobserv/netobserv-operator/integration-tests/backend/test_flowcollector.go:163
    • PASSED [133.721 seconds]

  • Test 88334 - Pause Functions Test

  • Detected OCP version: v4.14
    [sig-netobserv] Network_Observability with Loki Author:kapjain-Medium-88334-Pause Network Observability functions [Serial]
    /Users/amoghrd/repos/netobserv/netobserv-operator/integration-tests/backend/test_flowcollector.go:2612
    • PASSED [564.418 seconds]

  • Test 80090 - FLP Tail-based Filtering

  • Detected OCP version: v4.14
    [sig-netobserv] Network_Observability with Loki Author:aramesha-NonPreRelease-High-80090-Verify FLP tail-based filtering [Serial]
    /Users/amoghrd/repos/netobserv/netobserv-operator/integration-tests/backend/test_flowcollector.go:1986
    • PASSED [473.593 seconds]

  • Test 63839 - Multi-tenancy

  • Detected OCP version: v4.14
    [sig-netobserv] Network_Observability with Loki Author:memodi-NonPreRelease-Longduration-High-63839-Verify-multi-tenancy [Disruptive][Slow]
    /Users/amoghrd/repos/netobserv/netobserv-operator/integration-tests/backend/test_flowcollector.go:806
    • PASSED [859.613 seconds]

    Checklist

    <!-- If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that. -->

    [ ] Does the changes in PR need specific configuration or environment set up for testing?
    [ ] if so please describe it in PR description.
    [ ] I have added thorough unit tests for the change.
    QE requirements (check 1 from the list):
    [ ] Standard QE validation, with pre-merge tests unless stated otherwise.
    [x] Regression tests only (e.g. refactoring with no user-facing change).
    [ ] No QE (e.g. trivial change with high reviewer's confidence, or per agreement with the QE team).

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

    Summary by CodeRabbit

    Bug Fixes
    Improved compatibility of backend integration tests with older OpenShift versions.
    Must-gather checks are now more tolerant of benign discovery-related output.
    Pause/resume expectations are now version-aware, requiring newer components only when applicable.
    Tests
    Enabled multi-tenancy and FLP tail-based filtering tests on older cluster versions.
    Chores
    Updated lint tooling and the Go toolchain patch level.
    Refactor
    * Added safer version validation and a helper for “at least” version checks.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 400 lines (+300 / -100) across 5 files Reviewer: memodi Review duration: 4156m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 400 lines diff across 5 files
    0.45
    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.359
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #2840"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    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: 44.7% (MEDIUM) · Higher = larger blast radius
    44.7%
    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: 17.7% · Safe to merge
    17.7%