Merge lp:~mkukri/apport/ubuntu-bugpatterns into lp:apport

Proposed by Mate Kukri
Status: Superseded
Proposed branch: lp:~mkukri/apport/ubuntu-bugpatterns
Merge into: lp:apport
Diff against target: 3136 lines (+3092/-0)
9 files modified
README (+80/-0)
bugpattern_written.py (+57/-0)
bugpatterns.xml (+2347/-0)
check-patterns-for-fixed-bugs (+106/-0)
consolidate-bugs (+62/-0)
convert.py (+28/-0)
search-bugs (+214/-0)
test-local (+69/-0)
update-tags (+129/-0)
To merge this branch: bzr merge lp:~mkukri/apport/ubuntu-bugpatterns
Reviewer Review Type Date Requested Status
Canonical Foundations Team Pending
Review via email: mp+461368@code.launchpad.net

This proposal has been superseded by a proposal from 2024-02-27.

Commit message

Add bug pattern for GRUB (re)installation failing due to stale grub-{pc,efi}/install_devices

To post a comment you must log in.
lp:~mkukri/apport/ubuntu-bugpatterns updated
612. By Mate Kukri

Add bug pattern for GRUB2 non-interactive upgrades failing due to stale grub-{efi,pc}/install_devices

Unmerged revisions

612. By Mate Kukri

Add bug pattern for GRUB2 non-interactive upgrades failing due to stale grub-{efi,pc}/install_devices

611. By Benjamin Drung

Add pattern for lz4 in initramfs-tools failing due to full /boot partition

610. By Benjamin Drung

Add pattern for full /boot partition for initramfs-tools

609. By Steve Langasek

Add a bug pattern for LP: #2015312, update-notifier broken by wrong python

608. By Brian Murray

update the url where the bugpatterns live

607. By Brian Murray

comment out bad bug pattern

606. By Brian Murray

remove the bug pattern for LP: #1766945 as it is from bionic and could be preventing new bugs from being filed

605. By Brian Murray

add in a bug pattern for /boot and zsys bug LP: #1956835

604. By Brian Murray

add in a bug pattern for LP: 1944086

603. By Brian Murray

