History log of /openbmc/openpower-hw-diags/test/ (Results 1 – 25 of 95)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
a0c724d316-Aug-2024 Patrick Williams <patrick@stwcx.xyz>

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda forma

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.

See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.

Change-Id: I1d204ff0a167c43688f2217e9dee5504c71cd4f0
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

ac6cde7413-Aug-2024 Caleb Palmer <cnpalmer@us.ibm.com>

Add new test case for TI root cause filtering

Signed-off-by: Caleb Palmer <cnpalmer@us.ibm.com>
Change-Id: Ib05535717300a868cb1086e61ba28e603466b0ed

b1ef8c4204-Apr-2024 Caleb Palmer <cnpalmer@us.ibm.com>

Add longer timeout value for test-pll-unlock

Signed-off-by: Caleb Palmer <cnpalmer@us.ibm.com>
Change-Id: I306369466a768cef2cd1091c5e0ac32a925e32fd

7619ab7829-Nov-2023 Patrick Williams <patrick@stwcx.xyz>

build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer retur

build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer return true for auto features. Instead, the
expectation is to use `allowed()` which is true for both enabled and auto.

Switch all uses of `enabled` to `allowed`.

Change-Id: I2253ebff36b49c4b79b803175dd76668f8ac2ba8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

c3038c0311-Sep-2023 Caleb Palmer <cnpalmer@us.ibm.com>

Updated analyzer root cause filtering for Odyssey special cases

This updates the RAS data analyzer's root cause filtering
to handle special cases for Odyssey OCMBs, in particular
ODP data corruption

Updated analyzer root cause filtering for Odyssey special cases

This updates the RAS data analyzer's root cause filtering
to handle special cases for Odyssey OCMBs, in particular
ODP data corruption root causes, and firmware initiated
channel fails due to IUE threshold.

Signed-off-by: Caleb Palmer <cnpalmer@us.ibm.com>
Change-Id: Id22dd07b19a68007be0be3881d669eeee3a8078f

show more ...

c62813d422-Aug-2023 Zane Shelley <zshelle@us.ibm.com>

Odyssey PLL unlock analysis plugin

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Ia53910eecdcdeb836bd836039a509f00121a67f7

27dd636810-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: I27b0d1357211259edb6ec2776924729052f238d6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


