-
Notifications
You must be signed in to change notification settings - Fork 51
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
Update possible certification status values for Job units and modify its default (new) #1204
Conversation
Until now, the default was "unspecified". Set it to "non-blocker". In addition, remove both "unspecified" and "non-part-of-certification" statuses, since one is redundant and the other has never been used in practice. Fix CER-2586
Since there are only two possible certification statuses now, remove tests that are not required anymore.
Until now, jobs with an "unspecified" certification status would not show any certification status in the HTML report. Since "non-blocker" becomes the default, the same behavior is applied. Therefore, only jobs with a "blocker" certification status will specify their certification status. "non-blocker" is assumed for all the others.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1204 +/- ##
==========================================
+ Coverage 43.21% 43.37% +0.16%
==========================================
Files 356 356
Lines 38662 38660 -2
Branches 6561 6561
==========================================
+ Hits 16706 16768 +62
+ Misses 21293 21213 -80
- Partials 663 679 +16
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
3694b31
to
427414a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 on the change, less random statusses for jobs is better! A few questions, the most important one is: this doesn't change anything in the remote codebase (as far as I can see). Is this change propagated there somehow I can't understand right now? If so, how?
Minor other questions below.
Description
Until now, a Job unit could have 4 possible values for certification status (
unspecified
,not-part-of-certification
,blocker
,non-blocker
). This PR reduces the number to 2 (blocker
andnon-blocker
), and set the default tonon-blocker
(instead ofunspecified
in the past).Resolved issues
CER-2586
Documentation
unspecified
certification values are updated throughout the docsTests
The
disk-cert-automated
nested part has a mix of default and cert-blockers.Running
checkbox-cli list-bootstrapped -f "{id} ({certification_status})\n" "com.canonical.certification::disk-cert-automated"
allows to see the difference before and after the patch.Before:
After:
I also ran this test plan before and after the patch and uploaded the results to C3.
Before:
After: