From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: "Alex Bennée" <alex.bennee@linaro.org>, qemu-devel@nongnu.org
Cc: "Richard Henderson" <richard.henderson@linaro.org>,
"Ed Maste" <emaste@freebsd.org>, "Thomas Huth" <thuth@redhat.com>,
"Alexandre Iooss" <erdnaxe@crans.org>,
"Markus Armbruster" <armbru@redhat.com>,
"Jagannathan Raman" <jag.raman@oracle.com>,
"John G Johnson" <john.g.johnson@oracle.com>,
"Mahmoud Mandour" <ma.mandourr@gmail.com>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Bandan Das" <bsd@redhat.com>,
"Elena Ufimtseva" <elena.ufimtseva@oracle.com>,
"Michael Roth" <michael.roth@amd.com>,
"Eduardo Habkost" <eduardo@habkost.net>,
"Beraldo Leal" <bleal@redhat.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Qiuhao Li" <Qiuhao.Li@outlook.com>,
"Stefan Hajnoczi" <stefanha@redhat.com>,
"Alexander Bulekov" <alxndr@bu.edu>,
"John Snow" <jsnow@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Darren Kenny" <darren.kenny@oracle.com>,
qemu-arm@nongnu.org, "Yanan Wang" <wangyanan55@huawei.com>,
"Cleber Rosa" <crosa@redhat.com>,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
"Marcel Apfelbaum" <marcel.apfelbaum@gmail.com>,
"Li-Wen Hsu" <lwhsu@freebsd.org>,
"Peter Maydell" <peter.maydell@linaro.org>
Subject: Re: [PATCH v2 09/35] gitlab: add lsan suppression file to workaround tcmalloc issues
Date: Wed, 25 Jan 2023 13:13:29 +0100 [thread overview]
Message-ID: <ff816fa5-3f81-f1c7-7712-8d35c82c8b9b@linaro.org> (raw)
In-Reply-To: <20230124180127.1881110-10-alex.bennee@linaro.org>
On 24/1/23 19:01, Alex Bennée wrote:
> 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 <alex.bennee@linaro.org>
> Cc: Daniel P. Berrangé <berrange@redhat.com>
> ---
> .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
Maybe add a comment around Fedora37 in tests/lcitool/libvirt-ci
in the next patch "see workaround in scripts/oss-fuzz/lsan_suppressions.txt"
so we remember to remove it when updating again?
Otherwise,
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
next prev parent reply other threads:[~2023-01-25 12:13 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-24 18:00 [PATCH v2 00/35] maintainer tree pre-PR (testing/docs/semihosting/plugins) Alex Bennée
2023-01-24 18:00 ` [PATCH v2 01/35] scripts/ci: update gitlab-runner playbook to use latest runner Alex Bennée
2023-01-24 19:49 ` Richard Henderson
2023-01-24 18:00 ` [PATCH v2 02/35] gitlab: add FF_SCRIPT_SECTIONS for timings Alex Bennée
2023-01-25 12:09 ` Philippe Mathieu-Daudé
2023-01-25 12:15 ` Daniel P. Berrangé
2023-01-24 18:00 ` [PATCH v2 03/35] gitlab: just use plain --cc=clang for custom runner build Alex Bennée
2023-01-24 18:00 ` [PATCH v2 04/35] tests/unit: drop hacky race avoidance in test-io-channel-command Alex Bennée
2023-01-24 18:00 ` [PATCH v2 05/35] build-sys: fix crlf-ending C code Alex Bennée
2023-01-24 18:00 ` [PATCH v2 06/35] .gitlab-ci.d/windows: do not disable opengl Alex Bennée
2023-01-24 18:00 ` [PATCH v2 07/35] meson: replace Perl usage with Python Alex Bennée
2023-01-24 18:01 ` [PATCH v2 08/35] docs: drop texinfo options Alex Bennée
2023-01-24 18:01 ` [PATCH v2 09/35] gitlab: add lsan suppression file to workaround tcmalloc issues Alex Bennée
2023-01-25 7:44 ` Thomas Huth
2023-01-25 12:13 ` Philippe Mathieu-Daudé [this message]
2023-01-24 18:01 ` [PATCH v2 10/35] Update lcitool and fedora to 37 Alex Bennée
2023-01-24 18:01 ` [PATCH v2 11/35] lcitool: drop perl from QEMU project/dependencies Alex Bennée
2023-01-24 18:01 ` [PATCH v2 12/35] lcitool: drop texinfo " Alex Bennée
2023-01-24 18:01 ` [PATCH v2 13/35] tests/docker: Install flex in debian-tricore-cross Alex Bennée
2023-01-24 18:01 ` [PATCH v2 14/35] tests/docker: drop debian-tricore-cross's partial status Alex Bennée
2023-01-24 18:01 ` [PATCH v2 15/35] tests/tcg: skip the vma-pthread test on CI Alex Bennée
2023-01-24 18:01 ` [PATCH v2 16/35] tests/tcg: Use SIGKILL for timeout Alex Bennée
2023-01-25 12:14 ` Philippe Mathieu-Daudé
2023-01-24 18:01 ` [PATCH v2 17/35] gitlab: wrap up test results for custom runners Alex Bennée
2023-01-24 18:01 ` [PATCH v2 18/35] MAINTAINERS: Fix the entry for tests/tcg/nios2 Alex Bennée
2023-01-24 18:01 ` [PATCH v2 19/35] docs: add hotlinks to about preface text Alex Bennée
2023-01-25 12:16 ` Philippe Mathieu-Daudé
2023-01-24 18:01 ` [PATCH v2 20/35] docs: add a new section to outline emulation support Alex Bennée
2023-01-25 7:58 ` Thomas Huth
2023-01-25 12:18 ` Philippe Mathieu-Daudé
2023-01-24 18:01 ` [PATCH v2 21/35] semihosting: add semihosting section to the docs Alex Bennée
2023-01-24 18:01 ` [PATCH v2 22/35] docs: add an introduction to the system docs Alex Bennée
2023-01-25 7:53 ` Thomas Huth
2023-01-24 18:01 ` [PATCH v2 23/35] semihosting: Write back semihosting data before completion callback Alex Bennée
2023-01-25 23:21 ` Philippe Mathieu-Daudé
2023-01-24 18:01 ` [PATCH v2 24/35] semihosting: add O_BINARY flag in host_open for NT compatibility Alex Bennée
2023-01-24 18:01 ` [PATCH v2 25/35] tests/tcg: add memory-sve test for aarch64 Alex Bennée
2023-01-24 18:01 ` [PATCH v2 26/35] cpu: free cpu->tb_jmp_cache with RCU Alex Bennée
2023-01-24 18:01 ` [PATCH v2 27/35] util/qht: add missing atomic_set(hashes[i]) Alex Bennée
2023-01-24 18:01 ` [PATCH v2 28/35] thread: de-const qemu_spin_destroy Alex Bennée
2023-01-24 18:01 ` [PATCH v2 29/35] util/qht: use striped locks under TSAN Alex Bennée
2023-01-24 18:01 ` [PATCH v2 30/35] plugins: make qemu_plugin_user_exit's locking order consistent with fork_start's Alex Bennée
2023-01-24 18:01 ` [PATCH v2 31/35] plugins: fix optimization in plugin_gen_disable_mem_helpers Alex Bennée
2023-01-24 18:01 ` [PATCH v2 32/35] translator: always pair plugin_gen_insn_{start, end} calls Alex Bennée
2023-01-24 18:01 ` [PATCH v2 33/35] tcg: exclude non-memory effecting helpers from instrumentation Alex Bennée
2023-01-24 19:44 ` Richard Henderson
2023-01-24 18:01 ` [PATCH v2 34/35] cpu-exec: assert that plugin_mem_cbs is NULL after execution Alex Bennée
2023-01-24 19:46 ` Richard Henderson
2023-01-25 23:27 ` Philippe Mathieu-Daudé
2023-01-24 18:01 ` [PATCH v2 35/35] plugins: Iterate on cb_lists in qemu_plugin_user_exit Alex Bennée
2023-01-25 23:26 ` Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ff816fa5-3f81-f1c7-7712-8d35c82c8b9b@linaro.org \
--to=philmd@linaro.org \
--cc=Qiuhao.Li@outlook.com \
--cc=alex.bennee@linaro.org \
--cc=alxndr@bu.edu \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=bleal@redhat.com \
--cc=bsd@redhat.com \
--cc=crosa@redhat.com \
--cc=darren.kenny@oracle.com \
--cc=eduardo@habkost.net \
--cc=elena.ufimtseva@oracle.com \
--cc=emaste@freebsd.org \
--cc=erdnaxe@crans.org \
--cc=jag.raman@oracle.com \
--cc=john.g.johnson@oracle.com \
--cc=jsnow@redhat.com \
--cc=lwhsu@freebsd.org \
--cc=ma.mandourr@gmail.com \
--cc=marcandre.lureau@redhat.com \
--cc=marcel.apfelbaum@gmail.com \
--cc=michael.roth@amd.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=stefanha@redhat.com \
--cc=thuth@redhat.com \
--cc=wainersm@redhat.com \
--cc=wangyanan55@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).