add in a bug pattern for sources.list with deb mirror:// in it LP: #1813354

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'README'
--- README 1970-01-01 00:00:00 +0000
+++ README 2024-02-27 16:26:55 +0000
@@ -0,0 +1,80 @@
1Apport bug patterns for Ubuntu
2==============================
3
4Purpose
5-------
6
7Sometimes a high-visibility crash bug or package installation failure causes a
8tremendous amount of duplicate bugs filed through apport, because
9Launchpad is not insistant enough to guide people to already existing
10similar bugs.
11
12Thus Apport supports patterns which can be matched against a crash (or bug)
13report, and directly guide the user to the existing bug instead of
14filing a new one first.
15
16Most useful fields are certainly Stacktrace, Package/Dependencies (for
17checking particular versions), and ProcCmdline, but in general you can
18match any field that seems useful.
19
20To avoid inventing a new file format and to be able to extend the
21functionality in the future (e. g. other operators than just regexp matching)
22the bug patterns are stored in an XML file, currently on [1].
23
24Syntax
25------
26The general syntax is:
27
28 root element := <patterns>
29 patterns := <pattern url="http://bug.url"> *
30 pattern := <re key="report_key">regular expression*</re> +
31
32For example:
33
34 <?xml version="1.0"?>
35 <patterns>
36 <pattern url="https://launchpad.net/bugs/1">
37 <re key="Package">^foo </re>
38 <re key="Foo">ba.*r</re>
39 </pattern>
40 <pattern url="https://launchpad.net/bugs/2">
41 <re key="Package">^bar 1-2$</re> <!-- test for a particular version -->
42 <re key="Foo">write_(hello|goodbye)</re>
43 </pattern>
44 </patterns>
45
46The existing bug patterns should provide sufficient examples to
47understand real-world applications. The patterns for gnome-alsamixer and linux
48both contain good examples.
49
50Testing
51-------
52To test that apport is seeing your modified or new bug pattern, you can run
53"./test-local" on a .crash file or a Launchpad bug number. This will match the
54report against all local bug patterns and give the result. Once this is
55working, commit and push them.
56
57Already Reported Bugs
58---------------------
59In the event that there are bugs already reported in Launchpad that match your
60bug pattern you can run "./search-bugs --package linux" to find these bug reports.
61
62For example to search for bugs matching an apport kernel oops:
63
64./search-bugs --package linux --tags apport-kerneloops
65
66These bugs can also automatically consolidated using:
67
68./search-bugs --package linux --tags apport-kerneloops --consolidate
69
70They will then be marked as a duplicate of the bug number in the pattern url.
71
72Rollout
73-------
74Commits to the Launchpad branch are rolled out to
75http://people.canonical.com/~ubuntu-archive/bugpatterns/ (where apport will look
76for them) every 15 minutes.
77
78Please double and triple check new patterns here. Badly written
79patterns can easily lead to unifying *all* possible crashes to one
80existing bug!
081
=== added file 'bugpattern_written.py'
--- bugpattern_written.py 1970-01-01 00:00:00 +0000
+++ bugpattern_written.py 2024-02-27 16:26:55 +0000
@@ -0,0 +1,57 @@
1#!/usr/bin/python
2# Author: Brian Murray <brian@canonical.com>
3# Copyright (C) 2011 Canonical, Ltd.
4# License: GPLv3
5#
6# this is a bzr plugin that belongs in ~/.bazaar/plugins and will
7# modify the bug, modify tags and unsubsribe bugcontrol,
8# for which a bugpattern was written
9#
10# it requires the package python-launchpadlib-toolkit be installed
11
12import os
13import re
14
15from bzrlib import branch
16from bzrlib import errors
17from lpltk import LaunchpadService
18from subprocess import Popen, PIPE
19
20
21def post_push_hook(push_result):
22 lp = LaunchpadService(config={})
23 bugcontrol = lp.launchpad.people['ubuntu-bugcontrol']
24 bug_numbers = []
25 # assumes you are in the branch directory
26 try:
27 wb = branch.Branch.open(os.getcwd())
28 except errors.NotBranchError:
29 return
30 if wb.get_parent() != 'bzr+ssh://bazaar.launchpad.net/~ubuntu-bugcontrol/apport/ubuntu-bugpatterns/':
31 return
32 delta = wb.get_revision_delta(wb.revno())
33 if 'bugpatterns.xml' not in delta.get_changes_as_text():
34 return
35 # can't figure out how to get the contents of the diff
36 diff = Popen(["bzr", "log", "-r-1", "-p"], stdout=PIPE).communicate()[0]
37 for line in diff.split('\n'):
38 if not line.startswith('+'):
39 continue
40 if 'pattern url' in line and 'launchpad.net/bugs' in line:
41 bug_number = re.search('(\d+)', line).group(1)
42 bug_numbers.append(bug_number)
43 for bug_number in bug_numbers:
44 bug = lp.get_bug(bug_number)
45 if bug.private:
46 print 'LP: #%s is private and should be made public' % bug_number
47 if not 'bugpattern-needed' in bug.tags:
48 bug.tags.append('bugpattern-written')
49 print 'LP: #%s didn\'t need a bug pattern' % bug_number
50 continue
51 bug.tags.remove('bugpattern-needed')
52 bug.tags.append('bugpattern-written')
53 bug.lpbug.unsubscribe(person=bugcontrol)
54 print 'LP: #%s modified by bug pattern written bzr hook' % bug_number
55
56branch.Branch.hooks.install_named_hook('post_push', post_push_hook,
57 'Bug pattern written hook')
058
=== added file 'bugpatterns.xml'
--- bugpatterns.xml 1970-01-01 00:00:00 +0000
+++ bugpatterns.xml 2024-02-27 16:26:55 +0000
@@ -0,0 +1,2347 @@
1<?xml version="1.0"?>
2
3<patterns>
4
5<!-- General apport package patterns that apply to any package -->
6
7 <pattern url="https://launchpad.net/bugs/349469">
8 <re key="ProblemType">^Package</re>
9 <re key="DpkgTerminalLog">debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process</re>
10 </pattern>
11 <pattern url="https://launchpad.net/bugs/349469">
12 <re key="ProblemType">^Package</re>
13 <re key="VarLogDistupgradeApttermlog">debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process</re>
14 </pattern>
15 <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
16 <re key="ProblemType">^Package</re>
17 <re key="Title">exit status 1</re>
18 <re key="DpkgTerminalLog">cp:.*`/vmlinuz'</re>
19 <re key="LiveMediaBuild">Ubuntu</re>
20 </pattern>
21 <pattern url="http://launchpad.net/bugs/882147">
22 <re key="ProblemType">^Package</re>
23 <re key="DpkgTerminalLog">start: Unknown job:</re>
24 <re key="LiveMediaBuild">11.(10|04)</re>
25 </pattern>
26 <pattern url="https://launchpad.net/bugs/545790">
27 <re key="ProblemType">^Package</re>
28 <re key="ErrorMessage">error writing to ..standard output..: Success</re>
29 <re key="Title">package .* failed to install\/upgrade: error writing to ..standard output..: Success</re>
30 </pattern>
31 <!-- fr.po -->
32 <pattern url="https://launchpad.net/bugs/545790">
33 <re key="ProblemType">^Package</re>
34 <re key="ErrorMessage">erreur lors de l'écriture de .*sortie standard.*: Succès</re>
35 <re key="Title">package .* failed to install\/upgrade</re>
36 </pattern>
37 <!-- es.po -->
38 <pattern url="https://launchpad.net/bugs/545790">
39 <re key="ProblemType">^Package</re>
40 <re key="ErrorMessage">error al escribir en .*salida estándar.*</re>
41 <re key="Title">package .* failed to install\/upgrade</re>
42 </pattern>
43 <!-- pt.po -->
44 <pattern url="https://launchpad.net/bugs/545790">
45 <re key="ProblemType">^Package</re>
46 <re key="ErrorMessage">erro ao escrever .*saída standard.*</re>
47 <re key="Title">package .* failed to install\/upgrade</re>
48 </pattern>
49 <!-- de.po -->
50 <pattern url="https://launchpad.net/bugs/545790">
51 <re key="ProblemType">^Package</re>
52 <re key="ErrorMessage">Fehler beim Schreiben von .*Standardausgabe.*</re>
53 <re key="Title">package .* failed to install\/upgrade</re>
54 </pattern>
55 <!-- it.po -->
56 <pattern url="https://launchpad.net/bugs/545790">
57 <re key="ProblemType">^Package</re>
58 <re key="ErrorMessage">errore nello scrivere .*standard output.*</re>
59 <re key="Title">package .* failed to install\/upgrade</re>
60 </pattern>
61 <!-- sv.po -->
62 <pattern url="https://launchpad.net/bugs/545790">
63 <re key="ProblemType">^Package</re>
64 <re key="ErrorMessage">fel vid skrivning till .*standard ut.*</re>
65 <re key="Title">package .* failed to install\/upgrade</re>
66 </pattern>
67 <pattern url="https://launchpad.net/bugs/541595">
68 <re key="ProblemType">^Package</re>
69 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
70 <re key="DpkgTerminalLog">package.*is already installed and configured</re>
71 </pattern>
72 <pattern url="https://launchpad.net/bugs/541595">
73 <re key="ProblemType">^Package</re>
74 <re key="DpkgTerminalLog">Paket.*ist schon installiert und konfiguriert</re>
75 </pattern>
76 <pattern url="https://launchpad.net/bugs/541595">
77 <re key="ProblemType">^Package</re>
78 <re key="DpkgTerminalLog">el paquet.*ja està instaŀlat i configurat</re>
79 </pattern>
80 <pattern url="https://launchpad.net/bugs/541595">
81 <re key="ProblemType">^Package</re>
82 <re key="DpkgTerminalLog">pakken.*er allerede installeret og konfigureret</re>
83 </pattern>
84 <pattern url="https://launchpad.net/bugs/541595">
85 <re key="ProblemType">^Package</re>
86 <re key="DpkgTerminalLog">la pako.*jam estas instalita kaj akomodita</re>
87 </pattern>
88 <pattern url="https://launchpad.net/bugs/541595">
89 <re key="ProblemType">^Package</re>
90 <re key="DpkgTerminalLog">el paquete.*ya está instalado y configurado</re>
91 </pattern>
92 <pattern url="https://launchpad.net/bugs/541595">
93 <re key="ProblemType">^Package</re>
94 <re key="DpkgTerminalLog">le paquet.*est déjà installé et configuré</re>
95 </pattern>
96 <pattern url="https://launchpad.net/bugs/541595">
97 <re key="ProblemType">^Package</re>
98 <re key="DpkgTerminalLog">il pacchetto.*è già installato e configurato</re>
99 </pattern>
100 <pattern url="https://launchpad.net/bugs/541595">
101 <re key="ProblemType">^Package</re>
102 <re key="DpkgTerminalLog">pacote.*já está instalado e configurado</re>
103 </pattern>
104 <pattern url="https://launchpad.net/bugs/541595">
105 <re key="ProblemType">^Package</re>
106 <re key="DpkgTerminalLog">pakiet.*jest już zainstalowany i skonfigurowany</re>
107 </pattern>
108
109 <pattern url="https://launchpad.net/bugs/541595">
110 <re key="ProblemType">^Package</re>
111 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
112 <re key="VarLogDistupgradeApttermlog">package.*is already installed and configured</re>
113 </pattern>
114 <pattern url="https://launchpad.net/bugs/541595">
115 <re key="ProblemType">^Package</re>
116 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
117 <re key="VarLogDistupgradeApttermlog">Paket.*ist schon installiert und konfiguriert</re>
118 </pattern>
119 <pattern url="https://launchpad.net/bugs/541595">
120 <re key="ProblemType">^Package</re>
121 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
122 <re key="VarLogDistupgradeApttermlog">el paquet.*ja està instaŀlat i configurat</re>
123 </pattern>
124 <pattern url="https://launchpad.net/bugs/541595">
125 <re key="ProblemType">^Package</re>
126 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
127 <re key="VarLogDistupgradeApttermlog">pakken.*er allerede installeret og konfigureret</re>
128 </pattern>
129 <pattern url="https://launchpad.net/bugs/541595">
130 <re key="ProblemType">^Package</re>
131 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
132 <re key="VarLogDistupgradeApttermlog">la pako.*jam estas instalita kaj akomodita</re>
133 </pattern>
134 <pattern url="https://launchpad.net/bugs/541595">
135 <re key="ProblemType">^Package</re>
136 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
137 <re key="VarLogDistupgradeApttermlog">el paquete.*ya está instalado y configurado</re>
138 </pattern>
139 <pattern url="https://launchpad.net/bugs/541595">
140 <re key="ProblemType">^Package</re>
141 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
142 <re key="VarLogDistupgradeApttermlog">le paquet.*est déjà installé et configuré</re>
143 </pattern>
144 <pattern url="https://launchpad.net/bugs/541595">
145 <re key="ProblemType">^Package</re>
146 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
147 <re key="VarLogDistupgradeApttermlog">il pacchetto.*è già installato e configurato</re>
148 </pattern>
149 <pattern url="https://launchpad.net/bugs/541595">
150 <re key="ProblemType">^Package</re>
151 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
152 <re key="VarLogDistupgradeApttermlog">pacote.*já está instalado e configurado</re>
153 </pattern>
154 <pattern url="https://launchpad.net/bugs/541595">
155 <re key="ProblemType">^Package</re>
156 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
157 <re key="VarLogDistupgradeApttermlog">pakiet.*jest już zainstalowany i skonfigurowany</re>
158 </pattern>
159 <pattern url="https://launchpad.net/bugs/541595">
160 <re key="ProblemType">^Package</re>
161 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
162 <re key="VarLogDistupgradeTermlog">package.*is already installed and configured</re>
163 </pattern>
164 <pattern url="https://launchpad.net/bugs/541595">
165 <re key="ProblemType">^Package</re>
166 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
167 <re key="VarLogDistupgradeTermlog">Paket.*ist schon installiert und konfiguriert</re>
168 </pattern>
169 <pattern url="https://launchpad.net/bugs/541595">
170 <re key="ProblemType">^Package</re>
171 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
172 <re key="VarLogDistupgradeTermlog">el paquet.*ja està instaŀlat i configurat</re>
173 </pattern>
174 <pattern url="https://launchpad.net/bugs/541595">
175 <re key="ProblemType">^Package</re>
176 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
177 <re key="VarLogDistupgradeTermlog">pakken.*er allerede installeret og konfigureret</re>
178 </pattern>
179 <pattern url="https://launchpad.net/bugs/541595">
180 <re key="ProblemType">^Package</re>
181 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
182 <re key="VarLogDistupgradeTermlog">la pako.*jam estas instalita kaj akomodita</re>
183 </pattern>
184 <pattern url="https://launchpad.net/bugs/541595">
185 <re key="ProblemType">^Package</re>
186 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
187 <re key="VarLogDistupgradeTermlog">el paquete.*ya está instalado y configurado</re>
188 </pattern>
189 <pattern url="https://launchpad.net/bugs/541595">
190 <re key="ProblemType">^Package</re>
191 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
192 <re key="VarLogDistupgradeTermlog">le paquet.*est déjà installé et configuré</re>
193 </pattern>
194 <pattern url="https://launchpad.net/bugs/541595">
195 <re key="ProblemType">^Package</re>
196 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
197 <re key="VarLogDistupgradeTermlog">il pacchetto.*è già installato e configurato</re>
198 </pattern>
199 <pattern url="https://launchpad.net/bugs/541595">
200 <re key="ProblemType">^Package</re>
201 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
202 <re key="VarLogDistupgradeTermlog">pacote.*já está instalado e configurado</re>
203 </pattern>
204 <pattern url="https://launchpad.net/bugs/541595">
205 <re key="ProblemType">^Package</re>
206 <re key="VarLogDistupgradeMainlog">apt version: '0.8.16~exp5ubuntu</re>
207 <re key="VarLogDistupgradeTermlog">pakiet.*jest już zainstalowany i skonfigurowany</re>
208 </pattern>
209 <pattern url="http://launchpad.net/bugs/386763">
210 <re key="ProblemType">^Package</re>
211 <re key="DpkgTerminalLog">E: \/var\/lib\/defoma\/locked exists</re>
212 </pattern>
213 <pattern url="http://launchpad.net/bugs/386763">
214 <re key="ProblemType">^Package</re>
215 <re key="VarLogDistupgradeApttermlog">E: \/var\/lib\/defoma\/locked exists</re>
216 </pattern>
217 <pattern url="http://launchpad.net/bugs/984276">
218 <re key="ProblemType">^Package</re>
219 <re key="VarLogDistupgradeTermlog">E: /usr/share/initramfs-tools/hooks/casper failed with return 1.</re>
220 <re key="VarLogDistupgradeTermlog">dpkg: error processing initramfs-tools \(--configure\):</re>
221 </pattern>
222 <pattern url="http://launchpad.net/bugs/989585">
223 <re key="ProblemType">^Package</re>
224 <re key="Package">resolvconf 1.63ubuntu11</re>
225 <re key="DpkgTerminalLog">resolvconf.postinst: Error: Cannot replace the current /etc/resolv.conf with a symbolic link because it is immutable.</re>
226 </pattern>
227 <pattern url="http://launchpad.net/bugs/989585">
228 <re key="ProblemType">^Package</re>
229 <re key="SourcePackage">(ubuntu-meta|resolvconf)</re>
230 <re key="VarLogDistupgradeApttermlog">resolvconf.postinst: Error: Cannot replace the current /etc/resolv.conf with a symbolic link because it is immutable.</re>
231 </pattern>
232 <pattern url="http://launchpad.net/bugs/993407">
233 <re key="ProblemType">^Package</re>
234 <re key="Package">install-info</re>
235 <re key="SourcePackage">texinfo</re>
236 <re key="VarLogDistupgradeApttermlog">(/etc/environment|default/locale)</re>
237 </pattern>
238 <pattern url="http://launchpad.net/bugs/993407">
239 <re key="ProblemType">^Package</re>
240 <re key="Package">install-info</re>
241 <re key="SourcePackage">texinfo</re>
242 <re key="DpkgTerminalLog">/etc/(environment|default/locale)</re>
243 </pattern>
244
245 <pattern url="https://launchpad.net/bugs/929219">
246 <re key="ProblemType">^Crash</re>
247 <re key="Stacktrace">gethostbyname2_r ?()</re>
248 <re key="Dependencies">libc6 2.15(~pre|-0ubuntu[1-6])</re>
249 </pattern>
250
251 <pattern url="https://launchpad.net/bugs/805717">
252 <re key="ProblemType">^Package</re>
253 <re key="DpkgTerminalLog">Unhandled Exception: System.TypeLoadException: Could not load type</re>
254 <re key="Dependencies">modified: usr/lib/mono/2.0/mscorlib.dll</re>
255 </pattern>
256
257 <pattern url="https://launchpad.net/bugs/902603">
258 <re key="ProblemType">^Package</re>
259 <re key="Architecture">^amd64</re>
260 <re key="VarLogDistupgradeApttermlog">Noting disappearance of (libjpeg8|libtag1c2a|odbcinst|libccid|libao-common)</re>
261 <re key="VarLogDistupgradeApttermlog">Unpacking (libjpeg8|libtag1c2a|odbcinst|libccid|libao-common):i386</re>
262 </pattern>
263
264 <pattern url="https://launchpad.net/bugs/523896">
265 <re key="ProblemType">^Package</re>
266 <re key="VarLogDistupgradeApttermlog">(user|group)add: cannot lock</re>
267 </pattern>
268 <pattern url="https://launchpad.net/bugs/523896">
269 <re key="ProblemType">^Package</re>
270 <re key="DpkgTerminalLog">(user|group)add: cannot lock</re>
271 </pattern>
272 <pattern url="https://launchpad.net/bugs/1705345">
273 <re key="SourcePackage">^(grub2|plymouth)</re>
274 <re key="ProblemType">^Package</re>
275 <re key="DistroRelease">(17.10|16.04)</re>
276 <re key="DpkgTerminalLog">Active:.*Result: timeout\)</re>
277 <re key="DpkgTerminalLog">[0-9] plymouth --ping</re>
278 </pattern>
279 <pattern url="https://launchpad.net/bugs/523896">
280 <re key="Package">^whoopsie </re>
281 <re key="ProblemType">^Package</re>
282 <re key="DpkgTerminalLog">(user|group)add.*\/etc\/(passwd|gshadow|group).*</re>
283 </pattern>
284 <pattern url="https://launchpad.net/bugs/523896">
285 <re key="Package">^whoopsie </re>
286 <re key="ProblemType">^Package</re>
287 <re key="VarLogDistupgradeApttermlog">(user|group)add.*\/etc\/(passwd|gshadow|group).*</re>
288 </pattern>
289
290<!-- acpid -->
291
292 <pattern url ="http://launchpad.net/bugs/368857">
293 <re key="Package">^acpid </re>
294 <re key="ProblemType">^Package</re>
295 <re key="DpkgTerminalLog">initscript hal, action .*start" failed</re>
296 </pattern>
297 <pattern url ="http://launchpad.net/bugs/368857">
298 <re key="Package">^acpid </re>
299 <re key="ProblemType">^Package</re>
300 <re key="VarLogDistupgradeApttermlog">initscript hal, action .*start" failed</re>
301 </pattern>
302
303<!-- Converted from alacarte.xml -->
304
305 <pattern url="http://launchpad.net/bugs/205463">
306 <re key="Package">^alacarte </re>
307 <re key="Traceback">in copyItem</re>
308 <re key="Traceback">IOError: \[Errno 2\] No such file or directory</re>
309 </pattern>
310
311 <pattern url="http://launchpad.net/bugs/349350">
312 <re key="Package">^alacarte </re>
313 <re key="Traceback">in __addUndo</re>
314 </pattern>
315
316 <pattern url="http://launchpad.net/bugs/187919">
317 <re key="Package">^alacarte </re>
318 <re key="Title">alacarte crashed with AttributeError in split()</re>
319 <re key="Traceback">AttributeError: 'NoneType' object has no attribute 'rfind'</re>
320 </pattern>
321
322 <pattern url="https://launchpad.net/bugs/826049">
323 <re key="Package">^alacarte </re>
324 <re key="Title">alacarte crashed with OSError in _execute_child()</re>
325 <re key="Traceback">in _execute_child</re>
326 <re key="Traceback">OSError: \[Errno 2\] No such file or directory</re>
327 </pattern>
328
329 <pattern url="https://launchpad.net/bugs/355829">
330 <re key="Package">^alacarte </re>
331 <re key="Traceback">in on_edit_properties_activate</re>
332 <re key="Traceback">IOError: \[Errno 2\] No such file or directory</re>
333 </pattern>
334
335<!-- Converted from amavisd-new.xml -->
336
337 <pattern url="http://launchpad.net/bugs/801338">
338 <re key="Package">^amavisd-new-postfix </re>
339 <re key="SourcePackage">^amavisd-new</re>
340 <re key="DpkgTerminalLog">Starting amavisd: .*/etc/mailname.*</re>
341 </pattern>
342
343<!-- Patterns regarding apport -->
344
345 <pattern url="http://launchpad.net/bugs/849880">
346 <re key="Package">^apport</re>
347 <re key="Title">apport-gtk crashed with TypeError in ui_present_crash</re>
348 <re key="Traceback">TypeError\: glib.markup_escape_text\(\) takes at most 1 argument \(2 given\)</re>
349 </pattern>
350
351 <pattern url="http://launchpad.net/bugs/1024202">
352 <re key="Package">^apport</re>
353 <re key="Signal">6</re>
354 <re key="Title">!xcb_xlib_threads_sequence_lost</re>
355 </pattern>
356
357<!-- Patterns regarding apt-clone -->
358
359 <pattern url="http://launchpad.net/bugs/758013">
360 <re key="Package">^apt-clone </re>
361 <re key="Traceback">SystemError: E:Unable to correct problems, you have held broken packages.</re>
362 <re key="Traceback">in _restore_package_selection_in_cache</re>
363 </pattern>
364
365 <pattern url="http://launchpad.net/bugs/1152399">
366 <re key="Package">^ubiquity </re>
367 <re key="UbiquitySyslog">SystemError: E:Unable to correct problems, you have held broken packages.</re>
368 <re key="UbiquitySyslog">in _restore_package_selection_in_cache</re>
369 <re key="UbiquitySyslog">'apt-clone', 'restore-new-distro'</re>
370 </pattern>
371
372<!-- Converted from apt-xapian-index.xml -->
373
374 <pattern url="http://launchpad.net/bugs/424857">
375 <re key="Package">^apt-xapian-index </re>
376 <re key="Traceback">E:The package lists or status file could not be parsed or opened.</re>
377 <re key="Traceback">SystemError: E:read.*but none left</re>
378 </pattern>
379 <pattern url="http://launchpad.net/bugs/819907">
380 <re key="Package">^apt-xapian-index 0.44ubuntu[1|2|3|4]</re>
381 <re key="Title">update-apt-xapian-index crashed with StopIteration in uri()</re>
382 <re key="Traceback">in uri</re>
383 <re key="Traceback">StopIteration</re>
384 </pattern>
385 <pattern url="http://bit.ly/LeqiWq">
386 <re key="Package">^apt-xapian-index</re>
387 <re key="Traceback">indexer.py", line .*, in buildIndex</re>
388 <re key="Traceback">DatabaseError</re>
389 </pattern>
390 <pattern url="http://bit.ly/Lihela">
391 <re key="Package">^apt-xapian-index</re>
392 <re key="Traceback">__init__.py", line .*, in __init__</re>
393 <re key="Traceback">DatabaseLockError\: Unable to get write lock</re>
394 </pattern>
395
396<!-- Converted from aptdaemon.xml -->
397
398<!-- The different keys TraceBack and Traceback are not typos but deliberate. aptdaemon used to call the attachment TraceBack.txt -->
399
400 <pattern url="https://launchpad.net/bugs/450662">
401 <re key="Package">^aptdaemon </re>
402 <re key="Traceback">call_blocking</re>
403 <re key="Traceback">DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection &quot;:....&quot; is not allowed to own the service &quot;org.debian.apt&quot; due to security policies in the configuration file</re>
404 </pattern>
405
406<!-- Converted from at-spi.xml -->
407
408 <pattern url="http://launchpad.net/bugs/418743">
409 <re key="Package">^at-spi </re>
410 <re key="Stacktrace">#1 0x.*in _SmcProcessMessage</re>
411 <re key="Stacktrace">#2 0x.*in IceProcessMessages</re>
412 <re key="Stacktrace">#3 0x.*in process_ice_messages</re>
413 <re key="Stacktrace">#8 0x.*in main</re>
414 </pattern>
415 <pattern url="http://launchpad.net/bugs/420053">
416 <re key="Package">^at-spi </re>
417 <re key="Stacktrace">#1 0x........ in IceProcessMessages</re>
418 <re key="Stacktrace">#2 0x........ in process_ice_messages</re>
419 <re key="Stacktrace">#8 0x........ in main.*at registry-main\.c</re>
420 </pattern>
421
422<!-- blueman -->
423 <pattern url="https://launchpad.net/bugs/437883">
424 <re key="Package">^blueman </re>
425 <re key="Traceback">connection.py", line .*, in call_blocking</re>
426 <re key="Traceback">DBusException: org.freedesktop.DBus.Error.ServiceUnknown</re>
427 </pattern>
428
429<!-- avahi -->
430 <pattern url="https://launchpad.net/bugs/1760128">
431 <re key="Package">^avahi-dnsconfd </re>
432 <re key="DpkgTerminalLog">dpkg:.*(pre-removal script|script.*pre-removal).*1</re>
433 <re key="DpkgTerminalLog">dpkg:.*avahi-dnsconfd_0\.6\.32~rc\+dfsg-1ubuntu2(\.1)?_.*\.deb \(--unpack\)</re>
434 <re key="DpkgTerminalLog">.*(pre-removal script|script.*pre-removal).*1</re>
435 </pattern>
436
437<!-- Converted from b43-fwcutter.xml -->
438
439 <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
440 <re key="SourcePackage">^b43-fwcutter</re>
441 <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
442 <re key="LiveMediaBuild">Ubuntu</re>
443 </pattern>
444 <pattern url="https://launchpad.net/bugs/711397">
445 <re key="SourcePackage">^b43-fwcutter</re>
446 <re key="VarLogDistupgradeApttermlog">Not supported (card here|low-power chip)</re>
447 </pattern>
448 <pattern url="https://launchpad.net/bugs/711397">
449 <re key="SourcePackage">^b43-fwcutter</re>
450 <re key="DpkgTerminalLog">Not supported (card here|low-power chip)</re>
451 </pattern>
452
453<!-- Converted from bcmwl.xml -->
454
455 <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
456 <re key="SourcePackage">^bcmwl</re>
457 <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
458 <re key="LiveMediaBuild">Ubuntu</re>
459 </pattern>
460
461<!-- Converted from blcr.xml -->
462
463 <pattern url="https://launchpad.net/bugs/555729">
464 <re key="Package">^blcr-dkms</re>
465 <re key="DKMSBuildLog">DKMS make.log for.* kernel 2.6.3[345]</re>
466 <re key="DKMSBuildLog">configure: error: Could not find a directory containing a Linux kernel 2.6.3[345][^ ]* build</re>
467 </pattern>
468 <pattern url="https://launchpad.net/bugs/700036">
469 <re key="Package">^blcr-dkms</re>
470 <re key="DKMSBuildLog">vmadump_common.c:1092:38: error: .*struct signal_struct.* has no member named .*count.*</re>
471 </pattern>
472 <pattern url="https://launchpad.net/bugs/762996">
473 <re key="Package">^blcr-dkms</re>
474 <re key="DKMSBuildLog">configure: error: Failed to locate kernel symbol table.</re>
475 </pattern>
476 <pattern url="https://launchpad.net/bugs/804943">
477 <re key="Package">^blcr-dkms</re>
478 <re key="DKMSBuildLog">is neither a kernel version string nor a full path</re>
479 </pattern>
480
481<!-- Converted from brother-cups-wrapper-common.xml -->
482
483 <pattern url="http://launchpad.net/bugs/423817">
484 <re key="Package">^brother-cups-wrapper-common </re>
485 <re key="Stacktrace">0x.* in \*__GI_abort</re>
486 <re key="Stacktrace">0x.* in \*__GI___fortify_fail</re>
487 <re key="Stacktrace">0x.* in divide_media_token ()</re>
488 </pattern>
489
490<!-- Converted from compiz.xml -->
491
492 <pattern url="https://launchpad.net/bugs/810182">
493 <re key="Package">^nux-tools </re>
494 <re key="Title">unity_support_test crashed with SIGSEGV</re>
495 <re key="UnitySupportTest">extension "GLX" missing</re>
496 </pattern>
497 <pattern url="https://launchpad.net/bugs/810182">
498 <re key="Package">^nux-tools </re>
499 <re key="Title">unity_support_test crashed with SIGSEGV</re>
500 <re key="Stacktrace">get_opengl_version</re>
501 </pattern>
502
503<!-- compizconfig-settings-manager -->
504
505 <pattern url="https://launchpad.net/bugs/198758">
506 <re key="Package">^compizconfig-settings-manager </re>
507 <re key="Traceback">Constants.py</re>
508 <re key="Traceback">in .module.</re>
509 <re key="Traceback">Error: unsupported locale setting</re>
510 </pattern>
511
512 <pattern url="https://launchpad.net/bugs/832458">
513 <re key="Package">^compizconfig-settings-manager 0.9.5.92-0ubuntu1</re>
514 <re key="Title">ccsm crashed with KeyError in compizconfig.Plugin.ApplyStringExtensions</re>
515 <re key="Traceback">in ParseSettings</re>
516 <re key="Traceback">plugin.Update ()</re>
517 </pattern>
518
519 <pattern url="https://launchpad.net/bugs/833348">
520 <re key="Package">^compizconfig-settings-manager </re>
521 <re key="Title">ccsm crashed with KeyError in compizconfig.Plugin.ApplyStringExtensions</re>
522 <re key="Traceback">in enable_plugin</re>
523 <re key="Traceback">plugin.Context.UpdateExtensiblePlugins \(\)</re>
524 <re key="Traceback">KeyError</re>
525 </pattern>
526
527 <pattern url="https://launchpad.net/bugs/833348">
528 <re key="Package">^compizconfig-settings-manager </re>
529 <re key="Title">ccsm crashed with KeyError in compizconfig.Plugin.ApplyStringExtensions \(src/compizconfig.c:6780\)\(\):</re>
530 <re key="Traceback">File "/usr/lib/python2.7/dist-packages/ccm/Utils.py", line 328, in Update
531 if self.Context.ProcessEvents\(\):</re>
532 <re key="Traceback">File "compizconfig.pyx", line 1163, in compizconfig.Context.ProcessEvents \(src/compizconfig.c:9986\)</re>
533 <re key="Traceback">File "compizconfig.pyx", line 1249, in compizconfig.Context.ChangedSettings.__get__ \(src/compizconfig.c:11104\)</re>
534 <re key="Traceback">File "compizconfig.pyx", line 447, in compizconfig.SettingListToList \(src/compizconfig.c:2212\)</re>
535 <re key="Traceback">File "compizconfig.pyx", line 927, in compizconfig.Plugin.Screen.__get__ \(src/compizconfig.c:7371\)</re>
536 <re key="Traceback">File "compizconfig.pyx", line 783, in compizconfig.Plugin.Update \(src/compizconfig.c:5765\)</re>
537 <re key="Traceback">File "compizconfig.pyx", line 870, in compizconfig.Plugin.ApplyStringExtensions \(src/compizconfig.c:6780\)</re>
538 <re key="Traceback">KeyError:</re>
539 </pattern>
540
541<!-- Converted from computer-janitor.xml -->
542
543 <pattern url="https://launchpad.net/bugs/721244">
544 <re key="Package">^computer-janitor-gtk</re>
545 <re key="Traceback">gtk\/ui.py</re>
546 <re key="Traceback">in _toggled</re>
547 <re key="Traceback">DBusException: org.freedesktop.DBus.Python.computerjanitord.errors.PermissionDeniedError: com.ubuntu.computerjanitor.updatesystem</re>
548 </pattern>
549
550<!-- Converted from computertemp.xml -->
551
552 <pattern url="http://launchpad.net/bugs/318791">
553 <re key="Package">^computertemp </re>
554 <re key="Title">crashed with ValueError in parseloginfo</re>
555 <re key="Traceback">loginfo.replace\('\{temp\}'</re>
556 <re key="Traceback">ValueError: invalid literal for int\(\) with base 10: 'XX'</re>
557 </pattern>
558
559<!-- Converted from cron.xml -->
560
561 <pattern url="https://launchpad.net/bugs/447080">
562 <re key="Package">^cron </re>
563 <re key="Stacktrace">pam_vsyslog</re>
564 <re key="Stacktrace">_pam_load_module</re>
565 <re key="Stacktrace">_pam_parse_conf_file</re>
566 </pattern>
567 <pattern url="https://launchpad.net/bugs/518161">
568 <re key="Package">^cron </re>
569 <re key="Stacktrace">pam_strerror</re>
570 <re key="Stacktrace">pam_get_authtok_internal</re>
571 <re key="Stacktrace">_pam_parse_conf_file</re>
572 </pattern>
573
574<!-- deja-dup -->
575
576 <pattern url="https://launchpad.net/bugs/1751460">
577 <re key="Package">^deja-dup 37.1-1fakesync1</re>
578 <re key="StacktraceTop">__pthread_once_slow \(once_control</re>
579 <re key="StacktraceTop">Gigacage::ensureGigacage\(\)</re>
580 <re key="StacktraceTop">getSlowCase\(\)</re>
581 </pattern>
582
583<!-- Converted from desktopcouch.xml -->
584
585 <pattern url="http://launchpad.net/bugs/465216">
586 <re key="Package">^desktopcouch </re>
587 <re key="Title">desktopcouch-service crashed with RuntimeError in find_port__linux</re>
588 <re key="Traceback">RuntimeError: Unable to find listening port</re>
589 </pattern>
590 <pattern url="http://launchpad.net/bugs/451767">
591 <re key="Package">^desktopcouch </re>
592 <re key="Title">desktopcouch-service crashed with ServerError in _request</re>
593 <re key="Traceback">ServerError: \(401</re>
594 </pattern>
595
596<!-- dpkg -->
597 <pattern url="https://launchpad.net/bugs/541595">
598 <re key="ProblemType">^Package</re>
599 <re key="SourcePackage">^dpkg</re>
600 <re key="ErrorMessage">package .* is already installed and configured</re>
601 <re key="OriginalTitle">package .* failed to install\/upgrade: .*package .* is already installed and configured</re>
602 </pattern>
603 <pattern url="https://launchpad.net/bugs/573696">
604 <re key="ProblemType">^Crash</re>
605 <re key="SourcePackage">^dpkg</re>
606 <re key="AssertionMessage">dpkg: .* Assertion `r == stab.st_size' failed.</re>
607 </pattern>
608
609
610<!-- easycrypt -->
611
612 <pattern url="https://launchpad.net/bugs/212312">
613 <re key="Package">^easycrypt </re>
614 <re key="Traceback">EasyCrypt.py", line .*, in closeAllCrypts</re>
615 <re key="Traceback">KeyError</re>
616 </pattern>
617
618<!-- eglibc -->
619
620 <pattern url="https://launchpad.net/bugs/652876">
621 <re key="Package">^nscd </re>
622 <re key="DpkgTerminalLog">initscript nscd, action "start" failed</re>
623 </pattern>
624
625<!-- empathy -->
626 <pattern url="http://launchpad.net/bugs/829861">
627 <re key="Package">^empathy</re>
628 <re key="Stacktrace">_tp_base_client_handle_channels</re>
629 <re key="Stacktrace">_tp_marshal_VOID__BOXED_BOXED_BOXED_BOXED_UINT64_BOXED_POINTER</re>
630 <re key="Signal">11</re>
631 </pattern>
632
633<!-- Converted from fglrx-installer.xml -->
634
635 <pattern url="https://launchpad.net/bugs/573748">
636 <re key="Package">^fglrx-installer </re>
637 <re key="DKMSBuildLog">DKMS make.log for.* kernel 2.6.3[345]</re>
638 <re key="DKMSBuildLog">utsrelease.h: No such file or directory</re>
639 </pattern>
640 <pattern url="https://launchpad.net/bugs/1479913">
641 <re key="Package">^fglrx-installer</re>
642 <re key="DKMSBuildLog">GPL.*incompatible.*symbol.*pci_ignore_hotplug</re>
643 </pattern>
644 <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
645 <re key="SourcePackage">^fglrx-installer</re>
646 <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
647 <re key="LiveMediaBuild">Ubuntu</re>
648 </pattern>
649
650<!-- Patterns regarding flashplugin-nonfree -->
651
652 <!--<pattern url="http://launchpad.net/bugs/870643">
653 <re key="Package">^flashplugin-downloader </re>
654 <re key="VarLogDistupgradeApttermlog">unable to resolve host address..archive.canonical.com</re>
655 <re key="VarLogDistupgradeApttermlog">download failed</re>
656 </pattern>-->
657 <pattern url="http://launchpad.net/bugs/873673">
658 <re key="ProblemType">Package</re>
659 <re key="Package">^flashplugin-downloader </re>
660 <re key="VarLogDistupgradeApttermlog">download failed</re>
661 <re key="VarLogDistupgradeApttermlog">The Flash plugin is NOT installed.</re>
662 </pattern>
663 <pattern url="http://launchpad.net/bugs/762968">
664 <re key="Package">^flashplugin-installer 10.[23].*</re>
665 <re key="DpkgTerminalLog">nspluginwrapper: no appropriate viewer found for \/usr\/lib\/flashplugin-installer\/libflashplayer.so</re>
666 </pattern>
667 <pattern url="http://launchpad.net/bugs/762968">
668 <re key="Package">^flashplugin-installer 10.[23].*</re>
669 <re key="VarLogDistupgradeTermlog">nspluginwrapper: no appropriate viewer found for \/usr\/lib\/flashplugin-installer\/libflashplayer.so</re>
670 </pattern>
671
672<!-- Converted from foomatic-filters.xml -->
673
674 <pattern url="http://launchpad.net/bugs/440426">
675 <re key="Package">^foomatic-filters </re>
676 <re key="Stacktrace">#0.*_nl_intern_locale_data</re>
677 <re key="Stacktrace">#1 0x.* in _nl_load_locale</re>
678 <re key="Stacktrace">#2 0x.* in _nl_find_locale</re>
679 </pattern>
680
681<!-- Converted from freevo.xml -->
682 <pattern url="https://bugs.launchpad.net/bugs/758821">
683 <re key="Package">^freevo </re>
684 <re key="DpkgTerminalLog">No such file or directory. ./usr/lib/pymodules/python2.5/freevo/version.py.</re>
685 </pattern>
686
687<!-- Converted from g15daemon.xml -->
688
689 <pattern url="https://launchpad.net/bugs/617101">
690 <re key="Package">^g15daemon </re>
691 <re key="DpkgTerminalLog">uinput not found</re>
692 </pattern>
693
694<!-- gconf -->
695
696 <pattern url="https://launchpad.net/bugs/817460">
697 <re key="Package">^gconf2 </re>
698 <re key="Title">gsettings-data-convert crashed with signal 5 in g_settings_get_range()</re>
699 <re key="Signal">5</re>
700 <re key="StacktraceTop">g_settings_get_range</re>
701 </pattern>
702
703<!-- gdm -->
704
705 <pattern url="https://launchpad.net/bugs/805154">
706 <re key="Package">^gdm </re>
707 <re key="StacktraceTop">_nss_compat_getpwnam_r</re>
708 <re key="Signal">11</re>
709 </pattern>
710
711<!-- Converted from glunarclock.xml -->
712
713 <pattern url="http://launchpad.net/bugs/459389">
714 <re key="Package">^glunarclock </re>
715 <re key="Title">glunarclock-applet-2 crashed with SIGSEGV in strcmp</re>
716 <re key="Stacktrace">strcmp</re>
717 <re key="Stacktrace">glunarclock_applet_factory</re>
718 </pattern>
719
720<!-- Converted from gnome-alsamixer.xml -->
721
722 <pattern url="http://launchpad.net/bugs/448180">
723 <re key="Package">^gnome-alsamixer </re>
724 <re key="Stacktrace">#0 .*gam_mixer_show_props_dialog .*\s*at gam-mixer\.c:596</re>
725 <re key="Stacktrace">#(26|32) 0x.* in main .* at gam-main\.c:56</re>
726 </pattern>
727
728 <pattern url="http://launchpad.net/bugs/849415">
729 <re key="Package">^gnome-alsamixer 0.9.7~cvs.20060916.ds.1-2ubuntu1</re>
730 <re key="Title">gnome-alsamixer crashed with SIGSEGV in gtk_accel_group_connect_by_path()</re>
731 <re key="StacktraceTop">gtk_accel_group_connect_by_path</re>
732 <re key="StacktraceTop">gtk_action_connect_accelerator</re>
733 </pattern>
734
735<!-- gnome-desktop -->
736
737 <pattern url="https://launchpad.net/bugs/861548">
738 <re key="Package">^libgnome-desktop 3.2.0-0ubuntu4</re>
739 <re key="Signal">6</re>
740 <re key="Title">check_gl_texture_size assert failure</re>
741 <re key="AssertionMessage">/usr/lib/gnome-desktop3/check_gl_texture_size: malloc()</re>
742 </pattern>
743
744<!-- Converted from gnome-disk-utility.xml -->
745
746 <pattern url="https://launchpad.net/bugs/418300">
747 <re key="Package">^gnome-disk-utility </re>
748 <re key="StacktraceTop">gdu_pool_get_devices</re>
749 </pattern>
750
751<!-- gnome-games -->
752
753 <pattern url="https://launchpad.net/bugs/857603">
754 <re key="Package">^gnome-sudoku 1:3.2.0-0ubuntu1</re>
755 <re key="Title">gnome-sudoku crashed with TypeError in function()</re>
756 <re key="Traceback">TypeError: Expected a Gdk.Event, but got EventButton</re>
757 </pattern>
758
759<!-- gnome-online-accounts -->
760
761 <pattern url="https://launchpad.net/bugs/843375">
762 <re key="Package">^gnome-online-accounts </re>
763 <re key="Signal">11</re>
764 <re key="StacktraceTop">notification_cb</re>
765 <re key="StacktraceTop">proxy_g_signal_cb</re>
766 <re key="StacktraceTop">ffi_call_SYSV</re>
767 </pattern>
768
769<!-- Converted from gnome-settings-daemon.xml -->
770
771 <pattern url="https://launchpad.net/bugs/839649">
772 <re key="Package">^gnome-settings-daemon </re>
773 <re key="Signal">11</re>
774 <re key="Title">gnome-settings-daemon crashed with SIGSEGV in g_simple_async_result_new_error()</re>
775 <re key="Stacktrace">on_bus_gotten</re>
776 <re key="Stacktrace">g_simple_async_result_new_error</re>
777 </pattern>
778
779 <pattern url="https://launchpad.net/bugs/785418">
780 <re key="Package">^gnome-settings-daemon </re>
781 <re key="Signal">11</re>
782 <re key="Title">gnome-settings-daemon crashed with SIGSEGV in gtk_hpaned_get_type()</re>
783 <re key="StacktraceTop">gtk_hpaned_get_type</re>
784 <re key="StacktraceTop">gtk_hscale_new_with_range</re>
785 </pattern>
786
787<!-- gnome-terminal -->
788
789 <pattern url="https://launchpad.net/bugs/810681">
790 <re key="Package">^gnome-terminal </re>
791 <re key="Title">gnome-terminal crashed with SIGABRT in raise()</re>
792 <re key="Stacktrace">(app->default_profile_id != NULL)</re>
793 <re key="Signal">6</re>
794 </pattern>
795
796<!-- gm-notify -->
797
798 <pattern url="https://launchpad.net/bugs/831491">
799 <re key="Package">^gm-notify </re>
800 <re key="Title">gm-notify crashed with GError in labelClick()</re>
801 <re key="Traceback">D-BUS error: Method "LookupExtended" with signature "ssb" on interface "org.gnome.GConf.Database" doesn't exist</re>
802 </pattern>
803
804<!-- Converted from grub.xml -->
805
806 <pattern url="https://launchpad.net/bugs/537123">
807 <re key="ProblemType">^Package</re>
808 <re key="SourcePackage">^grub2</re>
809 <re key="DpkgTerminalLog">/etc/grub.d/README: 2: All: not found</re>
810 </pattern>
811 <pattern url="https://launchpad.net/bugs/495123">
812 <re key="ProblemType">^Package</re>
813 <re key="SourcePackage">^grub2</re>
814 <re key="DpkgTerminalLog">grub-probe: error: not a directory</re>
815 </pattern>
816
817 <pattern url="http://launchpad.net/bugs/1639374">
818 <re key="Package">^ubiquity 16.10.14</re>
819 <re key="SourcePackage">grub-installer</re>
820 <re key="UbiquitySyslog">Removing grub-pc \(2.02~beta2-36ubuntu11\)</re>
821 <re key="UbiquitySyslog">dpkg: error processing package grub-pc \(--purge\)</re>
822 <re key="UbiquitySyslog">subprocess installed pre-removal script returned error exit status 10</re>
823 </pattern>
824
825<!-- gst-plugins-good0.10 -->
826 <pattern url="http://launchpad.net/bugs/831897">
827 <re key="ProblemType">^Package</re>
828 <re key="Package">^gstreamer0.10-plugins-good</re>
829 <re key="ErrorMessage">/usr/lib/gstreamer-0.10/libgstjpegformat.so</re>
830 <re key="ErrorMessage">gstreamer0.10-plugins-bad</re>
831 </pattern>
832
833<!-- gucharmap -->
834 <pattern url="http://launchpad.net/bugs/854922">
835 <re key="ProblemType">Package</re>
836 <re key="Package">^libgucharmap7</re>
837 <re key="ErrorMessage">trying to overwrite '/usr/lib/libgucharmap_2_90.so.7.0.0'</re>
838 <re key="ErrorMessage">libgucharmap-2-90-7</re>
839 </pattern>
840
841<!-- Converted from gvfs.xml -->
842
843 <pattern url="https://launchpad.net/bugs/436871">
844 <re key="Package">^gvfs </re>
845 <re key="Signal">11</re>
846 <re key="Stacktrace">#0 gdu_pool_get_presentables.*at gdu-pool\.c</re>
847 </pattern>
848
849 <pattern url="https://launchpad.net/bugs/811049">
850 <re key="Package">^gvfs</re>
851 <re key="Signal">11</re>
852 <re key="Title">crashed with SIGSEGV in g_vfs_job_try()</re>
853 <re key="Stacktrace">g_vfs_job_try</re>
854 <re key="Stacktrace">g_vfs_daemon_queue_job</re>
855 </pattern>
856
857 <pattern url="https://launchpad.net/bugs/832533">
858 <re key="Package">^gvfs</re>
859 <re key="ExecutablePath">/usr/lib/gvfs/gvfs-fuse-daemon</re>
860 <re key="Signal">11</re>
861 <re key="Stacktrace">g_daemon_vfs_get_async_bus</re>
862 <re key="Stacktrace">g_daemon_volume_monitor_init</re>
863 <re key="Stacktrace">g_type_create_instance</re>
864 </pattern>
865
866 <pattern url="https://launchpad.net/bugs/839828">
867 <re key="Package">^gvfs</re>
868 <re key="Title">gvfsd-http crashed with SIGSEGV in g_settings_get_child()</re>
869 <re key="ExecutablePath">/usr/lib/gvfs/gvfsd-http</re>
870 <re key="Signal">11</re>
871 <re key="StacktraceTop">g_settings_get_child</re>
872 </pattern>
873
874<!-- Converted from gwibber.xml -->
875
876 <pattern url="https://bugs.launchpad.net/ubuntu/+source/gwibber/+bug/522538">
877 <re key="Package">^gwibber </re>
878 <re key="Traceback">File &quot;/usr/lib/pymodules/python2.6/httplib2/__init__.py&quot;, line 750, in connect</re>
879 <re key="Title">gwibber-service crashed with error in connect</re>
880 </pattern>
881 <pattern url="https://launchpad.net/bugs/849654">
882 <re key="Package">^gwibber</re>
883 <re key="Title">gwibber-service crashed with IOError in get_avatar_path</re>
884 <re key="Traceback">IOError\: \[Errno 36\] File name too long</re>
885 </pattern>
886
887 <pattern url="https://launchpad.net/bugs/741035">
888 <re key="Package">^gwibber-service</re>
889 <re key="Traceback">storage.py", line .*, in maintenance</re>
890 <re key="Traceback">OperationalError</re>
891 </pattern>
892
893<!-- Converted from initramfs-tools.xml -->
894
895 <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
896 <re key="Package">^initramfs-tools </re>
897 <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
898 <re key="LiveMediaBuild">Ubuntu</re>
899 </pattern>
900 <pattern url="https://launchpad.net/bugs/798414">
901 <re key="SourcePackage">^initramfs-tools</re>
902 <re key="DpkgTerminalLog">gzip: stdout: No space left on device</re>
903 </pattern>
904 <pattern url="https://launchpad.net/bugs/798414">
905 <re key="ProblemType">^Package</re>
906 <re key="SourcePackage">^initramfs-tools</re>
907 <re key="DpkgTerminalLog">(cpio|xz: \(stdout\)|zstd: error [0-9]+ ): [Ww]rite error ?:( cannot write block :)? No space left on device</re>
908 </pattern>
909 <!-- E: mkinitramfs failure cpio 141 lz4 -9 -l 24 -->
910 <pattern url="https://launchpad.net/bugs/798414">
911 <re key="ProblemType">^Package</re>
912 <re key="SourcePackage">^initramfs-tools</re>
913 <re key="DpkgTerminalLog">Error 24 : Write error : cannot write compressed block</re>
914 </pattern>
915
916<!-- Converted from iscsitarget.xml -->
917
918 <pattern url="https://bugs.launchpad.net/bugs/782076">
919 <re key="Package">^iscsitarget-dkms 1.4.20.2-1ubuntu1</re>
920 <re key="DKMSBuildLog">implicit declaration of function ‘copy_io_context’</re>
921 </pattern>
922
923<!-- Converted from jockey.xml -->
924
925 <pattern url="http://launchpad.net/bugs/413624">
926 <re key="Package">^jockey-gtk </re>
927 <re key="Traceback">backend.py</re>
928 <re key="Traceback">in convert_dbus_exceptions</re>
929 <re key="Traceback">BackendCrashError</re>
930 </pattern>
931 <pattern url="http://launchpad.net/bugs/275659">
932 <re key="Package">^jockey </re>
933 <re key="Traceback">org.freedesktop.DBus.Error.TimedOut: Activation of com.ubuntu.DeviceDriver timed out</re>
934 </pattern>
935
936 <pattern url="http://launchpad.net/bugs/841366">
937 <re key="Package">^jockey</re>
938 <re key="Title">jockey-backend crashed with TypeError in pulse_items()</re>
939 <re key="Traceback">TypeError: an integer is required</re>
940 </pattern>
941
942<!-- kaccounts-providers -->
943
944 <pattern url="https://launchpad.net/bugs/1622499">
945 <re key="Package">^kaccounts-providers </re>
946 <re key="DpkgTerminalLog">trying to overwrite '/etc/signon-ui/webkit-options.d/accounts.google.com.conf'.*account-plugin-google</re>
947 </pattern>
948
949<!-- Converted from libflickrnet2.1.5-cil.xml -->
950
951 <pattern url="https://launchpad.net/bugs/182130">
952 <re key="Package">^libflickrnet2.1.5-cil </re>
953 <re key="DpkgTerminalLog">Assembly.*policy.2.1.FlickrNet.dll does not exist</re>
954 </pattern>
955
956<!-- libreoffice -->
957 <pattern url="https://launchpad.net/bugs/832516">
958 <re key="Package">^libreoffice</re>
959 <re key="Signal">11</re>
960 <re key="StacktraceTop">xcb_writev</re>
961 <re key="StacktraceTop">splash_draw_progress</re>
962 </pattern>
963
964<!-- Converted from linux.xml -->
965
966 <pattern url="https://wiki.ubuntu.com/KernelTeam/DebuggingUpdateErrors">
967 <re key="Package">^linux </re>
968 <re key="DpkgTerminalLog">\n short read in buffer_copy</re>
969 </pattern>
970 <pattern url="https://wiki.ubuntu.com/KernelTeam/DebuggingUpdateErrors">
971 <re key="Package">^linux </re>
972 <re key="Tags">apport-package</re>
973 <re key="DpkgTerminalLog">\n foi lido um short em buffer_copy</re>
974 </pattern>
975 <pattern url="https://wiki.ubuntu.com/KernelTeam/DebuggingUpdateErrors">
976 <re key="Package">^linux </re>
977 <re key="Tags">apport-package</re>
978 <re key="DpkgTerminalLog">\n lecture courte (short read) dans « buffer_copy » </re>
979 </pattern>
980 <pattern url="https://wiki.ubuntu.com/KernelTeam/DebuggingUpdateErrors">
981 <re key="Package">^linux </re>
982 <re key="Tags">apport-package</re>
983 <re key="DpkgTerminalLog">\n lectura insuficiente en buffer_copy</re>
984 </pattern>
985 <pattern url="https://wiki.ubuntu.com/KernelTeam/DebuggingUpdateErrors">
986 <re key="Package">^linux </re>
987 <re key="Tags">apport-package</re>
988 <re key="DpkgTerminalLog">\n nicht vollständig gelesen in buffer_copy</re>
989 </pattern>
990 <pattern url="https://bugs.launchpad.net/bugs/386042">
991 <re key="Package">^linux </re>
992 <re key="DpkgTerminalLog">/usr/share/debconf/confmodule: line 42: printf: write error: Broken pipe</re>
993 </pattern>
994 <pattern url="https://bugs.launchpad.net/bugs/407420">
995 <re key="Package">^linux </re>
996 <re key="DpkgTerminalLog">Running depmod.\nFailed to run depmod</re>
997 </pattern>
998 <pattern url="https://bugs.launchpad.net/bugs/417222">
999 <re key="Package">^linux </re>
1000 <re key="DpkgTerminalLog">/boot/grub/menu.lst: Operation not supported</re>
1001 </pattern>
1002 <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
1003 <re key="SourcePackage">^linux</re>
1004 <re key="DpkgTerminalLog">cp: cannot stat `.*/vmlinuz': No such file or directory</re>
1005 <re key="LiveMediaBuild">Ubuntu</re>
1006 </pattern>
1007 <pattern url="https://launchpad.net/bugs/322433">
1008 <re key="SourcePackage">^linux</re>
1009 <re key="DpkgTerminalLog">Purging configuration files</re>
1010 <re key="DpkgTerminalLog">FATAL: Could not open</re>
1011 </pattern>
1012 <pattern url="https://launchpad.net/bugs/798414">
1013 <re key="SourcePackage">^linux</re>
1014 <re key="DpkgTerminalLog">gzip: stdout: No space left on device</re>
1015 </pattern>
1016
1017<!-- Converted from mail-notification.xml -->
1018
1019 <pattern url="http://launchpad.net/bugs/351260">
1020 <re key="Package">^mail-notification </re>
1021 <re key="Stacktrace">#0 0x.* in mn_mail_icon_set_tip</re>
1022 <re key="Stacktrace">#1 0x.* in mn_shell_update_tooltip</re>
1023 </pattern>
1024
1025
1026 <pattern url="https://launchpad.net/bugs/746912">
1027 <re key="ProblemType">^Package</re>
1028 <re key="Package">^man-db </re>
1029 <re key="DpkgTerminalLog">debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process</re>
1030 </pattern>
1031 <pattern url="https://launchpad.net/bugs/746912">
1032 <re key="ProblemType">^Package</re>
1033 <re key="Package">^man-db </re>
1034 <re key="VarLogDistupgradeApttermlog">debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process</re>
1035 </pattern>
1036
1037<!-- Converted from msttcorefonts.xml -->
1038
1039 <pattern url="https://launchpad.net/bugs/694913">
1040 <re key="SourcePackage">^msttcorefonts</re>
1041 <re key="DpkgTerminalLog">Fatal IO error.*X.*server</re>
1042 </pattern>
1043 <pattern url="https://launchpad.net/bugs/710046">
1044 <re key="SourcePackage">^msttcorefonts</re>
1045 <re key="DpkgTerminalLog">Another defoma process seems running</re>
1046 </pattern>
1047 <pattern url="https://launchpad.net/bugs/710046">
1048 <re key="SourcePackage">^msttcorefonts</re>
1049 <re key="VarLogDistupgradeApttermlog">Another defoma process seems running</re>
1050 </pattern>
1051 <pattern url="https://launchpad.net/bugs/633570">
1052 <re key="SourcePackage">^msttcorefonts</re>
1053 <re key="DpkgTerminalLog">wget: unable to resolve host address</re>
1054 </pattern>
1055 <pattern url="https://launchpad.net/bugs/633570">
1056 <re key="SourcePackage">^msttcorefonts</re>
1057 <re key="VarLogDistupgradeTermlog">wget: unable to resolve host address</re>
1058 </pattern>
1059 <pattern url="https://launchpad.net/bugs/921889">
1060 <re key="SourcePackage">^msttcorefonts</re>
1061 <re key="Title">package ttf-mscorefonts-installer .* failed to install/upgrade.*128</re>
1062 <re key="DpkgTerminalLog">Use of uninitialized value \$_\[1\] in join or string at \/usr\/share\/perl5\/Debconf\/DbDriver\/Stack.pm</re>
1063 <re key="DpkgTerminalLog">user did not accept the mscorefonts-eula license</re>
1064 </pattern>
1065
1066<!-- Converted from nautilus.xml -->
1067
1068 <pattern url="https://launchpad.net/bugs/362342">
1069 <re key="Package">^nautilus </re>
1070 <re key="Stacktrace">#0 .*g_list_remove.*\n.*glist\.c:338</re>
1071 <re key="Title">nautilus crashed with SIGSEGV in g_list_remove()</re>
1072 </pattern>
1073
1074<!-- nautilus-open-terminal -->
1075
1076 <pattern url="https://launchpad.net/bugs/865115">
1077 <re key="Package">^nautilus-open-terminal </re>
1078 <re key="Title">nautilus crashed with SIGSEGV in gconf_client_get()</re>
1079 <re key="Signal">11</re>
1080 <re key="StacktraceTop">gconf_client_get</re>
1081 <re key="StacktraceTop">gconf_client_get_bool</re>
1082 </pattern>
1083
1084<!-- nautilus-script-manager -->
1085
1086 <pattern url="https://launchpad.net/bugs/617095">
1087 <re key="Package">^nautilus-scripts-manager </re>
1088 <re key="Traceback">nautilus-scripts-manager", line .*, in retrieve_default_path</re>
1089 <re key="Traceback">IOError: \[Errno 21\]</re>
1090 </pattern>
1091
1092<!-- nautilus-dropbox -->
1093
1094 <pattern url="https://launchpad.net/bugs/937546">
1095 <re key="ProblemType">Package</re>
1096 <re key="Package">^nautilus-dropbox </re>
1097 <re key="DpkgHistoryLog">Upgrade: nautilus-dropbox.*0.7.1</re>
1098 <re key="DpkgHistoryLog">dpkg returned an error code</re>
1099 </pattern>
1100
1101<!-- Converted from nspluginwrapper.xml -->
1102
1103 <pattern url="http://launchpad.net/bugs/798459">
1104 <re key="Package">^nspluginwrapper</re>
1105 <re key="ProblemType">Package</re>
1106 <re key="DpkgTerminalLog">nspluginwrapper: double free or corruption \(out\)</re>
1107 </pattern>
1108
1109<!-- Converted from ntfs-config.xml -->
1110
1111 <pattern url="http://launchpad.net/bugs/529403">
1112 <re key="Package">^ntfs-config </re>
1113 <re key="Title">ntfs-config crashed with AttributeError in add_section</re>
1114 <re key="Traceback">in on_close_clicked</re>
1115 </pattern>
1116 <pattern url="http://launchpad.net/bugs/516826">
1117 <re key="Package">^ntfs-config </re>
1118 <re key="Title">ntfs-config crashed with AttributeError in add_section</re>
1119 <re key="Traceback">in on_ok_clicked</re>
1120 </pattern>
1121 <pattern url="http://launchpad.net/bugs/507831">
1122 <re key="Package">^ntfs-config </re>
1123 <re key="Title">ntfs-config crashed with AttributeError in add_section</re>
1124 <re key="Traceback">in on_auto_clicked</re>
1125 </pattern>
1126 <pattern url="http://launchpad.net/bugs/629246">
1127 <re key="Package">^ntfs-config </re>
1128 <re key="Traceback">NtfsConfig.py</re>
1129 <re key="Traceback">os.mkdir\(HAL_CONFIG_DIR\)</re>
1130 <re key="Traceback">OSError ?: \[Errno 2\] .* ?: '/etc/hal/fdi/policy'</re>
1131 </pattern>
1132
1133<!-- Converted from nvidia-graphics-drivers-173.xml -->
1134
1135 <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
1136 <re key="Package">^nvidia-graphics-drivers-173 </re>
1137 <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
1138 <re key="LiveMediaBuild">Ubuntu</re>
1139 </pattern>
1140
1141<!-- Converted from nvidia-graphics-drivers.xml -->
1142
1143 <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
1144 <re key="Package">^nvidia-graphics-drivers </re>
1145 <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
1146 <re key="LiveMediaBuild">Ubuntu</re>
1147 </pattern>
1148
1149 <pattern url="https://wiki.ubuntu.com/Bugs/InitramfsLiveMedia">
1150 <re key="Package">^nvidia-current </re>
1151 <re key="DpkgTerminalLog">cp: cannot stat `/vmlinuz': No such file or directory</re>
1152 <re key="LiveMediaBuild">Ubuntu</re>
1153 </pattern>
1154
1155 <pattern url="https://launchpad.net/bugs/1268257">
1156 <re key="Package">^nvidia-</re>
1157 <re key="DKMSBuildLog">mv: .*build/.tmp_nv.o</re>
1158 </pattern>
1159
1160<!-- nvidia-common -->
1161
1162 <pattern url="https://launchpad.net/bugs/825350">
1163 <re key="Package">^nvidia-common </re>
1164 <re key="Title">nvidia-detector crashed with ValueError in __get_value_from_name()</re>
1165 <re key="Traceback">ValueError: invalid literal for int\(\) with base 10: \'173-updates\'</re>
1166 </pattern>
1167
1168<!-- oneconf -->
1169 <pattern url="https://launchpad.net/bugs/839286">
1170 <re key="Package">^oneconf</re>
1171 <re key="Title">oneconf-query crashed with DBusException in call_blocking()</re>
1172 <re key="Traceback">DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.\d+ was not provided by any .service files</re>
1173 </pattern>
1174
1175 <pattern url="https://launchpad.net/bugs/851997">
1176 <re key="Package">^oneconf</re>
1177 <re key="Title">oneconf-service crashed with TypeError in _sso_login_result\(\): 'NoneType' object is not subscriptable</re>
1178 <re key="Traceback">authorizer = OAuthAuthorizer\(token_key=credential\['token'\],</re>
1179 </pattern>
1180
1181<!-- openjdk-9 -->
1182
1183 <pattern url="https://launchpad.net/bugs/1550950">
1184 <re key="Package">^openjdk-9-jdk</re>
1185 <re key="DpkgTerminalLog">openjdk-9-(jdk|jdk-headless):.* \(9~(b107-0ubuntu1|b112-2|b114-0ubuntu1)\)</re>
1186 <re key="DpkgTerminalLog">include\/linux\/jawt_md.h.*openjdk-9-jdk-headless</re>
1187 </pattern>
1188
1189<!-- Converted from openswan.xml -->
1190 <pattern url="https://launchpad.net/bugs/739001">
1191 <re key="Package">^openswan-modules-dkms </re>
1192 <re key="DKMSBuildLog">fatal error\: linux\/config.h\: No such file or directory</re>
1193 </pattern>
1194
1195<!-- Converted from pitivi.xml -->
1196
1197 <pattern url="http://launchpad.net/bugs/537619">
1198 <re key="Package">^pitivi </re>
1199 <re key="Title">pitivi crashed with TypeError in do_simple_paint()</re>
1200 <re key="Traceback">TypeError: Required argument 'cr' \(pos 1\) not found</re>
1201 </pattern>
1202
1203<!-- Converted from plymouth.xml -->
1204
1205 <pattern url="https://launchpad.net/bugs/743730">
1206 <re key="Package">^plymouth </re>
1207 <re key="DistroRelease">(11.10|11.04|10.10|10.04)</re>
1208 <re key="Stacktrace">ply_list_get_first_node</re>
1209 <re key="Stacktrace">ply_event_loop_run</re>
1210 </pattern>
1211
1212<!-- Converted from policykit-1-gnome.xml -->
1213
1214 <pattern url="https://launchpad.net/bugs/697095">
1215 <re key="Package">^policykit-1-gnome </re>
1216 <re key="StacktraceTop">g_datalist_id_set_data_full</re>
1217 </pattern>
1218 <pattern url="http://launchpad.net/bugs/509651">
1219 <re key="Package">policykit-1</re>
1220 <re key="StacktraceTop">dbus_message_iter_append_basic</re>
1221 </pattern>
1222
1223<!-- Converted from postgresql-8.4.xml -->
1224
1225 <pattern url="https://launchpad.net/bugs/264336">
1226 <re key="Package">^postgresql-8.4 </re>
1227 <re key="DpkgTerminalLog">The PostgreSQL server failed to start. Please check the log output</re>
1228 <re key="DpkgTerminalLog">FATAL:</re>
1229 <re key="DpkgTerminalLog">shmget\(key=.*\)\.</re>
1230 <re key="Tags">apport-package</re>
1231 </pattern>
1232
1233<!-- Converted from qemulator.xml -->
1234
1235 <pattern url="http://launchpad.net/bugs/321955">
1236 <re key="Package">^qemulator </re>
1237 <re key="Traceback">IndexError: could not find tree path</re>
1238 <re key="Traceback">in on_comboboxCDromdrive_changed</re>
1239 </pattern>
1240
1241<!-- Converted from rhythmbox-ubuntuone-music-store.xml -->
1242
1243 <pattern url="http://launchpad.net/bugs/602420">
1244 <re key="Package">^rhythmbox </re>
1245 <re key="StacktraceTop">g_value_set_object</re>
1246 <re key="StacktraceTop">gst_play_bin_get_property</re>
1247 <re key="StacktraceTop">g_object_get_valist</re>
1248 </pattern>
1249
1250<!-- Applies to runit -->
1251
1252 <pattern url="https://launchpad.net/bugs/1448164">
1253 <re key="Package">^(runit |bcron-run |vblade-persist |twoftpd-run |socklog-run |runit-upstart |getty-run |runit-systemd |runit-init |qmail-run |mongrel2-run |git-daemon-run |cereal |dnscache-run )</re>
1254 <re key="DpkgTerminalLog">runit \(2.1.2-3ubuntu1\)</re>
1255 <re key="DpkgTerminalLog">start:.*Upstart: Failed to connect to socket \/com\/ubuntu\/upstart:.*</re>
1256 </pattern>
1257
1258<!-- Applies to samba -->
1259
1260 <pattern url="https://launchpad.net/bugs/877852">
1261 <re key="Package">^samba</re>
1262 <re key="VarLogDistupgradeTermlog">Can't locate File\/Temp.pm in @INC</re>
1263 <re key="VarLogDistupgradeTermlog">Compilation failed in require at \/usr\/sbin\/update-inetd</re>
1264 </pattern>
1265 <pattern url="https://launchpad.net/bugs/1634119">
1266 <re key="SourcePackage">^samba</re>
1267 <re key="DpkgTerminalLog">Job for (smbd|nmbd|winbind)\.service failed because the control process exited with error code</re>
1268 <re key="SMBConf">\n\s*security\s*=\s*share\s*\n</re>
1269 </pattern>
1270
1271<!-- Applies to samba4 -->
1272
1273 <pattern url="http://launchpad.net/bugs/728840">
1274 <re key="Package">^samba4 </re>
1275 <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
1276 <re key="Traceback">LdbError: \(80, 'Failed to load modules from: \/usr\/lib\/samba\/ldb</re>
1277 </pattern>
1278 <pattern url="http://launchpad.net/bugs/728840">
1279 <re key="Package">^samba4 </re>
1280 <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
1281 <re key="DpkgTerminalLog">LdbError: \(80, 'Failed to load modules from: \/usr\/lib\/samba\/ldb</re>
1282 </pattern>
1283 <pattern url="http://launchpad.net/bugs/728840">
1284 <re key="Package">^samba4 </re>
1285 <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
1286 <re key="VarLogDistupgradeTermlog">LdbError: \(80, 'Failed to load modules from: \/usr\/lib\/samba\/ldb</re>
1287 </pattern>
1288 <pattern url="http://launchpad.net/bugs/728840">
1289 <re key="Package">^samba4 </re>
1290 <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
1291 <re key="VarLogDistupgradeTermlog">unable to stat module /usr/lib/samba/ldb/modules/samba</re>
1292 </pattern>
1293 <pattern url="http://launchpad.net/bugs/728840">
1294 <re key="Package">^samba4 </re>
1295 <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
1296 <re key="VarLogDistupgradeApttermlog">unable to stat module /usr/lib/samba/ldb/modules/samba</re>
1297 </pattern>
1298 <pattern url="http://launchpad.net/bugs/728840">
1299 <re key="Package">^samba4 </re>
1300 <re key="Package">4.0.0~alpha15~git20110124.dfsg1-2ubuntu1$</re>
1301 <re key="DpkgTerminalLog">unable to stat module /usr/lib/samba/ldb/modules/samba</re>
1302 </pattern>
1303
1304 <pattern url="http://launchpad.net/bugs/849545">
1305 <re key="Package">^samba4 </re>
1306 <re key="Package">4.0.0~alpha17~git20110807.dfsg1-1ubuntu1</re>
1307 <re key="Title">upgradeprovision crashed with LdbError in connect()</re>
1308 <re key="Traceback">LdbError\: \(80\, \'dsdb_module_search_dn\: did not find base dn \@ROOTDSE \(0 results\)\'\)</re>
1309 </pattern>
1310
1311<!-- indiv-screenlets -->
1312
1313 <pattern url="http://launchpad.net/bugs/807129">
1314 <re key="SourcePackage">^indiv-screenlets</re>
1315 <re key="Tags">apport-crash</re>
1316 <re key="Traceback">gtk-close</re>
1317 <re key="Traceback">GError</re>
1318 <re key="Traceback">File "/usr/lib/pymodules/python2.7/screenlets/__init__.py", line [0-9]+, in load_buttons
1319 self\.closeb = self\.gtk_icon_theme\.load_icon \("gtk-close", 16, 0\)</re>
1320 </pattern>
1321
1322<!-- Applies to software-center -->
1323
1324 <pattern url="https://launchpad.net/bugs/717645">
1325 <re key="Package">^software-center </re>
1326 <re key="Traceback">ValueError\("Need either appname or pkgname or request"\)</re>
1327 <re key="Traceback">application.py</re>
1328 </pattern>
1329
1330 <pattern url="https://launchpad.net/bugs/823428">
1331 <re key="Package">^software-center </re>
1332 <re key="Traceback">TypeError: character mapping must return integer, None or unicode</re>
1333 <re key="Title">software-center crashed with TypeError in normalize()</re>
1334 </pattern>
1335
1336 <pattern url="https://launchpad.net/bugs/834038">
1337 <re key="Package">^software-center </re>
1338 <re key="Title">software-center-gtk3 crashed with DBusException in _convert_dbus_exception()</re>
1339 <re key="Traceback">DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist</re>
1340 </pattern>
1341
1342 <pattern url="https://launchpad.net/bugs/834494">
1343 <re key="Package">^software-center </re>
1344 <re key="Title">software-center-gtk3 crashed with UnicodeEncodeError in get_dbus_message()</re>
1345 <re key="Traceback">UnicodeEncodeError: 'ascii' codec can't encode character</re>
1346 </pattern>
1347
1348 <pattern url="https://launchpad.net/bugs/827527">
1349 <re key="Package">^software-center </re>
1350 <re key="Title">software-center crashed with TypeError in run()</re>
1351 <re key="Traceback">TypeError: gi._glib.spawn_async: first argument must be a sequence of strings</re>
1352 </pattern>
1353
1354 <pattern url="https://launchpad.net/bugs/854113">
1355 <re key="Package">^software-center </re>
1356 <re key="Title">software-center crashed with IndexError in __getitem__()</re>
1357 <re key="Traceback">IndexError: could not find tree path \'\d+\'</re>
1358 </pattern>
1359
1360<!-- Applies to software-properties -->
1361
1362 <pattern url="https://launchpad.net/bugs/831652">
1363 <re key="Package">^software-properties</re>
1364 <re key="Title">software-properties-gtk crashed with UnicodeEncodeError in ToggleSourceUse()</re>
1365 <re key="Traceback">UnicodeEncodeError: 'ascii' codec can't encode character</re>
1366 </pattern>
1367
1368 <pattern url="https://launchpad.net/bugs/828850">
1369 <re key="Package">^software-properties</re>
1370 <re key="Title">software-properties-gtk crashed with DBusException in call_blocking\(\)</re>
1371 <re key="Traceback">DBusException: com\..*\.SoftwareProperties\.PermissionDeniedByPolicy: com\..*\.softwareproperties\.applychanges</re>
1372 </pattern>
1373
1374<!-- Patterns for speakup.xml -->
1375
1376 <pattern url="https://launchpad.net/bugs/726144">
1377 <re key="Package">^speakup 3.1.5.dfsg.1-1ubuntu1</re>
1378 <re key="DKMSBuildLog">buffers.c:33:46: error: .*struct vc_data.* has no member named .*vc_tty.*</re>
1379 </pattern>
1380
1381<!-- Converted from splashy.xml -->
1382
1383 <pattern url="https://launchpad.net/bugs/328089">
1384 <re key="Package">^splashy </re>
1385 <re key="Title">failed to install/upgrade:.*/etc/lsb-base-logging.sh.*lsb-base</re>
1386 </pattern>
1387
1388<!-- Converted from sun-java6-bin.xml -->
1389
1390 <pattern url="https://launchpad.net/bugs/303609">
1391 <re key="Package">^sun-java6-bin </re>
1392 <re key="DpkgTerminalLog">user did not accept the sun-dlj-v1-1 license</re>
1393 </pattern>
1394 <pattern url="https://launchpad.net/bugs/522383">
1395 <re key="Package">^sun-java6-bin </re>
1396 <re key="DpkgTerminalLog">debconf: \(Cannot connect to /tmp/aptdaemon-[0-9a-zA-Z]{6}/debconf.socket</re>
1397 </pattern>
1398
1399<!-- Converted from sun-java6-doc.xml -->
1400
1401 <pattern url="https://launchpad.net/bugs/85969">
1402 <re key="Package">^sun-java6-doc </re>
1403 <re key="DpkgTerminalLog">Abort installation of JDK documentation</re>
1404 </pattern>
1405
1406<!-- Converted from sun-java6-jre.xml -->
1407
1408 <pattern url="https://launchpad.net/bugs/303609">
1409 <re key="Package">^sun-java6-jre </re>
1410 <re key="DpkgTerminalLog">user did not accept the sun-dlj-v1-1 license</re>
1411 </pattern>
1412 <pattern url="https://launchpad.net/bugs/522383">
1413 <re key="Package">^sun-java6-jre </re>
1414 <re key="DpkgTerminalLog">debconf: \(Cannot connect to /tmp/aptdaemon-[0-9a-zA-Z]{6}/debconf.socket</re>
1415 </pattern>
1416
1417<!-- Converted from system-config-samba.xml -->
1418
1419 <pattern url="https://launchpad.net/bugs/749748">
1420 <re key="Package">^system-config-samba </re>
1421 <re key="Traceback">in .module.</re>
1422 <re key="Traceback">ImportError: No module named glade</re>
1423 </pattern>
1424
1425<!-- Converted from telepathy-butterfly.xml -->
1426
1427 <pattern url="http://launchpad.net/bugs/464902">
1428 <re key="Package">^telepathy-butterfly </re>
1429 <re key="Traceback">NotImplementedError</re>
1430 <re key="Traceback">switchboard_manager.py.*__on_user_invitation_failed</re>
1431 </pattern>
1432 <pattern url="http://launchpad.net/bugs/450951">
1433 <re key="Package">^telepathy-butterfly </re>
1434 <re key="Title">telepathy-butterfly crashed with KeyError in __getitem__\(\)</re>
1435 <re key="Traceback">session = self\._sessions\[session_id\]</re>
1436 <re key="Traceback">KeyError: \d+</re>
1437 </pattern>
1438 <pattern url="http://launchpad.net/bugs/628748">
1439 <re key="Package">^telepathy-butterfly </re>
1440 <re key="Title">telepathy\-butterfly crashed with KeyError in parse\(\)</re>
1441 <re key="Traceback">KeyError: 'Location'</re>
1442 </pattern>
1443 <pattern url="http://launchpad.net/bugs/649487">
1444 <re key="Package">^telepathy-butterfly </re>
1445 <re key="Traceback">text.py", line .*, in _signal_text_received</re>
1446 <re key="Traceback">UnicodeDecodeError</re>
1447 </pattern>
1448 <pattern url="http://launchpad.net/bugs/707508">
1449 <re key="Package">^telepathy-butterfly </re>
1450 <re key="Traceback">service.py", line .*, in add_to_connection</re>
1451 <re key="Traceback">KeyError: "Can't register the object-path handler for '\/org\/freedesktop\/Telepathy\/Connection\/butterfly\/msn\/.*\/RosterChannel\/List\/subscribe': there is already a handler"</re>
1452 </pattern>
1453
1454 <pattern url="http://launchpad.net/bugs/726301">
1455 <re key="Package">^telepathy-mission-control-5</re>
1456 <re key="Signal">11</re>
1457 <re key="Stacktrace">g_str_hash</re>
1458 <re key="Stacktrace">mcd_dispatcher_client_needs_recovery_cb</re>
1459 </pattern>
1460
1461<!-- Converted from ubiquity.xml -->
1462 <!--<pattern url="MediaError">
1463 <re key="Package">^ubiquity </re>
1464 <re key="UbiquitySyslog">loop1.*Read failure</re>
1465 <re key="UbiquitySyslog">attempt to access beyond end of device</re>
1466 </pattern>-->
1467 <pattern url="http://launchpad.net/bugs/894768">
1468 <re key="Package">^ubiquity 2.8.7</re>
1469 <re key="UbiquitySyslog">ubuntu install.py: IOError: \[Errno 22\] Invalid argument</re>
1470 <re key="UbiquitySyslog">install_misc.py", line 62(7|1), in copy_file</re>
1471 <re key="UbiquitySyslog">targetfh.(close|write)</re>
1472 </pattern>
1473 <pattern url="http://launchpad.net/bugs/850264">
1474 <re key="Package">^ubiquity 2.8.7</re>
1475 <re key="Architecture">amd64</re>
1476 <!-- this only matches english -->
1477 <re key="UbiquitySyslog">ubiquity: dpkg: error processing libc6 \(--configure\):</re>
1478 </pattern>
1479 <!--<pattern url="http://launchpad.net/bugs/870643">
1480 <re key="Package">^ubiquity </re>
1481 <re key="UbiquitySyslog">unable to resolve host address..archive.canonical.com</re>
1482 <re key="UbiquitySyslog">ubiquity: download failed</re>
1483 <re key="UbiquitySyslog">The Flash plugin is NOT installed.</re>
1484 </pattern>-->
1485 <pattern url="http://launchpad.net/bugs/876298">
1486 <re key="Package">^ubiquity 2.8.7</re>
1487 <re key="UbiquitySyslog">ubiquity: download failed</re>
1488 <re key="UbiquitySyslog">The Flash plugin is NOT installed.</re>
1489 </pattern>
1490 <pattern url="http://launchpad.net/bugs/876298">
1491 <re key="SourcePackage">^flashplugin-nonfree</re>
1492 <re key="DistroRelease">(11.10|11.04|10.10)</re>
1493 <re key="VarLogDistupgradeApttermlog">download failed</re>
1494 <re key="VarLogDistupgradeApttermlog">The Flash plugin is NOT installed.</re>
1495 </pattern>
1496 <pattern url="http://launchpad.net/bugs/876298">
1497 <re key="SourcePackage">^flashplugin-nonfree</re>
1498 <re key="DistroRelease">12.04</re>
1499 <re key="Package">(11.1.102.[56][235]|11.2.202.228ubuntu1|^flashplugin-installer$)</re>
1500 <re key="VarLogDistupgradeApttermlog">download failed</re>
1501 <re key="VarLogDistupgradeApttermlog">The Flash plugin is NOT installed.</re>
1502 </pattern>
1503 <pattern url="http://launchpad.net/bugs/876298">
1504 <re key="SourcePackage">^flashplugin-nonfree</re>
1505 <re key="DistroRelease">(11.10|11.04|10.10)</re>
1506 <re key="DpkgTerminalLog">download failed</re>
1507 <re key="DpkgTerminalLog">The Flash plugin is NOT installed.</re>
1508 </pattern>
1509 <pattern url="http://launchpad.net/bugs/876298">
1510 <re key="SourcePackage">^flashplugin-nonfree</re>
1511 <re key="DistroRelease">12.04</re>
1512 <re key="Package">(11.1.102.[56][235]|11.2.202.228ubuntu1|^flashplugin-installer$)</re>
1513 <re key="DpkgTerminalLog">download failed</re>
1514 <re key="DpkgTerminalLog">The Flash plugin is NOT installed.</re>
1515 </pattern>
1516 <pattern url="http://launchpad.net/bugs/870281">
1517 <re key="Package">^ubiquity 2.8.7</re>
1518 <re key="UbiquitySyslog">10.3.183.10ubuntu5</re>
1519 <re key="UbiquitySyslog">404: Not Found</re>
1520 <re key="UbiquitySyslog">The Flash plugin is NOT installed.</re>
1521 </pattern>
1522 <pattern url="http://launchpad.net/bugs/398614">
1523 <re key="Package">^ubiquity 2.8.7</re>
1524 <re key="Traceback">XStartupError: X server exited with return code 1</re>
1525 </pattern>
1526 <pattern url="http://launchpad.net/bugs/792652">
1527 <re key="Package">^ubiquity (2.6.10|2.8.7)</re>
1528 <re key="Traceback">debconf.py</re>
1529 <re key="Traceback">self.write.write\("%s %s\\n" % \(command, ' '.join\(map\(str, params\)\)\)\)</re>
1530 <re key="Traceback">ValueError: I/O operation on closed file</re>
1531 </pattern>
1532 <!-- <pattern url="http://launchpad.net/bugs/220961">
1533 <re key="Package">^ubiquity </re>
1534 <re key="UbiquitySyslog">No space left on device</re>
1535 </pattern> -->
1536 <pattern url="http://launchpad.net/bugs/1871268">
1537 <re key="Package">^ubiquity </re>
1538 <re key="UbiquitySyslog">plugininstall.py: apt_pkg.Error.*i386</re>
1539 </pattern>
1540 <pattern url="http://launchpad.net/bugs/1587602">
1541 <re key="Package">^ubiquity </re>
1542 <re key="UbiquitySyslog">sed:.*//etc/default/rcS:</re>
1543 </pattern>
1544
1545<!-- Converted from ubuntuone-client.xml -->
1546
1547 <pattern url="http://launchpad.net/bugs/467397">
1548 <re key="Package">^ubuntuone-client </re>
1549 <re key="UbuntuOneOAuthLoginLog">KeyError: 'ROUND_CEiLiNG'</re>
1550 </pattern>
1551 <pattern url="http://launchpad.net/bugs/399937">
1552 <re key="Package">^ubuntuone-client </re>
1553 <re key="OriginalTitle">ubuntuone-syncdaemon crashed with ImportError in (.module.|__main__)</re>
1554 <re key="Traceback">in .module.</re>
1555 <re key="Traceback">ImportError\: </re>
1556 </pattern>
1557 <pattern url="http://launchpad.net/bugs/528203">
1558 <re key="Package">^ubuntuone-client </re>
1559 <re key="Title">failed to install/upgrade: trying to overwrite '/usr/lib/ubuntuone-client/ubuntuone-login', which is also in package ubuntuone-client</re>
1560 </pattern>
1561 <pattern url="http://launchpad.net/bugs/554561">
1562 <re key="Package">^ubuntuone-client </re>
1563 <re key="Title">ubuntuone-syncdaemon crashed with AttributeError in _upgrade_metadata_3</re>
1564 </pattern>
1565 <pattern url="http://launchpad.net/bugs/420705">
1566 <re key="Package">^ubuntuone-client</re>
1567 <re key="Traceback">org\.freedesktop\.DBus\.Error\.NoServer</re>
1568 </pattern>
1569 <pattern url="http://launchpad.net/bugs/711162">
1570 <re key="Package">^ubuntuone-client</re>
1571 <re key="Traceback">connection\.py</re>
1572 <re key="Traceback">message\.append\(signature=signature, \*args\)</re>
1573 <re key="Traceback">ValueError: Unable to guess signature from an empty dict</re>
1574 </pattern>
1575 <pattern url="http://launchpad.net/bugs/711221">
1576 <re key="Package">^ubuntuone-client</re>
1577 <re key="Traceback">connection\.py.*in call_blocking</re>
1578 <re key="Traceback">message, timeout</re>
1579 <re key="Traceback">DBusException: org\.freedesktop\.DBus\.Error\.Disconnected: Connection was disconnected before a reply was received</re>
1580 </pattern>
1581 <pattern url="http://launchpad.net/bugs/865105">
1582 <re key="Package">^ubuntuone-client</re>
1583 <re key="StacktraceTop">g_settings_get_boolean</re>
1584 </pattern>
1585 <pattern url="http://launchpad.net/bugs/1102685">
1586 <re key="Package">^ubuntuone-client</re>
1587 <re key="Traceback">Can not override a type Object, which is not in a gobject introspection typelib</re>
1588 </pattern>
1589
1590<!-- Ubuntu One client python libraries -->
1591 <pattern url="http://launchpad.net/bugs/1009573">
1592 <re key="Package">^python-ubuntuone-client.*1\.2\.2-0ubuntu2\.2</re>
1593 <re key="DpkgTerminalLog">except pycurl\.error as e:</re>
1594 </pattern>
1595
1596<!-- Ubuntu One installer -->
1597 <pattern url="http://launchpad.net/bugs/853060">
1598 <re key="Package">^ubuntuone-installer</re>
1599 <re key="Traceback">types.py", line .*, in function</re>
1600 <re key="Traceback">GError: .*-control-panel-gtk</re>
1601 </pattern>
1602
1603
1604<!-- Ubuntu SSO Client -->
1605 <pattern url="http://launchpad.net/bugs/711413">
1606 <re key="Package">^ubuntu-sso-client</re>
1607 <re key="Traceback">org\.freedesktop\.DBus\.Error\.NoServer</re>
1608 </pattern>
1609 <pattern url="http://launchpad.net/bugs/940669">
1610 <re key="Package">^ubuntu-sso-client 3.0.0-0ubuntu1</re>
1611 <re key="Title">ubuntu-sso-login crashed with SIGSEGV in (QSocketNotifier::|)setEnabled</re>
1612 <re key="Signal">11</re>
1613 <re key="Tags">apport-crash</re>
1614 <re key="StacktraceTop">QSocketNotifier::setEnabled</re>
1615 <re key="StacktraceTop">QMetaObject::activate</re>
1616 <re key="StacktraceTop">QSocketNotifier::activated</re>
1617 </pattern>
1618
1619<!-- Converted from update-manager.xml -->
1620
1621 <pattern url="https://launchpad.net/bugs/341503">
1622 <re key="Package">^update-manager </re>
1623 <re key="Traceback">in requiredDownload</re>
1624 <re key="Traceback">pm.[GetArchives|get_archives]</re>
1625 </pattern>
1626 <pattern url="http://launchpad.net/bugs/618951">
1627 <re key="Package">^update-manager </re>
1628 <re key="Traceback">InstallBackendAptdaemon.py</re>
1629 <re key="Traceback">in commit</re>
1630 <re key="Traceback">DBusException</re>
1631 </pattern>
1632 <pattern url="https://launchpad.net/bugs/626798">
1633 <re key="Package">^update-manager </re>
1634 <re key="Title">update-manager crashed with DBusException in _run\(\)</re>
1635 <re key="Traceback">yield self._transaction.run\(.*\)</re>
1636 <re key="Traceback">DBusException: org.*.DBus.Error.NoReply: Did not receive a reply.</re>
1637 </pattern>
1638 <pattern url="https://launchpad.net/bugs/659438">
1639 <re key="Traceback">pm.get_archives</re>
1640 <re key="Traceback">I wasn't able to locate file for the.*package.</re>
1641 <re key="Package">^update-manager </re>
1642 </pattern>
1643 <pattern url="https://launchpad.net/bugs/819234">
1644 <re key="Package">^update-manager </re>
1645 <re key="Traceback">NotAuthorizedError: org.freedesktop.PolicyKit.Error.NotAuthorized: \('system-bus-name', \{'name': \':1.\d+'\}\): org.debian.apt.install-or-remove-packages</re>
1646 </pattern>
1647 <pattern url="https://launchpad.net/bugs/873424">
1648 <re key="Package">^update-manager 1:0.150</re>
1649 <re key="Traceback">check-new-release-gtk", line .*, in on_button_ask_me_later_clicked</re>
1650 <re key="Traceback">TypeError: integer argument expected, got float</re>
1651 </pattern>
1652
1653 <pattern url="https://launchpad.net/bugs/810255">
1654 <re key="Package">^update-manager </re>
1655 <re key="Title">update-manager crashed with UnicodeEncodeError in get_dbus_message\(\): 'ascii' codec can't encode character(s)?( u'\\.*')? in position \d+(-\d+)?: ordinal not in range\(128\)</re>
1656 <re key="Traceback">UnicodeEncodeError: 'ascii' codec can't encode character(s)?( u'\\.*')? in position \d+(-\d+)?: ordinal not in range\(128\)</re>
1657 </pattern>
1658
1659 <pattern url="https://launchpad.net/bugs/854090">
1660 <re key="Package">^(aptdaemon|oneconf|synaptic|update-manager) </re>
1661 <re key="Title">(aptd|oneconf-service|synaptic|update-manager) crashed with SIGSEGV in debListParser::LoadReleaseInfo()</re>
1662 <re key="StacktraceTop">debListParser::LoadReleaseInfo.*(from /usr/lib/libapt-pkg.so.4.11|at deb/deblistparser.cc:\d+)</re>
1663 </pattern>
1664
1665 <pattern url="https://launchpad.net/bugs/898851">
1666 <re key="Package">^update-manager </re>
1667 <re key="Traceback">types.py", line .*, in function</re>
1668 <re key="Traceback">TypeError: Must be number, not tuple</re>
1669 </pattern>
1670
1671 <pattern url="https://launchpad.net/bugs/818760">
1672 <re key="Package">^update-manager </re>
1673 <re key="Traceback">socket.py", line .*, in readline</re>
1674 <re key="Traceback">timeout: timed out</re>
1675 </pattern>
1676
1677<!-- Converted from update-notifier.xml -->
1678
1679 <pattern url="https://launchpad.net/bugs/340479">
1680 <re key="Package">^update-notifier </re>
1681 <re key="Title">apt_check.py crashed with SIGSEGV in pkgCacheGenerator::MergeList</re>
1682 <re key="StacktraceTop">pkgCacheGenerator::MergeList</re>
1683 </pattern>
1684 <pattern url="https://launchpad.net/bugs/440498">
1685 <re key="Package">^update-notifier </re>
1686 <re key="Title">apt_check.py crashed with SIGSEGV in pkgCacheGenerator::ListParser::NewDepends</re>
1687 <re key="Stacktrace">pkgCacheGenerator::ListParser::NewDepends</re>
1688 </pattern>
1689 <pattern url="https://launchpad.net/bugs/1003100">
1690 <re key="Package">^update-notifier-common </re>
1691 <re key="DpkgTerminalLog">KeyError: 'paquetes'</re>
1692 </pattern>
1693 <pattern url="https://launchpad.net/bugs/1003100">
1694 <re key="Package">^update-notifier-common </re>
1695 <re key="VarLogDistupgradeApttermlog">KeyError: 'paquetes'</re>
1696 </pattern>
1697
1698<!-- zeitgeist -->
1699
1700 <pattern url="http://launchpad.net/bugs/807950">
1701 <re key="Package">^zeitgeist</re>
1702 <re key="Title">zeitgeist-daemon crashed with LookupError in remove_from_connection</re>
1703 <re key="Traceback">LookupError: &lt;_zeitgeist.engine.remote.RemoteInterface at /org/gnome/zeitgeist/log/activity at *</re>
1704 <re key="Traceback">is not exported at a location matching \(None,None\)</re>
1705 </pattern>
1706
1707 <pattern url="https://launchpad.net/bugs/834067">
1708 <re key="Package">^zeitgeist</re>
1709 <re key="Title">zeitgeist-daemon crashed with SIGSEGV in Xapian::WritableDatabase::add_document()</re>
1710 <re key="StacktraceTop">Xapian::WritableDatabase::add_document</re>
1711 </pattern>
1712
1713 <pattern url="https://launchpad.net/bugs/840542">
1714 <re key="Package">^zeitgeist</re>
1715 <re key="Title">zeitgeist-daemon crashed with SIGSEGV in std::_Rb_tree_increment()</re>
1716 <re key="StacktraceTop">std::_Rb_tree_increment</re>
1717 </pattern>
1718
1719 <pattern url="https://launchpad.net/bugs/841922">
1720 <re key="Package">^zeitgeist (0.7.1-1|0.8.2-1)</re>
1721 <re key="Title">zeitgeist-daemon crashed with DocNotFoundError in _check_index_and_start_worker()</re>
1722 <re key="Traceback">DocNotFoundError: Document \d+ not found</re>
1723 </pattern>
1724
1725 <pattern url="https://launchpad.net/bugs/841878">
1726 <re key="Package">^zeitgeist</re>
1727 <re key="Title">zeitgeist-daemon crashed with DatabaseCorruptError in _check_index_and_start_worker()</re>
1728 <re key="Traceback">_check_index_and_start_worker</re>
1729 <re key="Traceback">DatabaseCorruptError: (Data ran out unexpectedly when reading posting list|Unexpected end of posting list for|Expected block.*not 1)</re>
1730 </pattern>
1731
1732 <pattern url="https://launchpad.net/bugs/839798">
1733 <re key="Package">^zeitgeist</re>
1734 <re key="Title">zeitgeist-daemon crashed with RangeError in _check_index\(\)</re>
1735 <re key="Traceback">RangeError: Value in posting list too large.</re>
1736 </pattern>
1737
1738 <pattern url="https://launchpad.net/bugs/839672">
1739 <re key="Package">^zeitgeist</re>
1740 <re key="Title">zeitgeist-daemon crashed with DatabaseError in _check_index\(\)</re>
1741 <re key="Traceback">DatabaseError: Error reading block.*: got end of file</re>
1742 </pattern>
1743
1744 <pattern url="https://launchpad.net/bugs/848710">
1745 <re key="Package">^zeitgeist</re>
1746 <re key="Title">zeitgeist-daemon crashed with OperationalError in execute()</re>
1747 <re key="Traceback">OperationalError: database is locked</re>
1748 </pattern>
1749
1750 <pattern url="https://launchpad.net/bugs/849595">
1751 <re key="Package">^zeitgeist</re>
1752 <re key="Title">zeitgeist-daemon crashed with DatabaseError in execute()</re>
1753 <re key="Traceback">DatabaseError: database disk image is malformed</re>
1754 </pattern>
1755
1756 <pattern url="https://launchpad.net/bugs/832092">
1757 <re key="Package">^zeitgeist</re>
1758 <re key="Title">zeitgeist-daemon crashed with DBusException in call_blocking()</re>
1759 <re key="Traceback">DBusException: org.freedesktop.DBus.Error.Disconnected: Connection is closed</re>
1760 </pattern>
1761
1762 <pattern url="https://launchpad.net/bugs/839837">
1763 <re key="Package">^zeitgeist</re>
1764 <re key="Title">zeitgeist-daemon crashed with DatabaseCorruptError in _check_index()</re>
1765 <re key="Traceback">DatabaseCorruptError: Data ran out unexpectedly when reading posting list.</re>
1766 </pattern>
1767
1768 <pattern url="https://launchpad.net/bugs/841413">
1769 <re key="Package">^zeitgeist</re>
1770 <re key="Title">zeitgeist-daemon crashed with SIGSEGV in ChertTable::add_item_to_block()</re>
1771 <re key="Signal">11</re>
1772 <re key="StacktraceTop">ChertTable::add_item_to_block</re>
1773 </pattern>
1774
1775 <pattern url="https://launchpad.net/bugs/896445">
1776 <re key="Package">^zeitgeist</re>
1777 <re key="Traceback">fts.py</re>
1778 <re key="Traceback">in __init__</re>
1779 <re key="Traceback">DatabaseLockError\: Unable to get write lock on .*\: already locked</re>
1780 </pattern>
1781
1782<!-- Converted from libxcb.xml -->
1783 <pattern url="http://launchpad.net/bugs/507062">
1784 <re key="AssertionMessage">_XAllocID:.*ret.*inval_id</re>
1785 </pattern>
1786
1787<!-- branding-ubuntu bugs -->
1788
1789 <pattern url="http://launchpad.net/bugs/753449">
1790 <re key="Package">branding-ubuntu</re>
1791 <re key="ErrorMessage">/usr/share/gnome-games/quadrapassel/pixmaps/quadrapassel.svg.*quadrapassel</re>
1792 </pattern>
1793
1794<!-- pyatspi bugs -->
1795 <pattern url="http://launchpad.net/bugs/827100">
1796 <re key="Package">pyatspi</re>
1797 <re key="DpkgTerminalLog">SyntaxError: \('invalid syntax', \('/usr/lib/python2.7/dist-packages/pyatspi/text.py', 474,</re>
1798 </pattern>
1799
1800<!-- language-selector bugs -->
1801 <pattern url="https://launchpad.net/bugs/619363">
1802 <re key="Package">^language-selector</re>
1803 <re key="Traceback">in _inline_callbacks</re>
1804 <re key="Traceback">DBusException</re>
1805 </pattern>
1806 <pattern url="http://launchpad.net/bugs/827176">
1807 <re key="Package">language-selector</re>
1808 <re key="Traceback">File "/usr/bin/fontconfig-voodoo"</re>
1809 <re key="Traceback">DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist</re>
1810 </pattern>
1811
1812 <pattern url="https://launchpad.net/bugs/833065">
1813 <re key="Package">^language-selector</re>
1814 <re key="Title">fontconfig-voodoo crashed with TypeError in getUserDefaultLanguage()</re>
1815 <re key="Traceback">TypeError: expected string or buffer</re>
1816 </pattern>
1817
1818 <pattern url="https://launchpad.net/bugs/856975">
1819 <re key="Package">^language-selector</re>
1820 <re key="Title">fontconfig-voodoo crashed with DBusException in __new__()</re>
1821 <re key="Traceback">DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory</re>
1822 </pattern>
1823
1824<!-- ubuntu-meta -->
1825 <pattern url="http://launchpad.net/bugs/828759">
1826 <re key="Package">ubuntu-desktop</re>
1827 <re key="VarLogDistupgradeApttermlog">dpkg: dependency problems prevent configuration of ubuntu-desktop:</re>
1828 <re key="VarLogDistupgradeApttermlog">Package at-spi2-core is not installed.</re>
1829 <re key="VarLogDistupgradeApttermlog">Package libatk-adaptor is not installed.</re>
1830 </pattern>
1831
1832<!-- emerald -->
1833 <pattern url="http://launchpad.net/bugs/726229">
1834 <re key="Package">emerald</re>
1835 <re key="StacktraceTop">decor_quads_to_property \(\) from /usr/lib/libdecoration.so.0</re>
1836 </pattern>
1837
1838<!-- sessioninstaller -->
1839 <pattern url="http://launchpad.net/bugs/716711">
1840 <re key="Package">sessioninstaller</re>
1841 <re key="Traceback">sessioninstaller/core\.py</re>
1842 <re key="Traceback">_install_provide_files</re>
1843 <re key="Traceback">raise errors\.ModifyInternalError\(message\)</re>
1844 </pattern>
1845
1846<!-- gnome-codec-install -->
1847 <pattern url="http://launchpad.net/bugs/834133">
1848 <re key="Package">gnome-codec-install</re>
1849 <re key="Traceback">yield self\._transaction.run\(\)</re>
1850 <re key="Traceback">gstreamer0.10-plugins-ugly: Depends:</re>
1851 </pattern>
1852
1853 <pattern url="http://launchpad.net/bugs/715523">
1854 <re key="Package">^gnome-codec-install</re>
1855 <re key="Traceback">gtkwidgets.py", line .*, in _run</re>
1856 <re key="Traceback">DBusException: org.freedesktop.DBus.Error.NoReply</re>
1857 </pattern>
1858
1859<!-- dconf-gsettings-backend -->
1860 <pattern url="http://launchpad.net/bugs/832536">
1861 <re key="Package">dconf-gsettings-backend</re>
1862 <re key="Signal">5</re>
1863 <re key="Title">dconf-service crashed with signal 5 in __libc_start_main\(\)</re>
1864 <re key="Stacktrace">dconf_state_init_session</re>
1865 </pattern>
1866
1867<!-- gnome-app-install -->
1868 <pattern url="http://launchpad.net/bugs/339148">
1869 <re key="Package">gnome-app-install</re>
1870 <re key="Traceback">Menu.py</re>
1871 <re key="Traceback">in _refilter</re>
1872 <re key="Traceback">name = model\.get_value\(model\.get_iter\(path\), COL_NAME\)</re>
1873 <re key="Traceback">ValueError</re>
1874 </pattern>
1875
1876<!-- libgtk-x11-2.0.so -->
1877 <pattern url="http://launchpad.net/bugs/729150">
1878 <re key="Signal">11</re>
1879 <re key="Stacktrace">find_image_offset</re>
1880 <re key="Stacktrace">gtkiconcache</re>
1881 </pattern>
1882
1883<!-- oneconf, server unavailable -->
1884 <pattern url="https://launchpad.net/bugs/851169">
1885 <re key="Package">^oneconf</re>
1886 <re key="Title">oneconf-service crashed with ServerNotFoundError in _conn_request\(\): Unable to find the server at apps.ubuntu.com</re>
1887 </pattern>
1888 <pattern url="https://launchpad.net/bugs/856576">
1889 <re key="Package">^oneconf</re>
1890 <re key="Title">oneconf-query crashed with IOError in translation\(\): \[Errno 2\] No translation file found for domain: 'oneconf'</re>
1891 </pattern>
1892 <pattern url="https://launchpad.net/bugs/1102715">
1893 <re key="Package">^oneconf</re>
1894 <re key="Title">No module named oneconf.version</re>
1895 </pattern>
1896
1897<!-- balazar -->
1898 <pattern url="http://launchpad.net/bugs/132636">
1899 <re key="Package">balazar</re>
1900 <re key="Traceback">GLError</re>
1901 <re key="Traceback">_soya.check_gl_error</re>
1902 <re key="Traceback">_soya.render</re>
1903 </pattern>
1904
1905 <pattern url="http://launchpad.net/bugs/852343">
1906 <re key="Package">indicator-session</re>
1907 <re key="Title">gtk-logout-helper crashed with signal 5</re>
1908 </pattern>
1909
1910 <pattern url="http://launchpad.net/bugs/850662">
1911 <re key="Package">indicator-sound</re>
1912 <re key="StacktraceTop">pa_cvolume_set</re>
1913 </pattern>
1914
1915 <pattern url="https://launchpad.net/bugs/264336">
1916 <re key="Package">^postgresql</re>
1917 <re key="ProblemType">^Package</re>
1918 <re key="DpkgTerminalLog">SHMMAX</re>
1919 </pattern>
1920
1921 <pattern url="https://launchpad.net/bugs/656351">
1922 <re key="Package">^postgresql</re>
1923 <re key="ProblemType">^Package</re>
1924 <re key="DpkgTerminalLog">authentication option not in name=value format: sameuser</re>
1925 </pattern>
1926
1927 <pattern url="https://launchpad.net/bugs/783930">
1928 <re key="Package">^postgresql-common</re>
1929 <re key="ProblemType">^Package</re>
1930 <re key="DpkgTerminalLog">Error: /var/lib/postgresql/.* is not accessible or does not exist</re>
1931 </pattern>
1932
1933 <pattern url="https://launchpad.net/bugs/783930">
1934 <re key="Package">^postgresql-common</re>
1935 <re key="ProblemType">^Package</re>
1936 <re key="DpkgTerminalLog">Error: /var/lib/postgresql/.* is not accessible or does not exist</re>
1937 </pattern>
1938
1939 <pattern url="https://launchpad.net/bugs/784321">
1940 <re key="Package">^postgresql</re>
1941 <re key="ProblemType">^Package</re>
1942 <re key="DpkgTerminalLog">server.key.*Permission denied</re>
1943 </pattern>
1944
1945 <pattern url="https://launchpad.net/bugs/842590">
1946 <re key="Package">^postgresql</re>
1947 <re key="ProblemType">^Package</re>
1948 <re key="DpkgTerminalLog">could not translate host name "localhost"</re>
1949 </pattern>
1950
1951 <pattern url ="http://launchpad.net/bugs/871083">
1952 <re key="Package">^libpam-modules </re>
1953 <re key="ProblemType">^Package</re>
1954 <re key="VarLogDistupgradeApttermlog">'./usr/share/man/man8/pam_shells.8.gz' is different from the same file on the system</re>
1955 </pattern>
1956
1957 <pattern url ="http://launchpad.net/bugs/773172">
1958 <re key="ProblemType">^Package</re>
1959 <re key="VarLogDistupgradeApttermlog">dpkg-deb --fsys-tarfile returned error exit status</re>
1960 </pattern>
1961
1962 <pattern url ="http://launchpad.net/bugs/773172">
1963 <re key="ProblemType">^Package</re>
1964 <re key="DpkgTerminalLog">dpkg-deb --fsys-tarfile returned error exit status</re>
1965 </pattern>
1966
1967 <pattern url ="http://launchpad.net/bugs/773172">
1968 <re key="ProblemType">^Package</re>
1969 <re key="DpkgTerminalLog">corrupted filesystem tarfile</re>
1970 </pattern>
1971
1972
1973 <pattern url="https://launchpad.net/bugs/883439">
1974 <re key="Package">^plymouth-theme-ubuntu-text </re>
1975 <re key="ProblemType">^Package</re>
1976 <re key="DefaultPlymouth">/lib/plymouth/themes/satanic-logo/satanic-logo.plymouth </re>
1977 <re key="VarLogDistUpgradeApttermlog">update-alternatives: error: readlink.*/etc/alternatives/text.plymouth.* failed: Invalid argument</re>
1978 </pattern>
1979
1980 <pattern url ="http://launchpad.net/bugs/887892">
1981 <re key="ProblemType">^Package</re>
1982 <re key="Package">^udev (175-0ubuntu1|173)</re>
1983 <re key="VarLogDistupgradeApttermlog">unrecognized option '--convert-db'</re>
1984 </pattern>
1985
1986 <pattern url="https://launchpad.net/bugs/182629">
1987 <re key="Package">^gksu</re>
1988 <re key="Title">SIGSEGV in gdk_window_set_opacity</re>
1989 </pattern>
1990
1991 <pattern url="https://launchpad.net/bugs/90312">
1992 <re key="Package">^gksu</re>
1993 <re key="Title">SIGSEGV in gdk_draw_pixbuf</re>
1994 </pattern>
1995
1996 <pattern url="https://launchpad.net/bugs/898874">
1997 <re key="Package">^gksu</re>
1998 <re key="Title">SIGSEGV in (.*__strlen_|fputs)</re>
1999 </pattern>
2000
2001 <pattern url="https://launchpad.net/bugs/442941">
2002 <re key="DistroRelease">Ubuntu 11.04</re>
2003 <re key="Package">^tzdata </re>
2004 <re key="DpkgTerminalLog">tzdata 2011f-1</re>
2005 <re key="DpkgTerminalLog">post-installation.*128</re>
2006 </pattern>
2007
2008 <pattern url="https://launchpad.net/bugs/442941">
2009 <re key="DistroRelease">Ubuntu 10.04</re>
2010 <re key="Package">^tzdata </re>
2011 <re key="DpkgTerminalLog">tzdata 2010i-1</re>
2012 <re key="DpkgTerminalLog">post-installation.*128</re>
2013 </pattern>
2014
2015 <pattern url="https://launchpad.net/bugs/442941">
2016 <re key="DistroRelease">Ubuntu (11.04|10.10|10.04)</re>
2017 <re key="Package">^tzdata </re>
2018 <re key="DpkgTerminalLog">could not open /var/cache/debconf/config.dat</re>
2019 </pattern>
2020
2021 <pattern url="https://launchpad.net/bugs/915271">
2022 <re key="Package">^libreoffice</re>
2023 <re key="Title">rmdir.*basis3.4</re>
2024 </pattern>
2025
2026 <pattern url="https://launchpad.net/bugs/915271">
2027 <re key="Package">^libreoffice</re>
2028 <re key="VarLogDistupgradeApttermlog">rmdir.*basis3.4</re>
2029 </pattern>
2030
2031 <pattern url="https://launchpad.net/bugs/915271">
2032 <re key="Package">^libreoffice</re>
2033 <re key="DpkgTerminalLog">rmdir.*basis3.4</re>
2034 </pattern>
2035
2036 <pattern url="http://launchpad.net/bugs/911436">
2037 <re key="Package">^(cups-client |samba |system-config-printer |evolution-data-server |landscape-client |software-center |libvirt |gnucash |gwibber |git |kde-runtime |cups )</re>
2038 <re key="Stacktrace">p11_kit_initialize_registered</re>
2039 </pattern>
2040
2041 <pattern url="http://launchpad.net/bugs/925049">
2042 <re key="Package">^libreoffice</re>
2043 <re key="StacktraceTop">::notifyInternal()</re>
2044 </pattern>
2045
2046<!-- xorg-server -->
2047 <pattern url="http://wiki.ubuntu.com/X/Bugs/Transitions">
2048 <re key="ErrorMessage">installing xserver-xorg-core would break existing software</re>
2049 <re key="Package">^xserver-xorg-core</re>
2050 <re key="ProblemType">^Package</re>
2051 <re key="DpkgTerminalLog"> installing xserver-xorg-core would break existing software</re>
2052 </pattern>
2053
2054<!-- vboxgtk -->
2055 <pattern url="https://launchpad.net/bugs/511601">
2056 <re key="Package">^vboxgtk</re>
2057 <re key="Traceback">components.py", line .*, in __getattr__</re>
2058 <re key="Traceback">AttributeError: 'MachineState' interfaces do not define a constant 'Discarding'</re>
2059 </pattern>
2060
2061<!-- clamav -->
2062 <pattern url="https://launchpad.net/bugs/1015337">
2063 <re key="Package">^clamav-base 0.97.5\+dfsg-1ubuntu0.12.04.1</re>
2064 <re key="DpkgTerminalLog">install: cannot stat `/usr/share/doc/clamav-base/examples/main.cvd': No such file or directory</re>
2065 </pattern>
2066
2067<!-- ubuntu-release-upgrader -->
2068 <pattern url="https://launchpad.net/bugs/1023055">
2069 <re key="Package">^ubuntu-release-upgrader-core </re>
2070 <re key="Traceback">from DistUpgrade.DistUpgradeVersion import VERSION</re>
2071 <re key="Traceback">ImportError: No module named DistUpgrade.DistUpgradeVersion</re>
2072 </pattern>
2073 <pattern url="https://launchpad.net/bugs/1534374">
2074 <re key="Package">^ubuntu-release-upgrader-core </re>
2075 <re key="Dependencies">gcc-4.9-base 4.9.3-0ubuntu4</re>
2076 <re key="VarLogDistupgradeMainlog">lsb-release: 'trusty'</re>
2077 <re key="VarLogDistupgradeMainlog">plugins for condition 'vividPreCacheOpen'</re>
2078 </pattern>
2079 <pattern url="https://launchpad.net/bugs/1384946">
2080 <re key="Package">^ubuntu-release-upgrader-core </re>
2081 <re key="VarLogDistupgradeAptlog">Holding Back gnuplot-nox</re>
2082 <re key="VarLogDistupgradeAptlog">Holding Back gnuplot-x11</re>
2083 <re key="VarLogDistupgradeAptlog">\(9\) gnuplot-x11</re>
2084 <re key="VarLogDistupgradeAptlog">\(9\) gnuplot-nox</re>
2085 </pattern>
2086 <pattern url="https://launchpad.net/bugs/996916">
2087 <re key="Package">^(ubuntu-release-upgrader-core |update-manager)</re>
2088 <re key="VarLogDistupgradeMainlog">blacklist expr '\^postgresql-.*\[0-9\]\\.\[0-9\].*' matches</re>
2089 <re key="VarLogDistupgradeMainlog">The package 'postgresql-.*' is marked for removal but it's in the removal blacklist</re>
2090 </pattern>
2091 <pattern url="https://launchpad.net/bugs/1605259">
2092 <re key="Package">^ubuntu-release-upgrader-core </re>
2093 <re key="VarLogDistupgradeMainlog">ERROR aufs setup failed</re>
2094 </pattern>
2095 <!-- don't consolidate this Xorg PPA issue with search-bugs so we can be informative about resolving it -->
2096 <pattern url="https://launchpad.net/bugs/1069133">
2097 <re key="Package">^ubuntu-release-upgrader-core </re>
2098 <re key="VarLogDistupgradeAptlog">xserver-xorg.*~gd~(t|u|v|w)</re>
2099 <!-- the following bits may have been overly specific i.e. got no false positives w/o them -->
2100 <!-- <re key="VarLogDistupgradeAptclonesystemstate.tar">\./etc/apt/sources\.list\.d/oibaf-graphics-drivers.*list</re> -->
2101 <!-- <re key="VarLogDistupgradeMainlog">pkgProblemResolver</re> -->
2102 </pattern>
2103 <pattern url="https://launchpad.net/bugs/1510841">
2104 <re key="Package">^ubuntu-release-upgrader-core </re>
2105 <re key="VarLogDistupgradeMainlog">MetaPkgs: \S+ \S+</re>
2106 <re key="VarLogDistupgradeMainlog">marked for removal but it's in the removal blacklist</re>
2107 </pattern>
2108 <pattern url="https://launchpad.net/bugs/1610756">
2109 <re key="Package">^ubuntu-release-upgrader-core </re>
2110 <re key="VarLogDistupgradeAptlog">Holding Back backuppc:\w+ rather than change libcgi-pm-perl</re>
2111 </pattern>
2112 <pattern url="https://launchpad.net/bugs/1611737">
2113 <re key="Package">^ubuntu-release-upgrader-core </re>
2114 <re key="VarLogDistupgradeMainlog">ros-(indigo|jade)</re>
2115 <re key="VarLogDistupgradeAptlog">Broken libboost</re>
2116 <!-- Not every u-r-u bug contains the full log -->
2117 <!-- <re key="VarLogDistupgradeMainlog">Dist-upgrade failed.*pkgProblemResolver</re> -->
2118 </pattern>
2119 <pattern url="https://launchpad.net/bugs/1886748">
2120 <re key="Package">^ubuntu-release-upgrader-core 1:18.04</re>
2121 <re key="VarLogDistupgradeMainlog">ERROR Dist-upgrade failed</re>
2122 <re key="VarLogDistupgradeAptlog">Holding Back libomp5.*change libomp5-10</re>
2123 </pattern>
2124 <pattern url="https://launchpad.net/bugs/1889250">
2125 <re key="Package">^ubuntu-release-upgrader-core 1:18.04</re>
2126 <re key="VarLogDistupgradeAptlog">nodejs.*nodesource</re>
2127 <re key="VarLogDistupgradeAptlog">Fixing nodejs.*via keep of python-minimal</re>
2128 <re key="VarLogDistupgradeAptclonesystemstate.tar">\./etc/apt/sources\.list\.d/nodesource.list</re> -->
2129 </pattern>
2130 <pattern url="https://launchpad.net/bugs/1813354">
2131 <re key="Package">^ubuntu-release-upgrader-core </re>
2132 <re key="VarLogDistupgradeMainlog">entry \'# deb mirror.*was disabled</re>
2133 <re key="VarLogDistupgradeMainlog">No \'ubuntu-minimal\' available/downloadable after sources.list rewrite\+update</re>
2134 </pattern>
2135
2136<!-- compiz -->
2137 <pattern url="https://launchpad.net/bugs/1366351">
2138 <re key="Package">^compiz-core 1:0.9.12\+14.10.2014</re>
2139 <re key="Title">compiz crashed with SIGSEGV in g_closure_invoke()</re>
2140 <re key="Signal">11</re>
2141 </pattern>
2142
2143 <pattern url="https://launchpad.net/bugs/1433320">
2144 <re key="Package">^systemd</re>
2145 <re key="ExecutablePath">/lib/systemd/systemd-</re>
2146 <re key="Signal">6</re>
2147 <re key="JournalErrors.txt">systemd-.*\.service: Watchdog timeout</re>
2148 </pattern>
2149
2150 <pattern url="https://launchpad.net/bugs/1773859">
2151 <re key="Package">^systemd|systemd-shim|systemd-sysv</re>
2152 <!-- <re key="DpkgTerminalLog">Removing systemd-shim (9-1bzr4ubuntu1)</re> -->
2153 <re key="DpkgTerminalLog">dpkg-divert:.*error:.*rename involves overwriting \'/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service\'</re>
2154 <re key="DpkgTerminalLog">different file \'/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd\', not allowed</re>
2155 <re key="DpkgTerminalLog">post-removal script.*returned error exit status 2</re>
2156 </pattern> -->
2157
2158 <pattern url="https://launchpad.net/bugs/1773859">
2159 <re key="Package">^ubuntu-release-upgrader-core</re>
2160 <re key="VarLogDistupgradeApttermlog">dpkg-divert: error: rename involves overwriting</re>
2161 <re key="VarLogDistupgradeApttermlog">different file.*not allowed</re>
2162 <re key="VarLogDistupgradeApttermlog"> installed systemd-shim package post-removal script subprocess returned error exit status 2</re>
2163 </pattern>
2164
2165 <pattern url="https://launchpad.net/bugs/1898152">
2166 <re key="Package">^ubuntu-release-upgrader-core</re>
2167 <re key="DistroRelease">.*18.04</re>
2168 <re key="VarLogDistupgradeAptlog">Broken gnuradio-dev:amd64</re>
2169 </pattern>
2170
2171<!-- nginx -->
2172 <pattern url="https://launchpad.net/bugs/1512344">
2173 <re key="ProblemType">^Package</re>
2174 <re key="Package">nginx-.*</re>
2175 <re key="SystemctlStatusFull_Nginx.txt">failed.*98: Address already in use</re>
2176 </pattern>
2177
2178<!-- mysql -->
2179 <pattern url="https://launchpad.net/bugs/1571865">
2180 <!-- catch both mysql-server-5.7 and mysql-server 5.7.something -->
2181 <re key="Package">^mysql-server[ -]5\.7</re>
2182 <re key="Logs.var.log.mysql.error.log">\[ERROR\] unknown variable \'key_buffer\=</re>
2183 </pattern>
2184 <pattern url="https://launchpad.net/bugs/1571865">
2185 <!-- catch both mysql-server-5.7 and mysql-server 5.7.something -->
2186 <re key="Package">^mysql-server[ -]5\.7</re>
2187 <re key="Logs.var.log.mysql.error.log">\[ERROR\] unknown variable \'myisam-recover\=</re>
2188 </pattern>
2189
2190 <pattern url="https://launchpad.net/bugs/1574168">
2191 <!-- catch both mysql-server-5.7 and mysql-server 5.7.something -->
2192 <re key="Package">^mysql-server[ -]5\.7</re>
2193 <re key="DpkgTerminalLog">mysql_upgrade: \[ERROR\] 1007: Can\'t create database \'performance_schema\'\; database exists</re>
2194 </pattern>
2195
2196 <pattern url="https://launchpad.net/bugs/1574040">
2197 <!-- catch both mysql-server-5.7 and mysql-server 5.7.something -->
2198 <re key="Package">^mysql-server[ -]5\.7</re>
2199 <re key="DpkgTerminalLog">mysql_upgrade: \[ERROR\] 1049: Unknown database \'performance_schema\'</re>
2200 </pattern>
2201
2202 <pattern url="https://launchpad.net/bugs/1571764">
2203 <!-- catch both mysql-server-5.7 and mysql-server 5.7.something -->
2204 <re key="Package">^mysql-server[ -]5\.7</re>
2205 <re key="Logs.var.log.mysql.error.log">\[ERROR\] Incorrect definition of table performance_schema\.</re>
2206 </pattern>
2207
2208 <pattern url="https://launchpad.net/bugs/1490071">
2209 <re key="Package">^mysql-server-5\.(6|7)</re>
2210 <re key="DpkgTerminalLog">Aborting downgrade from \(at least\) 10\.0 to 5\.(6|7)\.</re>
2211 </pattern>
2212
2213 <pattern url="https://launchpad.net/bugs/1579708">
2214 <re key="Package">^mysql-server-5\.7</re>
2215 <re key="modified.conffile..etc.mysql.conf.d.mysql.cnf">\[deleted\]</re>
2216 </pattern>
2217
2218 <pattern url="https://launchpad.net/bugs/1579708">
2219 <re key="Package">^(mysql-server|mysql-server-5.7|mysql-common)</re>
2220 <re key="modified.conffile..etc.mysql.mysql.cnf">\[deleted\]</re>
2221 </pattern>
2222
2223 <pattern url="https://launchpad.net/bugs/1579708">
2224 <re key="Package">^(mysql-server|mysql-server-5.7|mysql-common)</re>
2225 <re key="modified.conffile..etc.mysql.conf.d.mysql.cnf">\[deleted\]</re>
2226 </pattern>
2227
2228 <pattern url="https://launchpad.net/bugs/1579708">
2229 <re key="Package">^(mysql-server|mysql-server-5.7|mysql-common)</re>
2230 <re key="modified.conffile..etc.mysql.my.cnf.fallback">\[deleted\]</re>
2231 </pattern>
2232
2233 <pattern url="https://launchpad.net/bugs/1679435">
2234 <re key="ProblemType">^Package</re>
2235 <re key="Package">^shim-signed</re>
2236 <re key="DpkgTerminalLog">^+/var/lib/dkms/virtualbox</re>
2237 <re key="DpkgHistoryLog">\nInstall[^\n]*gnome-software:\S* \((3\.20\.1\+git201(61013.0.d77d6cf-0ubuntu2|70208.0.a34b091-0ubuntu1)|3.22.7-0ubuntu3)</re>
2238 <re key="DpkgHistoryLog">\n(?!Upgrade[^\n]*gnome-software)</re>
2239 <re key="DpkgHistoryLog">\nInstall[^\n]*virtualbox-dkms:\S*</re>
2240 </pattern>
2241
2242 <pattern url="https://launchpad.net/bugs/1679784">
2243 <re key="ProblemType">^Package</re>
2244 <re key="Package">^shim-signed</re>
2245 <re key="DpkgTerminalLog">^+/var/lib/dkms/bcmwl</re>
2246 <re key="DpkgHistoryLog">\nUpgrade[^\n]*software-properties-gtk:\S* \(0\.96\.20\.6, 0\.96\.20\.7\)</re>
2247 <re key="DpkgHistoryLog">\nInstall[^\n]*bcmwl-kernel-source:\S</re>
2248 </pattern>
2249
2250 <pattern url="https://launchpad.net/bugs/1679784">
2251 <re key="ProblemType">^Package</re>
2252 <re key="Package">^shim-signed</re>
2253 <re key="DpkgTerminalLog">^+/var/lib/dkms/bcmwl</re>
2254 <re key="DpkgHistoryLog">\nInstall[^\n]*software-properties-gtk:\S* \(0\.96\.20\.[26]\)</re>
2255 <re key="DpkgHistoryLog">\n(?!Upgrade[^\n]*software-properties-gtk)</re>
2256 <re key="DpkgHistoryLog">\nInstall[^\n]*bcmwl-kernel-source:\S</re>
2257 </pattern>
2258
2259 <pattern url="https://launchpad.net/bugs/1708947">
2260 <re key="ProblemType">^Crash</re>
2261 <re key="Package">^gdebi-kde</re>
2262 <re key="Traceback">ModuleNotFoundError: No module named 'DLFCN'</re>
2263 </pattern>
2264
2265 <pattern url="https://launchpad.net/bugs/1726803">
2266 <re key="ProblemType">^Package</re>
2267 <re key="Package">^shim-signed</re>
2268 <re key="DpkgTerminalLog">-/var/lib/dkms/nvidia-375\n\+/var/lib/dkms/nvidia-384</re>
2269 <re key="Title">^package shim-signed 1.32.*-1ubuntu1 failed to install/upgrade</re>
2270 </pattern>
2271
2272 <!-- grub / efibootmgr update failure due to broken firmwares -->
2273 <pattern url="https://launchpad.net/bugs/1767276">
2274 <re key="ProblemType">^Package</re>
2275 <re key="Package">^(shim-signed|grub-efi-amd64|grub-efi-amd64-signed|efibootmgr)</re>
2276 <re key="DpkgTerminalLog">Could not delete variable: Interrupted system call</re>
2277 </pattern>
2278 <pattern url="https://launchpad.net/bugs/1805490">
2279 <re key="ProblemType">^Package</re>
2280 <re key="Package">^(shim-signed|grub-efi-amd64|grub-efi-amd64-signed|efibootmgr)</re>
2281 <re key="DpkgTerminalLog">Could not delete variable: Invalid argument</re>
2282 </pattern>
2283 <pattern url="https://launchpad.net/bugs/1767570">
2284 <re key="ProblemType">^Package</re>
2285 <re key="Package">^(shim-signed|grub-efi-amd64|grub-efi-amd64-signed|efibootmgr)</re>
2286 <re key="DpkgTerminalLog">Could not delete variable: No space left on device</re>
2287 </pattern>
2288
2289 <pattern url="https://launchpad.net/bugs/1779237">
2290 <re key="ProblemType">^Package</re>
2291 <re key="SourcePackage">^(python3-defaults|update-notifier|update-manager)</re>
2292 <!-- <re key="DpkgTerminalLog">E: py3comple:183: cannot create directory /usr/share/hplip/.*FileNotFoundError</re> -->
2293 <re key="DpkgTerminalLog">error running python rtupdate hook hplip-data</re>
2294 <re key="DpkgTerminalLog">python3.*post-installation.*4</re>
2295 </pattern>
2296 <pattern url="https://launchpad.net/bugs/1788727">
2297 <re key="ProblemType">^Package</re>
2298 <re key="SourcePackage">^grub2</re>
2299 <re key="DpkgTerminalLog">E: Your kernels are unsigned. This system will fail to boot in a secure boot environment</re>
2300 </pattern>
2301 <pattern url="https://launchpad.net/bugs/1573508">
2302 <re key="ProblemType">^Package</re>
2303 <re key="SourcePackage">^nvidia-graphics-drivers-</re>
2304 <re key="DKMSBuildLog">error: too (few|many) arguments to function .get_user_pages.</re>
2305 </pattern>
2306 <pattern url="https://launchpad.net/bugs/1830066">
2307 <re key="ProblemType">^Package</re>
2308 <re key="SourcePackage">^grub$</re>
2309 <re key="Title">package .* failed to install\/upgrade: run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1</re>
2310 <re key="DpkgTerminalLog">Could not find /boot/grub/menu\.lst file\. Would you like /boot/grub/menu\.lst generated for you\? \(y/N\)</re>
2311 </pattern>
2312 <pattern url="https://launchpad.net/bugs/1874662">
2313 <re key="ProblemType">^Bug</re>
2314 <re key="CasperMD5CheckResult">^(fail|skip)</re>
2315 <re key="UbiquitySyslog">SQUASHFS error</re>
2316 </pattern>
2317 <pattern url="https://launchpad.net/bugs/1928352">
2318 <re key="ProblemType">^Package</re>
2319 <re key="SourcePackage">^(shim-signed|grub2-signed)</re>
2320 <re key="DpkgTerminalLog">grub-install: (warning|aviso): vars_get_variable: read_file.*failed: (Input/output error|Erro de entrada/saída|Error de entrada/salida)\.</re>
2321 </pattern>
2322 <pattern url="https://launchpad.net/bugs/1944086">
2323 <re key="ProblemType">^Crash</re>
2324 <re key="SourcePackage">^rsyslog$</re>
2325 <re key="Stacktrace">#0 0x.*in IO_validate_vtable.*at \.\./libio/libioP.h:940</re>
2326 <re key="Stacktrace">#1 outstring_func.*at vfprintf-internal\.c:239</re>
2327 <re key="Stacktrace">#2 __vfprintf_internal.*at vfprintf-internal\.c:1404</re>
2328 </pattern>
2329 <pattern url="https://launchpad.net/bugs/2018279">
2330 <re key="ProblemType">^Package</re>
2331 <re key="Package">^update-notifier</re>
2332 <re key="DpkgTerminalLog">ModuleNotFoundError: No module named '(apt_pkg|debian)'</re>
2333 </pattern>
2334 <!-- GRUB2 non-interactive upgrades failing due to stale grub-{efi,pc}/install_devices -->
2335 <pattern url="https://launchpad.net/bugs/1940723">
2336 <re key="ProblemType">^Package</re>
2337 <re key="Package">^(shim-signed|grub2-signed|grub2)</re>
2338 <!-- This is the modern error (both for BIOS and UEFI): -->
2339 <re key="DpkgTerminalLog">You must correct your GRUB install devices before proceeding</re>
2340 <!-- Previously when installation to a device failed, the package upgrade
2341 just continued. Except in the UEFI signed case, where grub-multi-install is
2342 called by the grub-efi-ARCH-signed package, which did fail postinst on
2343 error, generating this message (only including the prefix as the rest
2344 is localised): -->
2345 <re key="DpkgTerminalLog">mount: /var/lib/grub/esp:</re>
2346 </pattern>
2347</patterns>
02348
=== added file 'check-patterns-for-fixed-bugs'
--- check-patterns-for-fixed-bugs 1970-01-01 00:00:00 +0000
+++ check-patterns-for-fixed-bugs 2024-02-27 16:26:55 +0000
@@ -0,0 +1,106 @@
1#!/usr/bin/python
2#
3# Author: Brian Murray <brian@canonical.com>
4# Copyright (C) 2012 Canonical, Ltd.
5# License: GPLv3
6#
7# Parse the bugpatterns.xml file and check to see if the bug for which a
8# pattern was written has been fixed. If it has then check the duplicates bugs
9# to see what releases and package versions were affected. Then one can
10# determine whether or not to remove the pattern or include version check.
11
12import os
13import re
14import sys
15import xml.dom
16
17from subprocess import Popen, PIPE
18from xml.dom.minidom import parseString
19from launchpadlib.launchpad import Launchpad
20from launchpadlib.credentials import Credentials
21from launchpadlib.errors import HTTPError
22
23OPEN_STATUS = ['New', 'Incomplete', 'Confirmed', 'Triaged', 'In Progress',
24 'Fix Committed']
25
26
27def connect():
28 cachedir = os.path.expanduser('~/.launchpadlib/cache')
29 if not os.path.exists(cachedir):
30 os.makedirs(cachedir,0700)
31 root = 'production'
32 credfile = os.path.expanduser('~/.cache/apport/launchpad.credentials')
33 launchpad = Launchpad.login_with(sys.argv[0], credentials_file=credfile,
34 service_root=root, launchpadlib_dir=cachedir, version="devel")
35 return launchpad
36
37def open_task(bug_number):
38 bug = launchpad.bugs[bug_number]
39
40 for task in bug.bug_tasks:
41 if task.status in OPEN_STATUS and 'ubuntu' in task.web_link:
42 return True
43
44 return False
45
46def check_package_available(srcpkg, version):
47 ubuntu = launchpad.distributions['ubuntu']
48 primary = ubuntu.getArchive(name='primary')
49 for pub in primary.getPublishedSources(source_name=srcpkg,
50 exact_match=True, version=version):
51 if pub.status == "Published":
52 print(" %s %s is available in %s-%s" % (srcpkg,
53 version,
54 pub.distro_series.name.lower(),
55 pub.pocket.lower()))
56 else:
57 print(" %s version %s is not available" % (srcpkg, version))
58
59if __name__ == '__main__':
60 pattern_file = open('bugpatterns.xml')
61 data = pattern_file.read()
62 pattern_file.close()
63 dom = parseString(data)
64
65 bug_numbers = []
66
67 for pattern in dom.getElementsByTagName('pattern'):
68 if not pattern.attributes.has_key('url'):
69 continue
70
71 url = pattern.attributes['url'].nodeValue
72 if 'launchpad.net' not in url:
73 continue
74
75 for cn in pattern.childNodes:
76 # regular expression condition
77 if cn.nodeType == xml.dom.Node.ELEMENT_NODE and cn.nodeName == 're' and \
78 cn.attributes.has_key('key'):
79 key = cn.attributes['key'].nodeValue
80 if key == 'SourcePackage':
81 value = cn.childNodes[0].nodeValue
82 if not re.search('\d', value):
83 bug_number = url.split('/')[-1]
84 if bug_number not in bug_numbers:
85 bug_numbers.append(bug_number)
86
87 # Connect to Launchpad
88 launchpad = connect()
89
90 for bug_number in bug_numbers:
91 if not open_task(bug_number):
92 print('LP: #%s has no open tasks' % bug_number)
93 dup_tags = Popen(['lp-bug-dupe-properties', '--bug', bug_number, '--rtags'], stdout=PIPE).communicate()[0]
94 dup_version = Popen(['lp-bug-dupe-properties', '--bug', bug_number, '-D', 'Package'], stdout=PIPE).communicate()[0]
95 print(' %s' % dup_tags.strip('\n'))
96 for item in dup_version.split('\n')[1:]:
97 things = item.split(': ')[0].strip()
98 if things == '' or things == 'None':
99 continue
100 if len(things.split(' ')) == 1:
101 continue
102 srcpkg = things.split(' ')[0]
103 version = things.split(' ')[1]
104 if 'not' in version:
105 continue
106 check_package_available(srcpkg, version)
0107
=== added file 'consolidate-bugs'
--- consolidate-bugs 1970-01-01 00:00:00 +0000
+++ consolidate-bugs 2024-02-27 16:26:55 +0000
@@ -0,0 +1,62 @@
1#!/usr/bin/python
2#
3# Author: Brian Murray <brian@canonical.com>
4# Copyright (C) 2011 Canonical, Ltd.
5# License: GPLv3
6#
7# Parse the bugpatterns.xml file and create a list of packages for which to
8# search for bug reports for and consolidate duplicates. This is necessary
9# for previous releases of Ubuntu which will not check for the generic
10# bugpatterns.xml file but rather for per package ones. Additionally useful
11# for cleaning up duplicates already reported in the event that pattern
12# writers don't use search-bugs.
13#
14# It'd be better if the xml parsing routine determined if the ProblemType was
15# a "Crash" or "Package" and then used search-bugs with the appropriate tags
16# instead of just using apport-crash.
17
18import xml.dom
19
20from subprocess import *
21from xml.dom.minidom import parseString
22
23pattern_file = open('bugpatterns.xml')
24data = pattern_file.read()
25pattern_file.close()
26
27dom = parseString(data)
28
29packages = []
30
31for pattern in dom.getElementsByTagName('pattern'):
32 if not pattern.attributes.has_key('url'):
33 continue
34
35 for cn in pattern.childNodes:
36 if cn.nodeType == xml.dom.Node.ELEMENT_NODE and cn.nodeName == 're' \
37 and cn.attributes.has_key('key'):
38 key = cn.attributes['key'].nodeValue
39 if key == 'PackageVersion':
40 continue
41 if key != 'SourcePackage' and key != 'Package':
42 continue
43 if cn.hasChildNodes() and \
44 cn.childNodes[0].nodeType == xml.dom.Node.TEXT_NODE:
45 package = cn.childNodes[0].nodeValue.encode('UTF-8')
46 package = package.replace('^', '')
47 package = package.strip()
48 if package not in packages:
49 packages.append(package)
50
51for package in packages:
52 print 'search-bugs --package %s --tags apport-crash --within 2 -C' % \
53 package
54 results = Popen(['./search-bugs','--package', '%s' % package, '--tags',
55 'apport-crash', '--within', '2', '-C'], stdout=PIPE).communicate()[0]
56 print results
57 # need to do apport-bug bugs too
58 print 'search-bugs --package %s --tags apport-bug --within 2 -C' % \
59 package
60 results = Popen(['./search-bugs','--package', '%s' % package, '--tags',
61 'apport-bug', '--within', '2', '-C'], stdout=PIPE).communicate()[0]
62 print results
063
=== added file 'convert.py'
--- convert.py 1970-01-01 00:00:00 +0000
+++ convert.py 2024-02-27 16:26:55 +0000
@@ -0,0 +1,28 @@
1#!/usr/bin/python
2
3import glob
4import os
5from xml.dom.minidom import parseString
6from codecs import open
7
8outfile = 'bugpatterns.xml'
9out = open(outfile, encoding='utf-8', mode='wb')
10out.write('''<?xml version="1.0"?>
11
12<patterns>
13''')
14
15for path in sorted(glob.glob('*.xml')):
16 if path == outfile: continue
17
18 pkg = os.path.splitext(path)[0]
19 dom = parseString(open(path).read())
20
21 out.write('\n<!-- Converted from %s -->\n\n' % path)
22 for pattern in dom.getElementsByTagName('pattern'):
23 xml = pattern.toxml()
24 out.write(' ')
25 out.write(xml)
26 out.write('\n')
27
28out.write('</patterns>\n')
029
=== added file 'search-bugs'
--- search-bugs 1970-01-01 00:00:00 +0000
+++ search-bugs 2024-02-27 16:26:55 +0000
@@ -0,0 +1,214 @@
1#!/usr/bin/python3
2# Author: Brian Murray <brian@canonical.com>
3# Copyright (C) 2009 Canonical, Ltd.
4# License: GPLv3
5#
6# Given a package name and some criteria query Launchpad for a bug list
7# then check each bug against the package's bug pattern
8#
9# missing the ability to search for no tags
10
11from apport.crashdb import get_crashdb
12from datetime import datetime
13from datetime import timedelta
14from launchpadlib.launchpad import Launchpad
15from os.path import abspath
16
17
18import optparse
19import os
20import re
21import sys
22
23
24def connect():
25 cachedir = os.path.expanduser('~/.launchpadlib/cache')
26 if not os.path.exists(cachedir):
27 os.makedirs(cachedir,0o700)
28
29 root = 'production'
30 credfile = os.path.expanduser('~/.cache/apport/launchpad.credentials')
31 launchpad = Launchpad.login_with(sys.argv[0], credentials_file=credfile,
32 service_root=root, launchpadlib_dir=cachedir, version="devel")
33 return launchpad
34
35def mark_as_duplicate(master_number, bug):
36 comment="Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug %s, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find." % (master_number)
37 master = lp.bugs[master_number]
38
39 # copy release tags from duplicates to the master bug
40 release_tags = []
41 for series in ubuntu.series:
42 if series.status not in ['Active Development',
43 'Current Stable Release', 'Supported']:
44 continue
45 release_tags.append(series.name)
46 dupe_tags = set(bug.tags)
47 master_tags = master.tags
48 missing_tags = dupe_tags.difference(master_tags)
49 for tag in missing_tags:
50 if tag in release_tags:
51 master_tags.append(tag)
52 master.lp_save()
53
54 for task in bug.bug_tasks:
55 task.status = 'Confirmed'
56 bug.newMessage(content=comment)
57 bug.duplicate_of = master
58 bug.lp_save()
59 print('Modified LP: #%s' % (task.bug.id))
60
61
62def trim_dpkg_log(report):
63 '''Trim DpkgTerminalLog to the most recent installation session.
64 Taken from apport data/general-hook/ubuntu.py'''
65
66 if 'DpkgTerminalLog' not in report:
67 return
68 lines = []
69 trim_re = re.compile('^\(.* ... \d+ .*\)$')
70 if isinstance(report['DpkgTerminalLog'], bytes):
71 report['DpkgTerminalLog'] = report['DpkgTerminalLog']\
72 .decode('utf-8', errors='ignore')
73 for line in report['DpkgTerminalLog'].splitlines():
74 if line.startswith('Log started: ') or trim_re.match(line):
75 lines = []
76 continue
77 lines.append(line)
78 report['DpkgTerminalLog'] = '\n'.join(lines)
79
80
81parser = optparse.OptionParser(usage="usage: %prog -p PACKAGE -t TAG(s) "\
82 "[options]")
83parser.add_option("-p", "--package", help="Filter on PACKAGE", dest="package",
84 metavar="PACKAGE")
85parser.add_option("-s", "--status", help="Filter on STATUS", dest="status",
86 metavar="STATUS")
87parser.add_option("-t", "--tags", help="Filter on TAG,TAG", dest="tags",
88 metavar="TAGS")
89parser.add_option("-d", "--dupes", help="Include duplicates in search",
90 dest="dupes", action="store_true")
91parser.add_option("-q", "--quiet", help="Only print bug numbers",
92 dest="quiet", action="store_true")
93parser.add_option("-a", "--all", help="Check all package bugs", dest="all",
94 action="store_true")
95parser.add_option("-k", "--keywords", help="Search for KEYWORDS",
96 dest="keywords", metavar="KEYWORDS")
97parser.add_option("-w", "--within",
98 help="Search for bugs reported within the past X days",
99 dest="within", metavar="WITHIN")
100parser.add_option("-C", "--consolidate", dest="consolidate",
101 help="Mark bugs as duplicate of master bug in pattern",
102 action="store_true")
103
104(opt, args) = parser.parse_args()
105
106# Connect to Launchpad
107lp = connect()
108
109status_list = []
110tag_list = []
111ubuntu = lp.distributions['ubuntu']
112
113valid_status = ['New', 'Incomplete', 'Invalid', "Won't Fix", 'Confirmed',
114 'Triaged', 'In Progress', 'Fix Committed', 'Fix Released',
115 'Unknown']
116
117if not opt.status:
118 status_list = ['New', 'Incomplete', 'Confirmed', 'Triaged',
119 'In Progress', 'Fix Committed' ]
120elif opt.status:
121 if opt.status not in valid_status:
122 print("Invalid status '%s'. Aborting" % (opt.status), file=sys.stderr)
123 sys.exit(1)
124 else:
125 status_list.append(opt.status)
126
127if opt.package == 'ubuntu':
128 package = ubuntu
129if opt.package != 'ubuntu':
130 package = ubuntu.getSourcePackage(name='%s' % opt.package)
131 if package is None:
132 print('Package %s not found in Ubuntu' % opt.package)
133 sys.exit(1)
134elif not opt.package:
135 print("A package is required.", file=sys.stderr)
136 sys.exit(1)
137
138if opt.dupes:
139 dupes = False
140elif not opt.dupes:
141 dupes = True
142
143if opt.tags:
144 for tag in opt.tags.split(','):
145 tag_list.append(tag)
146
147if opt.within:
148 period = int(opt.within)
149 today = datetime.utcnow()
150 search_start = today - timedelta(period)
151elif not opt.within:
152 search_start = None
153
154
155search_args = {'tags': tag_list,
156 'tags_combinator': 'All',
157 'order_by': '-datecreated',
158 'status': opt.status,
159 'search_text': opt.keywords,
160 'omit_duplicates': dupes,
161 'created_since': search_start}
162
163tasks = package.searchTasks(**search_args)
164db = get_crashdb(None)
165for task in tasks:
166 # they should be retraced first
167 if 'need-i386-retrace' in task.bug.tags or 'need-amd64-retrace' in task.bug.tags:
168 continue
169 task_number = task.bug.id
170 try:
171 report = db.download(task_number)
172 except AssertionError as error:
173 print("LP: #%s: %s" % (task_number, error))
174 continue
175 except Exception as error:
176 print("LP: #%s: %s" % (task_number, error))
177 continue
178 except AttributeError as error:
179 print("LP: #%s: %s" % (task_number, error))
180 continue
181
182 # trim the dpkg log file
183 trim_dpkg_log(report)
184
185 try:
186 match = report.search_bug_patterns('file://' + abspath('./bugpatterns.xml'))
187 except AssertionError as error:
188 print("%s" % error)
189 continue
190
191 if match and not opt.quiet:
192 # this should handle wiki urls somehow
193 master_number = match.split('/')[-1]
194 master = lp.bugs[master_number]
195 if str(master_number) == str(task_number) and not opt.all:
196 print("Reached master bug LP: #%s" % master_number)
197 break
198 if int(task_number) == int(master_number):
199 continue
200 print('LP: #%s (%s, %s): Matched bug pattern: %s with %s dupes' % (task_number,
201 task.status, task.importance, match, master.number_of_duplicates))
202 if opt.consolidate:
203 bug = task.bug
204 if 'bot-stop-nagging' in bug.tags:
205 print('LP: #%s is tagged bot-stop-nagging' % (task_number))
206 continue
207 if bug.duplicate_of:
208 print('LP: #%s is already a duplicate of another bug' % (task_number))
209 break
210 elif int(bug.id) == int(master_number):
211 continue
212 mark_as_duplicate(master_number, bug)
213 elif match and opt.quiet:
214 print('%s' % (task_number))
0215
=== added file 'test-local'
--- test-local 1970-01-01 00:00:00 +0000
+++ test-local 2024-02-27 16:26:55 +0000
@@ -0,0 +1,69 @@
1#!/usr/bin/python3
2
3import sys
4
5import apport
6from apport.crashdb import get_crashdb
7from launchpadlib.launchpad import Launchpad
8from os.path import abspath
9
10from pprint import pprint
11def match_bug(bugnumber):
12 db = get_crashdb(None)
13 try:
14 report = db.download(bugnumber)
15 except IOError as e:
16 if 'CRC check failed' in e.message:
17 print('Skipping %s because it has a bad attachment' % bugnumber)
18 return
19
20 match = report.search_bug_patterns('file://' + abspath('./bugpatterns.xml'))
21
22 if match:
23 print('LP: #%s: Matched bug pattern: %s' % (bugnumber, match ))
24 else:
25 print('LP: #%s: No match' % bugnumber)
26
27lp = Launchpad.login_with('apport', 'production')
28
29if len(sys.argv) != 2:
30 print('Usage: %s <.crash file or bug number>' % sys.argv[0], file=sys.stderr)
31 sys.exit(1)
32
33if not sys.argv[1].isdigit():
34 report = apport.Report()
35 try:
36 f = open(sys.argv[1])
37 except IOError as e:
38 print('Cannot open report file: %s' % str(e), file=sys.stderr)
39 sys.exit(1)
40 report.load(f)
41 f.close()
42 match = report.search_bug_patterns('file://' + abspath('./bugpatterns.xml'))
43
44 if match:
45 print('LP: #%s: Matched bug pattern: %s' % ( sys.argv[1], match ))
46 sys.exit(0)
47 else:
48 print('LP: #%s: No match' % sys.argv[1])
49 sys.exit(1)
50else:
51 match_bug(sys.argv[1])
52
53 bug = lp.bugs[sys.argv[1]]
54 # if bug is a duplicate - call this for parent
55 if bug.duplicate_of:
56 dupe = bug.duplicate_of.id
57 print('LP: #%s is a duplicate of ....' % bug.id)
58 match_bug(dupe)
59 if bug.duplicates:
60 print("Checking duplicate bugs...")
61 for duplicate in bug.duplicates:
62 # Skip if not an apport bug
63 if 'apport-crash' in duplicate.tags or \
64 'apport-package' in duplicate.tags or \
65 'apport-kerneloops' in duplicate.tags or \
66 'apport-bug' in duplicate.tags:
67 match_bug(duplicate.id)
68
69 sys.exit(0)
070
=== added file 'update-tags'
--- update-tags 1970-01-01 00:00:00 +0000
+++ update-tags 2024-02-27 16:26:55 +0000
@@ -0,0 +1,129 @@
1#!/usr/bin/python
2# Author: Matt Zimmerman <mdz@ubuntu.com>
3# Copyright (C) 2011 Canonical, Ltd.
4# License: GPLv3
5#
6# Update the bugpattern-needed / bugpattern-written tags for bugs for which
7# patterns exist
8
9from launchpadlib.launchpad import Launchpad
10
11import xml.dom.minidom
12
13import argparse
14import sys
15
16BUGPATTERNS = 'bugpatterns.xml'
17
18class BugDatabase:
19 def __init__(self):
20 self.launchpad = None
21 self.ubuntu = None
22
23 def connect(self, authenticated=False):
24 progname = 'ubuntu-bugpatterns/update-tags'
25 root = 'staging'
26
27 if authenticated:
28 self.launchpad = Launchpad.login_with(progname, root)
29 else:
30 self.launchpad = Launchpad.login_anonymously(progname, root)
31
32 self.ubuntu = self.launchpad.distributions['ubuntu']
33
34# Launchpad makes this harder than this unfortunately :-(
35# def bugs_with_tag(self, tag):
36# bugs = set()
37# for task in self.ubuntu.searchTasks(tags=tag):
38# bugs.add(task.bug.id)
39# return bugs
40
41 def bug_has_tag(self, bug, tag):
42 return tag in self.launchpad.bugs[bug].tags
43
44 def bug_add_tag(self, bug, tag):
45 bug = self.launchpad.bugs[bug]
46 new_tags = bug.tags[:]
47 new_tags.append(tag)
48 bug.tags = new_tags
49 bug.lp_save()
50
51 def bug_remove_tag(self, bug, tag):
52 bug = self.launchpad.bugs[bug]
53 new_tags = bug.tags[:]
54 new_tags.remove(tag)
55 bug.tags = new_tags
56 bug.lp_save()
57
58def urls_from_dom(dom):
59 urls = set()
60
61 for pattern in dom.getElementsByTagName('pattern'):
62 if not pattern.attributes.has_key('url'): continue
63
64 url = pattern.attributes['url'].nodeValue
65
66 urls.add(url)
67
68 return urls
69
70def bug_numbers_from_urls(urls):
71 bug_numbers = set()
72 for url in urls:
73 if not 'launchpad.net/bugs/' in url: continue
74
75 bug_number = int(url.split('/')[-1])
76 bug_numbers.add(bug_number)
77 return bug_numbers
78
79def bug_to_url(bug):
80 return 'http://launchpad.net/bugs/%d' % bug
81
82def bugs_to_string(bugs):
83 '\n'.join(map(bug_to_url, bugs))
84
85def main():
86 parser = argparse.ArgumentParser(description='Fix up bugpattern-{needed,written} tags')
87 parser.add_argument("--file", help="File to read bugpatterns from", dest="file", action="store")
88 parser.add_argument("--dry-run", help="Dry run (make no changes)", dest="dry_run", action="store_true")
89 parser.add_argument("-r", help="Bazaar revisionspec to compare against when checking recent patterns (ignored for --all-patterns)", dest="revision", default='last:2')
90
91 args = parser.parse_args()
92
93 dom = xml.dom.minidom.parseString(open(BUGPATTERNS).read())
94 urls = urls_from_dom(dom)
95
96 bugs_with_patterns = bug_numbers_from_urls(urls)
97 if not bugs_with_patterns:
98 print "No patterns found"
99 return
100
101 print "Found bug patterns for %d bugs" % len(bugs_with_patterns)
102
103 db = BugDatabase()
104 db.connect(authenticated=not args.dry_run)
105
106 changes = set()
107 for bug in bugs_with_patterns:
108 if db.bug_has_tag(bug, 'bugpattern-needed'):
109 # remove the bugpattern-needed tag
110 changes.add((bug, 'bugpattern-needed', False))
111 if not db.bug_has_tag(bug, 'bugpattern-written'):
112 # add the bugpattern-written tag
113 changes.add((bug, 'bugpattern-written', True))
114
115 if changes:
116 for bug, tag, state in changes:
117 print "%s - %s %s" % (bug_to_url(bug), state and 'add' or 'remove', tag)
118 if args.dry_run: continue
119
120 if state:
121 db.bug_add_tag(bug, tag)
122 else:
123 db.bug_remove_tag(bug, tag)
124 else:
125 print "All good!"
126
127if __name__ == '__main__':
128 main()
129 sys.exit(0)

Subscribers

People subscribed via source and target branches