xenanetworks / open-automation-rfc-test-suites

🚀 XOA test suite library for network performance benchmarking and more.
https://docs.xenanetworks.com/projects/xoa-core
Apache License 2.0
2 stars 1 forks source link

Failed to run v2544 using xoa-core #10

Closed leonardhyu closed 1 year ago

leonardhyu commented 1 year ago

Description:

When trying to run RFC-2544 “Back-to-Back tests” via automation, below error is seen

plugin2544.utils.exceptions.FrameDurationRequire: back_to_back Test requires Frames Duration Type.
RFC-2544[b1117e12-6bdf-4829-8a40-79dffac1e409] back_to_back Test requires Frames Duration Type.
/usr/lib/python3.8/asyncio/events.py:81: RuntimeWarning: coroutine 'MainController.list_testers' was never awaited
  self._context.run(self._callback, *self._args)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback -after completion of script run, getting this warning error:
/usr/lib/python3.8/asyncio/events.py:81: RuntimeWarning: coroutine 'MainController.list_testers' was never awaited
  self._context.run(self._callback, *self._args)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

User environment:

Python version: Python 3.8.10 xoa_converter version: 1.0.3 xoa_core version: 1.0.5 xoa_driver version: 1.0.14

plugin2544 and plugin2889 downloaded from https://github.com/XenaNetworks/open-automation-test-suites

Config file:

rfc-2544-ethipv4-thruput-1.v2544.zip

RonDingDing commented 1 year ago

The error tells where it went wrong, for back_to_back test, only frame duration is allowed. For other tests, only time duration is allowed.

RonDingDing commented 1 year ago

https://github.com/xenanetworks/open-automation-test-suites/commit/fa55dd7e70ec7112b5a6a0e4193a4a6705d4d553

leonardhyu commented 1 year ago

@RonDingDing so it means in the v2544 config file, the user should use frame duration instead of time duration for b2b test, correct?

MaureenChan commented 1 year ago

@leonardhyu Yes, b2b only support frame duration.

leonardhyu commented 1 year ago

This can be closed i think. I'll make a note in our user doc, and update the customer with this. Thanks