|
|
Subscribe / Log in / New account

Development process issues

By Jonathan Corbet
November 2, 2016

2016 Kernel Summit
The Kernel Summit traditionally includes a session where Linus Torvalds and the assembled developers discuss how the development process is working and whether there are any issues in need of resolution; the 2016 event was no exception. The picture that emerged is one of a process that is working reasonably well and developers who are mostly content. There are always things that can be better, though, especially when it comes to bug tracking.

Linus started off by saying that there are no serious problems that he can see. There are specific subsystems that are occasionally problematic; he shouts at them, and they generally do better. In recent times, he hasn't even had to shout all that often.

One thing that does bother him is developers who send him fixes in the -rc2 or -rc3 time frame for things that never worked in the first place. If something never worked, then the fact that it doesn't work now is not a regression, so the fixes should just wait for the next merge window. Those fixes are, after all, essentially development work. When they arrive he usually accepts them, but it's annoying and adds noise to the process. [Linus
Torvalds] They add to his "are we getting ready for a release?" stress. In general, he said, if a fix applies to a feature that is not currently being used, it should wait for the next development cycle.

Overall, though, he said, things are working smoothly. The largest kernel release ever (measured by the number of commits) is currently in progress. This cycle has been a little painful, but size has nothing to do with it; instead, he ran into a ten-year-old bug that took a lot of work to track down. It is one of those things that happens occasionally, rather than any sort of process issue.

He suggested that one reason for the size of the 4.9 development cycle is the pre-announcement by Greg Kroah-Hartman that it would be a long-term-support release.

When asked if he should be more vocal about the above-mentioned mid-cycle fixes, Linus added that they are not really a huge issue for him. Additionally, some fixes are fine, especially for really new code. For certain areas, such as cellphones that have a short shelf life, it makes sense to push (and fix) drivers aggressively. Laptop support was also mentioned; he would like non-technical users to be able to install Linux on their new laptop that they just bought, so those kind of fixes are welcome almost anytime. But that is not what he's seeing; instead, he sees fixes for enterprise features that, due to the conservative nature of that sector, are not likely to be used for some time yet.

Bugged by Bugzilla

The bulk of the discussion, though, related to the kernel Bugzilla instance hosted on kernel.org. Laura Abbott said that bug reporting is a problem, in that users who report bugs never quite know what kind of response they are going to get. Some subsystem maintainers watch the Bugzilla and respond to issues there; others want nothing to do with it. As a result, users often have a poor experience, and are often subjected to shot-in-the-dark attempts to track down bugs from people who are not closely related to the subsystem in question.

James Bottomley said that the root of the problem is that the Bugzilla has no integration with email, which is the primary means by which kernel developers communicate. Perhaps it's time to look into using a different tool? Al Viro added that he couldn't imagine being paid enough to deal with Bugzilla. Linus said that there are groups that are more accepting and make use of it; they tend to be happy with it. But the rest of the community tends to hate it.

Darren Hart said that the Bugzilla is a good bridge between developers and users. That said, there is not much that he (as the x86 platform maintainer) can do with most of the bugs filed there. He only has five laptops, so he will be unable to reproduce most of the problems that have been reported. Some of the bug reporters can be convinced to move to email, but not all of them will do that. If the Bugzilla goes away, he said, we will lose some useful information.

There was some talk of modifying the Bugzilla to refer users to the appropriate mailing list for their problem. But kernel.org administrator Konstantin Ryabitsev said that he wants to avoid local modifications to Bugzilla if at all possible. Tweaks make the upgrade path much more complicated; he would rather remain "as vanilla as possible." He suggested, instead, that somebody should be hired to do bug triage.

Those upgrades, James said, are contributing to the current problems; the Bugzilla used to have better email integration, but that was lost in an upgrade. Konstantin said there was little alternative; kernel.org lacks the staff to backport security patches into a custom Bugzilla deployment.

Len Brown said that he likes the Bugzilla system well enough. It is not the best tool, but it can be made to work. Staying on top of things helps a lot; the power-management developers have managed to close over 3,000 bugs in recent years. The most important bugs, he said, are the most recent ones. If a developer responds immediately to a bug, there is a good chance of getting useful information back. A month later, it probably isn't going to work. Old bugs should be scrubbed aggressively; if a reporter doesn't reply to requests for information, the bug should just be closed. That keeps the list short and manageable.

The Bugzilla is a good place to collect ancillary information (such as screen shots) from bug reporters. Some developers said that email works well for that, but Linus said he would much rather deal with Bugzilla than try to fish through email archives for information. Len also said that it's generally not a good idea to put the best developers on Bugzilla duty. Instead, put a new developer there; it's a good opportunity for them to learn, and for everybody else to see how they work.

