2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-05 12:37:54 +00:00
Files
xcat-core/xCAT-test/autotest/testcase
Daniel Hilst 616162e424 test(xcat-core): a failed monitor respawn strands xcatiport for the rest of the bundle
The new xcatd_install_monitor_respawns case kills the install monitor to prove it comes
back. When it does not come back, the case simply ends there, and the MN is left running a
daemon whose xcatiport is dead. xcattest does not stop a case at the first failed check --
the only "last" statements are inside the check loops, so every remaining cmd still runs --
but it has no teardown either, and the next case in the bundle that provisions a node would
then fail because nothing is listening for install status, not because of anything it did.
One real failure would read as a cascade of unrelated ones.

Restore the daemon at the end of the case, and only if the monitor is actually missing, so
a passing run stays a no-op rather than restarting xcatd for nothing. Verified against a
live MN: with the monitor present the step exits 0 and leaves the running pid untouched.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-09-01 20:02:18 -03:00
..
2018-07-02 05:27:01 -04:00
2018-04-18 16:48:28 +08:00
2022-11-28 15:10:28 -05:00
2018-11-05 01:19:21 -05:00
2019-03-27 04:23:39 -04:00
2024-07-16 12:42:39 +02:00
2024-07-16 12:42:39 +02:00
2018-11-05 03:24:53 -05:00
2018-11-28 01:51:26 -05:00
2023-01-10 10:21:40 -05:00
2018-11-05 01:19:21 -05:00
2019-04-03 02:16:17 -04:00
2022-07-06 11:36:21 -04:00
2018-11-15 02:44:58 -05:00