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 <jukka.jokiniva@qt.io>
This commit is contained in:
Tero Heikkinen 2024-11-25 10:46:02 +02:00
parent ff25d705a3
commit cb319cc0b5

View File

@ -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"