collect '/.disk/info' from RPi preinstalled systems

Bug #1876945 reported by Brian Murray
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Medium
Brian Murray
Focal
Fix Released
Medium
Brian Murray

Bug Description

Apport should collect the image build information from a system on which it is being ran.

Test Case
---------
1) On a Raspberry Pi run 'ubuntu-bug linux-raspi'.
2) Choose 'View report'
3) Observe that 'ImageMediaBuild' is not collected

With the version of apport from -proposed 'ImageMediaBuild' will be in the report and will have the same contents as '/.disk/info'.

Regression Potential
--------------------
Apport's hooktutils.py is fault tolerant and will not crash if the system does not have a '/.disk/info' file.

Changed in apport (Ubuntu):
status: New → In Progress
assignee: nobody → Brian Murray (brian-murray)
importance: Undecided → Medium
Changed in apport (Ubuntu Focal):
assignee: nobody → Brian Murray (brian-murray)
status: New → In Progress
importance: Undecided → Medium
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.20.11-0ubuntu32

---------------
apport (2.20.11-0ubuntu32) groovy; urgency=medium

  * debian/apport.install: Add in a source package hook for linux-meta-raspi
    which provides linux-raspi and linux-raspi2. (LP: #1876952)

 -- Brian Murray <email address hidden> Tue, 05 May 2020 09:29:28 -0700

Changed in apport (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Brian, or anyone else affected,

Accepted apport into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/apport/2.20.11-0ubuntu27.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in apport (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Brian Murray (brian-murray) wrote :

ubuntu@ubuntu:~$ ubuntu-bug linux-raspi

*** Collecting problem information

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
.........................................

*** Send problem report to the developers?

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

What would you like to do? Your options are:
  S: Send report (345.2 KB)
  V: View report
  K: Keep report file for sending later or copying to somewhere else
  I: Cancel and ignore future crashes of this program version
  C: Cancel
Please choose (S/V/K/I/C): k
Problem report file: /tmp/apport.linux-raspi.mpajdgfr.apport
ubuntu@ubuntu:~$ grep -A1 "ProcFB" /tmp/apport.linux-raspi.mpajdgfr.apport
ProcFB:
 0 simple
ubuntu@ubuntu:~$ grep ImageMediaBuild /tmp/apport.linux-raspi.mpajdgfr.apport
ImageMediaBuild: 20200421
ubuntu@ubuntu:~$ apt-cache policy apport
apport:
  Installed: 2.20.11-0ubuntu27.2
  Candidate: 2.20.11-0ubuntu27.2
  Version table:
 *** 2.20.11-0ubuntu27.2 500
        500 http://ports.ubuntu.com/ubuntu-ports focal-proposed/main arm64 Packages
        100 /var/lib/dpkg/status
     2.20.11-0ubuntu27 500
        500 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 Packages

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.20.11-0ubuntu27.2

---------------
apport (2.20.11-0ubuntu27.2) focal; urgency=medium

  * gtk/apport-gtk: upgrade regular expression used to match URLs in free text
    (LP: #1871185)

apport (2.20.11-0ubuntu27.1) focal; urgency=medium

  * debian/apport.install: Add in a source package hook for linux-meta-raspi
    which provides linux-raspi and linux-raspi2. (LP: #1876952)
  * data/general-hooks/ubuntu.py: collect ImageMediaBuild information which
    exists on preinstalled RPi images. (LP: #1876945)
  * Add in a source package hook symlink for linux-firmware. (LP: #1872059)
  * debian/tests/control: Depend on python3-twisted, not python-twisted-core

 -- Brian Murray <email address hidden> Tue, 12 May 2020 15:34:22 -0700

Changed in apport (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for apport has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.