ceph / ceph/cbt

Issues with yaml list parsing

Open
#349 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
307
Forks
151
Avg merge
14d 23h
Merged PRs (30d)
1

Description

```
19:39:47 - INFO - cbt - Running rbd fio baseline_latency test, mode ['randwrite', 'randread']
19:39:47 - ERROR - cbt - During tests
Traceback (most recent call last):
File "/home/ubuntu/cbt/cbt.py", line 92, in main
b.run()
File "/home/ubuntu/cbt/benchmark/librbdfio.py", line 245, in run
self.run_workloads()
File "/home/ubuntu/cbt/benchmark/librbdfio.py", line 186, in run_workloads
self.run_dir = ( f'{self.base_run_dir}/{self.mode}_{int(self.op_size)}/'
^^^^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'list'
```

The test in question is
```
baseline_latency:
jobname: "1_latency_floor"
mode: ["randwrite", "randread"] # Test both R and W
op_size: [4096, 8192] # 4K (Standard), 8K (Postgres Page)
iodepth: [1] # STRICTLY 1
numjobs: [1] # STRICTLY 1 process per client
procs_per_client: [1]
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.