Hi Team,
This is Anusha from HCL, from past 6 months we are using Opnfv tool for our
infrastructure level testing and its very good tool to help us in enhancing
the ability of testing but past few weeks we are facing some issues with
yardstick test case execution , kindly let us know if you have any changes in
the latest yardstick release.
Earlier when we used Ubuntu 14 OS the below test cases were passed without any
issues but in Ubuntu 18 and 16 these test cases are not passing, please find
attachment for sample fail test case and kindly guide us to proceed further.
OS:-Ubuntu16.04, Ubuntu 18
Docker:-yardstick-stable
Yardstick failed test cases list:-
1) opnfv_yardstick_tc011.yaml got fail due to iperf3: command not found
2) opnfv_yardstick_tc083.yaml got fail due to netperf: command not found
3) opnfv_yardstick_tc010.yaml, and opnfv_yardstick_tc012.yaml got fail due
to unable to resolve host demeter'
4) opnfv_yardstick_tc014.yaml:- got fail due to RuntimeError: sudo: unable
to resolve host change: Connection timed out unixbench_benchmark.sh: line 21:
cd: /opt/tempT/UnixBench/UnixBench/: No such file or directory
5) start opnfv_yardstick_tc069.yaml:-unable to resolve host kratos
Thanks,
Anusha
::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended
for the named recipient(s) only. E-mail transmission is not guaranteed to be
secure or error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or may contain viruses in transmission.
The e mail and its contents (with or without referred errors) shall therefore
not attach any liability on the originator or HCL or its affiliates. Views or
opinions, if any, presented in this email are solely those of the author and
may not necessarily reflect the views or opinions of HCL or its affiliates. Any
form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written
consent of authorized representative of HCL is strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. Before opening any email and/or attachments, please check them for
viruses and other defects.
________________________________
root@c3d32c52defc:/home/opnfv/repos/yardstick/tests/opnfv/test_cases# yardstick
-d task start opnfv_yardstick_tc011.yaml
No handlers could be found for logger "yardstick.common.utils"
/usr/local/lib/python2.7/dist-packages/requests/__init__.py:91:
RequestsDependencyWarning: urllib3 (1.25.7) or chardet (3.0.4) doesn't match a
supported version!
RequestsDependencyWarning)
2020-03-17 16:01:22,999 [INFO] yardstick.cmd.commands.task task.py:52 Task START
2020-03-17 16:01:22,999 [DEBUG] yardstick.benchmark.core.task task.py:77 Output
configuration is: {'DEFAULT': {'dispatcher': 'file'}, 'nsb': {},
'dispatcher_influxdb': {}, 'dispatcher_http': {}, 'dispatcher_file':
{'file_path': '/tmp/yardstick.out'}}
2020-03-17 16:01:23,000 [DEBUG] yardstick.benchmark.core.task task.py:98
task_files:['opnfv_yardstick_tc011.yaml'], task_args:[None],
task_args_fnames:[None]
2020-03-17 16:01:23,000 [INFO] yardstick.benchmark.core.task task.py:547
Parsing task config: opnfv_yardstick_tc011.yaml
2020-03-17 16:01:23,011 [DEBUG] yardstick.benchmark.core.task task.py:536 Input
task is:
##############################################################################
# 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 TC011 config file;
Measure packet delay variation (jitter) using iperf3.
scenarios:
-
type: Iperf3
options:
protocol: udp
bandwidth: 20m
length: 8K
window: 29200
host: zeus.demo
target: hera.demo
runner:
type: Duration
duration: 30
sla:
jitter: 10
action: monitor
context:
name: demo
image: yardstick-image
flavor: yardstick-flavor
user: ubuntu
placement_groups:
pgrp1:
policy: "availability"
servers:
zeus:
floating_ip: true
placement: "pgrp1"
hera:
floating_ip: true
placement: "pgrp1"
networks:
test:
cidr: '10.0.1.0/24'
2020-03-17 16:01:23,350 [WARNING] yardstick.benchmark.contexts.heat heat.py:123
No pod file specified. NVFi metrics will be disabled
2020-03-17 16:01:23,351 [INFO] yardstick.benchmark.contexts.heat heat.py:345
Deploying context 'demo-7a7b2339' START
Writing
/home/opnfv/repos/yardstick/yardstick/resources/files/yardstick_key-demo-7a7b2339
...
2020-03-17 16:01:23,415 [DEBUG] yardstick.orchestrator.heat heat.py:177
template object 'demo-7a7b2339' created
2020-03-17 16:01:23,415 [DEBUG] yardstick.orchestrator.heat heat.py:440 adding
Nova::KeyPair 'demo-7a7b2339-key'
2020-03-17 16:01:23,415 [DEBUG] yardstick.orchestrator.heat heat.py:476 adding
Neutron::SecurityGroup 'demo-7a7b2339-secgroup'
2020-03-17 16:01:23,415 [DEBUG] yardstick.orchestrator.heat heat.py:537 The
security group rules is [{'remote_ip_prefix': '0.0.0.0/0', 'port_range_max':
'65535', 'port_range_min': '1', 'protocol': 'tcp'}, {'remote_ip_prefix':
'0.0.0.0/0', 'port_range_max': '65535', 'port_range_min': '1', 'protocol':
'udp'}, {'remote_ip_prefix': '0.0.0.0/0', 'protocol': 'icmp'},
{'remote_ip_prefix': '::/0', 'port_range_max': '65535', 'port_range_min': '1',
'protocol': 'tcp', 'ethertype': 'IPv6'}, {'remote_ip_prefix': '::/0',
'port_range_max': '65535', 'port_range_min': '1', 'protocol': 'udp',
'ethertype': 'IPv6'}, {'remote_ip_prefix': '::/0', 'protocol': 'ipv6-icmp',
'ethertype': 'IPv6'}, {'remote_ip_prefix': '0.0.0.0/0', 'direction': 'egress',
'port_range_min': '1', 'protocol': 'tcp', 'port_range_max': '65535'},
{'remote_ip_prefix': '0.0.0.0/0', 'direction': 'egress', 'port_range_min': '1',
'protocol': 'udp', 'port_range_max': '65535'}, {'remote_ip_prefix':
'0.0.0.0/0', 'direction': 'egress', 'protocol': 'icmp'}, {'direction':
'egress', 'protocol': 'tcp', 'remote_ip_prefix': '::/0', 'port_range_max':
'65535', 'port_range_min': '1', 'ethertype': 'IPv6'}, {'direction': 'egress',
'protocol': 'udp', 'remote_ip_prefix': '::/0', 'port_range_max': '65535',
'port_range_min': '1', 'ethertype': 'IPv6'}, {'remote_ip_prefix': '::/0',
'direction': 'egress', 'protocol': 'ipv6-icmp', 'ethertype': 'IPv6'}]
2020-03-17 16:01:23,416 [DEBUG] yardstick.orchestrator.heat heat.py:246 adding
Neutron::Net 'demo-7a7b2339-test'
2020-03-17 16:01:23,416 [DEBUG] yardstick.orchestrator.heat heat.py:286 adding
Neutron::Subnet 'demo-7a7b2339-test-subnet' in network 'demo-7a7b2339-test',
cidr '10.0.1.0/24'
2020-03-17 16:01:23,416 [DEBUG] yardstick.orchestrator.heat heat.py:317 adding
Neutron::Router:'demo-7a7b2339-test-router', gw-net:'provider'
2020-03-17 16:01:23,416 [DEBUG] yardstick.orchestrator.heat heat.py:332 adding
Neutron::RouterInterface 'demo-7a7b2339-test-router-if0'
router:'demo-7a7b2339-test-router', subnet:'demo-7a7b2339-test-subnet'
2020-03-17 16:01:23,416 [DEBUG] yardstick.orchestrator.heat heat.py:376 adding
Neutron::Port {'depends_on': [u'demo-7a7b2339-test-subnet',
'demo-7a7b2339-secgroup'], 'type': 'OS::Neutron::Port', 'properties':
{'network': {'get_resource': u'demo-7a7b2339-test'}, 'fixed_ips': [{'subnet':
{'get_resource': u'demo-7a7b2339-test-subnet'}}], 'name':
'hera.demo-7a7b2339-test-port', 'security_groups': ['demo-7a7b2339-secgroup'],
'binding:vnic_type': 'normal'}}
2020-03-17 16:01:23,416 [DEBUG] yardstick.orchestrator.heat heat.py:405 adding
Nova::FloatingIP 'hera.demo-7a7b2339-fip', network 'provider', port
'hera.demo-7a7b2339-test-port', rif 'demo-7a7b2339-test-router-if0'
2020-03-17 16:01:23,417 [DEBUG] yardstick.orchestrator.heat heat.py:427 adding
Nova::FloatingIPAssociation 'hera.demo-7a7b2339-fip-assoc', server
'hera.demo-7a7b2339-test-port', floating_ip 'hera.demo-7a7b2339-fip'
2020-03-17 16:01:23,417 [DEBUG] yardstick.orchestrator.heat heat.py:558 adding
Nova::Server 'hera.demo-7a7b2339', image 'yardstick-image', flavor
'yardstick-flavor', ports ['hera.demo-7a7b2339-test-port']
2020-03-17 16:01:23,417 [DEBUG] yardstick.orchestrator.heat heat.py:376 adding
Neutron::Port {'depends_on': [u'demo-7a7b2339-test-subnet',
'demo-7a7b2339-secgroup'], 'type': 'OS::Neutron::Port', 'properties':
{'network': {'get_resource': u'demo-7a7b2339-test'}, 'fixed_ips': [{'subnet':
{'get_resource': u'demo-7a7b2339-test-subnet'}}], 'name':
'zeus.demo-7a7b2339-test-port', 'security_groups': ['demo-7a7b2339-secgroup'],
'binding:vnic_type': 'normal'}}
2020-03-17 16:01:23,417 [DEBUG] yardstick.orchestrator.heat heat.py:405 adding
Nova::FloatingIP 'zeus.demo-7a7b2339-fip', network 'provider', port
'zeus.demo-7a7b2339-test-port', rif 'demo-7a7b2339-test-router-if0'
2020-03-17 16:01:23,417 [DEBUG] yardstick.orchestrator.heat heat.py:427 adding
Nova::FloatingIPAssociation 'zeus.demo-7a7b2339-fip-assoc', server
'zeus.demo-7a7b2339-test-port', floating_ip 'zeus.demo-7a7b2339-fip'
2020-03-17 16:01:23,417 [DEBUG] yardstick.orchestrator.heat heat.py:558 adding
Nova::Server 'zeus.demo-7a7b2339', image 'yardstick-image', flavor
'yardstick-flavor', ports ['zeus.demo-7a7b2339-test-port']
2020-03-17 16:01:23,417 [INFO] yardstick.orchestrator.heat heat.py:630 Creating
stack 'demo-7a7b2339' START
2020-03-17 16:02:30,968 [INFO] yardstick.orchestrator.heat heat.py:648 Creating
stack 'demo-7a7b2339' DONE in 67 secs
2020-03-17 16:02:33,915 [INFO] yardstick.benchmark.contexts.heat heat.py:388
Deploying context 'demo-7a7b2339' DONE
2020-03-17 16:02:33,916 [DEBUG] yardstick.benchmark.core.task task.py:378 Got a
KeyError in config_context_target({})
2020-03-17 16:02:33,920 [INFO] yardstick.benchmark.core.task task.py:405
Starting runner of type 'Duration'
2020-03-17 16:02:33,926 [INFO] yardstick.benchmark.runners.duration
duration.py:47 Worker START, duration is 30s
2020-03-17 16:02:33,930 [DEBUG] yardstick.benchmark.runners.duration
duration.py:48 class is <class
'yardstick.benchmark.scenarios.networking.iperf3.Iperf'>
2020-03-17 16:02:33,930 [INFO] yardstick.benchmark.scenarios.networking.iperf3
iperf3.py:76 user:ubuntu, target:192.168.0.32
2020-03-17 16:02:33,931 [DEBUG] yardstick.ssh.hera ssh.py:149 user:ubuntu
host:192.168.0.32
2020-03-17 16:02:33,950 [WARNING] py.warnings ec.py:368
/usr/local/lib/python2.7/dist-packages/paramiko/kex_ecdh_nist.py:39:
CryptographyDeprecationWarning: encode_point has been deprecated on
EllipticCurvePublicNumbers and will be removed in a future version. Please use
EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed
point encoding.
m.add_string(self.Q_C.public_numbers().encode_point())
2020-03-17 16:02:33,989 [WARNING] py.warnings ec.py:387
/usr/local/lib/python2.7/dist-packages/paramiko/kex_ecdh_nist.py:96:
CryptographyDeprecationWarning: Support for unsafe construction of public
numbers from encoded data will be removed in a future version. Please use
EllipticCurvePublicKey.from_encoded_point
self.curve, Q_S_bytes
2020-03-17 16:02:33,990 [WARNING] py.warnings ec.py:368
/usr/local/lib/python2.7/dist-packages/paramiko/kex_ecdh_nist.py:111:
CryptographyDeprecationWarning: encode_point has been deprecated on
EllipticCurvePublicNumbers and will be removed in a future version. Please use
EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed
point encoding.
hm.add_string(self.Q_C.public_numbers().encode_point())
2020-03-17 16:02:34,511 [DEBUG] yardstick.ssh.hera ssh.py:293 stdout: u'Linux\n'
2020-03-17 16:02:34,515 [INFO] yardstick.benchmark.scenarios.networking.iperf3
iperf3.py:80 user:ubuntu, host:192.168.0.97
2020-03-17 16:02:34,515 [DEBUG] yardstick.ssh.zeus ssh.py:149 user:ubuntu
host:192.168.0.97
2020-03-17 16:02:35,395 [DEBUG] yardstick.ssh.zeus ssh.py:293 stdout: u'Linux\n'
2020-03-17 16:02:35,395 [DEBUG] yardstick.benchmark.scenarios.networking.iperf3
iperf3.py:85 Starting iperf3 server with command: iperf3 -s -D
2020-03-17 16:02:35,401 [DEBUG] yardstick.ssh.hera ssh.py:301 stderr: u'bash:
iperf3: command not found\n'
Process Duration-Iperf3-30103:
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/home/opnfv/repos/yardstick/yardstick/benchmark/runners/duration.py",
line 53, in _worker_process
benchmark.setup()
File
"/home/opnfv/repos/yardstick/yardstick/benchmark/scenarios/networking/iperf3.py",
line 88, in setup
raise RuntimeError(stderr)
RuntimeError: bash: iperf3: command not found
2020-03-17 16:02:35,441 [ERROR] yardstick.benchmark.core.task task.py:282
Scenario NO.1: "Iperf3" ERROR!
2020-03-17 16:02:35,442 [ERROR] yardstick.benchmark.core.task task.py:283
Duration runner status 1
2020-03-17 16:02:35,442 [INFO] yardstick.benchmark.core.task task.py:285 Runner
ended
2020-03-17 16:02:35,443 [ERROR] yardstick.benchmark.core.task task.py:134
Testcase: "opnfv_yardstick_tc011" FAILED!!!
Traceback (most recent call last):
File "/home/opnfv/repos/yardstick/yardstick/benchmark/core/task.py", line 70,
in start
output_config = utils.parse_ini_file(CONF_FILE)
File "/home/opnfv/repos/yardstick/yardstick/common/utils.py", line 184, in
parse_ini_file
raise RuntimeError('file not exist')
RuntimeError: file not exist
2020-03-17 16:02:35,444 [INFO] yardstick.benchmark.contexts.heat heat.py:472
Undeploying context 'demo-7a7b2339' START
2020-03-17 16:03:17,080 [INFO] yardstick.benchmark.contexts.heat heat.py:475
Undeploying context 'demo-7a7b2339' DONE
2020-03-17 16:03:17,081 [INFO] yardstick.benchmark.core.task task.py:148 Task
opnfv_yardstick_tc011.yaml finished in 113 secs
2020-03-17 16:03:17,086 [INFO] yardstick.benchmark.core.task task.py:169 Report
can be found in '/tmp/report.html'
2020-03-17 16:03:17,087 [INFO] yardstick.benchmark.core.task task.py:157 Total
finished in 114 secs
2020-03-17 16:03:17,088 [INFO] yardstick.benchmark.core.task task.py:160 To
generate report, execute command "yardstick report generate
7a7b2339-2f57-4a7d-aeea-7a68dfb9edd6 <YAML_NAME>"
2020-03-17 16:03:17,088 [INFO] yardstick.benchmark.core.task task.py:161 Task
ALL DONE, exiting
2020-03-17 16:03:17,088 [INFO] yardstick.cmd.commands.task task.py:63 Task
FAILED
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#24004):
https://lists.opnfv.org/g/opnfv-tech-discuss/message/24004
Mute This Topic: https://lists.opnfv.org/mt/72024578/21656
Group Owner: [email protected]
Unsubscribe: https://lists.opnfv.org/g/opnfv-tech-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-