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>
[email protected]<mailto:[email protected]>
_______________________________________________
opnfv-tech-discuss mailing list
[email protected]
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss