From patchwork Thu Jan 19 18:04:10 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: 644102 Delivered-To: patch@linaro.org Received: by 2002:a17:522:b9de:b0:4b9:b062:db3b with SMTP id fj30csp359495pvb; Thu, 19 Jan 2023 10:05:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXuwQcZDxGoUVbEs60kddVbnmyFA8ib+whfy5wQePM0m15EGm2GfcWzTgUnKZwNDnQCirgKn X-Received: by 2002:a05:6214:370d:b0:531:a8f3:e8db with SMTP id np13-20020a056214370d00b00531a8f3e8dbmr17861665qvb.47.1674151538393; Thu, 19 Jan 2023 10:05:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674151538; cv=none; d=google.com; s=arc-20160816; b=uXghCXb9mkVQyOICMjwK+GuCo6QS660Y8rC+KlCyTpOQr4aH+7Q7hWuXY7uSYKD94f pFUDIxDqPOu5YhiVYJY2ALGU0/Gq5V8jKSHzsGHwpchfqqKlLLURDY+XBdrzmBEn4iah KY79ZrnHyd9hcaG6c+ZfJ2gNGtR0jTYt3AxPmyqWv+e6rHex2f9zjTf9wrC0hoQioUbO kWNrlvDOr4piG00pCw9hJxyW6E9aimMh9KQz3eR3gmXCkutZs8zYSFqSvWGV5U/eHJt1 RVHpg8g9P8faZA/2YXaTzr/C3BEgyNiTwhPV0hX1YIMMBvgo36cxrIP539OWMIxhMWq/ ziBg== 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=nA76aF7qmg8a4GMiDvmgHfh+yKolFdRh4T7rQI9ZcMupvq+cy5rfcThcXSEKdDh3wK YNs8WEz1rQO29I1TJ1Iq3TzREMBNWw8pQzCjBN1YNLndcR3wqguAQ/BpKIbrlHnMgysv zn5JIBUtftDzwcyKCWX9LjTGIj7CCt4uK2YtQ5AUM3orrhx5rdFhGv6h33w7b8oDtZqO UlZApoHy4HkGsBFZilaGpjtaJSWkQL7kvrsBeXDREkimZnI17N2WnOmphKfAlAtNs5Ix ZHpXlwIRCs3sa60SO8RJGHR3tmbcGMFhnUn2kwMswPWnoyBuiOIPyWZFynIP+qJtr9k/ vO5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UO3XgEVa; 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 h11-20020a0562140dab00b0053520711100si7093391qvh.163.2023.01.19.10.05.38 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Jan 2023 10:05:38 -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=UO3XgEVa; 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 1pIZHE-0003NE-60; Thu, 19 Jan 2023 13:04:40 -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 1pIZH5-0003J0-Pc for qemu-devel@nongnu.org; Thu, 19 Jan 2023 13:04:31 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pIZH1-00011g-Uy for qemu-devel@nongnu.org; Thu, 19 Jan 2023 13:04:31 -0500 Received: by mail-wm1-x32a.google.com with SMTP id l8so2188657wms.3 for ; Thu, 19 Jan 2023 10:04:27 -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=UO3XgEVa7kkdVw88Uiy0nia85aO8FQ0wv7dmYkJV2d8xNBhMMlzDXmx0fmVeXYC6d+ ASl/+GUqmgHhYF22FAsCgZMjX/Fjv6CQIwIPk786y1srdQ3hk3Sw2fZr4waq3OJE0tYC +7tQZWTynQedKJO3ZmFV2yFK/UY2fNeAmYzUEwROQSS449V4XGyqQwR/loJ/dPR9TxwR s0WvpCUju+RnGpSwnHmNB47NBSR/SoVVrIDGdluyRUrYB/dj4WkTiWaJGW0Fkv6/E0d/ cfucqVB52Fm9woJUchIs0LqTQRM7OGnRdUXkOqVXcfq+wkvLntOnTxhb1nCHtaV8TULj 7bXg== 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=426uYvGFICgaIt7aS7cEMBHFc19M4xXNXgoZ6zIHY/VUAcd5Eag8IFwV9noovCEMxJ O7JFXUstg80iZxCSzT+iFQhqxsioJGqEWWls2KyV0RphkGMfHr8A3Cw922FVPPA7TJTz YAq0IDvkqT1/fhJIqvZZYThMTS+EViPlerSt12tXMMldu9jDQ362+CIY3EsLvrzPl0aO 5LZNF8hvoQXnvd+cIXmGf+l/dH4vitF2OAxFxf9xiBJt0a+QuW7dA1f3ILWh3JEyvUIA EG184TtxYsa/v5bVZrDwSJkinVy407wWQLI8tnlpIbXvJYQQDqcvNHBvAUouMeaDfExb IOVg== X-Gm-Message-State: AFqh2kpfKu62wQUeWuCbQ5DdypcDMX4k6eW4rLC5VRFd1BNnhLRmCjaA 7xMnt8vw1OKeINM/jCUODzl5dg== X-Received: by 2002:a05:600c:4e93:b0:3db:d3f:a91f with SMTP id f19-20020a05600c4e9300b003db0d3fa91fmr8890674wmq.23.1674151466305; Thu, 19 Jan 2023 10:04:26 -0800 (PST) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id o2-20020a05600c510200b003c6f8d30e40sm6298551wms.31.2023.01.19.10.04.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 10:04:24 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 5DBA61FFC1; Thu, 19 Jan 2023 18:04:20 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Beraldo Leal , Peter Maydell , Bandan Das , Qiuhao Li , =?utf-8?q?D?= =?utf-8?q?aniel_P=2E_Berrang=C3=A9?= , Michael Roth , Cleber Rosa , Alexander Bulekov , Darren Kenny , Stefan Hajnoczi , Markus Armbruster , John Snow , Ed Maste , Wainer dos Santos Moschetta , =?utf-8?q?Philippe_Mathi?= =?utf-8?q?eu-Daud=C3=A9?= , Paolo Bonzini , Li-Wen Hsu , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth Subject: [PATCH 09/18] gitlab: add lsan suppression file to workaround tcmalloc issues Date: Thu, 19 Jan 2023 18:04:10 +0000 Message-Id: <20230119180419.30304-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230119180419.30304-1-alex.bennee@linaro.org> References: <20230119180419.30304-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32a.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é --- .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