2022-09-XX - Test housekeeper improvement patch

  • People: Xianyu, Brandon, Guido, Doug
  • Scripts used:
  • Software versions used:
    • sxadsec: test.202209XX.housekeeper
    • soul-sxwfs: stable
  • Software version after test:
    • sxadsec: stable
    • soul-sxwfs: stable


Currently, the Housekeeper implementation causes the last available housekeeepr frame to not be saved when any BCU (SwitchBCU or CrateBCU) becomes not available, while the last available housekeeeper frame can be used for analysis of the causing issue. In addtion, the current housekeeper has another big issue, the housekeeeper variables after the read fails place will not to be read and checked with their limit, even they minght be available.

Code changed

Github pull request #154 shows the code change.

Xianyu's Housekeeper patch improvements do the following:

when one or more of the read from the four blocks (SwithBCU NIOS,CrateBCUNIOS, CrateBCU DSP, SwithBCU DSP) fails, the HouseKeeper is changed to do the following:

1.after attempting to read all the four blocks, it saves all the telemetry data in telemetry file if all the previous four blocks were read successfully, and logs where the readout fails.
2.continues trying to read, but the warning and alarms limits are no longer checked.
3.pauses the normal telemetry saving until all the four blocks are read successfully.


The test plan steps and results are available in two google sheets.
  1. Test new housekeeper. The purpose of the test is to run the Housekeeper and make sure that it is producing normal telemetry data.
  2. Test set_z0 bank A-only using new housekeeper. The purpose of the test is to try to reproduce a switch BCU timeout and see the resulting housekeeper telemetry when setting z0 on both banks A and B and then try setting z0 with only bank A and see if a switch BCU timeout no longer occurs after a sufficient period of time.


Topic revision: r4 - 07 Oct 2022, XianyuZhang
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback