JIRA: BOTTLENECK-215
also fix the bug for type error: converted string
Change-Id: Ic56b5ab5c49d8fdbcf49ba4571c2286d5f7bc422
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
doc_type=test_data["testcase"],
body=test_data["data_body"])
if res['created'] == "False":
doc_type=test_data["testcase"],
body=test_data["data_body"])
if res['created'] == "False":
- LOG.error("date send to kibana have errors ", test_data["data_body"])
+ LOG.error("date send to kibana have errors %s", test_data["data_body"])
def posca_stress_ping(runner_config):
def posca_stress_ping(runner_config):
doc_type="vnf_scale_out",
body=i)
if res['created'] == "False":
doc_type="vnf_scale_out",
body=i)
if res['created'] == "False":
- LOG.error("date send to kibana have errors ",
+ LOG.error("date send to kibana have errors %s",
doc_type=test_data["testcase"],
body=test_data["data_body"])
if res['created'] == "False":
doc_type=test_data["testcase"],
body=test_data["data_body"])
if res['created'] == "False":
- LOG.error("date send to kibana have errors ", test_data["data_body"])
+ LOG.error("date send to kibana have errors %s", test_data["data_body"])
def dashboard_system_bandwidth(runner_config):
def dashboard_system_bandwidth(runner_config):
try:
posca_testcase_run(tester_parser[0], testcase, config[testcase])
except Exception, e:
try:
posca_testcase_run(tester_parser[0], testcase, config[testcase])
except Exception, e:
- LOG.warning('e.message:\t', e.message)
+ LOG.warning('e.message:\t%s', e.message)
stop_date = datetime.datetime.now()
LOG.info("End of %s testcase in POSCA testsuite", testcase)
criteria = "FAIL"
stop_date = datetime.datetime.now()
LOG.info("End of %s testcase in POSCA testsuite", testcase)
criteria = "FAIL"
"subnetpool": -1,
"router": -1,
"port": -1,
"subnetpool": -1,
"router": -1,
"port": -1,
+ "security_group": -1,
+ "security_group_rule": -1,
+ "rbac_policy": -1}
nova_quota = {"ram": -1,
"cores": -1,
nova_quota = {"ram": -1,
"cores": -1,