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

Port pair error #27

Closed fpfeng closed 1 year ago

fpfeng commented 1 year ago
09:51:37.154 | /home/chf/xena/xoa_demo_2889/plugins/plugin2889/__init__.py:53 __do_test | init <class 'plugin2889.plugin.test_rate.RateTest'>
Exception in callback SuiteExecutor.__on_execution_terminated(<Task finishe...KeyError('e')>)
handle: <Handle SuiteExecutor.__on_execution_terminated(<Task finishe...KeyError('e')>)>
Traceback (most recent call last):
  File "/home/chf/.pyenv/versions/3.8.12/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/home/chf/xena/xoa_demo_2889/__pypackages__/3.8/lib/xoa_core/core/executors/executor.py", line 52, in __on_execution_terminated
    raise e
  File "/home/chf/xena/xoa_demo_2889/plugins/plugin2889/__init__.py", line 60, in start
    await self.__do_test()
  File "/home/chf/xena/xoa_demo_2889/plugins/plugin2889/__init__.py", line 54, in __do_test
    await test_suit_class(plugin_params, test_suit_config).start()
  File "/home/chf/xena/xoa_demo_2889/plugins/plugin2889/plugin/test_rate.py", line 26, in start
    for sub_class in self.enabled_sub_tests:
  File "/home/chf/xena/xoa_demo_2889/plugins/plugin2889/plugin/test_rate.py", line 21, in enabled_sub_tests
    yield ThroughputTest(self.plugin_params, sub_config)
  File "/home/chf/xena/xoa_demo_2889/plugins/plugin2889/plugin/test_abstract.py", line 62, in __init__
    self.test_suit_prepare()
  File "/home/chf/xena/xoa_demo_2889/plugins/plugin2889/plugin/base_class.py", line 219, in test_suit_prepare
    port_pairs=self.create_port_pairs()
  File "/home/chf/xena/xoa_demo_2889/plugins/plugin2889/plugin/base_class.py", line 206, in create_port_pairs
    return create_port_pair(
  File "/home/chf/xena/xoa_demo_2889/plugins/plugin2889/plugin/utils.py", line 305, in create_port_pair
    pairs = create_pairs_pair(group_by_property, traffic_direction, role_source)
  File "/home/chf/xena/xoa_demo_2889/plugins/plugin2889/plugin/utils.py", line 270, in create_pairs_pair
    pairs.append(PortPair(west=group_by_property.uuid_port_name[port_uuid], east=group_by_property.uuid_port_name[peer_uuid]))
KeyError: 'e'

I will fix it asap