From patchwork Tue Jan 24 18:01:01 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: 646040 Delivered-To: patch@linaro.org Received: by 2002:a17:522:b9de:b0:4b9:b062:db3b with SMTP id fj30csp339966pvb; Tue, 24 Jan 2023 10:05:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXsbfQoypJaYyOhypy/RFTVAqdP9M0mq+wPjiOOUOVPgkPyrjBui0SycyRIpOCqsOew3CH7n X-Received: by 2002:a81:11d7:0:b0:465:2727:7774 with SMTP id 206-20020a8111d7000000b0046527277774mr35219898ywr.10.1674583528577; Tue, 24 Jan 2023 10:05:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674583528; cv=none; d=google.com; s=arc-20160816; b=0zRAzoVN8jtnlScv8A3rOHH1Vdx0VFOiV/x3NbiPjrlMQjSwiS1b7hZIvzHtuJU1G7 dLDZaWzbq8KhvHk80EvRx4VLcZITEf11/Zk3dHrOqeTgPql66YcF7b3EWGjcB3rMvmUn w3Huq85fLOiv6ucvMKG91eeE4Sv65qVsJrCp2ipPO8nB47PAyx2Ms81VJmQSycOGCT8u LNSbjVgFHdjbnMlwPAm7wWGluKF2sjmfyUIdQv22JGYpotiWCPVXNc/9618z8luJ+fyt QlcO7yOYc7XDYfX07VeWXEK9PwQcp4tODXMSmYoMo1CkdzxQpweNIEcVog28xHGNwK44 xh7A== 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=Ckg71MG7SVvhUWMlWrtuql+u6S+Ri9y1vJzFG4YdetM=; b=LnUNYI9kfoZl+l5w6ohOXmYXJFl66I/8H8qIrBkL2U/OMc4jCgCmGfXBtrwIteb0WG XBHOULmm7w3GRsT+TtHMFwDfZirLIrrABn41Am/Erq+7g5/VxsBn1TNvlwiP8qKtnmgV 029Q4c7Az0hvo+WkwGt4wbJiVJ37iZvxZITY1JQwYtL1JYAY/lVaXYHlLYgmquFjATmV z8+iK1bNEyN6bn1NQgkwna4DeQhucwIW4qfhyMdqyzXQDMmzBCSivafbGBavybslcAny 9JdNR22b9mXPe+Ng84Rnyl2Ov/C/IPunKAdZWCzu70rBxQGrMbEYYGttXi1jkQ8PkrgF 6IBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YIIlosIR; 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 d4-20020a05620a240400b007102c53b7c9si847764qkn.633.2023.01.24.10.05.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jan 2023 10:05:28 -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=YIIlosIR; 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 1pKNcH-0001cE-Bf; Tue, 24 Jan 2023 13:01:57 -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 1pKNc9-0001Vn-LO for qemu-devel@nongnu.org; Tue, 24 Jan 2023 13:01:45 -0500 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pKNc0-00065R-U0 for qemu-devel@nongnu.org; Tue, 24 Jan 2023 13:01:45 -0500 Received: by mail-wr1-x436.google.com with SMTP id m7so1049459wru.8 for ; Tue, 24 Jan 2023 10:01:35 -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=Ckg71MG7SVvhUWMlWrtuql+u6S+Ri9y1vJzFG4YdetM=; b=YIIlosIR2iH3qiNbMT45pfdzHQ9siMNQZK4biAzBEpT/rVoA4+vlSpnIt6N9+Ss86f Oy5uVRm3VBTSNG/61Rt+Nx/mbcyeG1SLtpI1HHmVzJ2DH8b5e0FjmLt9dWKJdp6wRs71 q59dg/sXrV92X9v14wGxt933syissuVBl3DdcfPbTfFgUtBdfepGFnwAZKtBzdRXzRH6 hX2M9QfEn9BLOxRCKJvP6uHiGxTSxzbuWUVYrI1mpPChkS54hd5svnd4kWv9pqY8lO5k JWMb6pJ5Mor11Ni2AN33bNL/cddmRQsezlCoeo+H8C5+OeenjcY2hJuOI/IrWKYAO4JD pP8w== 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=Ckg71MG7SVvhUWMlWrtuql+u6S+Ri9y1vJzFG4YdetM=; b=IZNSlxzL9qmQ4ukb2tj/z0JAYePinfVcUTmBuBuMnSpPjFqVkk+innjuNwtlcEtMCG kaKxaTFZKIuM5ijYw6zUFf+7PvjgyoC8NYSVlnxCrEn1iGmL/9jA0ZEaXQoUM4Xpkz5F 6OSWdluSydcVVvXvZN1BDWr6gap7m1L+pbunZICYnDV/uEmEoNSagNRAH9FBjnpe32VK juiJUOERKdOJ2UEiNH4TWvPSJAL7c1LH4/dpvkkHLqbkMO4mj1NviS3ifkj+Oe59MD2/ RZ4pWXIQO1p4xXIIMKjDPYaWpLg6IpqTBR6RcGHxilH5NPT8SU+dgQ2N9tKfYdMXPFW1 hRVA== X-Gm-Message-State: AO0yUKXOa1m3AzFAaEJC/fhBUOEoPFsJ5GyNmMP2lFQorkVo8QUUKZ4Z fGlYDNjjBOIBc+6SV7WM3Wfr+Q== X-Received: by 2002:a5d:5712:0:b0:2bf:b106:9f9b with SMTP id a18-20020a5d5712000000b002bfb1069f9bmr2511814wrv.10.1674583293695; Tue, 24 Jan 2023 10:01:33 -0800 (PST) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id d2-20020adfa402000000b002bdfb97e029sm2471549wra.19.2023.01.24.10.01.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jan 2023 10:01:33 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 834891FFC1; Tue, 24 Jan 2023 18:01:28 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Ed Maste , Thomas Huth , Alexandre Iooss , Markus Armbruster , Jagannathan Raman , John G Johnson , Mahmoud Mandour , =?utf-8?q?Daniel_P=2E_Berrang?= =?utf-8?q?=C3=A9?= , Bandan Das , Elena Ufimtseva , Michael Roth , Eduardo Habkost , Beraldo Leal , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Marc-Andr?= =?utf-8?q?=C3=A9_Lureau?= , Qiuhao Li , Stefan Hajnoczi , Alexander Bulekov , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , John Snow , Paolo Bonzini , Darren Kenny , qemu-arm@nongnu.org, Yanan Wang , Cleber Rosa , Wainer dos Santos Moschetta , Marcel Apfelbaum , Li-Wen Hsu , Peter Maydell Subject: [PATCH v2 09/35] gitlab: add lsan suppression file to workaround tcmalloc issues Date: Tue, 24 Jan 2023 18:01:01 +0000 Message-Id: <20230124180127.1881110-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230124180127.1881110-1-alex.bennee@linaro.org> References: <20230124180127.1881110-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x436.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: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé --- .gitlab-ci.d/buildtest.yml | 1 + scripts/oss-fuzz/lsan_suppressions.txt | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 scripts/oss-fuzz/lsan_suppressions.txt 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