From 964611c6f4bf0b5622d688002517daaec3c908af Mon Sep 17 00:00:00 2001 From: Robert Baldyga Date: Wed, 28 Jan 2026 20:11:03 +0100 Subject: [PATCH] fio: Fix download url and bump version to 3.40 Signed-off-by: Robert Baldyga --- test_tools/fio/fio.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test_tools/fio/fio.py b/test_tools/fio/fio.py index 7e868e4..506ec38 100644 --- a/test_tools/fio/fio.py +++ b/test_tools/fio/fio.py @@ -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 # @@ -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 @@ -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" )