-
Notifications
You must be signed in to change notification settings - Fork 697
Description
Test team tried to run the following command and got the error:
nose2 --verbose --start-dir tests nvme_compare_test
test_nvme_compare (nvme_compare_test.TestNVMeCompareCmd)
Testcase main ...
Using nvme binary 'nvme'
[ 4161.904848] nvme nvme4: rescanning namespaces.
ERROR
======================================================================
ERROR: test_nvme_compare (nvme_compare_test.TestNVMeCompareCmd)
Testcase main
Traceback (most recent call last):
File "/home/wendy/latest_nvme_cli_comm/nvme-cli/tests/nvme_compare_test.py", line 60, in setUp
super().setUp()
File "/home/wendy/latest_nvme_cli_comm/nvme-cli/tests/nvme_test_io.py", line 44, in setUp
super().setUp()
File "/home/wendy/latest_nvme_cli_comm/nvme-cli/tests/nvme_test.py", line 80, in setUp
self.create_and_attach_default_ns()
File "/home/wendy/latest_nvme_cli_comm/nvme-cli/tests/nvme_test.py", line 109, in create_and_attach_default_ns
err = self.create_and_validate_ns(self.default_nsid,
File "/home/wendy/latest_nvme_cli_comm/nvme-cli/tests/nvme_test.py", line 379, in create_and_validate_ns
json_output = json.loads(proc.stdout.read())
File "/usr/lib64/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Ran 1 test in 0.349s
FAILED (errors=1)