History log of /openbmc/phosphor-logging/test/openpower-pels/log_id_test.cpp (Results 1 – 5 of 5)
Revision Date Author Comments
# 7410260a 25-Apr-2023 Matt Spinler <spinler@us.ibm.com>

PEL:log_id_test: Remove file when testcase done

A testcase was missing a delete of a temporary file it created. Delete
it so it isn't left around.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>

PEL:log_id_test: Remove file when testcase done

A testcase was missing a delete of a temporary file it created. Delete
it so it isn't left around.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I4666241374ee7b6e260210539e7e29b34d018600

show more ...


# f380c516 19-Nov-2021 Sumit Kumar <sumit_kumar@in.ibm.com>

PEL: Fix for error - unable to read PEL ID file

This is a case when PEL daemon can't read pelID file to get the next
pel Id to use. It could be that the file got corrupted during code

PEL: Fix for error - unable to read PEL ID file

This is a case when PEL daemon can't read pelID file to get the next
pel Id to use. It could be that the file got corrupted during code
update or factory reset leading to zeros data in file. The fix is to
delete the file as there is already code later to recreate file if
not available.

Signed-off-by: Sumit Kumar <sumit_kumar@in.ibm.com>
Change-Id: I42372cc1d79ece5914e7fdb51f3fa2a2d9cb07e7

show more ...


# 620ef38c 16-Jun-2020 Andrew Geissler <geissonator@yahoo.com>

ensure time delay in time based test

On some faster machines, the TimeBasedIDTest fails due to there being no
time difference between the time based ID's. Ensure there is always a
ti

ensure time delay in time based test

On some faster machines, the TimeBasedIDTest fails due to there being no
time difference between the time based ID's. Ensure there is always a
time difference with a delay.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: If69c3aead8010f016e13d44f1e106cbc31d0b046

show more ...


# 97f7abcf 06-Nov-2019 Matt Spinler <spinler@us.ibm.com>

PEL: Add license prologue to test source files

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I67c62ab5ac6e69ad0a84937834581f9a280a9167


# df13bdb6 10-Jul-2019 Matt Spinler <spinler@us.ibm.com>

PEL: Add function to generate unique PEL IDs

Create generatePELID() to return a unique 4B PEL ID every time it is
called. It will start at a base value, and then increment by 1 each

PEL: Add function to generate unique PEL IDs

Create generatePELID() to return a unique 4B PEL ID every time it is
called. It will start at a base value, and then increment by 1 each
time. It uses a file to save the next value to use.

This will be used by the PEL handling code to create unique values
for the error log ID field in the Private Header section.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I841a8dcc5dc48e2b663004be3dccfb114ba366f2

show more ...