Debugging information should be included in the submission

Bug #176590 reported by Marc Tardif
2
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Medium
Marc Tardif

Bug Description

When there is a failure with a question, it should be possible to define the relevant information to provide for debugging purposes. This commands to gather this information should be defined in the question definition text file. The actual commands should be packaged in a zip file and referenced in a MANIFEST.

Revision history for this message
Marc Tardif (cr3) wrote :

For example, according to the DebuggingACPI page on the Ubuntu wiki, the following information could be specified for an ACPI related test:

debug:
  uname -a
  lspci -vvnn
  dmidecode
  tar -C /proc/acpi -cjf - .

This makes it possible to append almost any kind of debugging information to a test. Furthermore, the output of these commands could be normalized so that it is only sent once in a submission.

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

Alternatively, should we simply define a relevant package in the test definition file, run apport with that package as an argument and file a bug or link to an existing one?

Changed in checkbox:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Marc Tardif (cr3) wrote :

Absolutely, especially considering that the package can be determined from the requires field in a test. If more information is needed in addition to apport, such as running the alsa-info.sh script from the alsa project, should checkbox provide a debug field which would extend apport or should checkbox extend apport with more handlers?

Marc Tardif (cr3)
Changed in checkbox:
assignee: nobody → Marc Tardif (cr3)
milestone: none → 0.8-alpha3
status: Incomplete → Triaged
Revision history for this message
Marc Tardif (cr3) wrote :

Debugging information on a per test basis has been superseded by attachments which should cover most if not all necessary debugging information across tests. Changing the status to fix released since attachments have been available for a while.

Changed in checkbox:
status: Triaged → Fix Released
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.