OCPBUGS-7310: Fix test checking if Machine addresses match VMs#88
Conversation
|
@dulek: 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
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
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. |
|
/cc @mandre |
|
/cherry-pick release-4.12 |
|
@dulek: 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. DetailsIn response to this:
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. |
bf1f1ba to
85a5fb2
Compare
|
Hi @dulek, I think we should not skip machines without openstack-resourceId annotation. That is one of the main checks in the test. Isnt "only consider machines having addresses set in .status" enough for stabilizing the test? |
But if |
|
/retest |
Please ignore my comment. The openstack-resourceId annotation is checked on the previous test Sorry for the noise |
mandre
left a comment
There was a problem hiding this comment.
Just a small nit, otherwise LGTM.
The aforementioned test blindly tries to check all the Machines in the cluster, assuming each have a VM in OpenStack. That might not be true as in other tests we create Machines that are supposed to fail provisioning and never produce a VM. This commit fixes this by adding several precautions: * We only consider machines having addresses set in .status. * We skip machines without openstack-resourceId annotation. * We skip checking machines that do not have VM in OpenStack (could have been deleted between we fetched the Machines and did OpenStack query).
85a5fb2 to
2541ec0
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mandre The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@dulek: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
@dulek: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-7310 has been moved to the MODIFIED state. DetailsIn response to this:
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. |
|
@dulek: new pull request created: #90 DetailsIn response to this:
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. |
The aforementioned test blindly tries to check all the Machines in the cluster, assuming each have a VM in OpenStack. That might not be true as in other tests we create Machines that are supposed to fail provisioning and never produce a VM. This commit fixes this by adding several precautions: