Skip to content

Link test FSM: finish in RxConfigured state instead of Synchronized

Kate Whalen requested to merge kw-link-fsm-rxconfig into master

As discussed in p2-xware/software/emp-herd#13 (comment 7177541), this moves the "continue" transition to the beginning of the loop over repeat_io_config so that the link test FSM finishes in the "RxConfigured" state (with monitoring and dataflow enabled), rather than in the "Synchronized" state (with monitoring and dataflow disabled).

Tested with the following recipe:

  • Ran run-link-test with the option: --repeat-io-config 3 and p2-xware/software/serenity-herd@b5050590.
  • Ran the error injection command: board-manager run-command serenity1 x0 injectErrors and injected 1k CRC errors on ch. 0-11.
  • board-manager show metrics serenity2 x0 shows warnings and the correct error counters on the expected Rx channels (0-11).
  • board-manager show links --link link_S1S2* shows warnings on the expected links.
Edited by Kate Whalen

Merge request reports