Linus said that he gets emails from the Bugzilla, and that he thinks it works OK much of the time. Many bug reports start in distribution bug trackers, though. So one ends up hopping through various links in different trackers; it is a painful process and he hates it. In the end, he would rather not see the Bugzilla be the primary bug tracking system for the kernel.

James asked if the kernel needed a dedicated person for bug management. Len replied that it would take somebody who is really good; such a person could also be a subsystem maintainer. What's really needed, he said, is a community to take on this task. Ted Ts'o said that a "bug ombudsperson team" would be a good thing to have, but it would need to be prepared to grow; as they get better at dealing with bugs, usage of the bug tracker will go up. He expressed doubts that this kind of work could be funded, it is hard to put together a business case for it. Konstantin suggested that perhaps Core Infrastructure Initiative (CII) funds could be found for kernel-bug management.

Len said that it would be nice to augment the Bugzilla to obtain other relevant information, such as the kernel version the user is running. Ben Hutchings noted that Debian's reportbug tool can run package-specific scripts to obtain the needed information. Laura added that Fedora's automatic bug reporting has useful information, but is very noisy. The best reports, she said, come directly from users who took the time to prepare them.

There was talk of eliminating the kernel's Bugzilla entirely. One approach would be to direct users to their distribution's trackers; that would not be helpful for users running mainline kernels, though. An alternative would be to replace it with a set of subsystem-specific trackers for the subsystems that are interested. The problem there, though, is that the relevant subsystem often changes as a bug is understood; moving an entry between separate trackers would be painful.

Konstantin said that kernel.org will soon be upgrading to Bugzilla 5; it is fairly different, he said, with a nicer user interface. He suggested doing that upgrade first, then perhaps seeking an intern from CII. Then, at least, we would get to a point where users who file bugs will see a response. And that was more or less how the session closed; the next step will be to see how the upgrade of the kernel's Bugzilla goes.

Index entries for this article
ConferenceKernel Summit/2016


to post comments

Development process issues

Posted Nov 3, 2016 14:05 UTC (Thu) by jani (subscriber, #74547) [Link]

> An alternative would be to replace it with a set of subsystem-specific trackers for
> the subsystems that are interested. The problem there, though, is that the relevant
> subsystem often changes as a bug is understood; moving an entry between separate
> trackers would be painful.

In the drm subsystem, bugs get reassigned between kernel and user space more often than between kernel components. Thus we prefer bug reports at https://bugs.freedesktop.org/ over https://bugzilla.kernel.org/ to avoid moving between trackers.

Development process issues

Posted Nov 3, 2016 17:17 UTC (Thu) by egrumbach (guest, #93802) [Link]

As iwlwifi maintainer, I use bugzilla.kernel.org a lot. We often ask people on the mailing list to open a bug for better tracking. This allows to have all the related logs in one place etc...
Having bugs in bugzilla allowed me to track and list the bugs which is crucial to convince management to allocate time for bugs that come from the community.
I really try to avoid working on OSV's bug tracker because it consumes a lot of times and mostly because I can't control the release process there. To us, it would be sad to see bugzilla.kernel.org going...

Development process issues

Posted Nov 4, 2016 0:53 UTC (Fri) by viro (subscriber, #7872) [Link] (1 responses)

A bit of clarification/context: what I said was that I won't use kernel bugzilla, that I'm not paid for using that thing and frankly, can't imagine being possibly paid enough for that.

Dealing with RH instance of bugzilla is unpleasant enough, but using that for upstream work as well? Hell, no. email can be comfortably used offline; that thing, on top of a generally atrocious interface, cannot.

Development process issues

Posted Nov 4, 2016 11:54 UTC (Fri) by jani (subscriber, #74547) [Link]

Clearly one size doesn't fit all here. I think subsystems/drivers should be free to use whichever method to track bugs they feel suits them best. That's just fine. I'm suggesting (akpm picked the patch up, maybe it sticks) to add a new "B:" tag to MAINTAINERS to identify the preferred method of filing bugs, so the bug reporters at least have a chance to get it right.

Development process issues

Posted Nov 7, 2016 14:51 UTC (Mon) by gerv (guest, #3376) [Link] (7 responses)

It's kind of depressing that they work through an entire conversation about the supposed shortcomings of Bugzilla without, you know, inviting the Bugzilla developers to join the discussion.

Bugzilla *does* have email integration out of the box, in that it sends out email about changes and, if you set it up, you can email back your responses and additional changes. There is no need for additional security patches - or, if there is, we'd like to know about them!

Bugzilla supports the concept of extensions, which would allow changes like the proposed ones to be made without significantly complicating the upgrading process. Although I note that the kernel Bugzilla is still running 4.4.6, which is six point releases behind the latest 4.4 release (4.4.12), released in May. So it seems like the plan to make upgrades easy by not changing the software at all doesn't actually lead to them happening in a timely fashion. Still, an upgrade to 5.0 is planned, so that's good.

The Bugzilla team are easy to find (https://www.mozilla.org/about/forums/#support-bugzilla) and are happy to help with any questions the maintainers have.

Gerv

Bugzilla

Posted Nov 7, 2016 17:13 UTC (Mon) by corbet (editor, #1) [Link] (6 responses)

It would have been kind of hard to invite the Bugzilla developers to an unplanned discussion that came up spontaneously.

Bugzilla

Posted Nov 7, 2016 17:24 UTC (Mon) by gerv (guest, #3376) [Link] (5 responses)

But no-one said "Hey, if we have these problems, why not file bug reports, or ask the authors of the software about them"?

Bugzilla

Posted Nov 7, 2016 20:34 UTC (Mon) by bronson (subscriber, #4806) [Link] (4 responses)

Did you see "the [Kernel] Bugzilla used to have better email integration, but that was lost in an upgrade"? That seems like a great place to start!

Why not file bug reports you ask? Because that takes effort and often results in yet-another-ignored-bug. For some projects, it just isn't a good use of time. I don't know how responsive the Bugzilla team is now but I sure felt that way back in the mid-2000s.

Also, I must say, trying to browse https://bugzilla.mozilla.org for Bugzilla issues is just exhausting. Why is it always forgetting the product I'm interested in, even if I just click a tab? Why is it that producing useful results always seems to require filling out a giant HTML form with absurdly large select lists? Why is it that the results never seem to be ordered by relevancy so I'm always scrolling and paging?

Sorry, that got a little long. Hope it helps answer the question though?

Bugzilla

Posted Nov 7, 2016 20:49 UTC (Mon) by excors (subscriber, #95769) [Link] (1 responses)

> Why is it that producing useful results always seems to require filling out a giant HTML form with absurdly large select lists?

Have you seen the quicksearch feature (https://bugzilla.mozilla.org/page.cgi?id=quicksearch.html)? It took me years to discover that existed, but it seems a lot less painful than the advanced search form - you can type in stuff like "ALL product:bugzilla summary:email creation_ts>=-1y" and do reasonably complicated queries.

Bugzilla

Posted Nov 7, 2016 22:28 UTC (Mon) by bronson (subscriber, #4806) [Link]

Thanks! I haven't used Bugzilla much in the past 8 years (so I feel a little sheepish even taking part in this discussion) but I'll remember that.

Looks like typeahead completion would be a great feature there.

Bugzilla

Posted Nov 7, 2016 21:15 UTC (Mon) by pizza (subscriber, #46) [Link] (1 responses)

> Why not file bug reports you ask? Because that takes effort and often results in yet-another-ignored-bug. For some projects, it just isn't a good use of time.

That's a particularly ironic statement to make in a discussion about possibly requiring the creation of tickets in order to submit patches to Linux.

Just saying...

Bugzilla

Posted Nov 7, 2016 22:23 UTC (Mon) by bronson (subscriber, #4806) [Link]

I like it. But there's a difference... If you already wrote the patch, creating a ticket for it shouldn't take more than an hour of writing (and probably a lot less). Doesn't seem like too a big a deal for the stable kernel series.

Isolating, checking for dupes, and filing new issues requires quite a bit more effort.

Filing an issue on the Kernel Bugzilla is probably even more likely to be ignored than on Bugzilla's Bugzilla. There's some irony or mild hypocrisy there too! But I think the Bugzilla teams can take care of it.

Development process issues

Posted Nov 17, 2016 21:49 UTC (Thu) by mcortese (guest, #52099) [Link]

He suggested that one reason for the size of the 4.9 development cycle is the pre-announcement by Greg Kroah-Hartman that it would be a long-term-support release.

I though 4.10 was the one supposed to get the long-term support. At least, that's what I had understood from this LWN article:

The Debian "Stretch" release isn't expected for more than a year, but it just has been pushed back a couple of months, with the full freeze now scheduled for February 5 of next year. The reason is to be able to ship with the first kernel of the year (expected to be 4.10) that, by current plans, should be a long-term support release.


Copyright © 2016, Eklektix, Inc.
This article may be redistributed under the terms of the Creative Commons CC BY-SA 4.0 license
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds