Request for an automation

Bug #1519838 reported by Denis Meltsaykin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Aliaksandr Buhayeu

Bug Description

Currently, we (Maintenance Team) have no any kind of automation to differentiate bugs that have a "fix released/commited" status in some branches from those which have not been fixed at all.

So the proposal is - please create a bot, which will change the status of bug from "Confirmed" to "Triaged" in all the milestones if one (or more) milestone has a "Fix Commited / Released" state.

For example, the bug has the following statuses per milestone:
Status Milestone
Fix Released Mirantis OpenStack 8.0
Won't Fix Mirantis OpenStack 5.0-updates
Confirmed Mirantis OpenStack 6.0-updates
Confirmed Mirantis OpenStack 6.1-updates
In Progress Mirantis OpenStack 7.0-updates

After the bot's running they should become like this:

Status Milestone
Fix Released Mirantis OpenStack 8.0
Won't Fix Mirantis OpenStack 5.0-updates
Triaged Mirantis OpenStack 6.0-updates
Triaged Mirantis OpenStack 6.1-updates
In Progress Mirantis OpenStack 7.0-updates

If bug has no "Fix Released / Commited" in ANY of branches, the bot does nothing with this bug.
The bot doesn't touch the milestones that have a different than "Confirmed" status.

This will allow us to improve bugfix handling.

tags: added: maintenance
Changed in fuel:
assignee: Fuel CI (fuel-ci) → Fuel DevOps (fuel-devops)
Andrey Nikitin (heos)
Changed in fuel:
assignee: Fuel DevOps (fuel-devops) → Fuel Infra Apps (fuel-infra-apps)
importance: Undecided → Medium
Igor Shishkin (teran)
tags: added: area-infra-apps
Changed in fuel:
assignee: Fuel Infra Apps (fuel-infra-apps) → Aliaksandr Buhayeu (abuhayeu)
Changed in fuel:
status: New → In Progress
Maciej Relewicz (rlu)
Changed in fuel:
milestone: none → 8.0
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to tools/custom-scripts (master)

Fix proposed to branch: master
Change author: Aliaksandr Buhayeu <email address hidden>
Review: https://review.fuel-infra.org/14307

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix proposed to fuel-infra/jenkins-jobs (master)

Related fix proposed to branch: master
Change author: Aliaksandr Buhayeu <email address hidden>
Review: https://review.fuel-infra.org/14309

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to tools/custom-scripts (master)

Reviewed: https://review.fuel-infra.org/14307
Submitter: Alexander Charykov <email address hidden>
Branch: master

Commit: bbcefe7f79a7dba632af0b1960978b32a61518fa
Author: Aliaksandr Buhayeu <email address hidden>
Date: Mon Dec 7 08:10:16 2015

Script to change bug statuses according to rules specified

This script was implemented to differentiate bugs that have
a "fix released/commited" status in some branches from those
which have not been fixed at all.

Change-Id: Id9d4ae4cfee2529bdbb37c07e2494ee1e748a8b9
Closes-Bug: #1519838

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to fuel-infra/jenkins-jobs (master)

Reviewed: https://review.fuel-infra.org/14309
Submitter: Aleksandra Fedorova <email address hidden>
Branch: master

Commit: 15e6ad6f0dace7578acf31a3fe2cb910b5a7d347
Author: Aliaksandr Buhayeu <email address hidden>
Date: Mon Dec 7 10:54:37 2015

Added new part to configure a job to run lp_milestone_status_changer.py

This script should differentiate bugs that have a "Fix Committed/Fix Released"
status (configurable) in some branches from those which have not been fixed
at all.
Calculations are done according to the rules described in a Launchpad bug:
https://bugs.launchpad.net/fuel/+bug/1519838

Change-Id: Ib34a0adf4aad52f3098f0d4282ad6910be1d460c
Related-Bug: #1519838

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.