/openbmc/openpower-hw-diags/.clang-format
/openbmc/openpower-hw-diags/analyzer/analyzer_main.cpp
/openbmc/openpower-hw-diags/analyzer/callout.hpp
/openbmc/openpower-hw-diags/analyzer/create_pel.cpp
/openbmc/openpower-hw-diags/analyzer/filter-root-cause.cpp
/openbmc/openpower-hw-diags/analyzer/initialize_isolator.cpp
/openbmc/openpower-hw-diags/analyzer/plugins/p10-plugins.cpp
/openbmc/openpower-hw-diags/analyzer/plugins/p10-tod-plugins.cpp
/openbmc/openpower-hw-diags/analyzer/plugins/plugin.hpp
/openbmc/openpower-hw-diags/analyzer/ras-data/ras-data-parser.cpp
/openbmc/openpower-hw-diags/analyzer/service_data.cpp
/openbmc/openpower-hw-diags/attn/attention.hpp
/openbmc/openpower-hw-diags/attn/attn_common.cpp
/openbmc/openpower-hw-diags/attn/attn_common.hpp
/openbmc/openpower-hw-diags/attn/attn_config.hpp
/openbmc/openpower-hw-diags/attn/attn_dbus.cpp
/openbmc/openpower-hw-diags/attn/attn_dump.cpp
/openbmc/openpower-hw-diags/attn/attn_handler.cpp
/openbmc/openpower-hw-diags/attn/attn_handler.hpp
/openbmc/openpower-hw-diags/attn/attn_logging.cpp
/openbmc/openpower-hw-diags/attn/attn_logging.hpp
/openbmc/openpower-hw-diags/attn/attn_main.cpp
/openbmc/openpower-hw-diags/attn/attn_monitor.cpp
/openbmc/openpower-hw-diags/attn/attn_monitor.hpp
/openbmc/openpower-hw-diags/attn/meson.build
/openbmc/openpower-hw-diags/attn/pel/extended_user_header.hpp
/openbmc/openpower-hw-diags/attn/pel/pel_common.hpp
/openbmc/openpower-hw-diags/attn/pel/pel_minimal.hpp
/openbmc/openpower-hw-diags/attn/pel/pel_section.hpp
/openbmc/openpower-hw-diags/attn/pel/primary_src.hpp
/openbmc/openpower-hw-diags/attn/pel/private_header.hpp
/openbmc/openpower-hw-diags/attn/pel/stream.hpp
/openbmc/openpower-hw-diags/attn/pel/user_header.hpp
/openbmc/openpower-hw-diags/attn/ti_handler.cpp
/openbmc/openpower-hw-diags/attn/ti_handler.hpp
/openbmc/openpower-hw-diags/attn/vital_handler.cpp
/openbmc/openpower-hw-diags/main.cpp
/openbmc/openpower-hw-diags/main_nl.cpp
/openbmc/openpower-hw-diags/meson.build
test-attention.cpp
test-bin-stream.cpp
test-cli.cpp
test-end2end.cpp
test-pdbg-dts.cpp
test-resolution.cpp
test-tod-step-check-fault.cpp
/openbmc/openpower-hw-diags/util/dbus.cpp
/openbmc/openpower-hw-diags/util/dbus.hpp
/openbmc/openpower-hw-diags/util/ffdc.cpp
/openbmc/openpower-hw-diags/util/ffdc_file.hpp
/openbmc/openpower-hw-diags/util/file_descriptor.hpp
/openbmc/openpower-hw-diags/util/pdbg.cpp
/openbmc/openpower-hw-diags/util/pdbg.hpp
/openbmc/openpower-hw-diags/util/pldm.cpp
/openbmc/openpower-hw-diags/util/temporary_file.cpp
/openbmc/openpower-hw-diags/util/temporary_file.hpp
adda054006-Apr-2023 Zane Shelley <zshelle@us.ibm.com>

Clarify definition of chip checkstop

Previously, the ATTN_TYPE_CHECKSTOP associated with a signature was
synonymous with a system checkstop event. This is certainly true for
if a processor chip chec

Clarify definition of chip checkstop

Previously, the ATTN_TYPE_CHECKSTOP associated with a signature was
synonymous with a system checkstop event. This is certainly true for
if a processor chip checkstops. However, this is not true if a connected
OCMB chip checkstops because it is possible in some cases for a system
to recover. To differentiate an OCMB chip checkstop from a system
checkstop they were previously reported as unit checkstops. With the
addition Odyssey OCMBs, which have ability to report both chip and unit
checkstops, we decided to fix the confusion and disassociate a chip
checkstop from a system checkstop. Now the signatures will properly
report the chip attention type and the signature filtering code has been
modified to simply associate only chip checkstops from processor chips
as system checkstop attentions.

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Iff9822ff8c9c0ae1afe84353010e94759dbdf49d

show more ...

51f8202c22-Feb-2023 Caleb Palmer <cnpalmer@us.ibm.com>

Update DSTL_FIR callouts in the event of failure to analyze an OCMB

Change-Id: I40c17703ad032aa98f02b43d9cb321b7fc86fea3
Signed-off-by: Caleb Palmer <cnpalmer@us.ibm.com>


