All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ksummit-discuss] [MAINTAINERS SUMMIT] & [TECH TOPIC] Improve regression tracking
@ 2017-07-02 17:51 Thorsten Leemhuis
  2017-07-03 16:30   ` Steven Rostedt
  2017-07-07  6:15 ` Andrei Vagin
  0 siblings, 2 replies; 144+ messages in thread
From: Thorsten Leemhuis @ 2017-07-02 17:51 UTC (permalink / raw)
  To: ksummit-discuss

Hi! Sorry, I know I'm late -- real life (travel, day job, ...) kept me
away from spending time on Linux kernel regression work :-/

Maybe I'm taking it a bit to far for the new kid in town, but I think I
want to propose two sessions. One for the maintainer summit, that deals
with a the most critical issues relevant to regression tracking. And one
technical session to deal with all the other stuff. Obviously we can
move below mentioned topics from one to the other or talk about them at
both if we want.

= [MAINTAINERS SUMMIT] Improve regression tracking =

 * Follow up from last year: What to do about bugzilla.kernel.org?
Reporters still get stranded there.
 * How to get subsystems maintainer involved more in regression tracking
to better make sure that reported regressions are tracked and not
forgotten accidentally.
 * Frustrations with regression tracking aka. how to establish
regression tracking properly to make sure it will never go away again.

= [TECH TOPIC] Improve the kernels quality by getting more people
involved in regression testing and reporting =

 * A short report from the outcome of the maintainer summit discussion;
also pick up and topics here that where not properly discussed on the
maintainer summit or were postponed to this session.
 * How to get distros more involved in regression tracking; especially
those that have a technical aware user base or normally ship up2date
kernel images (and thus have an greater interest in avoiding
regressions). I'm mainly thinking about Arch Linux, Debian, Fedora, and
openSUSE Tumbleweed here; having Ubuntu in the boat would be good, too!
(might be wise to talk about this on the maintainers summit as well, if
the right people are there)
 * How to make it more easy to (ideally automatically!) track the
current status and the progress of each regression? Are there any tools
that could make regression tracking easier for all of us while not
introducing much overhead for maintainers?

= Details =

Below you'll find few more words about some points mentioned above;
there are a few other topics as well we could discuss if we want. But
first, a few general words on regression tracking from my point of view:

 * There are a lot of areas in regression tracking where things are far
