Activity log for bug #2069360

Date Who What changed Old value New value Message
2024-06-13 21:06:09 Benjamin Drung bug added bug
2024-06-13 21:06:14 Benjamin Drung bug task added apport
2024-06-13 21:06:19 Benjamin Drung apport: importance Undecided Low
2024-06-13 21:06:26 Benjamin Drung apport (Ubuntu): importance Undecided Medium
2024-06-13 21:06:27 Benjamin Drung apport: importance Low Medium
2024-06-13 21:06:30 Benjamin Drung apport: milestone 2.30.0
2024-06-13 21:14:34 Benjamin Drung apport: status New In Progress
2024-06-21 09:21:46 Benjamin Drung apport: status In Progress Fix Committed
2024-07-09 16:39:35 Benjamin Drung description apport-autoreport.service fails if auto-reporting is disabled: ``` $ systemctl status apport-autoreport.service × apport-autoreport.service - Process error reports when automatic reporting is enabled Loaded: loaded (/usr/lib/systemd/system/apport-autoreport.service; static) Active: failed (Result: exit-code) since Thu 2024-06-13 21:55:08 CEST; 1h 9min ago TriggeredBy: ● apport-autoreport.timer ● apport-autoreport.path Process: 1059564 ExecStart=/usr/share/apport/whoopsie-upload-all --timeout 20 (code=exited, status=1/FAILURE) Main PID: 1059564 (code=exited, status=1/FAILURE) CPU: 86ms Jun 13 21:55:08 host systemd[1]: Starting apport-autoreport.service - Process error reports when automatic reporting is enabled... Jun 13 21:55:08 host whoopsie-upload-all[1059564]: ERROR: whoopsie.path is not enabled Jun 13 21:55:08 host systemd[1]: apport-autoreport.service: Main process exited, code=exited, status=1/FAILURE Jun 13 21:55:08 host systemd[1]: apport-autoreport.service: Failed with result 'exit-code'. Jun 13 21:55:08 host systemd[1]: Failed to start apport-autoreport.service - Process error reports when automatic reporting is enabled. ``` [ Impact ] apport-autoreport.service fails if auto-reporting is disabled: ``` $ systemctl status apport-autoreport.service × apport-autoreport.service - Process error reports when automatic reporting is enabled      Loaded: loaded (/usr/lib/systemd/system/apport-autoreport.service; static)      Active: failed (Result: exit-code) since Thu 2024-06-13 21:55:08 CEST; 1h 9min ago TriggeredBy: ● apport-autoreport.timer              ● apport-autoreport.path     Process: 1059564 ExecStart=/usr/share/apport/whoopsie-upload-all --timeout 20 (code=exited, status=1/FAILURE)    Main PID: 1059564 (code=exited, status=1/FAILURE)         CPU: 86ms Jun 13 21:55:08 host systemd[1]: Starting apport-autoreport.service - Process error reports when automatic reporting is enabled... Jun 13 21:55:08 host whoopsie-upload-all[1059564]: ERROR: whoopsie.path is not enabled Jun 13 21:55:08 host systemd[1]: apport-autoreport.service: Main process exited, code=exited, status=1/FAILURE Jun 13 21:55:08 host systemd[1]: apport-autoreport.service: Failed with result 'exit-code'. Jun 13 21:55:08 host systemd[1]: Failed to start apport-autoreport.service - Process error reports when automatic reporting is enabled. ``` This service failure might mislead user thinking that there is a problem. [ Test Plan ] 1. Disable auto-reporting in the system setting 2. Produce a crash, e.g. by running divide-by-zero from chaos-marmosets 3. Check that apport-autoreport.service is failing as above 4. Upgrade Apport to the fixed version 5. Restart apport-autoreport.service 6. apport-autoreport.service should exit successfully [ Where problems could occur ] This code change touches the auto-reporting part. Failures there could lead to less bugs being forwarded to the error tracker. This might be noticeable when looking at the number of submissions.
2024-07-09 16:39:49 Benjamin Drung nominated for series Ubuntu Noble
2024-07-09 16:39:49 Benjamin Drung bug task added apport (Ubuntu Noble)
2024-07-09 16:39:55 Benjamin Drung apport (Ubuntu): status New Fix Committed
2024-07-09 16:40:34 Benjamin Drung apport (Ubuntu Noble): importance Undecided Medium