Skip to content

Conversation

nephomaniac
Copy link
Contributor

PR attempts to allow e2e tests to tolerate a maximum number of CAMO CSV (Clusterserviceversions) request failures greater than 0 during the period where the test is waiting for the CAMO CSV to become present and phase status 'Succeeded'. This is intended to help the tests continue during normal/transient states of the CAMO CSV/cluster (ie such as upgrades).
CSV request failures will be both logged and counted. Once the max allowed number of CSV request failures is met, future request errors will be handled with the previous Expect() cases which will then abort the test.
If the number of CSV request errors does not exceed the allowed maximum, the check continues to loop every ~30 seconds checking the phase of the CAMO CSV.
This PR also logs the elapsed time for each iteration of the CSV check.

These changes have been tested locally against a cluster w/ and w/o the camo CSV present, and with the CSV in phases 'Pending' and 'Succeeded'. Local execution...

make e2e-binary-build
DISABLE_JUNIT_REPORT=true KUBECONFIG=${testconfig} ${ginkgopath} --tags=osde2e -v test/e2e

@openshift-ci openshift-ci bot requested review from bmeng and smarthall October 1, 2025 20:49
Copy link
Contributor

openshift-ci bot commented Oct 1, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nephomaniac

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 1, 2025
Copy link

codecov bot commented Oct 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.82%. Comparing base (6b382e0) to head (b053591).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #451   +/-   ##
=======================================
  Coverage   65.82%   65.82%           
=======================================
  Files           8        8           
  Lines         916      916           
=======================================
  Hits          603      603           
  Misses        290      290           
  Partials       23       23           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nephomaniac
Copy link
Contributor Author

/retest

3 similar comments
@ritmun
Copy link
Contributor

ritmun commented Oct 3, 2025

/retest

@nephomaniac
Copy link
Contributor Author

/retest

@nephomaniac
Copy link
Contributor Author

/retest

Copy link
Contributor

openshift-ci bot commented Oct 6, 2025

@nephomaniac: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants