ucx icon indicating copy to clipboard operation
ucx copied to clipboard

TOOLS/PERF: CI test for perftest daemon

Open iyastreb opened this issue 1 year ago • 4 comments

What

First CI test for perftest_daemon.

Why ?

XGVMI functionality must be covered by CI tests to prevent regressions.

How ?

Some refactoring was needed to allow daemon to support perftest batch mode:

  • Moved command line arguments from TEST_PARAMS_ARGS (i.e. per-test options) to global options. Reason: these daemon offloading options are immutable during the process lifetime, and should not be changed on per-test basis. It's pretty much like existing options for receiver IP and port.
  • Moved daemon-related config params into a separate struct
  • Added daemon-keep-alive option, to keep daemon alive across multiple test runs
  • Support "reconnection" for daemon clients. That means that TCP connection between host and daemon is not reestablished, but it's possible to reconnect to daemon from another EP (INIT and FIN are reentrant)
  • Support for batch mode: unless daemon-keep-alive option is specified - kill daemon at the end of the batch run

iyastreb avatar Mar 15 '24 10:03 iyastreb

/azp run UCX PR

yosefe avatar Mar 17 '24 10:03 yosefe

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Mar 17 '24 10:03 azure-pipelines[bot]

/azp run

iyastreb avatar Aug 19 '24 08:08 iyastreb

Azure Pipelines successfully started running 5 pipeline(s).

azure-pipelines[bot] avatar Aug 19 '24 08:08 azure-pipelines[bot]