Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-COM›automation #60676

ITF_LOCK: unwanted state requests and issue with CALI/ITF_STATUS management

In the last days we witnessed three occurrences of a weird phenomenon: at nights, after an unlock, ITF_LOCK was weirdly asked to go to the ACQUIRE_SHORT_MICH state, and then left there indefinitely, with the lock acquisition never resuming and, given the timeout we have for the Autorelock feature, neither the fallback state being requested later. This happened three different nights, and never during the day, so only when the Autorelock is active, not during the day activity (Figure 1).

Such ACQUIRE_SHORT_MICH state is not one that we use often, and basically all the times it is used for calibration purposes, using the CALI node. However, looking at one of such events, we can see that the CALI node has always been in the DOWN state (Figure 2), where literally nothing happens, if not the standard @handle_exceptions and @unstall_nodes decorators that are used everywhere.

Then we looked at the several log files of both ITF_LOCK and CALI: attached there are the digests of the log files (two per node, the ITF_LOCK ones also separated per event): we can see from ITF_LOCK that the unlock was not caused by this issue, and they were legit. However, after ITF_LOCK correctly executed its DOWN state, there was actually an "unstall" and then a state request from CALI for the ACQUIRE_SHORT_MICH. This without CALI changing its own state, which is peculiar.

We suspected of a possible CALI zombie duplicated process, but nothing was found on olserver53.

This afternoon we made a few tests; to be noted that we went in and out from COMMISSIONING mode because of the tests:

  • without touching anything, we just enabled the Autorelock failsafe feature: the issue happened again, so it is confirmed that this is something related to the interaction of the three nodes ITF_LOCK, CALI and ITF_STATUS;
  • one hypothesis could be that some part of the ITF_LOCK management by CALI was still engaged for some reason, and when ITF_STATUS manages ITF_LOCK both of them are active, while when ITF_STATUS frees ITF_LOCK none of them is active;
  • however, during one of the tests CALI actually went in "code error" (no changes were done), stating that ACQUIRE_SHORT_MICH was a "Invalid REQUEST"; a code reLOAD fixed the issue without the need for any modification;
  • at the next attempt the state request did not happen anymore, making us believe that something was wrong with the CALI node; still, CALI performed the "unstall" (which should happen only for managed nodes...), but the state request was not asked anymore, which is something;
  • then we stopped and started the CALI process, and I mis-used the ezca channels in order to read from the DAQ the actual MANAGER, the state REQUEST and the MODE of ITF_LOCK, where MODE is AUTO (blue), MANAGED (purple) or MANUAL (pink); all was as expected, with ITF_STATUS as only manager, and only when the Autorelock was active; still, the "unstall" was happening;
  • during one of these tests I accidentally made ITF_LOCK crash, so also such node was restarted from scratch;
  • when we unlocked (on purpose once we re-engaged the Autorelock Failsafe which was left off), we could still see the "unstall" happening.

Now the unwanted state request are not happening anymore, but there is still something to be checked.