action #127763
closed[teregen] Separate bugs with severity lower than Major in generated template
0%
Description
User story¶
In the past there was an agreement that QE will validate only bugs that have a reproducer and are of severity Major and higher.
As the initial step, lets adjust the template generator to separate lower severity bugs.
The way I imagine it, within bugs section there would be a subsection called "Lower Severity Bugs" where any bugzilla issue with severity lower than Major would be moved.
Acceptance criteria¶
AC1: Template generator will know the severity of each bug
AC2: Bugs in the template are grouped by severity
Suggestions¶
- Look at the plugin where SMELT is queried: https://gitlab.suse.de/qa-maintenance/teregen/-/blob/master/app/lib/TeReGen/Model/Plugin/22_FetchSmelt.pm
- Visit https://smelt.suse.de/graphql and read the API documentation
- Enhance the query to obtain severity (see example query)
- Look at the output plugin and group bugs: https://gitlab.suse.de/qa-maintenance/teregen/-/blob/master/app/lib/TeReGen/Model/Plugin/91_CreateTemplate.pm
Example query:¶
{
requests(requestId: 294631) {
edges {
node {
reviewSet {
edges {
node {
status {
name
}
assignedByGroup {
name
}
}
}
}
incident {
comments(who_Username_Iexact: "sle-qam-openqa", last: 1) {
edges {
node {
when
text
}
}
}
patchinfoSet {
edges {
node {
references {
edges {
node {
name
url
summary
tracker {
prefix
}
severity
priority
}
}
}
}
}
}
}
}
}
}
}
Updated by jbaier_cz over 1 year ago
- Subject changed from Template generator to separate bugs with severity lower than Major to [teregen] Separate bugs with severity lower than Major in generated template
- Description updated (diff)
- Target version set to Ready
Updated by okurz over 1 year ago
- Project changed from openQA Project to QA
- Priority changed from Normal to Low
Updated by jbaier_cz over 1 year ago
- Status changed from New to In Progress
- Assignee set to jbaier_cz
Updated by jbaier_cz over 1 year ago
- Status changed from In Progress to Feedback
I prepared a MR https://gitlab.suse.de/qa-maintenance/teregen/-/merge_requests/22 which will evaluate the severity of every bug, sort the bug section according to severity and provide a note to non-severe issues.
Updated by jbaier_cz over 1 year ago
Merged and deployed. After a while we should see new templates.
Updated by jbaier_cz over 1 year ago
And we already have a report with this feature: https://qam.suse.de/reports/SUSE:Maintenance:28757:296616/log
Updated by jbaier_cz over 1 year ago
- Status changed from Feedback to Resolved
Feature announced in slack to prevent confusion.