All of lore.kernel.org
 help / color / mirror / Atom feed
* perf/001
@ 2021-10-13  7:39 Anand Jain
  2021-10-14 15:31 ` perf/001 Josef Bacik
  0 siblings, 1 reply; 2+ messages in thread
From: Anand Jain @ 2021-10-13  7:39 UTC (permalink / raw)
  To: fstests, linux-btrfs; +Cc: Josef Bacik


perf/001 fails to update the SQL with the key trim_bw_bytes.

Traceback (most recent call last):
   File "/xfstests-dev/src/perf/fio-insert-and-compare.py", line 31, in 
<module>
     result_data.insert_result(data)
   File "/xfstests-dev/src/perf/ResultData.py", line 45, in insert_result
     self._insert_obj('fio_jobs', job)
   File "/xfstests-dev/src/perf/ResultData.py", line 37, in _insert_obj
     cur.execute(cmd, tuple(values))
sqlite3.OperationalError: table fio_jobs has no column named trim_bw_bytes

I tried to add the missing keys (which are probably present only in the 
current version of the fio) as below, but the error is still the same. 
Any inputs, how to fix this?

diff --git a/src/perf/fio-results.sql b/src/perf/fio-results.sql
index 62e1464834b0..5d115764c4e9 100644
--- a/src/perf/fio-results.sql
+++ b/src/perf/fio-results.sql
@@ -8,6 +8,9 @@ CREATE TABLE IF NOT EXISTS `fio_runs` (
  CREATE TABLE IF NOT EXISTS `fio_jobs` (
    `id` INTEGER PRIMARY KEY AUTOINCREMENT,
    `run_id` int NOT NULL,
+  `trim_bw_bytes` int,
+  `read_bw_bytes` int,
+  `write_bw_bytes` int,
    `read_bw_dev` float,
    `trim_lat_ns_mean` float,
    `read_runtime` int,


Thanks, Anand

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: perf/001
  2021-10-13  7:39 perf/001 Anand Jain
@ 2021-10-14 15:31 ` Josef Bacik
  0 siblings, 0 replies; 2+ messages in thread
From: Josef Bacik @ 2021-10-14 15:31 UTC (permalink / raw)
  To: Anand Jain; +Cc: fstests, linux-btrfs

On Wed, Oct 13, 2021 at 03:39:07PM +0800, Anand Jain wrote:
> 
> perf/001 fails to update the SQL with the key trim_bw_bytes.
> 
> Traceback (most recent call last):
>   File "/xfstests-dev/src/perf/fio-insert-and-compare.py", line 31, in
> <module>
>     result_data.insert_result(data)
>   File "/xfstests-dev/src/perf/ResultData.py", line 45, in insert_result
>     self._insert_obj('fio_jobs', job)
>   File "/xfstests-dev/src/perf/ResultData.py", line 37, in _insert_obj
>     cur.execute(cmd, tuple(values))
> sqlite3.OperationalError: table fio_jobs has no column named trim_bw_bytes
> 
> I tried to add the missing keys (which are probably present only in the
> current version of the fio) as below, but the error is still the same. Any
> inputs, how to fix this?
> 

I think this was a failed experiment to add performance testing to xfstests, I
think we should just rip it out.  Thanks,

Josef

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-14 15:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-13  7:39 perf/001 Anand Jain
2021-10-14 15:31 ` perf/001 Josef Bacik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.