← Back to team overview

touch-packages team mailing list archive

[Bug 1336462] Re: Make apport collect some Power information

 

Hello Thierry, or anyone else affected,

Accepted apport into trusty-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/apport/2.14.1-0ubuntu3.16 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 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, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

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

** Changed in: apport (Ubuntu Trusty)
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1336462

Title:
  Make apport collect some Power information

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Trusty:
  Fix Committed

Bug description:
  TEST CASE
  ---------
  Verify that /usr/share/apport/general-hooks/powerpc.py exists after installing the version of the package from -proposed.

  For bonus points run apport-cli on a powerpc system and verify that
  the report contains information in the apport hook.

  REGRESSION POTENTIAL
  --------------------
  We are just adding in a new general hook to apport that only runs on systems with an arch of ppc64 or ppc64le so there is little chance of regression.

  On power/ppc64el system, we would need to enhance current apport reporting tool which some information like file content or commands output including
            "/proc/device-tree/"
              "/proc/loadavg"
              "/proc/locks"
             "/proc/misc"
              "/proc/swaps"
              "/proc/version"
              "/dev/nvram"
              "/var/log/platform"
              "ppc64_cpu --smt"
              "ppc64_cpu --cores-present"
              "ppc64_cpu --cores-on"
              "ppc64_cpu --run-mode"
             "ppc64_cpu --frequency"
             "ppc64_cpu --dscr"

  Readme says : For complete instructions, see /usr/share/doc/apport/package-hooks.txt but
  cat: /usr/share/doc/apport/package-hooks.txt: No such file or directory

  Do I understand correctly I would need to create a file (for example)
  named : /usr/share/apport/general-hooks/power.py ?

  Other questions:
  Do you have common functions to put output of commands in logfile ?
  do you have common functions to copy config file tree content to log file or should I create the list of file and copy content of each file to the logfile ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1336462/+subscriptions