whoopsie fails to immediately notice/process .upload files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
whoopsie (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Saucy |
Fix Released
|
High
|
Brian Murray |
Bug Description
[Impact]
whoopsie does not immediately notice .upload files produced by apport after a crash report has all its data collected, and subsequently will not upload the .crash to the error tracker right away. Instead whoopsie will wait 2 hours and then check /var/crash/ for new crash files and then upload the crash report.
[Test Case]
1) sudo rm /var/crash/*
2) sudo service whoopsie restart
3) Install d-feet
4) (d-feet &); sleep 3; killall -SEGV d-feet
5) Observe apport crash dialog and choose to send crash report
6) Wait a bit for apport to collect data then ls -lh /var/crash/
7) Observe a .crash file and a .upload for d-feet and no .uploaded file
8) grep whoopsie /var/log/syslog and notice not "Parsing.*crash" message
With the version of whoopsie from saucy-proposed you should see a .uploaded file and the "Parsing /var/crash/.*crash" file message. After installing the version of apport from -proposed be sure to remove the files in /var/crash as whoopsie does an initial check on startup for files in /var/crash/ and processes them.
[Original Report]
------
We're trying to use the whoopsie-upload-all script in apport to ensure that all .crash files get uploaded in touch images. It seems that something is wrong with the inotify watch when running on the touch images though.
As a workaround, we've found that running whoopsie-
We can work around this in ci for now, but this needs to be investigated further as it could cause problems down the road for allowing devices to upload crash data in the wild.
Changed in whoopsie (Ubuntu): | |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in whoopsie (Ubuntu): | |
status: | Incomplete → Confirmed |
tags: | added: trusty |
Changed in whoopsie (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in whoopsie (Ubuntu Saucy): | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Brian Murray (brian-murray) |
importance: | Critical → High |
Changed in whoopsie (Ubuntu): | |
importance: | Critical → High |
description: | updated |
summary: |
- whoopsie fails to notice/process .upload files on trusty + whoopsie fails to immediately notice/process .upload files |
tags: |
added: verification-done-saucy removed: verification-needed |
Are you calling whoopsie-upload-all manually or is it not running automatically? If it is not running automatically does /etc/apport/ autoreport exist on the image?