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 8 months 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 8 months ago
And we already have a report with this feature: https://qam.suse.de/reports/SUSE:Maintenance:28757:296616/log