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

Throughput error #3

Closed fpfeng closed 1 year ago

fpfeng commented 1 year ago
AttributeError: 'ThroughputBoutEntry' object has no attribute 'best_final_result'
Exception in callback SuiteExecutor.__on_execution_terminated(<Task finishe...nal_result'")>)
handle: <Handle SuiteExecutor.__on_execution_terminated(<Task finishe...nal_result'")>)>
Traceback (most recent call last):
  File "/home/chf/.pyenv/versions/3.10.2/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/home/chf/xena/refactor2544/__pypackages__/3.10/lib/xoa_core/core/executors/executor.py", line 45, in __on_execution_terminated
    raise e
  File "/home/chf/xena/refactor2544/pluginlib/plugin2544/entry.py", line 92, in start
    raise e
  File "/home/chf/xena/refactor2544/pluginlib/plugin2544/entry.py", line 86, in start
    await self.__do_test()
  File "/home/chf/xena/refactor2544/pluginlib/plugin2544/entry.py", line 62, in __do_test
    await tc.run(type_conf, current_packet_size, iteration)
  File "/home/chf/xena/refactor2544/pluginlib/plugin2544/plugin/tc_base.py", line 54, in run
    await self._throughput(test_type_conf, current_packet_size, iteration)
  File "/home/chf/xena/refactor2544/pluginlib/plugin2544/plugin/tc_base.py", line 182, in _throughput
    final = boundaries[0].best_final_result
AttributeError: 'ThroughputBoutEntry' object has no attribute 'best_final_result'

I will try to fix it if it is easy otherwise I would let Ron come to help.