commit | 7f8fe7fb5ff10d17fa654b6e93b30acddd52bfa2 | [log] [tgz] |
---|---|---|
author | Marri Devender Rao <devenrao@in.ibm.com> | Thu Apr 14 02:25:59 2022 -0500 |
committer | Marri Devender Rao <devenrao@in.ibm.com> | Mon Nov 07 03:59:02 2022 -0600 |
tree | fa39213992fb01917e5eb58b218a30772d44a006 | |
parent | 888a1af9f292a7baab0aff9b936552f794c9c651 [diff] |
dreport: add led manager persistent data to BMC dump Adding plugin to copy /var/lib/phosphor-led-manager/ directory where LED manager persistent data is stored to BMC dump. ----------<Test case - failure in busctl command>------- Thu Apr 14 08:16:53 UTC 2022 ERROR: Failed to collect led groups Thu Apr 14 08:16:53 UTC 2022 INFO: Copied led groups /var/lib/phosphor-led-manager/ root@xxx:/tmp/test/obmcdump_00000000_1649924210# du -sh phosphor-led-manager/ 4.0K phosphor-led-manager/ ----------<Test case - busctl command success>---------- root@xxx:/tmp/test/obmcdump_00000000_1649927154# ls -lah ledgroups.log -rw-r--r-- 1 root root 409.7K Apr 14 09:05 ledgroups.log Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: I2939ae24762bf799f3fd1ccf6ebcc2c3c6d2c593
Phosphor Debug Collector provides mechanisms to collect various log files and system parameters. Used to troubleshoot problems in OpenBMC based systems.
One such mechanism is dreport, a script that collects debug data and packages it into an archive file.
To build this package with meson, do the following steps:
1. meson builddir 2. ninja -C builddir
To clean the built files run ninja -C builddir clean
.
Tests can be run in the CI docker container, refer local-ci-build
or with an OpenBMC x86 sdk(see below for x86 steps).
meson -Dtests=enabled build ninja -C build test