from good (read: in a bad state). That makes it easy to discuss current
problems and their solutions for hours -- and at the same time forget
that discussing itself doesn't get us much forward (the old bugzilla
issue mentioned in this mail is a good example). We thus IMHO should
focus on the most important issues and lay the groundwork to establish
regression tracking properly again, then we move on to solve things that
are harder to solve.

 * Regression tracking currently is quite boring and exhausting (read:
high burn-out risk), as it involves quite a lot of manual work finding
regressions and keeping track of their progress (and at the end of the
day it does not feel like you achieved much). Some of that work can not
be automated. But quite a bit can and that would help a great deal to
establish regression tracking properly (currently I'm the only one doing
it and some development cycles I simply don't find spare time for it).

   I currently don't see any existing solutions that fit well with our
mail focused workflow and at the same time do not introduce much
overhead for subsystem maintainers (which I assume is what everyone
wants, as I fear solutions with much overhead won't fly at all). Ideas
how to solve this tricky problem area are highly welcomed. It's
something that can be discussed when the aforementioned points
"establish regression tracking properly" and "make it more easy to
manually or automatically track the current status of a regression" come up.

== What to do about bugzilla.kernel.org =

Discussed last year already; see https://lwn.net/Articles/705245/ for
details. Situation didn't change much since then: the bugzilla instance
was updated, but people still get stranded there as most subsystems
ignore it. That afaics frustrates people and makes them stop testing or
reporting bugs.

Discuss how to improve things. [my2cent] Maybe a short term solution
like this could work: Serve a static page on bugzilla.kernel.org that
tells people where regressions/bugs for certain subsystems can be
reported, as it most of the time is some mailing list anyway. Such a
page could get compiled from MAINTAINERS (there is the "B:" field now
that points to bugzilla; if its not there point to a mailing lists; also
explain get_maintainers.pl).

  Leave our bugzilla reachable via bugzilla.kernel.org/frontpage (or
something like that) for those few subsystems that use it; that's afaics
ACPI and PM (including Cpufreq, Cpuidle, Hibernation, Suspend, ...) and
maybe PCI (not sure) -- or should we tell them to move to
bugzilla.freedesktop.org (or somewhere else) to get rid of our bugzilla
in the long etrm and make Konstantins life easier? Anyway: Make sure
bugs for other subsystems can't get filed in bugzilla.kernel.org anymore
to make sure they get lost there. [/my2cent]

== How to get subsystems maintainer more involved in regression tracking
to […] ==

One reasons why I put this up is: It would help me a lot if people let
regressions@leemhuis.info (side note: might be wise to make a
mailing-list that replaces this address) get told about regressions --
simply CCing it on reports or answers to regressions reports is enough;
forwarding/bouncing mails there (even without additional text) is fine,
too.

The other reason I included it: This came up in last years discussion on
this list and it seemed some people thought we can get the subsystems
maintainers more involved; so I thought it might be wise to discuss it.
Might also be a good idea to discuss here how to get distro kernel
maintainer more involved if enough are around.

== How to establish regression tracking properly […] ==

This is a pretty vague topic on purpose. People seem to agree that
regression tracking is important, but for years nobody did it (it
stopped a little while after Rafael had to move on) and the little bit
that I can do in my rare spare time won't help much (and I have no idea
how long I can continue to find time for it).

== Make it easier to track the progress of regression ==

One of the main reasons that makes regression tracking hard currently:
getting aware or regressions and tracking their progress is a lot of
manual work. I plan one step that hopefully makes the job a little
easier and at the same time might allow some automation in the long
term: ask people to include a certain keyword in their regressions
reports. Maybe something like "Linux-Regression" that doesn't get too
much false positives when searching for it on lists and via Google
(suggestions for a better tag welcome).

In addition, I plan to hand out some form of ID for each regressions I
track and ask people to include it -- especially when they post patches
that fix said regression or move the discussion to a new place (like
"Corrects: Linux-Regression-d2afd"; again: suggestions welcome! Maybe I
should just use a URL where people find details?).

That way I can notice more easy when a fix for a regression hits
linux-next or master; I also get aware if a discussion moves from
bugzilla to LKML or from one thread to another (fingers crossed).
Obviously it depends on cooperation of those involved.

If this works out we could write a script or something that watches
mailing lists, bug trackers and git trees for the tag in question. That
script could file a database and automatically do some of the tracking job.

== get distros more involved ==

I assume at least Ben (Debian), Laura (Fedora), and Takashi (openSUSE)
are around, so it might be a good idea to sit together and talk
regression tracking in general and how we could get the distros kernel
maintainers more involved. Even better would be to sit down before to
maybe come up with some ideas/plans we could talk during this session.

One topic could be: How to make it easier for users of popular distros
to get involved in testing. The "Kernel of the day" (KOTD) from
SUSE/openSUSE was mentioned recently on this list already, but I got the
impression that the existence of this repo is not well known; guess it's
the same for my own Kernel Vanilla Repositories for Fedora (those
contain packages with a quite recent mainline version; see
https://fedoraproject.org/wiki/Kernel_Vanilla_Repositories ) or the fact
that Fedora rawhide ships a recent mainline snapshot all the time. But
should distros also offer Linux-next somewhere? Or anything else? And
should the distros send experienced users upstream when they found a
regression? Or will subsystem maintainers send those users away because
they assume those kernels are not vanilla?


== Topics or vague ideas I left out on purpose ==

Here is a list of other things we could talk about, but I think better
left for a later time:

 * Kerneloops (http://oops.kernel.org/): It was discussed last year on
this list. I have no idea what the current status is. Is someone
watching & analysing it? And poking the right people when needed? (I
doubt it)

 * Regression tracking for stable kernels (many bugs only get noticed
once a new mainline version got released; at that time it might still be
easy to revert a certain patch in mainline and stable)

 * statistics: I didn't spend time to create statistics, like Rafael did
in the past. They'd be nice to have, but for now I think my time is
better spend elsewhere.

 * work towards growing the number of tester by making it easier for
them (better documentation, easier configuration, bisection scripts, ...)

 * maybe document a few some procedures for those that are not regular
kernel developers (like the "When users report bugs on the Fedora
tracker that look like actual upstream bugs, what's the best way to have
those reported?" thing that Laura mentioned earlier this month in the
mail "Bug reporting feedback loop"

 * provide better services than only a plain text list of regression on
a mailing list?

 * better documentation? for example explain the difference between bugs
and regressions somewhere to make people understand why their bugs might
get ignored, but as the same time know that we handle regressions more
seriously.

 * Should the regression tracker nag subsystem maintainers (and
reporters) more often if they are inactive? How do people for example
feel about (Semi-)Automatic nagging mails for regressions where there is
no progress?

 * Is the data and the format of the current reports show useful at all?
If not: How to improve it?

 * regression tracking is a fair amount of work, and it's frustrating,
and people burn out. How to avoid that? Can we maybe get regression
tracking on solid ground by somehow building a healthy community around
it (containing kernel developers, Distro maintainers and people that are
willing to help in their spare time) that work on regressions
testing/tracking and other QA stuff?

 * how to make the Linux kernel development so good that the mainstream
distros stop their kernel forks and do what they do with Firefox: Ship
the latest stable version (users get a new version with new features
every few weeks) or a longterm branch (makes a big version jump about
once a year; see Firefox ESR).

Ugh, pretty long mail. Sorry about that. Maybe I shouldn't have looked
so closely into LWN.net articles about regression tracking and older
discussions about it.

Ciao, Thorsten

^ permalink raw reply	[flat|nested] 144+ messages in thread

end of thread, other threads:[~2017-08-04  1:15 UTC | newest]

Thread overview: 144+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-02 17:51 [Ksummit-discuss] [MAINTAINERS SUMMIT] & [TECH TOPIC] Improve regression tracking Thorsten Leemhuis
2017-07-03 16:30 ` Steven Rostedt
2017-07-03 16:30   ` Steven Rostedt
2017-07-03 18:50   ` Dan Williams
2017-07-03 18:50     ` Dan Williams
2017-07-04 19:03   ` Thorsten Leemhuis
2017-07-04 19:03     ` Thorsten Leemhuis
2017-07-05 12:45     ` Steven Rostedt
2017-07-05 12:45       ` Steven Rostedt
2017-07-05 13:09       ` Carlos O'Donell
2017-07-05 13:09         ` Carlos O'Donell
2017-07-05 13:27         ` Steven Rostedt
2017-07-05 13:27           ` Steven Rostedt
2017-07-05 14:06           ` Greg KH
2017-07-05 14:06             ` Greg KH
2017-07-05 14:28             ` Carlos O'Donell
2017-07-05 14:28               ` Carlos O'Donell
2017-07-05 14:33             ` Steven Rostedt
2017-07-05 14:33               ` Steven Rostedt
2017-07-05 14:52               ` Mark Brown
2017-07-05 14:52                 ` Mark Brown
2017-07-05 15:08               ` Carlos O'Donell
2017-07-05 15:08                 ` Carlos O'Donell
2017-07-05 16:10                 ` Steven Rostedt
2017-07-05 16:10                   ` Steven Rostedt
2017-07-06 11:34                   ` Laurent Pinchart
2017-07-06 11:34                     ` Laurent Pinchart
2017-07-09 13:46               ` Thorsten Leemhuis
2017-07-09 13:46                 ` Thorsten Leemhuis
2017-07-05 14:33             ` Mark Brown
2017-07-05 14:33               ` Mark Brown
2017-07-05 14:36               ` Steven Rostedt
2017-07-05 14:36                 ` Steven Rostedt
2017-07-05 14:50                 ` James Bottomley
2017-07-05 14:50                   ` James Bottomley
2017-07-05 14:56                   ` Steven Rostedt
2017-07-05 14:56                     ` Steven Rostedt
2017-07-05 15:09                     ` James Bottomley
2017-07-05 15:09                       ` James Bottomley
2017-07-05 15:20                       ` Mark Brown
2017-07-05 15:20                         ` Mark Brown
2017-07-05 15:40                         ` Geert Uytterhoeven
2017-07-05 15:40                           ` Geert Uytterhoeven
2017-07-05 15:20                       ` Steven Rostedt
2017-07-05 15:20                         ` Steven Rostedt
2017-07-05 15:32                         ` James Bottomley
2017-07-05 15:32                           ` James Bottomley
2017-07-05 15:43                           ` Steven Rostedt
2017-07-05 15:43                             ` Steven Rostedt
2017-07-05 18:24                       ` Daniel Vetter
2017-07-05 18:24                         ` Daniel Vetter
2017-07-05 18:17                 ` Daniel Vetter
2017-07-05 18:17                   ` Daniel Vetter
2017-07-05 15:16             ` Guenter Roeck
2017-07-05 15:16               ` Guenter Roeck
2017-07-05 15:27               ` Steven Rostedt
2017-07-05 15:27                 ` Steven Rostedt
2017-07-05 15:36                 ` James Bottomley
2017-07-05 15:36                   ` James Bottomley
2017-07-05 16:04                   ` Steven Rostedt
2017-07-05 16:04                     ` Steven Rostedt
2017-07-05 16:58                     ` James Bottomley
2017-07-05 16:58                       ` James Bottomley
2017-07-05 17:07                       ` Steven Rostedt
2017-07-05 17:07                         ` Steven Rostedt
2017-07-05 16:48                 ` Guenter Roeck
2017-07-05 16:48                   ` Guenter Roeck
2017-07-05 16:58                   ` Dan Williams
2017-07-05 16:58                     ` Dan Williams
2017-07-05 17:02                   ` Steven Rostedt
2017-07-05 17:02                     ` Steven Rostedt
2017-07-06  9:28                     ` Mark Brown
2017-07-06  9:28                       ` Mark Brown
2017-07-06  9:41                       ` Daniel Vetter
2017-07-06  9:41                         ` Daniel Vetter
2017-07-06 14:53                         ` Theodore Ts'o
2017-07-06 14:53                           ` Theodore Ts'o
2017-07-06 21:28                           ` Daniel Vetter
2017-07-06 21:28                             ` Daniel Vetter
2017-07-06 14:48                       ` James Bottomley
2017-07-06 14:48                         ` James Bottomley
2017-07-07 10:03                         ` Mark Brown
2017-07-07 10:03                           ` Mark Brown
2017-07-31 16:54                     ` Eric W. Biederman
2017-07-31 16:54                       ` Eric W. Biederman
2017-07-31 20:11                       ` Steven Rostedt
2017-07-31 20:11                         ` Steven Rostedt
2017-07-31 20:12                         ` Eric W. Biederman
2017-07-31 20:12                           ` Eric W. Biederman
2017-08-02 16:53                       ` Shuah Khan
2017-08-02 16:53                         ` Shuah Khan
2017-08-02 17:33                         ` Eric W. Biederman
2017-08-02 17:33                           ` Eric W. Biederman
2017-08-02 17:46                           ` Shuah Khan
2017-08-02 17:46                             ` Shuah Khan
2017-08-02 17:58                             ` Shuah Khan
2017-08-02 17:58                               ` Shuah Khan
2017-08-02 18:04                             ` Eric W. Biederman
2017-08-02 18:04                               ` Eric W. Biederman
2017-08-02 18:23                               ` Randy Dunlap
2017-08-02 18:23                                 ` Randy Dunlap
2017-08-02 18:42                               ` Shuah Khan
2017-08-02 18:42                                 ` Shuah Khan
2017-08-03  3:03                                 ` Theodore Ts'o
2017-08-03  3:03                                   ` Theodore Ts'o
2017-08-03 17:42                                   ` Bird, Timothy
2017-08-03 17:42                                     ` Bird, Timothy
2017-08-03 22:11                                     ` Shuah Khan
2017-08-03 22:11                                       ` Shuah Khan
2017-08-03 18:51                                   ` Shuah Khan
2017-08-03 18:51                                     ` Shuah Khan
2017-08-04  1:15                                     ` Theodore Ts'o
2017-08-04  1:15                                       ` Theodore Ts'o
2017-07-07  3:33                 ` Fengguang Wu
2017-07-07  3:33                   ` Fengguang Wu
2017-07-07  4:52                   ` Frank Rowand
2017-07-07  4:52                     ` Frank Rowand
2017-07-05 15:32               ` Greg KH
2017-07-05 15:32                 ` Greg KH
2017-07-05 15:36                 ` Carlos O'Donell
2017-07-05 15:36                   ` Carlos O'Donell
2017-07-05 15:52                 ` Steven Rostedt
2017-07-05 15:52                   ` Steven Rostedt
2017-07-05 18:42                   ` Greg KH
2017-07-05 18:42                     ` Greg KH
2017-07-05 18:29                 ` Daniel Vetter
2017-07-05 18:29                   ` Daniel Vetter
2017-07-06 22:24                 ` Shuah Khan
2017-07-06 22:24                   ` Shuah Khan
2017-07-06 22:32                   ` Steven Rostedt
2017-07-06 22:32                     ` Steven Rostedt
2017-07-06 22:40                     ` Shuah Khan
2017-07-06 22:40                       ` Shuah Khan
2017-07-05 16:54             ` Dan Williams
2017-07-05 16:54               ` Dan Williams
2017-07-05 18:45               ` Greg KH
2017-07-05 18:45                 ` Greg KH
2017-07-05 19:47                 ` Dan Williams
2017-07-05 19:47                   ` Dan Williams
2017-07-05 14:06           ` Carlos O'Donell
2017-07-05 14:06             ` Carlos O'Donell
2017-07-05 15:47         ` Mark Brown
2017-07-05 15:47           ` Mark Brown
2017-07-07  6:15 ` Andrei Vagin

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.