Skip to content

[4.18][Storage] Storage Tier2: use DataSource instead of artifactory in test_wffc.py 4.18#4534

Open
acinko-rh wants to merge 5 commits intoRedHatQE:cnv-4.18from
acinko-rh:change_artifactory_to_data_source_in_test_wffc_4_18
Open

[4.18][Storage] Storage Tier2: use DataSource instead of artifactory in test_wffc.py 4.18#4534
acinko-rh wants to merge 5 commits intoRedHatQE:cnv-4.18from
acinko-rh:change_artifactory_to_data_source_in_test_wffc_4_18

Conversation

@acinko-rh
Copy link
Copy Markdown
Contributor

…t_wffc.py (#4368)

Use DataSource instead of artifactory in test_wffc.py

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

Currently, most storage tests use import from HTTP as the default method to deploy DataVolumes/VMs.

Switching to golden images (except for tests that explicitly validate the import workflow) will improve test stability and reduce flakiness.

Acceptance criteria:

Update storage tests to use golden image as the default deployment method.

Keep HTTP import only for tests explicitly covering import functionality.

In test_wffc.py the tests are using HTTP to create DVs which can make them fail when the requrest for the image is unsuccessful.

Don't hold out on critisism, I'm new and I want to get better.

  • Tests
  • Switched storage tests to use RHEL images and updated VM memory to match RHEL.
  • Replaced external-image/template workflow with a blank-source DataVolume flow and added reusable blank DV and DV-template fixtures.
  • Consolidated storage-class selection into a single module-scoped fixture and improved virtctl/upload wiring.
    • Simplified runtime waiting and VMI status handling.
  • Removed two obsolete registry/clone tests and updated affected test parametrization.

…t_wffc.py (RedHatQE#4368)

Use DataSource instead of artifactory in test_wffc.py

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

Currently, most storage tests use import from HTTP as the default method
to deploy DataVolumes/VMs.

Switching to golden images (except for tests that explicitly validate
the import workflow) will improve test stability and reduce flakiness.

Acceptance criteria:

Update storage tests to use golden image as the default deployment
method.

Keep HTTP import only for tests explicitly covering import
functionality.

In `test_wffc.py` the tests are using HTTP to create DVs which can make
them fail when the requrest for the image is unsuccessful.

Don't hold out on critisism, I'm new and I want to get better.

<!-- 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
-->

* **Tests**
* Switched storage tests to use RHEL images and updated VM memory to
match RHEL.
* Replaced external-image/template workflow with a blank-source
DataVolume flow and added reusable blank DV and DV-template fixtures.
* Consolidated storage-class selection into a single module-scoped
fixture and improved virtctl/upload wiring.
  * Simplified runtime waiting and VMI status handling.
* Removed two obsolete registry/clone tests and updated affected test
parametrization.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Adam Cinko <acinko@redhat.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 21, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6fd93a8c-a4f2-4afc-9cd9-f7371e5b043c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

@acinko-rh acinko-rh changed the title [Storage] Storage Tier2: use DataSource instead of artifactory in tes… [4.18][Storage] Storage Tier2: use DataSource instead of artifactory in test_wffc.py 4.18 Apr 21, 2026
@openshift-virtualization-qe-bot-3
Copy link
Copy Markdown
Contributor

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

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

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:

  • jpeimer

Reviewers:

  • Ahmad-Hafe
  • acinko-rh
  • dalia-frank
  • ema-aka-young
  • josemacassan
  • jpeimer
  • kgoldbla
  • kshvaika
Available Labels
  • hold
  • verified
  • wip
  • lgtm
  • approve
AI Features
  • Cherry-Pick Conflict Resolution: Enabled (claude/claude-opus-4-6[1m])

💡 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.

Signed-off-by: Adam Cinko <acinko@redhat.com>
Signed-off-by: Adam Cinko <acinko@redhat.com>
@openshift-virtualization-qe-bot-4
Copy link
Copy Markdown

Clean rebase detected — no code changes compared to previous head (9bced41).

@josemacassan
Copy link
Copy Markdown
Contributor

/lgtm

@acinko-rh
Copy link
Copy Markdown
Contributor Author

/build-and-push-container

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.

5 participants