Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions test_tools/fio/fio.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#
# Copyright(c) 2019-2022 Intel Corporation
# Copyright(c) 2024-2025 Huawei Technologies Co., Ltd.
# Copyright(c) 2026 Unvertical
# SPDX-License-Identifier: BSD-3-Clause
#

Expand All @@ -18,7 +19,7 @@

class Fio:
def __init__(self, executor_obj=None):
self.min_fio_version = Version(TestRun.config.get("fio_version", "3.30"))
self.min_fio_version = Version(TestRun.config.get("fio_version", "3.40"))
self.default_run_time = datetime.timedelta(hours=1)
self.jobs = []
self.executor = executor_obj if executor_obj is not None else TestRun.executor
Expand Down Expand Up @@ -51,11 +52,11 @@ def is_installed(self):
return current_version >= self.min_fio_version

def install(self):
fio_url = f"http://brick.kernel.dk/snaps/fio-{self.min_fio_version}.tar.bz2"
fio_url = f"https://github.com/axboe/fio/archive/refs/tags/fio-{self.min_fio_version}.tar.gz"
fio_package = wget.download_file(fio_url)
uncompress_archive(fio_package)
TestRun.executor.run_expect_success(
f"cd {fio_package.parent_dir}/fio-{self.min_fio_version}"
f"cd {fio_package.parent_dir}/fio-fio-{self.min_fio_version}"
f" && ./configure && make -j && make install"
)

Expand Down
Loading