Skip to content

OCPBUGS-7310: Do not consider deleted instance as error#84

Merged
openshift-merge-robot merged 1 commit into
mainfrom
OCPBUGS-7310
Feb 10, 2023
Merged

OCPBUGS-7310: Do not consider deleted instance as error#84
openshift-merge-robot merged 1 commit into
mainfrom
OCPBUGS-7310

Conversation

@mandre
Copy link
Copy Markdown
Member

@mandre mandre commented Feb 10, 2023

The OpenStack platform on instance creation should report all openstack instance addresses on the corresponding Machine object test list all machines in the openshift cluster then fetches information from OpenStack for each one of them. Because the test doesn't run in isolation, it's affected by other tests that run at the same time and it makes it flaky.

We had a check that looked for errors getting info for a machine that did not take into account deleted machines. Move this check at the right place.

The `OpenStack platform on instance creation should report all openstack
instance addresses on the corresponding Machine object` test list all
machines in the openshift cluster then fetches information from
OpenStack for each one of them. Because the test doesn't run in
isolation, it's affected by other tests that run at the same time and it
makes it flaky.

We had a check that looked for errors getting info for a machine that
did not take into account deleted machines. Move this check at the right
place.
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid 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. labels Feb 10, 2023
@openshift-ci-robot
Copy link
Copy Markdown

@mandre: This pull request references Jira Issue OCPBUGS-7310, which is valid. The bug has been moved to the POST state.

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

Requesting review from QA contact:
/cc @eurijon

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

The OpenStack platform on instance creation should report all openstack instance addresses on the corresponding Machine object test list all machines in the openshift cluster then fetches information from OpenStack for each one of them. Because the test doesn't run in isolation, it's affected by other tests that run at the same time and it makes it flaky.

We had a check that looked for errors getting info for a machine that did not take into account deleted machines. Move this check at the right place.

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 openshift-ci Bot requested a review from eurijon February 10, 2023 08:35
@mandre
Copy link
Copy Markdown
Member Author

mandre commented Feb 10, 2023

/assign @mdbooth

@mandre
Copy link
Copy Markdown
Member Author

mandre commented Feb 10, 2023

/cherry-pick release-4.12

@openshift-cherrypick-robot
Copy link
Copy Markdown

@mandre: once the present PR merges, I will cherry-pick it on top of release-4.12 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-4.12

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.

@pierreprinetti
Copy link
Copy Markdown
Contributor

If we get false negatives, we might consider serialising the test instead. However, I agree that there is a cost to it.

/approve
/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Feb 10, 2023
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Feb 10, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pierreprinetti

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 openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 10, 2023
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Feb 10, 2023

@mandre: all tests passed!

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.

@openshift-merge-robot openshift-merge-robot merged commit a44cccc into main Feb 10, 2023
@openshift-ci-robot
Copy link
Copy Markdown

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

Jira Issue OCPBUGS-7310 has been moved to the MODIFIED state.

Details

In response to this:

The OpenStack platform on instance creation should report all openstack instance addresses on the corresponding Machine object test list all machines in the openshift cluster then fetches information from OpenStack for each one of them. Because the test doesn't run in isolation, it's affected by other tests that run at the same time and it makes it flaky.

We had a check that looked for errors getting info for a machine that did not take into account deleted machines. Move this check at the right place.

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-cherrypick-robot
Copy link
Copy Markdown

@mandre: new pull request created: #86

Details

In response to this:

/cherry-pick release-4.12

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.

eurijon pushed a commit to shiftstack/openstack-test that referenced this pull request Feb 14, 2023
OCPBUGS-7310: Do not consider deleted instance as error
eurijon pushed a commit to shiftstack/openstack-test that referenced this pull request Feb 14, 2023
OCPBUGS-7310: Do not consider deleted instance as error
@mandre mandre deleted the OCPBUGS-7310 branch February 22, 2023 11:39
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/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants