From patchwork Thu Jan 26 11:22:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 647112 Delivered-To: patch@linaro.org Received: by 2002:a17:522:b9de:b0:4b9:b062:db3b with SMTP id fj30csp188744pvb; Thu, 26 Jan 2023 03:32:04 -0800 (PST) X-Google-Smtp-Source: AK7set/kB326qAHLOfKdDnDFomQH5Rzj/eikc8MRRF+Sodj43sbxe3uw1goKeiUvcuQ8Bu+oxvlN X-Received: by 2002:ad4:46d1:0:b0:537:7915:64d1 with SMTP id pm17-20020ad446d1000000b00537791564d1mr2027090qvb.28.1674732723902; Thu, 26 Jan 2023 03:32:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674732723; cv=none; d=google.com; s=arc-20160816; b=cMU7qzMJE+svR6wRDzP0lWp8kbdifN+kgRQTk6HfCgbp572RAp83D422phBkk+6Aeb qEgsywaDEqJH+/FmSlE1hqbl0BUkkcZZF1bEvntXNpd2BJ4XLBV1bNTHtG9Upq6W+kap e8H1Zk6y0a3SVbJLWtUGrBZyG+iJSg3hLNE4Ud8VCJgJ7huvMsdaGG2MfsxQz/ZyLd// GCuaN7KO5dMGKl28XkIowVcIG0ZW7VzIqGmDelO1ZJcFRq0dR+JAL1hBkTDIu3sCKg+k R0HSnt6GOYRzrHO4ss8cz+kb1f4MLOVvu/pcTDAYNtVr1bbfZ9GR0nD3T1eD5V0plNXZ 2tcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=8oTohHyqKg48V4I8Jf7kpYgw+F5MogOoj2Z0HZPPA70=; b=icWPGj654NCmpA7bdKPLEDYh4qpbQ37B7LEtVp7iqMl7r7cr8o9Endc0mWF+WtLdVG dubGHfMIcN/9s2nLHCMSFBrS1cnyMQ8igsihZY4NBwNqsChm9KCLkafUFfUozG0SFnWn XJ/bJUNufZMLUjJqbp0oHG2dGcCiw4/M5e83doXvCF+P6Ug0myQZbt0UkziGy7h7pqXo E+u/daZ3FY3z+kAhc/J/3qC4KMqzTW6dXmqoUPr2rZE+zcLshQKi3M/EYC6qa0Spod7O EDX29+jpWb4WWhU5j/BIzQrEPePgqgFDUu2rBhAyZHW/rnYnxJekZjH95jW30uWZsy8m 4RKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="a7pPh76/"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c5-20020a0cf2c5000000b00534fe0f21dasi645755qvm.103.2023.01.26.03.32.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Jan 2023 03:32:03 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="a7pPh76/"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pL0La-0003Vk-VI; Thu, 26 Jan 2023 06:23:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pL0LM-00026v-Q7 for qemu-devel@nongnu.org; Thu, 26 Jan 2023 06:23:00 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pL0LK-0003nc-NU for qemu-devel@nongnu.org; Thu, 26 Jan 2023 06:23:00 -0500 Received: by mail-wr1-x434.google.com with SMTP id y1so1439759wru.2 for ; Thu, 26 Jan 2023 03:22:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8oTohHyqKg48V4I8Jf7kpYgw+F5MogOoj2Z0HZPPA70=; b=a7pPh76/4tb6dAkwtCtdvIWGzLwFbUpJ1Sv1kvBKxQE9ubZ3uD+IcFS060Fdmb2COE hLnhxaCL2prK5kqpMKrNBt3XFCmxItU4Cgu9kTgBRY3SYqgjPKfF4PuZvm+neFuls6qM XKqq86H2azHIwZfh+vHfImu0BzxHRRX6cF6WiOYT5goOUBI0Sftr+6bXO/PY8uSVabY/ GxDQZlKtSn/ro2bs7u2+ltbA05/elwROkJihR5CUmLoAw7qs8hFW5cLNNINq++gKRERZ vT5Hr6tvUCyNeZWBp3KZiShiPVNy5elpTf20ThfMrAnUG3+ZukYy79gcsksSF8KulMQx iesw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8oTohHyqKg48V4I8Jf7kpYgw+F5MogOoj2Z0HZPPA70=; b=mbak9qs8lRsZzXVjli2fyEZm5l32i1quVRdFwrP8U5DllUzNfEprF72dzqcz1DKadA gyndD+9uAH+usnRa5kgJfy4DLt+SDurqCroty4TMbDQ+iQsdm01SSGvvmr2RhlRLvGJP 29iMVJ57DW7+/8pHg4nMkdB/3LE+1MAFZ/ymWRN2jcR2LVVr65pxzowhsx4y1oz0s9ZW ORRn4eHDmiuNwHe/H2Xte9D4CavK8AJXEKowqb3bdVrXZENnuOnxZuEQ0G4GQfA9uuyq s4q6x3AVjspPqAaJLVyhI/0N8GfxfOkbvLUB1Msm/z4Qnhq/aahJvJ0maWpmVvsNh3wz 8raw== X-Gm-Message-State: AO0yUKXG4a1TdpBPKX+DBGzSBLvreUq+8sUQiOv6JhXs1ONCdQoYlrDz j/Ezh47vYffs3855TpsWLWfQIg== X-Received: by 2002:adf:fc8e:0:b0:2bf:ab81:c7fb with SMTP id g14-20020adffc8e000000b002bfab81c7fbmr9134025wrr.24.1674732177182; Thu, 26 Jan 2023 03:22:57 -0800 (PST) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id n6-20020adff086000000b002bdbead763csm1044564wro.95.2023.01.26.03.22.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 03:22:55 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id EC4091FFBF; Thu, 26 Jan 2023 11:22:52 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Daniel_P_?= =?utf-8?q?=2E_Berrang=C3=A9?= , =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal , Alexander Bulekov , Paolo Bonzini , Bandan Das , Stefan Hajnoczi , Darren Kenny , Qiuhao Li Subject: [PULL 09/35] gitlab: add lsan suppression file to workaround tcmalloc issues Date: Thu, 26 Jan 2023 11:22:24 +0000 Message-Id: <20230126112250.2584701-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230126112250.2584701-1-alex.bennee@linaro.org> References: <20230126112250.2584701-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x434.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org The up-coming upgrade to Fedora 37 will bring in libtcmalloc as a dependency of libglusterfs which confuses our fuzz run. Rather than disable the build lets use LSAN's suppression mechanism to prevent the job from failing. Signed-off-by: Alex Bennée Cc: Daniel P. Berrangé Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Message-Id: <20230124180127.1881110-10-alex.bennee@linaro.org> diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml index f09a898c3e..9a6ba1fe3b 100644 --- a/.gitlab-ci.d/buildtest.yml +++ b/.gitlab-ci.d/buildtest.yml @@ -511,6 +511,7 @@ build-oss-fuzz: IMAGE: fedora script: - mkdir build-oss-fuzz + - export LSAN_OPTIONS=suppressions=scripts/oss-fuzz/lsan_suppressions.txt - CC="clang" CXX="clang++" CFLAGS="-fsanitize=address" ./scripts/oss-fuzz/build.sh - export ASAN_OPTIONS="fast_unwind_on_malloc=0" diff --git a/scripts/oss-fuzz/lsan_suppressions.txt b/scripts/oss-fuzz/lsan_suppressions.txt new file mode 100644 index 0000000000..02ec0a6ed5 --- /dev/null +++ b/scripts/oss-fuzz/lsan_suppressions.txt @@ -0,0 +1,2 @@ +# The tcmalloc on Fedora37 confuses things +leak:/lib64/libtcmalloc_minimal.so.4