/openbmc/openpower-hw-diags/.prettierignore
/openbmc/openpower-hw-diags/.prettierrc.yaml
/openbmc/openpower-hw-diags/README.md
/openbmc/openpower-hw-diags/analyzer/analyzer_main.cpp
/openbmc/openpower-hw-diags/analyzer/filter-root-cause.cpp
/openbmc/openpower-hw-diags/analyzer/plugins/p10-plugins.cpp
/openbmc/openpower-hw-diags/analyzer/plugins/plugin.hpp
/openbmc/openpower-hw-diags/analyzer/ras-data/data/ras-data-explorer-11.json
/openbmc/openpower-hw-diags/analyzer/ras-data/data/ras-data-explorer-20.json
/openbmc/openpower-hw-diags/analyzer/ras-data/data/ras-data-odyssey-10.json
/openbmc/openpower-hw-diags/analyzer/ras-data/data/ras-data-p10-10.json
/openbmc/openpower-hw-diags/analyzer/ras-data/data/ras-data-p10-20.json
/openbmc/openpower-hw-diags/analyzer/ras-data/meson.build
/openbmc/openpower-hw-diags/analyzer/ras-data/ras-data-definition.md
/openbmc/openpower-hw-diags/analyzer/ras-data/ras-data-parser.cpp
/openbmc/openpower-hw-diags/analyzer/ras-data/ras-data-parser.hpp
/openbmc/openpower-hw-diags/analyzer/ras-data/schema/ras-data-schema-v01.json
/openbmc/openpower-hw-diags/analyzer/ras-data/schema/ras-data-schema-v02.json
/openbmc/openpower-hw-diags/attn/Attention_Handler.md
/openbmc/openpower-hw-diags/attn/attn_handler.cpp
/openbmc/openpower-hw-diags/attn/attn_handler.hpp
/openbmc/openpower-hw-diags/attn/attn_handler.service.in
/openbmc/openpower-hw-diags/attn/attn_logging.cpp
/openbmc/openpower-hw-diags/attn/attn_logging.hpp
/openbmc/openpower-hw-diags/attn/attn_main.cpp
/openbmc/openpower-hw-diags/attn/attn_monitor.hpp
/openbmc/openpower-hw-diags/attn/vital_handler.cpp
/openbmc/openpower-hw-diags/meson.build
test-root-cause-filter.cpp
/openbmc/openpower-hw-diags/util/dbus.cpp
/openbmc/openpower-hw-diags/util/dbus.hpp
/openbmc/openpower-hw-diags/util/meson.build
/openbmc/openpower-hw-diags/util/pldm.cpp
/openbmc/openpower-hw-diags/util/pldm.hpp
1a4f0e7007-Nov-2022 Caleb Palmer <cnpalmer@us.ibm.com>

Update root cause filtering to use RAS data flags

Change-Id: I172540905a39533139821d3cb1676424824bd804
Signed-off-by: Caleb Palmer <cnpalmer@us.ibm.com>

3a80c98321-Oct-2022 Ben Tyner <ben.tyner@ibm.com>

Attn: Add ten second delay during SBE attention handling

A 10 second wait is introduced in the attention handler
path when a SBE attention is detected. This wait has been
shown to be adequate to all

Attn: Add ten second delay during SBE attention handling

A 10 second wait is introduced in the attention handler
path when a SBE attention is detected. This wait has been
shown to be adequate to allow the power fault handling
logic to commit a PEL and gracefully power down the host
before the SBE attention is handled. The SBE attention
handling will be preempted by the host power down sequence.
No SBE attention PEL will be committed.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I91a313712b67eec0ec10eb3f37e0c56fda64f200

show more ...

b82cbf7527-Jun-2022 Zane Shelley <zshelle@us.ibm.com>

Update to clang-format-14

Required because the Jenkins CI tools have moved to v14.

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: I3cf4df1b45325545a423bdcb810040724a598ec5

cd6373d312-May-2022 Zane Shelley <zshelle@us.ibm.com>

Ignore analysis of OCMBs that have been masked

Attentions from OCMBs chip will flow through their connected processor
chips. We should not do analysis of those attentions if they are masked
on the c

Ignore analysis of OCMBs that have been masked

Attentions from OCMBs chip will flow through their connected processor
chips. We should not do analysis of those attentions if they are masked
on the connected processor chip regardless if the OCMB chip shows any
active attentions. This will take care of scenarios like a channel
failure attention that has already been handled and masked by the host
firmware.

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: I2c170ea4770ad3a229c1c65fa50b056fc8a6e4b2

show more ...

026e5a3f05-May-2022 Zane Shelley <zshelle@us.ibm.com>

Avoid guarding on TOD interfaces errors

The error could be anywhere between the two processors in the interface.
Fatally guarding the MDMT will cause system outage until service is
done. Instead, do

Avoid guarding on TOD interfaces errors

The error could be anywhere between the two processors in the interface.
Fatally guarding the MDMT will cause system outage until service is
done. Instead, do not guard on the TOD interface errors to avoid outage.

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: I446917bad985e5143657398b2fbadacf6e8c4a9d

show more ...

d28d5f8b28-Apr-2022 austinfcui <austinfcui@gmail.com>

Add Attn config option for clearing Attn Interrupts

Added attn config option
Added UT for attn config object
Added UT for cli that uses attn config object

Signed-off-by: austinfcui <austinfcui@gmai

Add Attn config option for clearing Attn Interrupts

Added attn config option
Added UT for attn config object
Added UT for cli that uses attn config object

Signed-off-by: austinfcui <austinfcui@gmail.com>
Change-Id: I0e30ebf4d94de676814bf5e173691c4d1ee362cb

show more ...

e81eb15d19-Apr-2022 austinfcui <austinfcui@gmail.com>

Add a UT function for getActiveChips() of util/pdbg files

Signed-off-by: austinfcui <austinfcui@gmail.com>
Change-Id: I22fed946eaa7f4c11c52df9e2c5aa3ab734b033f

5dbebde012-Apr-2022 austinfcui <austinfcui@gmail.com>

Configure UT test static lib in base meson.build

Fix problem of UT GCOV converages not increasing

Signed-off-by: austinfcui <austinfcui@gmail.com>
Change-Id: I070fedf7cd268a541fd61b05aca05b9759a4a6

Configure UT test static lib in base meson.build

Fix problem of UT GCOV converages not increasing

Signed-off-by: austinfcui <austinfcui@gmail.com>
Change-Id: I070fedf7cd268a541fd61b05aca05b9759a4a67a

show more ...

7ec2dd1113-Apr-2022 austinfcui <austinfcui@gmail.com>

Eliminate warning messages from test-attention.cpp file

Signed-off-by: austinfcui <austinfcui@gmail.com>
Change-Id: Ib933179c8d11486333bfb60a477a3a47dfc7e685

20ed74db26-Mar-2022 Zane Shelley <zshelle@us.ibm.com>

Enable `lg2` logs to be printed to stderr in test

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Ie4922b3bf6adeeb1e6dbe8db7e76ed8ae605d754

69e3771f24-Mar-2022 Zane Shelley <zshelle@us.ibm.com>

Consolidate test cases for readability

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Ifb927b680d15980cd52dea743d0acb1391dac443

985388a824-Mar-2022 Zane Shelley <zshelle@us.ibm.com>

Create test-only version of util_lib

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Ifd63af2772b936ec07ca4bbcf13c70429ffd5693

edfcbc3824-Mar-2022 Zane Shelley <zshelle@us.ibm.com>

Moved end2end test with other test cases

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: I58f821e31aa1a0067574bd0c443c94e4d77d29df

dd77999525-Mar-2022 austinfcui <austinfcui@gmail.com>

Check existing temp files in system's temp folder

Signed-off-by: austinfcui <austinfcui@gmail.com>
Change-Id: Ic76c058cb18d5e723794a86c6695b73fbc409fa3

ab1e4dda14-Mar-2022 austinfcui <austinfcui@gmail.com>

Add unit test for util's data-file.hpp/cpp files

Signed-off-by: austinfcui <austinfcui@gmail.com>
Change-Id: I23a2786bc8ec8d5adc7be2b35e4db7fb950edadf

bb74280710-Mar-2022 austinfcui <austinfcui@gmail.com>

Add unit test for Attention class

Signed-off-by: austinfcui <austinfcui@gmail.com>
Change-Id: Ia1f451b7e990ecdf29903944e12c5a9ea5585eeb

1234