Skip to content

Bug 1948629: upgrades: add "none" / "minimal" test suites to skip disruption tests#26061

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
vrutkovs:sno-upgrade-no-disruption
Apr 13, 2021
Merged

Bug 1948629: upgrades: add "none" / "minimal" test suites to skip disruption tests#26061
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
vrutkovs:sno-upgrade-no-disruption

Conversation

@vrutkovs
Copy link
Copy Markdown
Contributor

For SNO upgrades most disruption tests would fail as there is no HA. This option would allow SNO upgrade test suite to skip those

Comment thread cmd/openshift-tests/upgrade.go Outdated
upgrade.SetToImage(opt.ToImage)
switch opt.Suite {
case "none":
return filterUpgrade(upgrade.MinimalTests(), func(string) bool { return true })
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wait... none would be no tests. None should be "zero things get run". You still need to skip some tests for single mode (in the test, not here).

Copy link
Copy Markdown
Contributor Author

@vrutkovs vrutkovs Apr 12, 2021

Choose a reason for hiding this comment

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

Ah, sure. Lets start with none (mostly for paused workers) / minimal (SNO) suites

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would prefer you don't add minimal though - that's what I'm specifically asking you not to do :) To fix the tests.

As far as filtering, it was intended that you could filter test names with --dry-run and grep and then -f -, but it looks like that is broken for the upgrade subset tests.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would prefer to not run the invariants for upgrade for now, so none is probably sufficient for SNO

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Remove minimal, keeping none

@vrutkovs vrutkovs force-pushed the sno-upgrade-no-disruption branch from c5af5af to 9b8d357 Compare April 12, 2021 15:48
@vrutkovs vrutkovs changed the title upgrades: add "skip-chaosmonkey" option to skip disruption tests upgrades: add "none" / "minimal" test suites to skip disruption tests Apr 12, 2021
@vrutkovs vrutkovs changed the title upgrades: add "none" / "minimal" test suites to skip disruption tests Bug 1948629: upgrades: add "none" / "minimal" test suites to skip disruption tests Apr 12, 2021
@openshift-ci-robot openshift-ci-robot added the bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. label Apr 12, 2021
@openshift-ci-robot
Copy link
Copy Markdown

@vrutkovs: This pull request references Bugzilla bug 1948629, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.8.0) matches configured target release for branch (4.8.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
Details

In response to this:

Bug 1948629: upgrades: add "none" / "minimal" test suites to skip disruption tests

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/test-infra repository.

@openshift-ci-robot openshift-ci-robot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Apr 12, 2021
"none" suite is an empty set of tests.

These would be handy in the following usecases:
a) paused worker tests could skip disruption tests until final version is reached
b) SNO upgrade tests are providing HA for the components, so distruption tests would permafail
@vrutkovs vrutkovs force-pushed the sno-upgrade-no-disruption branch from 9b8d357 to 1f22047 Compare April 12, 2021 16:47
@vrutkovs
Copy link
Copy Markdown
Contributor Author

/retest

@smarterclayton
Copy link
Copy Markdown
Contributor

/lgtm

I will try to fix the "filter tests by name"

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 12, 2021
@openshift-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: smarterclayton, vrutkovs

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

The pull request process is described here

Details 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-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 12, 2021
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

2 similar comments
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 3cc161d into openshift:master Apr 13, 2021
@openshift-ci-robot
Copy link
Copy Markdown

@vrutkovs: All pull requests linked via external trackers have merged:

Bugzilla bug 1948629 has been moved to the MODIFIED state.

Details

In response to this:

Bug 1948629: upgrades: add "none" / "minimal" test suites to skip disruption tests

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/test-infra repository.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 13, 2021

@vrutkovs: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-agnostic-cmd 1f22047 link /test e2e-agnostic-cmd

Full PR test history. Your PR dashboard.

Details

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/test-infra 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. bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants