Return to Video

meetings-archive.debian.net/.../Bug_triaging_and_bug_closing_by_Solveig.webm

  • 0:02 - 0:03
    Hi
  • 0:05 - 0:07
    thanks to be here and
  • 0:07 - 0:10
    I hope some of you will find it interesting but
  • 0:10 - 0:13
    most of you already
  • 0:13 - 0:14
    know it, probably
  • 0:14 - 0:16
    So, that's a talk about
  • 0:16 - 0:19
    bug triaging and closing.
  • 0:20 - 0:23
    I'm Solveig, here are my contact info.
  • 0:27 - 0:30
    I use free software since
  • 0:30 - 0:32
    ten years and
  • 0:33 - 0:36
    I focus especially on
  • 0:36 - 0:38
    privacy issues
  • 0:40 - 0:42
    I contribute to Tails
  • 0:42 - 0:45
    which is a Debian derivative
  • 0:46 - 0:47
    and
  • 0:49 - 0:53
    I went to last DebConf and enjoyed it very much
  • 0:53 - 0:55
    and started triaging bugs
  • 0:55 - 0:56
    because I'm no
  • 0:57 - 0:58
    coder, but
  • 0:58 - 1:01
    there are many ways to contribute to Debian
  • 1:02 - 1:05
    So, bug triaging
  • 1:05 - 1:07
    It's
  • 1:07 - 1:11
    a very small task but it helps Debian as a whole
  • 1:12 - 1:14
    So, on the
  • 1:16 - 1:19
    So, that's where you can see
  • 1:20 - 1:24
    the Debian bug tracking system, where, here
  • 1:25 - 1:30
    you can enter a bug number and search for it by number
  • 1:33 - 1:37
    Lots of maintainers have lots of work and don't
  • 1:38 - 1:40
    deal with all their bug reports
  • 1:42 - 1:45
    Some high popularity
  • 1:46 - 1:47
    packages
  • 1:47 - 1:50
    get a lot of bug reports
  • 1:50 - 1:52
    like the kernel, or
  • 1:52 - 1:54
    firefox (iceweasel)
  • 1:54 - 1:56
    and
  • 1:56 - 1:58
    sometimes
  • 1:58 - 2:03
    maintainers, for any reason, don't have time to deal with all their bug reports
  • 2:03 - 2:06
    So, some of them just
  • 2:06 - 2:09
    hang out in the bug tracking system without
  • 2:11 - 2:14
    being dealt with
  • 2:15 - 2:16
    So,
  • 2:16 - 2:18
    when you
  • 2:18 - 2:20
    triage them,
  • 2:20 - 2:24
    you make sure that they are in a state where
  • 2:24 - 2:26
    something can be done with them
  • 2:27 - 2:29
    It's
  • 2:31 - 2:34
    The maintainers are sure they have up to date
  • 2:35 - 2:37
    bug reports, so that they
  • 2:38 - 2:40
    see better what they can do
  • 2:40 - 2:41
    and
  • 2:42 - 2:44
    the users searching for
  • 2:44 - 2:46
    bugs similar to theirs
  • 2:46 - 2:48
    can find them
  • 2:49 - 2:52
    and so the maintainers have more time to
  • 2:53 - 2:56
    fix actually those that they can fix
  • 2:58 - 2:59
    and
  • 3:00 - 3:02
    you want to triage bugs
  • 3:02 - 3:04
    because it's easy
  • 3:04 - 3:05
    you don't need to code
  • 3:05 - 3:08
    you don't need to do system administration
  • 3:09 - 3:11
    you just need to know how to read
  • 3:11 - 3:12
    and write e-mails
  • 3:13 - 3:14
    [laughter]
  • 3:16 - 3:18
    It's rewarding, because
  • 3:18 - 3:20
    maintainers, most of them,
  • 3:20 - 3:22
    are really happy when you help them
  • 3:25 - 3:27
    Submitters also
  • 3:28 - 3:31
    are glad to be pinged about their bugs, so
  • 3:32 - 3:35
    you got lots of nice feedback
  • 3:36 - 3:37
    and it's fun
  • 3:37 - 3:39
    you read about
  • 3:39 - 3:43
    software you have no idea it did exist
  • 3:43 - 3:46
    you don't get,
  • 3:46 - 3:48
    even after reading, what they're supposed to do
  • 3:48 - 3:51
    and you really don't undersand while somebody
  • 3:51 - 3:52
    coded them
  • 3:52 - 3:53
    That's
  • 3:55 - 3:56
    crazy, that's
  • 3:56 - 3:58
    [laughter]
  • 3:59 - 4:01
    and, of course, it saves kittens
  • 4:04 - 4:09
    [applause]
  • 4:10 - 4:13
    There are many different
  • 4:13 - 4:15
    operations you can perform
  • 4:15 - 4:17
    on the bug reports
  • 4:20 - 4:22
    Those are two of the
  • 4:22 - 4:24
    most useful
  • 4:24 - 4:26
    documentation pages
  • 4:27 - 4:30
    the wiki page about bug triage
  • 4:30 - 4:33
    and the server control commands
  • 4:33 - 4:35
    which are quite
  • 4:35 - 4:38
    exotic, I mean, that's a huge page
  • 4:38 - 4:40
    with many commands to send to the
  • 4:41 - 4:43
    server control and
  • 4:45 - 4:47
    really lots of things to do, to tell them
  • 4:48 - 4:52
    the most useful for the
  • 4:52 - 4:54
    Well, those are highly used
  • 4:56 - 4:57
    You can
  • 4:57 - 4:59
    try to reproduce bug reports
  • 5:01 - 5:03
    I'm going to detail afterwards
  • 5:03 - 5:08
    You can tag bug reports when they are unreproducible
  • 5:08 - 5:10
    you can merge bugs
  • 5:10 - 5:12
    forward them upstream
  • 5:13 - 5:15
    and deal with upstream
  • 5:16 - 5:18
    and deal with submitters
  • 5:20 - 5:21
    and, I nearly forgot, you can
  • 5:21 - 5:24
    close bugs, which is really the best part
  • 5:26 - 5:28
    So, reproducing them
  • 5:29 - 5:33
    Sometimes, you get bug reports that have not been touched in years
  • 5:34 - 5:34
    and
  • 5:36 - 5:39
    probably they are fixed, or maybe not, but
  • 5:40 - 5:41
    in doubt
  • 5:41 - 5:44
    it will probably just wait there and nobody will
  • 5:45 - 5:47
    touch the bug report because
  • 5:48 - 5:50
    there's a high probability it doesn't apply anymore
  • 5:50 - 5:53
    so you can test if it still applies
  • 5:56 - 5:58
    There are also new bug reports
  • 5:58 - 6:01
    that are only one person reported
  • 6:01 - 6:03
    so, if they're not tagged
  • 6:04 - 6:05
    "confirmed"
  • 6:06 - 6:08
    or "pending"
  • 6:08 - 6:10
    and if you can
  • 6:10 - 6:12
    [mic out of battery]
  • 6:34 - 6:37
    If new bug reports have been confirmed yet,
  • 6:37 - 6:39
    you can
  • 6:39 - 6:42
    try and see if you can reproduce them
  • 6:43 - 6:45
    and if yes, confirm them
  • 6:46 - 6:48
    If you can reproduce
  • 6:48 - 6:50
    old bugs or new bugs
  • 6:50 - 6:52
    not confirmed yet
  • 6:52 - 6:54
    then you write to "nnn"
  • 6:54 - 6:57
    so, that's for the bug number
  • 6:57 - 7:00
    @bugs.debian.org
  • 7:00 - 7:01
    and tag them
  • 7:02 - 7:05
    That's the first of the strange commands
  • 7:05 - 7:07
    So, "found" the number of the bug
  • 7:14 - 7:15
    version number
  • 7:18 - 7:20
    you confirm which version
  • 7:20 - 7:22
    and you tag it
  • 7:22 - 7:24
    "confirmed", and "thanks", because
  • 7:24 - 7:26
    server control is very polite
  • 7:26 - 7:28
    so if you don't thank it
  • 7:28 - 7:30
    each time you
  • 7:30 - 7:32
    make a command, it's upset
  • 7:39 - 7:41
    Another way to
  • 7:41 - 7:43
    triage a bug is to
  • 7:44 - 7:46
    try to reproduce it
  • 7:46 - 7:49
    and, let's say it didn't work
  • 8:00 - 8:04
    If you can't reproduce it and it's fixed
  • 8:04 - 8:07
    then we'll see later you can close it
  • 8:08 - 8:10
    If you can't reproduce it but
  • 8:10 - 8:11
    you're not sure it's fixed
  • 8:11 - 8:13
    because maybe it's because you don't have the same
  • 8:13 - 8:15
    configuration as the submitter
  • 8:15 - 8:16
    or
  • 8:16 - 8:18
    maybe you didn't
  • 8:18 - 8:21
    you're not sure you followed the same steps
  • 8:21 - 8:22
    to
  • 8:22 - 8:24
    try it
  • 8:24 - 8:26
    If you're not sure, then you
  • 8:26 - 8:28
    tag "unreproducible"
  • 8:28 - 8:30
    or "moreinfo"
  • 8:31 - 8:33
    and it
  • 8:33 - 8:35
    lets the submitter know
  • 8:35 - 8:37
    and the maintainer that
  • 8:38 - 8:40
    not everybody finds the bug
  • 8:41 - 8:43
    which can be an information
  • 8:45 - 8:48
    Sometimes, you could have to merge them
  • 8:48 - 8:51
    that's especially true for the new bugs because
  • 8:53 - 8:56
    it's where they stay forever
  • 8:56 - 8:58
    duplicates
  • 9:01 - 9:02
    That's
  • 9:05 - 9:07
    Putting them on the same package
  • 9:07 - 9:09
    and with the same severity and state is
  • 9:09 - 9:10
    different operations
  • 9:10 - 9:13
    it's detailed in the documentation
  • 9:14 - 9:15
    and, at the end, you
  • 9:15 - 9:17
    merge
  • 9:17 - 9:18
    That's funny
  • 9:19 - 9:22
    All the messages are gonna be
  • 9:23 - 9:24
    put together, so
  • 9:25 - 9:27
    sometimes you have to search for a while, and
  • 9:28 - 9:30
    there can be more than two bugs
  • 9:31 - 9:31
    fusionned
  • 9:31 - 9:33
    So, sometimes it's really
  • 9:33 - 9:35
    not fusionned, merged
  • 9:36 - 9:37
    After a while, sometimes there can be
  • 9:37 - 9:39
    three or four
  • 9:39 - 9:40
    if people
  • 9:40 - 9:42
    keep opening the same one
  • 9:43 - 9:45
    So, that's sometimes funny
  • 9:46 - 9:49
    An other way is to report,
  • 9:49 - 9:52
    to forward reports upstream
  • 9:52 - 9:53
    because
  • 9:53 - 9:56
    Debian is mainly packages
  • 9:57 - 10:00
    that are not developped for Debian but upstream
  • 10:00 - 10:02
    and only Debian packaged
  • 10:02 - 10:04
    so, if there's a bug
  • 10:04 - 10:06
    occurring in Debian,
  • 10:06 - 10:08
    in most cases it occurs
  • 10:08 - 10:09
    upstream
  • 10:10 - 10:12
    so you can search
  • 10:12 - 10:14
    the upstream bug tracker to see
  • 10:14 - 10:16
    if they have similar reports
  • 10:18 - 10:19
    If they do
  • 10:19 - 10:21
    sometimes they also have
  • 10:21 - 10:23
    a workaround or
  • 10:24 - 10:26
    sometimes
  • 10:27 - 10:29
    upstream says they won't fix it
  • 10:29 - 10:32
    because they don't consider it a bug or
  • 10:37 - 10:38
    When it's the case, then
  • 10:40 - 10:42
    the information should be
  • 10:42 - 10:45
    put in the Debian
  • 10:45 - 10:47
    bugtracker
  • 10:48 - 10:49
    and
  • 10:56 - 10:57
    if
  • 10:57 - 11:01
    the bug already exists in upstream, then
  • 11:01 - 11:03
    Debian bug tracker should know it
  • 11:03 - 11:05
    so you have to tell it to the BTS
  • 11:10 - 11:12
    That's also a command, I
  • 11:12 - 11:14
    fucked my
  • 11:16 - 11:18
    the way to show it, but, ok
  • 11:18 - 11:19
    that's the command
  • 11:19 - 11:22
    so, "forwarded", the bug number
  • 11:22 - 11:23
    in Debian
  • 11:23 - 11:26
    and the bug number upstream
  • 11:27 - 11:30
    and "thanks" again, because it's always polite
  • 11:31 - 11:35
    There are other things you can do with upstream
  • 11:35 - 11:37
    Sometimes
  • 11:37 - 11:39
    they don't have the bug report
  • 11:39 - 11:40
    but it's
  • 11:40 - 11:42
    obviously a bug of them
  • 11:43 - 11:44
    so
  • 11:45 - 11:46
    if you can reproduce
  • 11:46 - 11:48
    the bug, you should
  • 11:48 - 11:50
    open a bug upstream
  • 11:50 - 11:52
    which is
  • 11:52 - 11:54
    most of the time a pain in the ass
  • 11:54 - 11:57
    because you have to register an account
  • 11:57 - 11:59
    or find
  • 11:59 - 12:01
    their bug tracker or any way
  • 12:03 - 12:03
    That's fun
  • 12:09 - 12:12
    So, it saves time to the maintainer
  • 12:12 - 12:14
    and the submitter
  • 12:14 - 12:19
    sees more chances to see it solved at some point also
  • 12:21 - 12:22
    If you open
  • 12:22 - 12:25
    the bug in the upstream bug tracker and you
  • 12:25 - 12:26
    have to do
  • 12:26 - 12:30
    to mark it as forwarded as we just saw
  • 12:32 - 12:35
    Sometimes, upstream says it's fixed
  • 12:35 - 12:37
    and then you should
  • 12:38 - 12:41
    say to Debian bug tracker that it's fixed upstream
  • 12:44 - 12:47
    you have to say in which version
  • 12:48 - 12:49
    and
  • 12:50 - 12:52
    maybe the maintainer will update
  • 12:52 - 12:54
    his package to
  • 12:55 - 12:58
    give the fixed version
  • 13:02 - 13:04
    and sometimes there's a patch upstream
  • 13:04 - 13:05
    that has not been applied
  • 13:05 - 13:07
    so you can also review
  • 13:07 - 13:10
    and/or test it
  • 13:11 - 13:14
    and tell them if it works
  • 13:14 - 13:16
    or not
  • 13:19 - 13:20
    If it works
  • 13:20 - 13:22
    you can also
  • 13:23 - 13:27
    bring it to the Debian bug tracking system and
  • 13:27 - 13:29
    tag the bug "patch"
  • 13:32 - 13:35
    There's also work with submitters
  • 13:38 - 13:41
    there's a high percentage of bugs
  • 13:41 - 13:43
    that are tagged "moreinfo"
  • 13:43 - 13:45
    Somebody
  • 13:45 - 13:46
    told us
  • 13:46 - 13:49
    "It doesn't work" and
  • 13:49 - 13:52
    we need to know how it doesn't work
  • 13:55 - 13:56
    Sometimes
  • 13:58 - 14:01
    there has been a new version packaged
  • 14:01 - 14:05
    and maybe the bug occurs, maybe not
  • 14:05 - 14:06
    you have to know
  • 14:07 - 14:08
    or somebody said
  • 14:08 - 14:11
    "I'll test with this version or this setup"
  • 14:11 - 14:15
    and/or say "I'll report it upstream" and
  • 14:16 - 14:17
    nothing happened
  • 14:27 - 14:28
    and sometimes
  • 14:28 - 14:30
    it stays in this
  • 14:30 - 14:32
    "waiting for information" situation
  • 14:32 - 14:34
    for a long time
  • 14:34 - 14:36
    I wrote
  • 14:36 - 14:38
    a year or a release
  • 14:38 - 14:40
    because that's what I consider
  • 14:40 - 14:41
    starting being a long time
  • 14:41 - 14:44
    I found some, I closed some that were
  • 14:44 - 14:47
    not touched since more than ten years, that's
  • 14:48 - 14:49
    record
  • 14:51 - 14:52
    You can help
  • 14:52 - 14:55
    you can send an e-mail to the
  • 14:56 - 14:57
    person whose input is needed
  • 14:57 - 14:59
    so, sometimes
  • 14:59 - 15:01
    the submitter, sometimes the
  • 15:01 - 15:04
    maintainer, sometimes upstream
  • 15:04 - 15:05
    sometimes
  • 15:06 - 15:07
    somebody else
  • 15:09 - 15:11
    saying
  • 15:11 - 15:12
    "You said you would do that" or
  • 15:12 - 15:14
    "Can you still reproduce it?"
  • 15:15 - 15:17
    because
  • 15:17 - 15:20
    so that the bug report become
  • 15:21 - 15:24
    gets in a state where we see
  • 15:24 - 15:25
    what's the current status and
  • 15:25 - 15:27
    what should be done
  • 15:29 - 15:31
    So, the tricky part is
  • 15:31 - 15:32
    don't
  • 15:32 - 15:34
    close random bugs
  • 15:37 - 15:39
    As we'll see later, it can be dangerous
  • 15:44 - 15:46
    You can search for packages
  • 15:46 - 15:48
    that have a lot of bug reports
  • 15:48 - 15:51
    and ask the maintainer if
  • 15:51 - 15:53
    help is welcome, or
  • 15:53 - 15:55
    you can find a nice team
  • 15:56 - 15:59
    Debian is centered with
  • 16:00 - 16:02
    composed of plenty of teams
  • 16:02 - 16:04
    Most of them are really welcoming
  • 16:04 - 16:06
    to new contributors
  • 16:06 - 16:07
    because they need help
  • 16:08 - 16:09
    and
  • 16:09 - 16:11
    those I met are nice
  • 16:15 - 16:17
    and in a team, you're sure there's
  • 16:17 - 16:19
    plenty of packages, so
  • 16:19 - 16:21
    plenty of bugs to triage
  • 16:21 - 16:23
    and people to answer questions
  • 16:25 - 16:26
    I've
  • 16:26 - 16:28
    triaged bugs from
  • 16:28 - 16:30
    perl team, games team
  • 16:30 - 16:31
    X strike force
  • 16:31 - 16:32
    they're all very nice
  • 16:32 - 16:34
    I recommend them to you
  • 16:36 - 16:37
    I
  • 16:38 - 16:40
    tried, but I didn't get
  • 16:40 - 16:42
    really understood anything, but
  • 16:42 - 16:44
    if you do understand anything
  • 16:45 - 16:46
    kernel bugs
  • 16:46 - 16:47
    need work too
  • 16:51 - 16:55
    On the documentation about bug triage
  • 16:55 - 16:57
    I added a section about
  • 16:57 - 16:59
    teams that welcome help
  • 16:59 - 17:01
    So, if you're in a team
  • 17:01 - 17:03
    that needs triaging, add yourself there
  • 17:05 - 17:06
    If you want to triage
  • 17:06 - 17:08
    look there
  • 17:08 - 17:10
    who wants help
  • 17:11 - 17:13
    and you don't need to understand
  • 17:13 - 17:15
    anything about what they do to
  • 17:15 - 17:16
    triage there bugs
  • 17:16 - 17:17
    I mean,
  • 17:17 - 17:19
    Perl... I don't code
  • 17:19 - 17:21
    so Perl is... and
  • 17:21 - 17:23
    X strike force is like
  • 17:23 - 17:25
    not really written in english
  • 17:25 - 17:26
    but
  • 17:27 - 17:28
    Ok, games, I could
  • 17:28 - 17:30
    try to reproduce them
  • 17:30 - 17:32
    some of them
  • 17:32 - 17:33
    the others, really not, but
  • 17:33 - 17:35
    sometime, you really can see the status
  • 17:35 - 17:38
    of a bug without understanding what it's about
  • 17:40 - 17:42
    You see that if somebody asked
  • 17:42 - 17:43
    for info a year ago,
  • 17:43 - 17:45
    it has to be pinged
  • 17:45 - 17:46
    or
  • 17:46 - 17:49
    considered that there's not gonna be any
  • 17:49 - 17:51
    even if you don't understand what the bug is
  • 17:51 - 17:53
    you can see what the status
  • 17:53 - 17:54
    of the bug is
  • 17:57 - 17:59
    A fabulous tool
  • 17:59 - 18:03
    is ultimate Debian database bug search
  • 18:08 - 18:10
    It looks like this
  • 18:15 - 18:16
    Please ignore that
  • 18:17 - 18:18
    So, you select
  • 18:19 - 18:20
    which version
  • 18:22 - 18:25
    you can add many filters
  • 18:26 - 18:27
    bug types
  • 18:27 - 18:30
    Well, actually it also includes the teams here
  • 18:32 - 18:34
    and when you're done, you search
  • 18:36 - 18:37
    That's
  • 18:37 - 18:39
    really useful
  • 18:47 - 18:48
    As you see, my
  • 18:48 - 18:50
    it doesn't look like it should
  • 18:55 - 18:59
    Criteria for bugs that have been lost
  • 19:00 - 19:02
    If you ignore those that have been touched
  • 19:02 - 19:04
    or created in the last year
  • 19:05 - 19:06
    and you select
  • 19:06 - 19:09
    either "wontfix" or "moreinfo"
  • 19:09 - 19:11
    or "upstream" or "unreproducible"
  • 19:15 - 19:17
    then you choose a team
  • 19:17 - 19:18
    and
  • 19:19 - 19:21
    you're gonna find lots of lost bugs
  • 19:21 - 19:23
    then you can start reading them
  • 19:23 - 19:25
    and see what's their status
  • 19:31 - 19:33
    If they are unreproducible
  • 19:38 - 19:39
    if the bug
  • 19:40 - 19:42
    has been fixed, actually
  • 19:42 - 19:43
    Well,
  • 19:43 - 19:46
    either the new version fixes the bug or
  • 19:48 - 19:49
    Anyway, the bug has been fixed
  • 19:49 - 19:52
    because it's a configuration thing anyway
  • 19:52 - 19:54
    it doesn't happen anymore
  • 19:57 - 19:58
    you can close it
  • 19:58 - 20:01
    So, that's the bug number again
  • 20:02 - 20:04
    "done@bugs.debian.org"
  • 20:05 - 20:07
    and you have to put
  • 20:07 - 20:09
    in which version it has been fixed
  • 20:09 - 20:11
    so, maybe it has been fixed
  • 20:11 - 20:13
    in the meantime
  • 20:13 - 20:15
    but, at least, say
  • 20:16 - 20:18
    "this current version, I'm sure it's fixed"
  • 20:19 - 20:22
    so that the BTS knows
  • 20:22 - 20:24
    which version it affects and
  • 20:24 - 20:27
    most of all, which versions are not affected
  • 20:30 - 20:33
    There's a nice documentation page about that
  • 20:35 - 20:37
    closing bug reports is only
  • 20:37 - 20:38
    sending one e-mail to
  • 20:38 - 20:40
    "done@bugs.debian.org"
  • 20:46 - 20:50
    That was for "unreproducible"
  • 20:50 - 20:52
    Ok, "moreinfo" or "wontfix"
  • 20:53 - 20:54
    For those
  • 20:54 - 20:56
    you have to make sure with a team
  • 20:56 - 20:57
    or the maintainer what
  • 20:57 - 20:59
    is there policy, because
  • 20:59 - 21:01
    some people want to keep them all
  • 21:01 - 21:04
    open forever
  • 21:07 - 21:10
    and some "wontfix" should
  • 21:10 - 21:12
    anyway stay open because
  • 21:12 - 21:14
    if there are functionalities or
  • 21:14 - 21:16
    bugs that are
  • 21:16 - 21:18
    often requested, then
  • 21:18 - 21:20
    it would be silly to close it
  • 21:20 - 21:23
    then have somebody reopen it soon
  • 21:24 - 21:25
    but, lots of
  • 21:25 - 21:28
    bugs that are tagged "moreinfo"
  • 21:28 - 21:30
    and never got info back
  • 21:30 - 21:32
    or are tagged "wontfix"
  • 21:34 - 21:37
    should just be closed because there's no work
  • 21:37 - 21:39
    that's gonna happen to them
  • 21:41 - 21:44
    There are no
  • 21:44 - 21:47
    guidelines on the documentation about that
  • 21:47 - 21:49
    so I decided arbitrarily
  • 21:49 - 21:51
    one year after
  • 21:51 - 21:54
    the submitter was pinged and didn't answer
  • 21:58 - 21:59
    we could maybe consider that
  • 21:59 - 22:01
    missing submitter
  • 22:01 - 22:04
    Maybe it could be shorter, but
  • 22:05 - 22:08
    People could be angry also because it's also
  • 22:08 - 22:11
    great contribution to report bugs and that should
  • 22:11 - 22:13
    not be deleted
  • 22:13 - 22:14
    lightly
  • 22:17 - 22:19
    If you're sure that the bug is
  • 22:19 - 22:21
    really no use to anyone
  • 22:21 - 22:23
    then, just the same
  • 22:23 - 22:25
    number "-done"
  • 22:26 - 22:29
    with the explanation, of course
  • 22:30 - 22:31
    So, an example
  • 22:33 - 22:35
    We're gonna do the search
  • 22:35 - 22:36
    "wontfix"
  • 22:38 - 22:40
    not touched in the last year, perl
  • 22:47 - 22:48
    Include "wontfix"
  • 22:55 - 22:56
    ignore
  • 22:58 - 23:00
    created or modified in the last
  • 23:00 - 23:02
    year or so
  • 23:03 - 23:06
    and let's see those of the perl team
  • 23:24 - 23:25
    All those bugs
  • 23:25 - 23:28
    from different packages
  • 23:28 - 23:29
    but they're all
  • 23:30 - 23:33
    they all respond to the same criteria
  • 23:33 - 23:36
    and we can sort them
  • 23:36 - 23:38
    by the last time they were modified
  • 23:40 - 23:44
    lots of them have been forgotten for some years
  • 23:46 - 23:48
    and, well, the
  • 23:49 - 23:52
    next step is to start reading the reports
  • 23:54 - 23:56
    since I did prepare a little bit
  • 23:56 - 23:57
    even if not much
  • 23:58 - 24:00
    I selected one, so
  • 24:00 - 24:02
    there's one that can be read
  • 24:03 - 24:05
    and I won't read it
  • 24:05 - 24:07
    completely with you today, but
  • 24:09 - 24:11
    you see that
  • 24:11 - 24:13
    the conclusion is
  • 24:13 - 24:16
    upstream considered it's not a bug
  • 24:17 - 24:18
    it was told in
  • 24:18 - 24:20
    2010
  • 24:20 - 24:21
    so
  • 24:22 - 24:24
    there has been time
  • 24:24 - 24:26
    to let people know
  • 24:26 - 24:29
    [laughter]
  • 24:30 - 24:33
    and it's closed upstream
  • 24:33 - 24:36
    so, that's the bug report upstream
  • 24:36 - 24:38
    where upstream says
  • 24:38 - 24:41
    "It does according to the man page"
  • 24:42 - 24:43
    "closing"
  • 24:43 - 24:45
    So, upstream closed it
  • 24:46 - 24:48
    we should do the same
  • 24:48 - 24:50
    So, I did it
  • 24:50 - 24:52
    and I
  • 24:52 - 24:54
    won't show you now, so I
  • 24:58 - 25:00
    sent this e-mail
  • 25:00 - 25:02
    just before I came in
  • 25:04 - 25:07
    to -done
  • 25:07 - 25:08
    subject:
  • 25:11 - 25:13
    we use a bug
  • 25:13 - 25:15
    report
  • 25:15 - 25:17
    subject, so that people
  • 25:17 - 25:19
    know what it's about
  • 25:19 - 25:21
    and I precise that I'm closing it
  • 25:21 - 25:24
    and then, that's my standard message
  • 25:28 - 25:30
    "Hi, I'm closing this bug since it was
  • 25:30 - 25:32
    tagged unreproducible for some
  • 25:32 - 25:33
    years without answer
  • 25:33 - 25:35
    If you have new reasons to point
  • 25:35 - 25:38
    out this problem, please feel free
  • 25:38 - 25:40
    to reopen or ask me to do it"
  • 25:41 - 25:43
    That's because not all submitters
  • 25:43 - 25:46
    know all the subtleties
  • 25:46 - 25:48
    of the control server
  • 25:48 - 25:50
    and not all of them
  • 25:50 - 25:52
    know how to reopen a bug
  • 25:54 - 25:57
    so asking them to reopen
  • 25:57 - 25:59
    a bug can be
  • 25:59 - 26:01
    a little bit to much, so
  • 26:01 - 26:04
    if I closed it
  • 26:04 - 26:05
    and it was not a good idea, they can
  • 26:05 - 26:07
    ask me to reopen it, so
  • 26:09 - 26:13
    nobody becomes lost in the way
  • 26:17 - 26:20
    Sometimes, there are bug reports where
  • 26:20 - 26:22
    probably it should be
  • 26:22 - 26:24
    closed or merged
  • 26:24 - 26:26
    or something, but you're not
  • 26:26 - 26:28
    completely sure
  • 26:30 - 26:33
    There no hurry, most of them
  • 26:33 - 26:35
    are waiting since a while anyway
  • 26:35 - 26:37
    so just take
  • 26:37 - 26:39
    some days, weeks, months
  • 26:39 - 26:41
    or years
  • 26:41 - 26:43
    as it happens, and
  • 26:44 - 26:46
    maybe next time you
  • 26:46 - 26:48
    open this bug report, it will be
  • 26:48 - 26:50
    way clearer what you should do with it
  • 26:50 - 26:53
    because more experience or
  • 26:55 - 26:56
    clearer mind that day
  • 26:57 - 26:58
    You can also
  • 26:58 - 27:00
    ask for opinions from
  • 27:00 - 27:03
    the maintainers if they are
  • 27:04 - 27:07
    willing to help or to
  • 27:08 - 27:09
    other friends or
  • 27:09 - 27:11
    team members
  • 27:14 - 27:15
    Warning
  • 27:16 - 27:18
    that's the point
  • 27:18 - 27:21
    earlier about not closing random bugs
  • 27:21 - 27:23
    if the maintainer doesn't have
  • 27:23 - 27:25
    time to triage his bugs
  • 27:25 - 27:27
    or her bugs, they don't
  • 27:27 - 27:29
    necessarily have time to
  • 27:30 - 27:31
    explain to you
  • 27:31 - 27:34
    in which case they want it closed or not
  • 27:35 - 27:37
    That's why it's good to
  • 27:37 - 27:39
    work in a team because
  • 27:39 - 27:41
    that's more likely you have somebody available
  • 27:41 - 27:44
    to help you, in doubt
  • 27:46 - 27:48
    Another important part is
  • 27:48 - 27:50
    say what you're doing
  • 27:51 - 27:52
    because
  • 27:53 - 27:55
    if people don't understand what
  • 27:55 - 27:57
    you're doing, they
  • 27:57 - 27:58
    might react badly
  • 28:00 - 28:02
    Make sure everybody
  • 28:02 - 28:03
    get the information they need
  • 28:03 - 28:06
    because if you're closing a bug
  • 28:06 - 28:08
    then the submitter gets
  • 28:08 - 28:10
    the information
  • 28:10 - 28:12
    but if you add a
  • 28:12 - 28:14
    tag, they don't, and
  • 28:14 - 28:16
    other people that answered the
  • 28:16 - 28:18
    bug report saying they
  • 28:18 - 28:20
    also got the problem, don't
  • 28:20 - 28:22
    get the information
  • 28:22 - 28:24
    so sometimes
  • 28:26 - 28:29
    sometimes you have to check who
  • 28:30 - 28:32
    provided input to the bug report
  • 28:32 - 28:37
    and make sure you copy them to the
  • 28:38 - 28:40
    mails you're sending so that they
  • 28:40 - 28:42
    get information
  • 28:45 - 28:48
    Don't write a novel
  • 28:48 - 28:50
    when you close or triage bugs
  • 28:50 - 28:52
    but give all information
  • 28:52 - 28:54
    so that people can understand
  • 28:54 - 28:56
    what you're doing, so that they have
  • 28:56 - 28:58
    a little bit of context and don't need
  • 28:58 - 29:00
    to read the whole thread
  • 29:01 - 29:03
    to know why you're doing it, so
  • 29:04 - 29:06
    in the example I gave earlier
  • 29:06 - 29:08
    I copy the subject
  • 29:08 - 29:11
    of the bug report so that they know
  • 29:11 - 29:13
    what was a bug report and I say
  • 29:14 - 29:15
    its status
  • 29:15 - 29:17
    that's why I take this decision, so
  • 29:18 - 29:20
    they have an idea what's happening
  • 29:21 - 29:22
    and
  • 29:24 - 29:27
    you can have generic messages
  • 29:27 - 29:29
    you don't need to innovate
  • 29:29 - 29:31
    each time so that you just copy and
  • 29:31 - 29:33
    paste and
  • 29:33 - 29:35
    maybe change a few words
  • 29:35 - 29:36
    and
  • 29:38 - 29:39
    since you just copy-paste
  • 29:39 - 29:41
    it doesn't take more time, so
  • 29:42 - 29:43
    write a few nice words
  • 29:44 - 29:46
    it helps
  • 29:51 - 30:02
    [laughter and applause]
  • 30:02 - 30:05
    Beware, there be dragons
  • 30:06 - 30:09
    I stopped closing bugs the last
  • 30:09 - 30:11
    two months because I closed one from
  • 30:11 - 30:13
    Ian Jackson
  • 30:13 - 30:15
    and it was a bad idea
  • 30:15 - 30:16
    and
  • 30:16 - 30:18
    it was such a bad idea
  • 30:18 - 30:20
    I lost my enthusiasm
  • 30:20 - 30:21
    for a few months
  • 30:23 - 30:25
    if you meet a bug by Ian Jackson
  • 30:25 - 30:27
    if everything seems
  • 30:27 - 30:29
    like it should be closed
  • 30:29 - 30:31
    or tagged, maybe
  • 30:32 - 30:34
    just close your tab
  • 30:34 - 30:37
    ignore it
  • 30:37 - 30:39
    just, it doesn't exist
  • 30:39 - 30:40
    you know
  • 30:40 - 30:42
    you certainly have
  • 30:42 - 30:44
    better things to do with you life
  • 30:44 - 30:46
    you do, really
  • 30:51 - 30:53
    I have to be frank, that's
  • 30:54 - 30:56
    that's him, but
  • 30:56 - 30:58
    there are probably others out there
  • 31:02 - 31:04
    but keep on
  • 31:04 - 31:06
    There are also very very nice people
  • 31:06 - 31:09
    in Debian, some that
  • 31:09 - 31:11
    with whom you can work
  • 31:11 - 31:13
    and talk and that are
  • 31:13 - 31:15
    helpful and nice
  • 31:15 - 31:18
    and welcoming
  • 31:18 - 31:20
    and remember: bug triaging is fun
  • 31:20 - 31:23
    and rewarding and easy
  • 31:23 - 31:25
    Well, once you started
  • 31:27 - 31:28
    That's it.
  • 31:28 - 31:41
    [applause]
  • 31:41 - 31:43
    Do you have questions?
  • 31:43 - 31:45
    I guess not, but
  • 31:58 - 32:00
    [Q] Hi, do you have
  • 32:00 - 32:02
    some other real life stories
  • 32:02 - 32:04
    of your adventures in bug fixing?
  • 32:04 - 32:10
    [laughter]
  • 32:10 - 32:12
    [A] Ok, I didn't
  • 32:12 - 32:14
    I should have open them, I
  • 32:14 - 32:17
    closed a bug that was
  • 32:17 - 32:19
    more than ten years old
  • 32:19 - 32:21
    That was something fun
  • 32:23 - 32:25
    Some submitters wrote
  • 32:25 - 32:27
    to me, asking for me to reopen
  • 32:27 - 32:29
    them, so it's not just a
  • 32:29 - 32:32
    technical proposition
  • 32:32 - 32:35
    It does
  • 32:35 - 32:38
    It is useful to propose to reopen for them
  • 32:40 - 32:43
    Lots of people thanked me, actually, which
  • 32:44 - 32:46
    is always nice
  • 32:49 - 32:51
    My maintainer friends are sometimes
  • 32:51 - 32:54
    jealous when I can say
  • 32:54 - 32:56
    "I closed 20 bugs today"
  • 32:56 - 32:59
    [laughter]
  • 32:59 - 33:04
    and they painfully closed one
  • 33:08 - 33:11
    I'll keep you... up to date
  • 33:11 - 33:15
    with new bug triaging stories
  • 33:28 - 33:31
    [Q] From IRC, from Peyaro
  • 33:31 - 33:34
    What to do with bugs tagged "patch" with a
  • 33:34 - 33:36
    patch sent as last message but
  • 33:36 - 33:38
    no response from the maintainer?
  • 33:41 - 33:44
    [A] You watch if the maintainer is active
  • 33:44 - 33:46
    in his packages
  • 33:46 - 33:48
    if he is, then
  • 33:50 - 33:51
    try to ping him again
  • 33:51 - 33:53
    and again
  • 33:53 - 33:56
    if he's not responsive
  • 33:56 - 33:58
    to anything, then
  • 33:58 - 34:00
    you should declare him
  • 34:00 - 34:02
    "missing in action"
  • 34:10 - 34:13
    You have to write to them
  • 34:20 - 34:24
    Well if they don't do their job properly
  • 34:24 - 34:26
    you can propose to help
  • 34:26 - 34:28
    or find somebody else to
  • 34:28 - 34:30
    make a non-maintainer upload
  • 34:30 - 34:32
    I guess
  • 34:33 - 34:35
    but
  • 34:36 - 34:38
    triaging is meant
  • 34:38 - 34:40
    to help maintainers so
  • 34:40 - 34:41
    you don't
  • 34:43 - 34:45
    It's not the right place to
  • 34:45 - 34:47
    start nagging them about the fact that
  • 34:47 - 34:49
    they don't do their work properly
  • 34:49 - 34:51
    They probably have reasons to
  • 35:06 - 35:12
    [Indistinctible question]
  • 35:14 - 35:17
    [Q] In the games team if there's a game with a bug
  • 35:17 - 35:19
    you send it to the mailing list, you send it to
  • 35:19 - 35:21
    the latest
  • 35:21 - 35:23
    uploader
  • 35:23 - 35:25
    ???
  • 35:25 - 35:26
    contact with
  • 35:26 - 35:28
    [A] When I want to do what?
  • 35:28 - 35:30
    [Q] When you find a bug
  • 35:30 - 35:33
    in a package that is
  • 35:33 - 35:35
    maintained by a team
  • 35:35 - 35:37
    by a person
  • 35:37 - 35:39
    Can you hear me?
  • 35:39 - 35:41
    What a difference!
  • 35:43 - 35:45
    [Q] When you
  • 35:45 - 35:47
    are dealing with a bug that is not
  • 35:47 - 35:49
    maintained by just one person
  • 35:49 - 35:51
    but by a team
  • 35:51 - 35:53
    what do you usually do, you
  • 35:53 - 35:58
    you contact the mailing list of that
  • 35:58 - 36:01
    team, you contact the last uploader
  • 36:01 - 36:03
    [A] I put the team
  • 36:03 - 36:05
    in copy and not just
  • 36:05 - 36:07
    the uploader because
  • 36:07 - 36:09
    the uploader, if
  • 36:09 - 36:11
    the uploader belongs to a team
  • 36:11 - 36:13
    then they're gonna
  • 36:13 - 36:15
    see the e-mail on the team list
  • 36:16 - 36:19
    and sometimes, other are
  • 36:19 - 36:21
    dealing with a package also, so
  • 36:22 - 36:24
    [Q] Would it make sense to have
  • 36:24 - 36:26
    at least in some teams
  • 36:26 - 36:28
    some person
  • 36:28 - 36:31
    devolute to interfacing with the bugs and stuff
  • 36:33 - 36:35
    [A] I think
  • 36:35 - 36:37
    it's useful if teams
  • 36:37 - 36:40
    list themselves as welcoming
  • 36:40 - 36:42
    bug triagers
  • 36:42 - 36:45
    and if they can provide a
  • 36:45 - 36:47
    reference person it might
  • 36:47 - 36:48
    be helpful too
  • 36:48 - 36:51
    That's how I
  • 36:52 - 36:54
    started in each team, because I
  • 36:54 - 36:56
    was sure I had one person who would
  • 36:56 - 36:58
    answer my question and
  • 36:58 - 37:00
    tell me nicely if I fucked up
  • 37:03 - 37:05
    I was kind of scared to be
  • 37:07 - 37:09
    beaten
  • 37:10 - 37:13
    Yeah, it's probably useful for teams to say
  • 37:14 - 37:17
    "We welcome triagers and here's the person who's
  • 37:17 - 37:19
    willing to deal with them"
  • 37:19 - 37:21
    [Q] How do you do that? In a web page?
  • 37:21 - 37:22
    In the wiki?
  • 37:23 - 37:26
    just maybe a wiki page or something like that
  • 37:36 - 37:38
    On the bug triage documentation
  • 37:38 - 37:40
    I added the
  • 37:40 - 37:43
    teams that welcome help, so that
  • 37:43 - 37:45
    but games is already listed there
  • 37:47 - 37:49
    I listed the ones
  • 37:49 - 37:52
    I had experimented
  • 37:53 - 37:54
    But, yeah
  • 37:55 - 37:58
    I haven't written a contact person
  • 37:59 - 38:00
    because
  • 38:00 - 38:02
    [Q] I was thinking that maybe
  • 38:02 - 38:05
    thinking aloud
  • 38:05 - 38:08
    that maybe it would be a good entry point
  • 38:08 - 38:12
    for someone who wanted to join the games team
  • 38:12 - 38:14
    and wasn't a developer
  • 38:14 - 38:16
    to help triaging
  • 38:16 - 38:18
    bugs in that
  • 38:18 - 38:21
    I mean, we have a lot of games, and
  • 38:22 - 38:25
    [A] I have a good excuse to install
  • 38:25 - 38:27
    all the games on my computer because I
  • 38:27 - 38:29
    was trying to reproduce bugs
  • 38:29 - 38:31
    [Q] Exactly!
  • 38:33 - 38:35
    [A] I think, well
  • 38:36 - 38:38
    I didn't want to join teams
  • 38:38 - 38:40
    I'm glad to help from outside
  • 38:40 - 38:42
    but I think it's a good way because
  • 38:42 - 38:44
    you get to see
  • 38:44 - 38:46
    very different packages
  • 38:46 - 38:48
    [Q] I would mean someone more specialized
  • 38:48 - 38:50
    I'm talking about the games team
  • 38:50 - 38:53
    I could be talking about the ??? team
  • 38:53 - 38:55
    or the perl team
  • 38:55 - 38:57
    someone who's
  • 38:58 - 39:00
    who knows more or less
  • 39:00 - 39:02
    who's more specialized in the kind of
  • 39:02 - 39:04
    packaging the team is doing
  • 39:05 - 39:07
    but also is not a developer or it's not
  • 39:07 - 39:09
    working that closely as a developer
  • 39:09 - 39:12
    but could be, I mean, the place where a specialized
  • 39:12 - 39:16
    I don't mean as part of the
  • 39:16 - 39:18
    bug triaging team
  • 39:18 - 39:20
    I could be speaking about the fonts team
  • 39:20 - 39:23
    Someone inside a team that
  • 39:23 - 39:25
    wants to work on that
  • 39:25 - 39:27
    [A] That's also funny because when you do
  • 39:27 - 39:29
    bug triaging you also get to
  • 39:29 - 39:31
    read all the exchange
  • 39:31 - 39:33
    on the bug, so you also
  • 39:34 - 39:36
    kind of discover the
  • 39:37 - 39:38
    developers of the team
  • 39:38 - 39:40
    You see how they react, how they
  • 39:40 - 39:42
    answer to bug reports
  • 39:43 - 39:45
    what information they want
  • 39:45 - 39:47
    their level of patience
  • 39:49 - 39:51
    So, if you want to start contributing to
  • 39:51 - 39:53
    a team, that's also a good way to get
  • 39:53 - 39:55
    to know the people you're gonna
  • 39:55 - 39:58
    work with
  • 40:03 - 40:05
    Last one?
  • 40:06 - 40:09
    No. Then, there's time for a pause
  • 40:11 - 40:16
    [applause]
Title:
meetings-archive.debian.net/.../Bug_triaging_and_bug_closing_by_Solveig.webm
Video Language:
English
Team:
Debconf
Project:
2014_mini-debconf-barcelona
Duration:
40:16

English subtitles

Revisions