Skip to content

[ROX-9864] : Sleep after creating deployment to wait for image CVEs being discovered and added to db#3834

Merged
charmik-redhat merged 2 commits intomasterfrom
charmik/ROX-9864/CSVTest-CI-flake
Nov 23, 2022
Merged

[ROX-9864] : Sleep after creating deployment to wait for image CVEs being discovered and added to db#3834
charmik-redhat merged 2 commits intomasterfrom
charmik/ROX-9864/CSVTest-CI-flake

Conversation

@charmik-redhat
Copy link
Contributor

@charmik-redhat charmik-redhat commented Nov 16, 2022

Description

It seems like the failure occurs when all image CVEs are not yet discovered and added to DB or when their cvss scores are not yet populated. This leads to different imageCVE counts between two graphQL queries, or different sort orders based on cvss score. Also, added a ToString annotation to CVE class used by the test to see better logs if test failure occurs again.

Checklist

  • Investigated and inspected CI test results
  • Unit test and regression tests added
  • Evaluated and added CHANGELOG entry if required
  • Determined and documented upgrade steps
  • Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.

Testing Performed

Not needed for a test update.

@ghost
Copy link

ghost commented Nov 16, 2022

Images are ready for the commit at 86139d1.

To use with deploy scripts, first export MAIN_IMAGE_TAG=3.73.x-33-g86139d1931.

}

@EqualsAndHashCode(includeFields = true)
@ToString(includeFields = true)
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Would these cause the log to be very noisy if all cves are being logged?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That is right, I should only include id and cvss since they are relevant to debugging.

@charmik-redhat
Copy link
Contributor Author

/retest

@charmik-redhat charmik-redhat force-pushed the charmik/ROX-9864/CSVTest-CI-flake branch from 9544c37 to 86139d1 Compare November 21, 2022 16:25
@charmik-redhat charmik-redhat merged commit 7511242 into master Nov 23, 2022
@charmik-redhat charmik-redhat deleted the charmik/ROX-9864/CSVTest-CI-flake branch November 23, 2022 18:11
gavin-stackrox pushed a commit that referenced this pull request Feb 11, 2023
gavin-stackrox pushed a commit that referenced this pull request Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants