aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-02-13 21:23:28 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2019-02-13 21:23:28 +0100
commit4afaf09c94da6e98ca449a7495f158e2d30255e5 (patch)
tree32566385a8eceb5a569dc271bebb91a5fe0d6a84
parentdd217735edd2e596d396a2b8815b418548f78111 (diff)
Publish tempest details into database
It switches from tempest.log to rally.log to conform with rally/stestr. Change-Id: I00c2a268a2bc312a22a8d70278fad618c1c25235 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/opnfv_tests/openstack/tempest/tempest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/tempest.py b/functest/opnfv_tests/openstack/tempest/tempest.py
index d7e3f243d..011c8b6fb 100644
--- a/functest/opnfv_tests/openstack/tempest/tempest.py
+++ b/functest/opnfv_tests/openstack/tempest/tempest.py
@@ -260,7 +260,7 @@ class TempestCommon(singlevm.VmReady2):
return
with open(os.path.join(self.res_dir,
- "tempest.log"), 'r') as logfile:
+ "rally.log"), 'r') as logfile:
output = logfile.read()
success_testcases = []
ckground-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
##############################################################################
# Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---

schema: "yardstick:task:0.1"
description: >
    Yardstick TC073 config file;
    measure network latency and throughput using netperf;
    There are two sample scenarios: bulk test and request/response test;
    In bulk test, UDP_STREAM and TCP_STREAM can be used;
    send_msg_size and recv_msg_size are options of bulk test;
    In req/rsp test, TCP_RR TCP_CRR UDP_RR can be used;
    req_rsp_size is option of req/rsp test;

{% set host = host or "node1.LF" %}
{% set target = target or "node2.LF" %}
{% set pod_info = pod_info or "etc/yardstick/nodes/compass_sclab_physical/pod.yaml" %}
scenarios:
-
  type: NetperfNode
  options:
    testname: 'UDP_STREAM'
    send_msg_size: 1024
    duration: 20

  host: {{host}}
  target: {{target}}

  runner:
    type: Iteration
    iterations: 1
    interval: 1
  sla:
    mean_latency: 100
    action: monitor

context:
  type: Node
  name: LF
  file: {{pod_info}}