From: Thorsten Leemhuis <linux@leemhuis.info> To: Steven Rostedt <rostedt@goodmis.org> Cc: linux-api@vger.kernel.org, Shuah Khan <shuahkh@osg.samsung.com>, ksummit-discuss@lists.linuxfoundation.org Subject: Re: [Ksummit-discuss] [MAINTAINERS SUMMIT] & [TECH TOPIC] Improve regression tracking Date: Tue, 4 Jul 2017 21:03:22 +0200 [thread overview] Message-ID: <ad94dc65-cc9c-f4f1-27c1-5a48603c7f59@leemhuis.info> (raw) In-Reply-To: <20170703123025.7479702e@gandalf.local.home> On 03.07.2017 18:30, Steven Rostedt wrote: > On Sun, 2 Jul 2017 19:51:43 +0200 > Thorsten Leemhuis <linux@leemhuis.info> wrote: >> * How to get subsystems maintainer involved more in regression tracking >> to better make sure that reported regressions are tracked and not >> forgotten accidentally. > We should push harder for all reproducer tests to be put into > selftests. I try to do that myself [...] > [...] > By adding reproducing tests to selftests, we can easily see what > regressions are still there. > [...] > What is selftests? (Jeopardy answer for all of the above ;-) Sure, writing and running selftests is a good idea. But as you said yourself in the later part of your mail: it won't help much in situations where the kernel (or a selftest) needs to run on a certain hardware or a specific (and maybe rare or complex) configuration. Sadly a lot of the regressions in my recent reports were of this kind afaics :-/ In fact I got the impression that most of the regressions that might get caught by selftests were directly handled by the subsystem maintainer and never made it to me or my reports -- and thus I can't ask maintainers to write selftests. *If* I got better aware of those problems I (a) could make sure they are not forgotten and (b) sooner or later could publicly state something like "hey, you had ten regressions recently in your subsystem where writing a selftest might have been a good idea, but you didn't even write one -- why?" (if we want something like that). > […] >> * 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). Hehe, I maybe left the field "regression tracking" to much here and wandered too far into QA territory. > This wont ever happen (famous last words). Distros want "stable > kernels" with new features. Ha, yes, it's a long shot (and maybe more a vague idea to work towards to). And maybe Debian stable and RHEL will always use the model they use today. But Fedora, rolling release distros (Tumbleweed, Arch, ...), and some others are updating to the latest Linux kernel release every few weeks already and it works fine for them. Maybe we can get Ubuntu and others to follow sooner or later. Sure, for some people a version jump to a major new kernel release will sound crazy, but when Linus introduced the current development scheme a lot of people also said "that will never fly" -- that was 13 years ago now and it works quite well. The situation was similar with Firefox as well. > That's not what stable is about. That afaics (disclaimer: English is not my mother tongue) depends on the interpretation of the word, as it can mean "nothing changes" or "rock solid/reliable" (even when two people have a "stable relationship" it does not mean that nothing changes between them...). >> 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. > Anyway, I know that selftests are not the answer for everything, but > anything that has a way to reproduce a bug should be added to it. Sure, > it may depend on various hardware and/or file systems and different > configs, but if we have a central location to place all bug reproducing > tests (which we do have), then we should utilize it. > When it's in the kernel tree, it will be used much more often. +1 Ciao, Thorsten
WARNING: multiple messages have this Message-ID (diff)
From: Thorsten Leemhuis <linux-rCxcAJFjeRkk+I/owrrOrA@public.gmane.org> To: Steven Rostedt <rostedt-nx8X9YLhiw1AfugRpC6u6w@public.gmane.org> Cc: ksummit-discuss-cunTk1MwBs98uUxBSJOaYoYkZiVZrdSR2LY78lusg7I@public.gmane.org, Shuah Khan <shuahkh-JPH+aEBZ4P+UEJcrhfAQsw@public.gmane.org>, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Subject: Re: [Ksummit-discuss] [MAINTAINERS SUMMIT] & [TECH TOPIC] Improve regression tracking Date: Tue, 4 Jul 2017 21:03:22 +0200 [thread overview] Message-ID: <ad94dc65-cc9c-f4f1-27c1-5a48603c7f59@leemhuis.info> (raw) In-Reply-To: <20170703123025.7479702e-f9ZlEuEWxVcJvu8Pb33WZ0EMvNT87kid@public.gmane.org> On 03.07.2017 18:30, Steven Rostedt wrote: > On Sun, 2 Jul 2017 19:51:43 +0200 > Thorsten Leemhuis <linux-rCxcAJFjeRkk+I/owrrOrA@public.gmane.org> wrote: >> * How to get subsystems maintainer involved more in regression tracking >> to better make sure that reported regressions are tracked and not >> forgotten accidentally. > We should push harder for all reproducer tests to be put into > selftests. I try to do that myself [...] > [...] > By adding reproducing tests to selftests, we can easily see what > regressions are still there. > [...] > What is selftests? (Jeopardy answer for all of the above ;-) Sure, writing and running selftests is a good idea. But as you said yourself in the later part of your mail: it won't help much in situations where the kernel (or a selftest) needs to run on a certain hardware or a specific (and maybe rare or complex) configuration. Sadly a lot of the regressions in my recent reports were of this kind afaics :-/ In fact I got the impression that most of the regressions that might get caught by selftests were directly handled by the subsystem maintainer and never made it to me or my reports -- and thus I can't ask maintainers to write selftests. *If* I got better aware of those problems I (a) could make sure they are not forgotten and (b) sooner or later could publicly state something like "hey, you had ten regressions recently in your subsystem where writing a selftest might have been a good idea, but you didn't even write one -- why?" (if we want something like that). > […] >> * 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). Hehe, I maybe left the field "regression tracking" to much here and wandered too far into QA territory. > This wont ever happen (famous last words). Distros want "stable > kernels" with new features. Ha, yes, it's a long shot (and maybe more a vague idea to work towards to). And maybe Debian stable and RHEL will always use the model they use today. But Fedora, rolling release distros (Tumbleweed, Arch, ...), and some others are updating to the latest Linux kernel release every few weeks already and it works fine for them. Maybe we can get Ubuntu and others to follow sooner or later. Sure, for some people a version jump to a major new kernel release will sound crazy, but when Linus introduced the current development scheme a lot of people also said "that will never fly" -- that was 13 years ago now and it works quite well. The situation was similar with Firefox as well. > That's not what stable is about. That afaics (disclaimer: English is not my mother tongue) depends on the interpretation of the word, as it can mean "nothing changes" or "rock solid/reliable" (even when two people have a "stable relationship" it does not mean that nothing changes between them...). >> 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. > Anyway, I know that selftests are not the answer for everything, but > anything that has a way to reproduce a bug should be added to it. Sure, > it may depend on various hardware and/or file systems and different > configs, but if we have a central location to place all bug reproducing > tests (which we do have), then we should utilize it. > When it's in the kernel tree, it will be used much more often. +1 Ciao, Thorsten
next prev parent reply other threads:[~2017-07-04 19:03 UTC|newest] Thread overview: 144+ messages / expand[flat|nested] mbox.gz Atom feed top 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 [this message] 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
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=ad94dc65-cc9c-f4f1-27c1-5a48603c7f59@leemhuis.info \ --to=linux@leemhuis.info \ --cc=ksummit-discuss@lists.linuxfoundation.org \ --cc=linux-api@vger.kernel.org \ --cc=rostedt@goodmis.org \ --cc=shuahkh@osg.samsung.com \ /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: linkBe 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.