From cb319cc0b5a3ab90adeb115d7cdd3cef704045bb Mon Sep 17 00:00:00 2001 From: Tero Heikkinen Date: Mon, 25 Nov 2024 10:46:02 +0200 Subject: [PATCH] Coin: Limit avahi-daemon interfaces for openSUSE 15.6 Avahi-daemon often hogs 100% of CPU on the VMs. This particularly causes issue on 2 core(thread) VMs where tests compete for CPU with avahi. Limiting avahi to test service related interfaces eliminates the abnormal CPU usage. Avahi should be only needed for tests to see the docker test services. (Amends: 9f1cba8637c11a9bf19b5a8f5d4d98d9ed4ac546) Task-number: QTQAINFRA-6697 Change-Id: I425a0fbe0fb0080ab5e057d020bc7157ea36a3a6 Reviewed-by: Jukka Jokiniva --- .../03-limit-avahi-interfaces.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 coin/provisioning/qtci-linux-openSUSE-15.6-x86_64/03-limit-avahi-interfaces.sh diff --git a/coin/provisioning/qtci-linux-openSUSE-15.6-x86_64/03-limit-avahi-interfaces.sh b/coin/provisioning/qtci-linux-openSUSE-15.6-x86_64/03-limit-avahi-interfaces.sh new file mode 100644 index 00000000..0dd09067 --- /dev/null +++ b/coin/provisioning/qtci-linux-openSUSE-15.6-x86_64/03-limit-avahi-interfaces.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# Copyright (C) 2024 The Qt Company Ltd +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only + +set -ex + +BASEDIR=$(dirname "$0") +"$BASEDIR/../common/linux/limit-avahi-interfaces.sh"