drive_data_integrity: fix missing initialization #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add fio_process_queue attribute initialize in init
Traceback (most recent call last):
File "/usr/lib64/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/south/repo/ocp-diag-autoval-ssd/lib64/python3.9/site-packages/autoval/autoval_test_runner.py", line 233, in
main()
File "/south/repo/ocp-diag-autoval-ssd/lib64/python3.9/site-packages/autoval/autoval_test_runner.py", line 229, in main
AutoValTestRunner(autoval_cli()).main()
File "/south/repo/ocp-diag-autoval-ssd/lib64/python3.9/site-packages/autoval/autoval_test_runner.py", line 173, in main
obj.lifecycle()
File "/south/repo/ocp-diag-autoval-ssd/lib64/python3.9/site-packages/autoval/lib/test_base.py", line 153, in lifecycle
self._setup_execute_teardown()
File "/south/repo/ocp-diag-autoval-ssd/lib64/python3.9/site-packages/autoval/lib/test_base.py", line 220, in _setup_execute_teardown
self._teardown()
File "/south/repo/ocp-diag-autoval-ssd/lib64/python3.9/site-packages/autoval/lib/test_base.py", line 45, in wrapper
self._handle_exception(e)
File "/south/repo/ocp-diag-autoval-ssd/lib64/python3.9/site-packages/autoval/lib/test_base.py", line 43, in wrapper
func(self, *args, **kwargs)
File "/south/repo/ocp-diag-autoval-ssd/lib64/python3.9/site-packages/autoval/lib/test_base.py", line 383, in _teardown
self.cleanup()
File "/south/repo/ocp-diag-autoval-ssd/lib64/python3.9/site-packages/autoval_ssd/tests/drive_data_integrity/drive_data_integrity.py", line 1015, in cleanup
self.stop_fio_monitor()
File "/south/repo/ocp-diag-autoval-ssd/lib64/python3.9/site-packages/autoval_ssd/tests/drive_data_integrity/drive_data_integrity.py", line 438, in stop_fio_monitor
if len(self.fio_process_queue):
File "/south/repo/ocp-diag-autoval-ssd/lib64/python3.9/site-packages/autoval/lib/test_base.py", line 491, in getattr
return getattr(AutovalUtils, name)
AttributeError: type object 'AutovalUtils' has no attribute 'fio_process_queue'