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

Ignore "didn't find PVC associated with DataVolume" spurious warning #6407

Merged
merged 2 commits into from
Oct 1, 2021

Conversation

maya-r
Copy link
Contributor

@maya-r maya-r commented Sep 14, 2021

which can happen before DV success and is normal.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Example failure

Special notes for your reviewer:

Release note:

NONE

@kubevirt-bot kubevirt-bot added release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. size/S labels Sep 14, 2021
tests/utils.go Outdated Show resolved Hide resolved
@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Sep 14, 2021
@kubevirt-bot kubevirt-bot added size/XS and removed lgtm Indicates that a PR is ready to be merged. size/S labels Sep 17, 2021
@brybacki
Copy link
Contributor

/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Sep 23, 2021
tests/utils.go Outdated Show resolved Hide resolved
This allows us to match warnings that contain a reference to an
object with a generated name.

Signed-off-by: Maya Rashish <mrashish@redhat.com>
The VMI can be created before CDI creates a PVC, resulting in
this spurious warning.

Signed-off-by: Maya Rashish <mrashish@redhat.com>
@kubevirt-bot kubevirt-bot removed the lgtm Indicates that a PR is ready to be merged. label Sep 29, 2021
@maya-r
Copy link
Contributor Author

maya-r commented Sep 29, 2021

@maya-r maya-r changed the title Make sure to refresh VMI after waiting for DV success Ignore "didn't find PVC associated with DataVolume" spurious warning Sep 29, 2021
WaitForSuccessfulVMIStartWithTimeout(obj, timeout)
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
warningsIgnoreList := []string{"didn't find PVC associated with DataVolume"}
Copy link
Member

Choose a reason for hiding this comment

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

ah, i don't think this will work because the warning is a strict match of this string, and not just checking if the warning contains the substring.

Maybe the utils.go funciton that's comparing warnings should use strings.Contains() instead of == in the shouldIgnoreWarning() function

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@davidvossel
Copy link
Member

/lgtm
/approve

looks like the sriov lane still isn't matching the warning correctly. maybe they have something else going on there that's causing an issue though.

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Sep 30, 2021
@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davidvossel

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

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 30, 2021
@kubevirt-commenter-bot
Copy link

/retest
This bot automatically retries jobs that failed/flaked on approved PRs.
Silence the bot with an /lgtm cancel or /hold comment for consistent failures.

@brybacki
Copy link
Contributor

brybacki commented Oct 1, 2021

/retest

@kubevirt-bot kubevirt-bot merged commit 3ebb0a0 into kubevirt:main Oct 1, 2021
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. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants