[devops] Script is needed which targets dev milestone every X hours if stable is targeted

Bug #1349380 reported by Mike Scherbakov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Andrey Nikitin

Bug Description

Example:
QA engineer finds a bug in 5.0.1 (5.0.x series), which is milestone for stable/5.0 branch, and current development (master) is 5.1 milestone (5.1.x series).
According to our latest Fuel discussions, we need to automate auto-proposal for development milestone (5.1) to avoid possible loss of bugs in development version, while it is going to be fixed in stable branch.

To generalize it even more, I request to make such a script which will be "affecting" (in terms of LP) development milestone for any new bug, which would be created and targeting milestone which is older than development (for example, 4.1.2, 5.0.1 should affect 5.1).

There is no need to check all bugs in the past, and I assume that script will have such a logic that it will start doing this only for new bugs, starting from the moment of script run.

Then for developers / bug team, if bug doesn't really affect development milestone and affects only what it was proposed for, then it should be marked as "Invalid" or "Won't fix" for development milestone, with corresponding comment in the LP bug.

Original purpose of this script was extended to also go over all Critical bugs in current development milestone and target maintenance milestone. Like if you have 6.1 Critical, it will target 6.0.1. Also, it does the same thing for all customer-found tagged bugs. It's being discussed with sustaining team if we want to target all ".*-updates" milestones of such 6.1 Critical & customer-found.

Changed in fuel:
status: New → Confirmed
Revision history for this message
Igor Shishkin (teran) wrote :

Dmitry, as I remember you had write some launchpad scripts. What they able to do?

Thanks.

Igor Shishkin (teran)
Changed in fuel:
milestone: 5.1 → 6.0
Revision history for this message
Igor Shishkin (teran) wrote :

ETA: after 6.0 release.

Changed in fuel:
importance: High → Medium
milestone: 6.0 → 6.1
Revision history for this message
Mike Scherbakov (mihgen) wrote :

This is not Medium, Igor. This was not Critical just because it does not block release and current work. Though we always have pain, and we have to slip releases just because we do not have this script running.
It is not acceptable to spend 4 months looking at High priority bug, and then move to Medium just because.

Such things as https://bugs.launchpad.net/mos/+bug/1375245, https://bugs.launchpad.net/fuel/+bug/1401152 would not happen if we have this script.

Changed in fuel:
importance: Medium → High
Andrey Nikitin (heos)
Changed in fuel:
assignee: Fuel DevOps (fuel-devops) → Andrey Nikitin (heos)
status: Confirmed → In Progress
Revision history for this message
Andrey Nikitin (heos) wrote :

Mike, what script should do when a new bug has not a milestone?

Revision history for this message
Mike Scherbakov (mihgen) wrote : Re: [Bug 1349380] Re: [devops] Script is needed which targets dev milestone every X hours if stable is targeted

Target "current focus development milestone". There is such a term in
launchpad.
On Dec 25, 2014 7:30 PM, "Andrey Nikitin" <email address hidden> wrote:

> Mike, what script should do when a new bug has not a milestone?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1349380
>
> Title:
> [devops] Script is needed which targets dev milestone every X hours if
> stable is targeted
>
> Status in Fuel: OpenStack installer that works:
> In Progress
>
> Bug description:
> Example:
> QA engineer finds a bug in 5.0.1 (5.0.x series), which is milestone for
> stable/5.0 branch, and current development (master) is 5.1 milestone (5.1.x
> series).
> According to our latest Fuel discussions, we need to automate
> auto-proposal for development milestone (5.1) to avoid possible loss of
> bugs in development version, while it is going to be fixed in stable branch.
>
> To generalize it even more, I request to make such a script which will
> be "affecting" (in terms of LP) development milestone for any new bug,
> which would be created and targeting milestone which is older than
> development (for example, 4.1.2, 5.0.1 should affect 5.1).
>
> There is no need to check all bugs in the past, and I assume that
> script will have such a logic that it will start doing this only for
> new bugs, starting from the moment of script run.
>
> Then for developers / bug team, if bug doesn't really affect
> development milestone and affects only what it was proposed for, then
> it should be marked as "Invalid" or "Won't fix" for development
> milestone, with corresponding comment in the LP bug.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/fuel/+bug/1349380/+subscriptions
>

Revision history for this message
Andrey Nikitin (heos) wrote :

Quote: "it will start doing this only for new bugs, starting from the moment of script run."

I think we can use creation date of "current focus development milestone".

For 6.1.x is - 13.10.2014 (https://api.launchpad.net/1.0/fuel/6.1.x/)

Is it correct?

Revision history for this message
Mike Scherbakov (mihgen) wrote :

Fine with me

Revision history for this message
Andrey Nikitin (heos) wrote :

Created a draft of request: https://review.fuel-infra.org/#/c/2323/.

Revision history for this message
Andrey Nikitin (heos) wrote :
Revision history for this message
Andrey Nikitin (heos) wrote :

Work in progress by comments from Mike.

Andrey Nikitin (heos)
Changed in fuel:
milestone: 6.1 → 5.1.2
milestone: 5.1.2 → 6.1
Revision history for this message
Andrey Nikitin (heos) wrote :
Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Code is under development here: https://github.com/mihgen/lp-assigner

Changed in fuel:
status: Fix Committed → In Progress
assignee: Andrey Nikitin (heos) → Mike Scherbakov (mihgen)
Mike Scherbakov (mihgen)
description: updated
Andrey Nikitin (heos)
tags: added: non-release
Changed in fuel:
assignee: Mike Scherbakov (mihgen) → Andrey Nikitin (heos)
Andrey Nikitin (heos)
Changed in fuel:
status: In Progress → Fix Committed
Andrey Nikitin (heos)
Changed in fuel:
status: Fix Committed → Fix Released
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.