Skip to content

Wally test run with report generation error #22

@jayanthsn

Description

@jayanthsn

Environment:

(my_env) [root@localhost disk_perf_test_tool]# uname -a
Linux localhost.localdomain 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

ceph version ---> luminous(12.2.11)

Config file:

include: default.yaml
run_sensors: true
results_storage: /var/wally_results

discover: ceph

nodes:
localhost: testnode

tests:
- fio:
cfg: hdd
load: hdd
params:
FILENAME: /dev/rbd0
FILESIZE: 16M
RUNTIME : 1

explicit_nodes:
"ssh://root@localhost::/root/.ssh/id_rsa": localhost

Test steps

1.Create an Yaml file(configuration file) say ceph_raw_hdd.yaml on the client node and place into ~/my_env/wally_test/disk_perf_test_tool/configs-examples/ceph_raw.yaml

  1. Run command,

(my_env) [root@localhost disk_perf_test_tool]# python3.6 -m wally -l DEBUG test "test" configs-examples/ceph_raw_hdd.yaml

Actual result
(1)
ERROR - Failed to generate report for suite fio_hdd_0
Traceback (most recent call last):
File "/root/my_env/wally_test/disk_perf_test_tool/wally/report.py", line 1037, in run
for block, item, html in sreporter.get_divs(suite):
File "/root/my_env/wally_test/disk_perf_test_tool/wally/report.py", line 423, in get_divs
sensor=sensor, metric=metric, test_metric=vs))
File "/root/my_env/wally_test/disk_perf_test_tool/wally/report.py", line 406, in get_resources_usage2
res.append((numpy.average(ops_done[pos: pe]), numpy.average(metric_data.data[pos: pe])))
AttributeError: 'NoneType' object has no attribute 'data'

(2)
ERROR - Failed to generate report for rrd4_qd1
Traceback (most recent call last):
File "/root/my_env/wally_test/disk_perf_test_tool/wally/report.py", line 1027, in run
for block, item, html in reporter.get_divs(suite, job):
File "/root/my_env/wally_test/disk_perf_test_tool/wally/report.py", line 861, in get_divs
fpath = self.plt(plot_v_over_time, agg_io.source(tag='ts.' + default_format), title, units, agg_io)
File "/root/my_env/wally_test/disk_perf_test_tool/wally/report.py", line 142, in plt
return func(self.rstorage, self.style, self.colors, ds, *args, **kwargs)
File "/root/my_env/wally_test/cephlib/cephlib/plot.py", line 245, in closure2
img = get_emb_image(fig, file_format=file_format, dpi=style.dpi)
File "/root/my_env/wally_test/cephlib/cephlib/plot.py", line 181, in get_emb_image
return bio.getvalue().decode("utf8").split(img_start, 1)[1].encode("utf8")
IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions