From: Eduardo Lima (Etrunko) <eblima(a)br.ibm.com>
Traceback (most recent call last):
File "/usr/lib64/python2.7/logging/__init__.py", line 838, in emit
msg = self.format(record)
File "/usr/lib64/python2.7/logging/__init__.py", line 715, in format
return fmt.format(record)
File "/usr/lib64/python2.7/logging/__init__.py", line 464, in format
record.message = record.getMessage()
File "/usr/lib64/python2.7/logging/__init__.py", line 328, in getMessage
msg = msg % self.args
TypeError: %d format: a number is required, not NoneType
Signed-off-by: Eduardo Lima (Etrunko) <eblima(a)br.ibm.com>
---
.../09_procrasd_persist.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/09_procrasd_persist.py
b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/09_procrasd_persist.py
index cc5b71b..91415dd 100644
--- a/suites/libvirt-cim/cimtest/VirtualSystemManagementService/09_procrasd_persist.py
+++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementService/09_procrasd_persist.py
@@ -91,19 +91,19 @@ def check_proc_sched(server, virt, cn_name):
return FAIL
if proc_rasd["VirtualQuantity"] != nvcpu and virt != 'KVM':
- logger.error("VirtualQuantity is %i, expected %i",
+ logger.error("VirtualQuantity is %s, expected %s",
proc_rasd["VirtualQuantity"], nvcpu)
return FAIL
elif proc_rasd["VirtualQuantity"] != nvcpu and virt ==
"KVM":
return XFAIL_RC(libvirt_bug)
if proc_rasd["Limit"] != limit:
- logger.error("Limit is %i, expected %i",
+ logger.error("Limit is %s, expected %s",
proc_rasd["Limit"], limit)
return FAIL
if proc_rasd["Weight"] != weight:
- logger.error("Weight is %i, expected %i",
+ logger.error("Weight is %s, expected %s",
proc_rasd["Weight"], weight)
return FAIL
--
1.7.4.4