Activity log for bug #1583279

Date Who What changed Old value New value Message
2016-05-18 17:36:20 Brian Murray bug added bug
2016-05-18 17:36:31 Brian Murray tags xenial yakkety
2016-05-18 17:36:47 Brian Murray summary apport package hook for mdam causes a Traceback apport package hook for mdadm causes a Traceback
2016-05-18 17:37:14 Brian Murray tags xenial yakkety apport-hook-error xenial yakkety
2016-05-18 22:16:19 Steve Beattie nominated for series Ubuntu Wily
2016-05-18 22:16:19 Steve Beattie bug task added mdadm (Ubuntu Wily)
2016-05-18 22:16:19 Steve Beattie nominated for series Ubuntu Trusty
2016-05-18 22:16:19 Steve Beattie bug task added mdadm (Ubuntu Trusty)
2016-05-18 22:16:19 Steve Beattie nominated for series Ubuntu Yakkety
2016-05-18 22:16:19 Steve Beattie bug task added mdadm (Ubuntu Yakkety)
2016-05-18 22:16:19 Steve Beattie nominated for series Ubuntu Xenial
2016-05-18 22:16:19 Steve Beattie bug task added mdadm (Ubuntu Xenial)
2016-05-18 22:20:03 Steve Beattie attachment added mdadm_3.3-2ubuntu8.debdiff https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1583279/+attachment/4665820/+files/mdadm_3.3-2ubuntu8.debdiff
2016-05-18 22:20:31 Steve Beattie bug added subscriber Steve Beattie
2016-05-18 22:47:44 Steve Beattie attachment added mdadm_3.3-2ubuntu7.1.debdiff https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1583279/+attachment/4665859/+files/mdadm_3.3-2ubuntu7.1.debdiff
2016-05-18 23:03:18 Steve Beattie attachment added mdadm_3.2.5-5ubuntu4.3.debdiff https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1583279/+attachment/4665862/+files/mdadm_3.2.5-5ubuntu4.3.debdiff
2016-05-18 23:39:34 Steve Beattie attachment added mdadm_3.3-2ubuntu2.1.debdiff https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1583279/+attachment/4665879/+files/mdadm_3.3-2ubuntu2.1.debdiff
2016-05-18 23:50:30 Steve Beattie description As we can see in bug 1581940 (attachment HookError_source_mdadm.py) the apport package hook for mdadm causes a traceback. Here's the Traceback: 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_mdadm.py", line 53, in add_info report['initrd.files'] = get_initrd_files(initrd_re) File "/usr/share/apport/package-hooks/source_mdadm.py", line 30, in get_initrd_files out = cpio.communicate(fd.read())[0] File "/usr/lib/python3.5/subprocess.py", line 1065, in communicate stdout, stderr = self._communicate(input, endtime, timeout) File "/usr/lib/python3.5/subprocess.py", line 1681, in _communicate self._save_input(input) File "/usr/lib/python3.5/subprocess.py", line 1754, in _save_input self._input = self._input.encode(self.stdin.encoding) AttributeError: 'bytes' object has no attribute 'encode' As we can see in bug 1581940 (attachment HookError_source_mdadm.py) the apport package hook for mdadm causes a traceback. Here's the Traceback: 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_mdadm.py", line 53, in add_info     report['initrd.files'] = get_initrd_files(initrd_re)   File "/usr/share/apport/package-hooks/source_mdadm.py", line 30, in get_initrd_files     out = cpio.communicate(fd.read())[0]   File "/usr/lib/python3.5/subprocess.py", line 1065, in communicate     stdout, stderr = self._communicate(input, endtime, timeout)   File "/usr/lib/python3.5/subprocess.py", line 1681, in _communicate     self._save_input(input)   File "/usr/lib/python3.5/subprocess.py", line 1754, in _save_input     self._input = self._input.encode(self.stdin.encoding) AttributeError: 'bytes' object has no attribute 'encode' [Impact] Makes diagnosing issues around mdadm more difficult, as it won't be shown whether the generated initrd for the running kernel includes the bits relevant to mdadm. [Test Case] NOTE: an md device is not needed to reproduce the apport failure, the stacktrace is reproducable without setting up software raid. 1. sudo apt-get install mdadm 2. sudo apport-cli -f -p mdadm For the failure case, a traceback like the above will be seen. For the successful case, no traceback will be seen, and (V)iewing the report will show a section titled 'initrd.files' [Regression Potential] Changes involved are only to the apport hook for mdadm, so the only risk is due to the rebuild of the mdadm package itself, and any toolchain changes that have occurred since it was last rebuilt.
2016-05-18 23:50:51 Steve Beattie tags apport-hook-error xenial yakkety apport-hook-error trusty wily xenial yakkety
2016-05-19 00:28:40 Ubuntu Foundations Team Bug Bot tags apport-hook-error trusty wily xenial yakkety apport-hook-error patch trusty wily xenial yakkety
2016-05-19 00:28:51 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Sponsors Team
2016-05-19 02:06:47 Mathew Hodson mdadm (Ubuntu Trusty): importance Undecided Medium
2016-05-19 02:06:49 Mathew Hodson mdadm (Ubuntu Wily): importance Undecided Medium
2016-05-19 02:06:51 Mathew Hodson mdadm (Ubuntu Xenial): importance Undecided Medium
2016-05-19 02:06:53 Mathew Hodson mdadm (Ubuntu Yakkety): importance Undecided Medium
2016-05-20 20:41:25 Mathew Hodson mdadm (Ubuntu Trusty): status New Triaged
2016-05-20 20:41:27 Mathew Hodson mdadm (Ubuntu Wily): status New Triaged
2016-05-20 20:41:29 Mathew Hodson mdadm (Ubuntu Xenial): status New Triaged
2016-05-20 20:41:31 Mathew Hodson mdadm (Ubuntu Yakkety): status New Triaged
2016-05-21 00:24:10 Launchpad Janitor mdadm (Ubuntu Yakkety): status Triaged Fix Released
2016-05-23 17:24:36 Brian Murray removed subscriber Ubuntu Sponsors Team
2016-05-24 20:44:38 Martin Pitt mdadm (Ubuntu Xenial): status Triaged Fix Committed
2016-05-24 20:44:40 Martin Pitt bug added subscriber Ubuntu Stable Release Updates Team
2016-05-24 20:44:45 Martin Pitt bug added subscriber SRU Verification
2016-05-24 20:44:51 Martin Pitt tags apport-hook-error patch trusty wily xenial yakkety apport-hook-error patch trusty verification-needed wily xenial yakkety
2016-05-24 21:02:19 Martin Pitt mdadm (Ubuntu Wily): status Triaged Fix Committed
2016-05-24 21:16:02 Martin Pitt mdadm (Ubuntu Trusty): status Triaged Fix Committed
2016-06-07 22:09:03 Steve Beattie tags apport-hook-error patch trusty verification-needed wily xenial yakkety apport-hook-error patch trusty verification-done wily xenial yakkety
2016-06-08 16:15:38 Launchpad Janitor mdadm (Ubuntu Trusty): status Fix Committed Fix Released
2016-06-08 16:15:42 Chris J Arges removed subscriber Ubuntu Stable Release Updates Team
2016-06-08 16:15:58 Launchpad Janitor mdadm (Ubuntu Wily): status Fix Committed Fix Released
2016-06-08 16:16:18 Launchpad Janitor mdadm (Ubuntu Xenial): status Fix Committed Fix Released