Activity log for bug #1304447

Date Who What changed Old value New value Message
2014-04-08 13:53:54 Brad Figg bug added bug
2014-04-08 14:05:11 Brad Figg attachment added kern.log https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1304447/+attachment/4074842/+files/kern.log
2014-04-08 18:02:37 Steve Beattie apport (Ubuntu): status New Triaged
2014-04-08 18:02:44 Steve Beattie apport (Ubuntu): importance Undecided Medium
2014-04-08 18:03:11 Steve Beattie affects apport (Ubuntu) apparmor (Ubuntu)
2014-04-08 22:13:41 Steve Beattie attachment added apparmor-apport_hook_update.patch https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1304447/+attachment/4075948/+files/apparmor-apport_hook_update.patch
2014-04-11 00:28:20 Ubuntu Foundations Team Bug Bot tags patch
2014-04-11 00:28:27 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2014-10-08 22:24:27 Jamie Strandboge apparmor (Ubuntu): assignee Steve Beattie (sbeattie)
2014-10-15 15:58:26 Launchpad Janitor branch linked lp:ubuntu/utopic-proposed/apparmor
2014-10-15 17:25:52 Launchpad Janitor apparmor (Ubuntu): status Triaged Fix Released
2015-04-07 22:29:27 Steve Beattie nominated for series Ubuntu Trusty
2015-04-25 06:55:01 Launchpad Janitor branch linked lp:~apparmor-dev/apparmor/apparmor-ubuntu-citrain-trusty
2015-05-18 15:07:44 Steve Beattie attachment added apparmor_apport-lp1304447.patch https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1304447/+attachment/4399536/+files/apparmor_apport-lp1304447.patch
2015-05-18 15:08:20 Steve Beattie description jenkins@dagmar:~$ sudo apport-bug apparmor --save testlib.apport *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. .....ERROR: hook /usr/share/apport/package-hooks/source_apparmor.py crashed: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in _run_hook symb['add_info'](report, ui) TypeError: add_info() takes 1 positional argument but 2 were given During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport/report.py", line 202, in _run_hook symb['add_info'](report) File "/usr/share/apport/package-hooks/source_apparmor.py", line 48, in add_info report['KernLog'] = recent_kernlog(sec_re) File "/usr/share/apport/package-hooks/source_apparmor.py", line 24, in recent_kernlog for line in open(file): File "/usr/lib/python3.4/codecs.py", line 313, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd2 in position 6574: invalid continuation byte [impact] This bug prevents apport from reporting apparmor bugs on systems with non-UTF-8 characters showing up in syslog (the kernel reporting raw information from hardware is a common culprit). [steps to reproduce] 1) on a system with non-UTF-8 characters in syslog, run 'apport -p apparmor -f' if the bug has been addressed, this should generate a report as expected instead of causing apport to crash. [regression potential] The change in the patch for this bug solely modifies the apparmor apport hook. It could potentially introduce more breakage there (but couldn't affect apparmor mediation); also the lp:qa-regression-testign test-apparmor.py attempts to exercise the apport hook, and this is exercised in as part of every linux kernel update by the kernel team (who frequently hit this issue due to the quirkiness of some of their hardware). [original description] jenkins@dagmar:~$ sudo apport-bug apparmor --save testlib.apport *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. .....ERROR: hook /usr/share/apport/package-hooks/source_apparmor.py crashed: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in _run_hook     symb['add_info'](report, ui) TypeError: add_info() takes 1 positional argument but 2 were given During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/apport/report.py", line 202, in _run_hook     symb['add_info'](report)   File "/usr/share/apport/package-hooks/source_apparmor.py", line 48, in add_info     report['KernLog'] = recent_kernlog(sec_re)   File "/usr/share/apport/package-hooks/source_apparmor.py", line 24, in recent_kernlog     for line in open(file):   File "/usr/lib/python3.4/codecs.py", line 313, in decode     (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd2 in position 6574: invalid continuation byte
2015-05-21 18:39:58 Steve Beattie tags patch patch verification-done
2015-05-24 17:34:18 Launchpad Janitor branch linked lp:ubuntu/trusty-proposed/apparmor