ucx
ucx copied to clipboard
TOOLS/PERF: CI test for perftest daemon
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-aliveoption, 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-aliveoption is specified - kill daemon at the end of the batch run
/azp run UCX PR
Azure Pipelines successfully started running 1 pipeline(s).
/azp run
Azure Pipelines successfully started running 5 pipeline(s).