From 1c4e0928ffb36e049f0d293a65dbcd67e3555398 Mon Sep 17 00:00:00 2001 From: Tero Heikkinen Date: Tue, 10 Dec 2024 12:55:59 +0200 Subject: [PATCH] Extend usage of pin cores feature for all targets running tests Extending feature usage with newest and recently added CI platforms - openSUSE 15.6 - SLES 15 SP6 The feature enables 1:1 pinning of CPU cores for VM, which should mean more stable CPU allocation from host and fewer sporadic failure. The down side of this is that the targets will effectively use double the capacity from the host that they previously would. It is to be seen how effective this is in reducing flakiness, which would counter the increased usage by reducing staging needed. In Coin the feature is limited so that it only affects test VMs. (Amends cf237ca8dc6e4bf111218d511f1f434189fbbf01) Task-number: QTQAINFRA-6702 Pick-to: 6.9 Change-Id: I34f76b127899a878ef2ddf8f3c09904d8e21f493 Reviewed-by: Heikki Halmet --- coin/platform_configs/address_sanitizer_platforms.yaml | 2 +- coin/platform_configs/cmake_platforms.yaml | 2 +- coin/platform_configs/cmake_platforms_static_tests.yaml | 2 +- coin/platform_configs/wasm_qtbase_tests.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/coin/platform_configs/address_sanitizer_platforms.yaml b/coin/platform_configs/address_sanitizer_platforms.yaml index d42ebfbb..f38a6d6f 100644 --- a/coin/platform_configs/address_sanitizer_platforms.yaml +++ b/coin/platform_configs/address_sanitizer_platforms.yaml @@ -14,7 +14,7 @@ Configurations: Id: 'opensuse-15.6-host-asan' Template: 'qtci-linux-openSUSE-15.6-x86_64-51' Compiler: 'GCC' - Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure', 'UseAddressSanitizer', 'InsignificantTests'] + Features: ['PinCores', 'Sccache', 'WarningsAreErrors', 'UseConfigure', 'UseAddressSanitizer', 'InsignificantTests'] Configure arguments: '-nomake examples -developer-build' Environment variables: [ 'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}', diff --git a/coin/platform_configs/cmake_platforms.yaml b/coin/platform_configs/cmake_platforms.yaml index 91f02d25..bce2822d 100644 --- a/coin/platform_configs/cmake_platforms.yaml +++ b/coin/platform_configs/cmake_platforms.yaml @@ -122,7 +122,7 @@ Configurations: Id: 'opensuse-15.6-developer-build' Template: 'qtci-linux-openSUSE-15.6-x86_64-51' Compiler: 'GCC' - Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure', 'InsignificantTests'] + Features: ['PinCores', 'Sccache', 'WarningsAreErrors', 'UseConfigure', 'InsignificantTests'] Configure arguments: '-nomake examples -developer-build' Environment variables: [ 'PATH={{.Env.CMAKE_MIN_SUPPORTED_BIN_PATH}}:{{.Env.PATH}}', diff --git a/coin/platform_configs/cmake_platforms_static_tests.yaml b/coin/platform_configs/cmake_platforms_static_tests.yaml index ac5dbd22..25bed53e 100644 --- a/coin/platform_configs/cmake_platforms_static_tests.yaml +++ b/coin/platform_configs/cmake_platforms_static_tests.yaml @@ -13,7 +13,7 @@ Configurations: Id: 'sles-15_sp6-minimal-static' Template: 'qtci-linux-SLES-15_SP6-x86_64-51' Compiler: 'GCC' - Features: ['Sccache', 'MinimalStaticTests', 'UseConfigure', 'InsignificantTests'] + Features: ['PinCores', 'Sccache', 'MinimalStaticTests', 'UseConfigure', 'InsignificantTests'] Configure arguments: '-nomake examples -static -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer' Environment variables: [ 'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}' diff --git a/coin/platform_configs/wasm_qtbase_tests.yaml b/coin/platform_configs/wasm_qtbase_tests.yaml index 36c897a7..a0ed2e82 100644 --- a/coin/platform_configs/wasm_qtbase_tests.yaml +++ b/coin/platform_configs/wasm_qtbase_tests.yaml @@ -12,5 +12,5 @@ Configurations: Template: 'qtci-linux-openSUSE-15.6-x86_64-51' Target os: 'WebAssembly' Compiler: 'GCC' - Features: ['Sccache', 'TestOnly'] + Features: ['PinCores', 'Sccache', 'TestOnly'] Platform dependency: 'webassembly-linux-thread-asyncify-openSUSE-15.6'