yandex / yandex-tank

Load and performance benchmark tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pandora plugin tries to use deleted attribute 'process_start_time' and fails

nettorta opened this issue · comments

Hi folks,

Pandora plugin has a Console widget, that tries to use 'process_start_time' plugin attribute.

But the actual attribute was deleted by the 6th of September 2019 here

The result of such an action is an exception:

2019-12-03 14:03:00,440 [WARNING] yandextank.plugins.Console.plugin plugin.py:89 Exception inside render: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/yandextank/plugins/Console/plugin.py", line 87, in is_test_finished
self.__console_view = self.screen.render_screen().encode('utf-8')
File "/usr/local/lib/python2.7/dist-packages/yandextank/plugins/Console/screen.py", line 411, in render_screen
widget_out = widget.render(self).strip()
File "/usr/local/lib/python2.7/dist-packages/yandextank/plugins/Pandora/plugin.py", line 300, in render
dur_seconds = int(time.time()) - int(self.owner.process_start_time)
AttributeError: 'Plugin' object has no attribute 'process_start_time'

Can you fix that, please?