Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggest add nvme_format_block_size 4096 in namespace_utilization.json config file for case namespace_utilization_test.py #9

Open
kwzhu123 opened this issue Jul 23, 2024 · 0 comments

Comments

@kwzhu123
Copy link

1.used drive with sector size 512B run case
2. without nvme_format_block_size option in json file, will not format drive to sector size 4k
3.Check NS utilization 10GB used default LBA count 2621440(0x280000) for sector size 4k, case will failed

log:
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 "/home/tcn/env/lib64/python3.9/site-packages/autoval/autoval_test_runner.py", line 233, in
main()
File "/home/tcn/env/lib64/python3.9/site-packages/autoval/autoval_test_runner.py", line 229, in main
AutoValTestRunner(autoval_cli()).main()
File "/home/tcn/env/lib64/python3.9/site-packages/autoval/autoval_test_runner.py", line 173, in main
obj.lifecycle()
File "/home/tcn/env/lib64/python3.9/site-packages/autoval/lib/test_base.py", line 153, in lifecycle
self._setup_execute_teardown()
File "/home/tcn/env/lib64/python3.9/site-packages/autoval/lib/test_base.py", line 217, in _setup_execute_teardown
self._setup_execute()
File "/home/tcn/env/lib64/python3.9/site-packages/autoval/lib/test_base.py", line 45, in wrapper
self._handle_exception(e)
File "/home/tcn/env/lib64/python3.9/site-packages/autoval/lib/test_base.py", line 43, in wrapper
func(self, *args, **kwargs)
File "/home/tcn/env/lib64/python3.9/site-packages/autoval/lib/test_base.py", line 383, in _setup_execute
self.execute()
File "/home/tcn/bin/ocp-diag-autoval-ssd/autoval_ssd/tests/namespace_utilization_test/namespace_utilization_test.py", line 102, in execute
self.validate_equal(
File "/home/tcn/env/lib64/python3.9/site-packages/autoval/lib/utils/autoval_utils.py", line 1282, in validate_equal
cls._validate(
File "/home/tcn/env/lib64/python3.9/site-packages/autoval/lib/utils/autoval_utils.py", line 1046, in _validate
raise TestStepError(_msg)
autoval.lib.utils.autoval_exceptions.TestStepError: [AUTOVAL TEST STEP ERROR] FAILED - 22 - nuse size of nvme0n1 after 10GB write operation - Actual: [20971520] - Validation: [isEqual] - Expected: [2621440]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant