[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/4] tests/qtest: Remove TPM tests
From: |
Stefan Berger |
Subject: |
Re: [PATCH 1/4] tests/qtest: Remove TPM tests |
Date: |
Fri, 15 Jan 2021 13:40:54 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
On 1/15/21 11:06 AM, Philippe Mathieu-Daudé wrote:
On 1/15/21 4:53 PM, Stefan Berger wrote:
On 1/15/21 10:52 AM, Philippe Mathieu-Daudé wrote:
Subject is incorrect, this is not a removal of the tests, but
removal of their execution. The tests are still in the repository.
This is more of a disablement.
How do you compile / run them to have the LeakSanitizer checks?
I used:
../configure --cc=clang --enable-sanitizers && make check-qtest
$ clang -v
clang version 10.0.1 (Fedora 10.0.1-3.fc32)
This was previously covered by patchew CI. I just figured
patchew is running without the LeakSanitizer since commit
6f89ec7442e ("docker: test-debug: disable LeakSanitizer"):
docker: test-debug: disable LeakSanitizer
There are just too many leaks in device-introspect-test (especially for
the plethora of arm and aarch64 boards) to make LeakSanitizer useful;
disable it for now.
I only get short stack traces:
Indirect leak of 852840 byte(s) in 207 object(s) allocated from:
#0 0x561a8c2f8b57 in calloc
(/home/stefanb/tmp/qemu-tip/build/tests/qtest/tpm-crb-swtpm-test+0x23fb57)
#1 0x14f0963069b0 in g_malloc0 (/lib64/libglib-2.0.so.0+0x589b0)
#2 0x561a8c4c2508 in json_parser_parse
/home/stefanb/tmp/qemu-tip/build/../qobject/json-parser.c:580:14
#3 0x561a8c4a99aa in json_message_process_token
/home/stefanb/tmp/qemu-tip/build/../qobject/json-streamer.c:92:12
#4 0x561a8c4b6cfb in json_lexer_feed_char
/home/stefanb/tmp/qemu-tip/build/../qobject/json-lexer.c:313:13
Indirect leak of 6624 byte(s) in 207 object(s) allocated from:
#0 0x561a8c2f8b57 in calloc
(/home/stefanb/tmp/qemu-tip/build/tests/qtest/tpm-crb-swtpm-test+0x23fb57)
#1 0x14f0963069b0 in g_malloc0 (/lib64/libglib-2.0.so.0+0x589b0)
Indirect leak of 1449 byte(s) in 207 object(s) allocated from:
#0 0x561a8c2f899f in malloc
(/home/stefanb/tmp/qemu-tip/build/tests/qtest/tpm-crb-swtpm-test+0x23f99f)
#1 0x14f096306958 in g_malloc (/lib64/libglib-2.0.so.0+0x58958)
How can I see more of those?
Stefan
- [PATCH 0/4] tests/qtest: Fixes fuzz-tests, Philippe Mathieu-Daudé, 2021/01/15
- [PATCH 1/4] tests/qtest: Remove TPM tests, Philippe Mathieu-Daudé, 2021/01/15
- Re: [PATCH 1/4] tests/qtest: Remove TPM tests, Philippe Mathieu-Daudé, 2021/01/15
- Re: [PATCH 1/4] tests/qtest: Remove TPM tests, Stefan Berger, 2021/01/15
- Re: [PATCH 1/4] tests/qtest: Remove TPM tests, Philippe Mathieu-Daudé, 2021/01/15
- Re: [PATCH 1/4] tests/qtest: Remove TPM tests, Philippe Mathieu-Daudé, 2021/01/15
- Re: [PATCH 1/4] tests/qtest: Remove TPM tests,
Stefan Berger <=
- Re: [PATCH 1/4] tests/qtest: Remove TPM tests, Stefan Berger, 2021/01/15
- Re: [PATCH 1/4] tests/qtest: Remove TPM tests, Philippe Mathieu-Daudé, 2021/01/16
Re: [PATCH 1/4] tests/qtest: Remove TPM tests, Paolo Bonzini, 2021/01/17
[PATCH 2/4] tests/qtest: Make fuzz-test generic to all targets, Philippe Mathieu-Daudé, 2021/01/15
[PATCH 3/4] tests/qtest: Only run fuzz-megasas-test if megasas device is available, Philippe Mathieu-Daudé, 2021/01/15