All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: "Xu, Jiajun" <jiajun.xu@intel.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Yocto weekly bug trend charts -- WW11
Date: Mon, 19 Mar 2012 17:17:00 +0000	[thread overview]
Message-ID: <1332177420.9740.51.camel@ted> (raw)
In-Reply-To: <90741FE9B50D654690EB940EDB456C8E091117@SHSMSX101.ccr.corp.intel.com>

On Mon, 2012-03-19 at 15:32 +0000, Xu, Jiajun wrote:
> > Hi Jiajun,
> > 
> > On Mon, 2012-03-19 at 08:49 +0000, Xu, Jiajun wrote:
> >> 	The overall open bug trend increased a lot in last week. The new
> >> submitted vs. fixed bug number is 64 vs. 52. Some fixed bugs are
> >> enhancement bug, which are not calculated into WDD data. WDD number
> >> and Open Bug number are 938 and 188. Bug status of WW11 could be
> >> found on https://wiki.yoctoproject.org/wiki/Yocto_Bug_Trend.
> > 
> > I agree that there were 64 vs 52 bugs last week which is a change of 12 bugs.
> > The top two charts show increases of 50 and 30 bugs though so the
> > numbers don't seem to add up for me :/. I appreciate the bugzilla
> > update upset the accounting but it looks like some of the historical
> > data is inaccurate somewhere :(
> 
> Good catch. :)
> For the first picture, it is the trend of open bugs by
> importance(High/Medium/Low/Undecided) with all bugs included. For the
> second picture, it is the trend of open bugs by
> severity(minor/normal/major/critical) without enhancement bugs. The
> first picture is to give us a whole picture of all open bugs. The
> second one is to give us a true picture of the real bugs - without
> bugs created for feature enabling.

Right, I like the trend charts and the information they generate is
extremely useful but I do worry that if the information is inaccurate,
we can make bad decisions based upon it. What really worries me now is
I'm in a position where I don't trust the data and it doesn't make
sense?

Do we have any way to correct the data? If I understand how you
currently generate these, I suspect it might be hard since you rely on
output from bugzilla whine emails?

Would it be possible to query the bugzilla data differently to be able
to completely build the chart profiles directly from absolute data
rather than indirectly though incremental data?

I'm wondering about the options of:

a) Any other API bugzilla exposes for queries?
b) Run scripts against bugzilla web API to obtain the necessary data?
c) Query the bugzilla database directly

I've cc'd Michael since he might be able to help us get access to the
data. Just for Michael's reference, what we need is to be able to figure
out:

a) What was the open bug count at time X of undecided, low, medium and
high bugs?
b) What was the open bug count at time X of minor, normal, major and
critical bugs?
c) Between times W and X, what number of bugs were submitted of type
undecided, low, medium and high?
d) Between times W and X, what number of bugs were resolved of type
undecided, low, medium and high?

Where W-X is 7 days and X is in general the end of a week so we can
generate the charts shown on:

https://wiki.yoctoproject.org/wiki/Yocto_Bug_Trend

I can think of ways I could script this although it might look like a
DoS attack against the server :) I'm open to ideas on how we could fix
this. Bonus marks for automatically generating the charts (which
thinking about it, I have done before and wasn't that hard)!

> BTW, when I check the open bug data, I find that a new variable is
> introduced with new bugzilla for field "severity" - janitors. We do
> not include the bugs marked as janitors in "Yocto Weekly Open bug
> Trend(Severity)". My thinking is that janitors is similar with
> enhancement. We could treat it as enhancement(with weight value "0"),
> or if we think it should be included into WDD, we could set a weight
> value for it. How do you think of it?
> Fortunately, we only have 4 bugs marked as janitors, and they are all
> new reported last week. We could simply update the bug trend once we
> make the decision.

The janitor changes happened very recently and I think Dave has
commented on this piece.

Cheers,

Richard



  parent reply	other threads:[~2012-03-19 17:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-19  8:49 Yocto weekly bug trend charts -- WW11 Xu, Jiajun
2012-03-19 10:26 ` Richard Purdie
2012-03-19 15:32   ` Xu, Jiajun
2012-03-19 16:18     ` Stewart, David C
2012-03-19 17:13       ` Darren Hart
2012-03-19 20:18         ` Richard Purdie
2012-03-19 20:22           ` Darren Hart
2012-03-19 21:05             ` Saul Wold
2012-03-19 17:17     ` Richard Purdie [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-03-15  3:19 Xu, Jiajun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1332177420.9740.51.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=jiajun.xu@intel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.