Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable fail-fast for nightly integration tests #405

Merged

Conversation

adam-cattermole
Copy link
Member

@adam-cattermole adam-cattermole commented Jan 24, 2024

When the nightly integration tests run if one of the sail operator / istioctl fails the other test in the matrix is cancelled due to fail-fast: true. Setting to false so we run both integration tests no matter the outcome of the first to complete.

See latest nightly here where the integration test for sail cancelled the integration test for istioctl:
https://github.com/Kuadrant/kuadrant-operator/actions/runs/7634245121

@adam-cattermole adam-cattermole requested a review from a team as a code owner January 24, 2024 11:52
@adam-cattermole adam-cattermole changed the title Disable fail-fast for nightly matrix tests Disable fail-fast for nightly integration tests Jan 24, 2024
@adam-cattermole adam-cattermole self-assigned this Jan 24, 2024
Copy link

codecov bot commented Jan 24, 2024

Codecov Report

Merging #405 (9a3f7a9) into main (d8c4f6a) will decrease coverage by 0.76%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #405      +/-   ##
==========================================
- Coverage   66.50%   65.75%   -0.76%     
==========================================
  Files          38       38              
  Lines        3863     3901      +38     
==========================================
- Hits         2569     2565       -4     
- Misses       1110     1146      +36     
- Partials      184      190       +6     
Flag Coverage Δ
integration 70.40% <ø> (-1.55%) ⬇️
unit 60.69% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
api/v1beta1 (u) ∅ <ø> (∅)
pkg/common (u) 78.59% <ø> (ø)
pkg/istio (u) 37.11% <ø> (ø)
pkg/log (u) 31.81% <ø> (ø)
pkg/reconcilers (u) 33.44% <ø> (ø)
pkg/rlptools (u) 56.46% <ø> (ø)
controllers (i) 70.40% <ø> (-1.55%) ⬇️

see 7 files with indirect coverage changes

Copy link
Contributor

@Boomatang Boomatang left a comment

Choose a reason for hiding this comment

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

For nightly tests this makes sense. Does this affect standard PR checks? On PRs it might be better to fail fast and not using the extra resources.

@adam-cattermole
Copy link
Member Author

At the moment it doesn't affect PR's as only one of the matrix options is run (istioctl). In my opinion even if we reintroduce the integration tests on sail operator for PR's I think it makes more sense for both to run in case a change breaks integration in one and not the other?

Copy link
Contributor

@KevFan KevFan left a comment

Choose a reason for hiding this comment

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

LGTM !

@adam-cattermole adam-cattermole merged commit e76cd28 into Kuadrant:main Jan 31, 2024
16 checks passed
@adam-cattermole adam-cattermole deleted the disable-test-fail-fast branch January 31, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants