Test suite 'test_event_logging' in openbmc-test-automation
Hi Sivas,
The keyword 'Create Test Error Log' is used in this test suite and use a binary 'logging-test' to create the error log.
My question it that how does the 'logging-test' work to create the error log? Does it also use redfish or maybe call dbus in BMC?
Thanks
Best Regards,
Tony
From: "Tony Lee (李文富)" <[email protected]>
To: "[email protected]" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: 22-05-2020 12:04
Subject: [EXTERNAL] Test suite 'test_event_logging' in
openbmc-test-automation
Sent by: "openbmc" <openbmc-bounces
[email protected]>
Hi Sivas,
The keyword 'Create Test Error Log' is used in this test suite and use a binary 'logging-test' to create the error log.
My question it that how does the 'logging-test' work to create the error log?
Does it also use redfish or maybe call dbus in BMC?
Thanks
Best Regards,
Tony
--------------------------------------------------------------
Hi Tony,
logging-test binary comes from build tarball example:
obmc-phosphor-debug-tarball-witherspoon.tar.xz from the
https://openpower.xyz//job/openbmc-build/ page
The logging test uses the dbus call to generate those error log for
testing
https://github.com/openbmc/phosphor-logging/tree/master/phosphor-logging
Refer:
https://github.com/openbmc/phosphor-logging/blob/30047bf9647215951ba5dfe21ceb3e58a1b405a4/logging_test.cpp
Thanks
George