Hi Mark, Sorry for the late reply. I think Jing can help you more on tc074. From my view, the storperf docker is not running via these steps. Yardstick utilize storperf docker-compose.yaml to run storperf docker, but the steps don’t include the script [1] to copy storperf docker-compose.yaml to the right place.
[1] https://git.opnfv.org/yardstick/tree/tests/ci/scp_storperf_files.sh Best Regards, Rex 发件人: opnfv-tech-discuss-boun...@lists.opnfv.org [mailto:opnfv-tech-discuss-boun...@lists.opnfv.org] 代表 David McBride 发送时间: 2018年6月2日 3:43 收件人: Beierl, Mark <mark.bei...@dell.com>; Brattain, Ross B <ross.b.bratt...@intel.com>; Foley, Emma L <emma.l.fo...@intel.com>; Mingjiang Li <rexlee8...@gmail.com> 抄送: TECH-DISCUSS OPNFV <opnfv-tech-discuss@lists.opnfv.org> 主题: Re: [opnfv-tech-discuss] [yardstick] TC074 +Emma, Ross, Rex Emma, Ross, or Rex, Please assist Mark. On Fri, Jun 1, 2018 at 8:34 AM Beierl, Mark <mark.bei...@dell.com<mailto:mark.bei...@dell.com>> wrote: Hello, I'm still trying to recreate a problem with TC0074, and am not quite sure how to run it. Following the guide [1], I have done the env prepare and successfully run the ping test case. I am now trying to get StorPerf started. I ran the install, which completed successfully in very little time: 2018-06-01 15:29:10,120 [INFO] yardstick.benchmark.core.plugin plugin.py:41 Installing plugin: storperf 2018-06-01 15:29:10,632 [INFO] yardstick.benchmark.core.plugin plugin.py:97 copying script to host: ~/storperf.sh 2018-06-01 15:29:12,708 [INFO] yardstick.benchmark.core.plugin plugin.py:127 Executing command: sudo bash storperf.sh 2018-06-01 15:29:12,864 [INFO] yardstick.benchmark.core.plugin plugin.py:51 Total finished in 2 secs 2018-06-01 15:29:12,865 [INFO] yardstick.benchmark.core.plugin plugin.py:53 Plugin storperf Done, exiting But when I try to run tc074, it still fails to connect. What am I missing? 2018-06-01 15:29:50,161 [INFO] yardstick.cmd.commands.task task.py:52 Task START 2018-06-01 15:29:50,163 [INFO] yardstick.benchmark.core.task task.py:543 Parsing task config: ./tests/opnfv/test_cases/opnfv_yardstick_tc074.yaml 2018-06-01 15:29:50,176 [INFO] yardstick.benchmark.core.task task.py:402 Starting runner of type 'Iteration' 2018-06-01 15:29:50,566 [INFO] yardstick.benchmark.runners.iteration iteration.py:51 worker START, iterations 1 times, class <class 'yardstick.benchmark.scenarios.storage.storperf.StorPerf'> 2018-06-01 15:29:50,567 [INFO] yardstick.benchmark.scenarios.storage.storperf storperf.py:101 Creating a stack on node 192.168.200.1 with parameters {'agent_count': 1, 'volume_size': 4, 'public_network': u'ext-net', 'agent_flavor': u'storperf', 'agent_image': u'Ubuntu-16.04'} Process Iteration-StorPerf-2686: 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/iteration.py", line 57, in _worker_process benchmark.setup() File "/home/opnfv/repos/yardstick/yardstick/benchmark/scenarios/storage/storperf.py", line 103, in setup % self.target, json=env_args) File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 110, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 56, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 596, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 487, in send raise ConnectionError(e, request=request) ConnectionError: HTTPConnectionPool(host='192.168.200.1', port=5000): Max retries exceeded with url: /api/v1.0/configurations (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f5bad273910>: Failed to establish a new connection: [Errno 110] Connection timed out',)) 2018-06-01 15:31:57,897 [ERROR] yardstick.benchmark.core.task task.py:280 Scenario NO.1: "StorPerf" ERROR! 2018-06-01 15:31:57,898 [ERROR] yardstick.benchmark.core.task task.py:281 Iteration runner status 1 2018-06-01 15:31:57,898 [INFO] yardstick.benchmark.core.task task.py:283 Runner ended 2018-06-01 15:31:57,898 [ERROR] yardstick.benchmark.core.task task.py:132 Testcase: "opnfv_yardstick_tc074" FAILED!!! Traceback (most recent call last): File "/home/opnfv/repos/yardstick/yardstick/benchmark/core/task.py", line 68, in start output_config = utils.parse_ini_file(CONF_FILE) File "/home/opnfv/repos/yardstick/yardstick/common/utils.py", line 176, in parse_ini_file raise RuntimeError('file not exist') RuntimeError: file not exist 2018-06-01 15:31:57,900 [INFO] yardstick.benchmark.core.task task.py:146 Task ./tests/opnfv/test_cases/opnfv_yardstick_tc074.yaml finished in 127 secs 2018-06-01 15:31:57,910 [INFO] yardstick.benchmark.core.task task.py:167 Report can be found in '/tmp/report.html' 2018-06-01 15:31:57,911 [INFO] yardstick.benchmark.core.task task.py:155 Total finished in 127 secs 2018-06-01 15:31:57,912 [INFO] yardstick.benchmark.core.task task.py:158 To generate report, execute command "yardstick report generate 0aa16398-5f3f-41cd-90dc-dddbb2916f8b <YAML_NAME>" 2018-06-01 15:31:57,912 [INFO] yardstick.benchmark.core.task task.py:159 Task ALL DONE, exiting 2018-06-01 15:31:57,913 [INFO] yardstick.cmd.commands.task task.py:63 Task FAILED [1] http://docs.opnfv.org/en/latest/submodules/yardstick/docs/testing/user/userguide/06-yardstick-plugin.html Regards, Mark Mark Beierl SW System Sr Principal Developer Dell EMC | Cloud & Communication Service Provider Solution mobile +1 613 314 8106<tel:1-613-314-8106> mark.bei...@dell.com<mailto:mark.bei...@dell.com> _______________________________________________ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org<mailto:opnfv-tech-discuss@lists.opnfv.org> https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss -- David McBride Release Manager, OPNFV Mobile: +1.805.276.8018<javascript:void(0);> Email/Google Talk: dmcbr...@linuxfoundation.org<mailto:dmcbr...@linuxfoundation.org> Skype: davidjmcbride1 IRC: dmcbride
_______________________________________________ opnfv-tech-discuss mailing list opnfv-tech-discuss@lists.opnfv.org https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss