Add systemd circular dependency check
It's usefull add circular dependency check for systemd units.
The error log if had circular dependency:
```
Mar 10 06:20:45 g220b systemd[1]: xyz.openbmc_project.AssetManager.service: Found ordering cycle on xyz.openbmc_project.Software.BMC.Updater.service/start
Mar 10 06:20:45 g220b systemd[1]: xyz.openbmc_project.AssetManager.service: Found dependency on sel-ready.target/start
Mar 10 06:20:45 g220b systemd[1]: xyz.openbmc_project.AssetManager.service: Found dependency on xyz.openbmc_project.Logging.IPMI.service/start
Mar 10 06:20:45 g220b systemd[1]: xyz.openbmc_project.AssetManager.service: Found dependency on xyz.openbmc_project.Logging.service/start
Mar 10 06:20:45 g220b systemd[1]: xyz.openbmc_project.AssetManager.service: Found dependency on obmc-fru-fault-monitor.service/start
Mar 10 06:20:45 g220b systemd[1]: xyz.openbmc_project.AssetManager.service: Found dependency on xyz.openbmc_project.AssetManager.service/start
Mar 10 06:20:45 g220b systemd[1]: xyz.openbmc_project.AssetManager.service: Job xyz.openbmc_project.Software.BMC.Updater.service/start deleted to break ordering cycle start
Mar 10 06:20:45 g220b systemd[1]: Queued start job for default target Multi-User System.
```
I think this is good to check it in CI.
Tested:
```
~# python3 -m robot -v OPENBMC_HOST:xx.xx.xx.xx redfish/test_xit.robot
Mar 10 06:20:45 g220b systemd[1]: xyz.openbmc_project.AssetManager.service: Found ordering cycle on xyz.openbmc_project.Software.BMC.Updater.service/start
Verify No BMC Dump And Application Failures In BMC :: Verify no BM... | FAIL |
'Mar 10 06:20:45 g220b systemd[1]: xyz.openbmc_project.AssetManager.service: Found ordering cycle on xyz.openbmc_project.Software.BMC.Updater.service/start' should be empty.
------------------------------------------------------------------------------
Test Xit :: This suite is to run some test at the end of execution. | FAIL |
1 test, 0 passed, 1 failed
==============================================================================
```
Change-Id: I3288106b06399acf22fa44cba3b3d0fa69944cfc
Signed-off-by: Jian Zhang <zhangjian.3032@bytedance.com>
diff --git a/tests/test_xit.robot b/tests/test_xit.robot
index c60af1f..b1056c6 100644
--- a/tests/test_xit.robot
+++ b/tests/test_xit.robot
@@ -10,7 +10,7 @@
*** Variables ***
# Error strings to check from journald.
-${ERROR_REGEX} SEGV|core-dump|FAILURE|Failed to start
+${ERROR_REGEX} SEGV|core-dump|FAILURE|Failed to start|Found ordering cycle
*** Test Cases ***