From nobody Mon Feb 9 07:55:25 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1610723392; cv=none; d=zohomail.com; s=zohoarc; b=R1mbIx+/pfApfDctmf05wESP4nx2EEdh114oRPBQUmPjBt6OtVYr+P8NTOBEn1AKZhd2Gi3tQqSxX/GGufmgHFkMaGMqyH8q26FENTT4NwY6BAQVNPxwn5mV/DE9dLDavxuux5AS01jGCv1ovQ+sVk1xT9wCgc0zTglQVc64oYg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610723392; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=YgVLLacDQILJN6YonWv28T7UMj9spgsD7n9ORYdJelQ=; b=Ht4dP7XTYZ3jwWzUOEsbomxEh1pRhPjvkKv0aswBKTrOYy3yLIVQHsRpoRRvHX2ujNbXrJsKcOCos49QDx796wAkAmRNr9Wug7pWJjs8GXqa0Ib20XMr1skxW8ZzMnzQbRUmIXewArqMQJoqdkvS/1VLyS2h2xcD86JPLGBaIHE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1610723392363705.5628246798263; Fri, 15 Jan 2021 07:09:52 -0800 (PST) Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-547-6u0tGWIMOpS5B-dY4iRiPQ-1; Fri, 15 Jan 2021 10:09:49 -0500 Received: by mail-ed1-f71.google.com with SMTP id f21so3683714edx.23 for ; Fri, 15 Jan 2021 07:09:49 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (13.red-83-57-169.dynamicip.rima-tde.net. [83.57.169.13]) by smtp.gmail.com with ESMTPSA id c12sm3916306edw.55.2021.01.15.07.09.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 07:09:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610723391; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YgVLLacDQILJN6YonWv28T7UMj9spgsD7n9ORYdJelQ=; b=DdILNkh3BYJwsaEtZN/DymjjJuAX0j9hWqwOKvspficz99ljHwn1No24kBbjcjdP63M/3t KI1FXZ4lGkoMNfIUkBIODNMI+cFV/0s2SlR8VaYzePUBhBaptmPDF4ZTRQ53puinkX0Q0K q8mK7WFneUOriegwdx7bsGCQrUP2cEA= X-MC-Unique: 6u0tGWIMOpS5B-dY4iRiPQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YgVLLacDQILJN6YonWv28T7UMj9spgsD7n9ORYdJelQ=; b=QAPXWI/LaIkNWag0v/+hLT0RLwgIV/r+u718LL/Nh4jauBEsu4BaCJEU4K/o7rIPRf fZWk6RzeGykRW+xmh+csXdpyPx2hzClAYhgUoYAr4WF7Kt+wFToC8ENiuBfibANcKqF/ 0olwwYMgCjmoLS9FPg2Nsch23+Ei7yEZzIMYX/Gx4kxfS5w7nECeLzIE7dg9xrTwPlUM YScrM47n5WmmK8WKV8MG0B2vDCjT+KINveT4UTfoWzUYPxnsNOwhQYpNQiFy1uMMEM4G Z6Jr86CxrNHtd6eTHMgL2+ItHgo3g0/7JE1GY5UeR5edO4+03pkBbhzpaMZVucI3GXC8 tM4Q== X-Gm-Message-State: AOAM533eDa7VynvNgC3M28+cnpPXiUMfFD513dule1GGn9QXJGY6NBZj JsA1WjA5jIrd6MCQnex+MXTt8V/brpILQUYOgkljL55/QnDmUa+JbucWTDZWsEvhgfdnn2OKGM8 ZuSOseIHsZN0sTQ== X-Received: by 2002:a17:907:3e06:: with SMTP id hp6mr9303076ejc.254.1610723387868; Fri, 15 Jan 2021 07:09:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJw5WkCIxOL6jNBQBfFrJk1fIG5mxjb5+lkCeMIC3vJsPkOo49V9kp1LpJKr8BmGbK3OK/TrnA== X-Received: by 2002:a17:907:3e06:: with SMTP id hp6mr9302808ejc.254.1610723384376; Fri, 15 Jan 2021 07:09:44 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Fam Zheng , Thomas Huth , Laurent Vivier , Paolo Bonzini , Li Qiang , Alexander Bulekov , Hannes Reinecke , Stefan Berger , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 1/4] tests/qtest: Remove TPM tests Date: Fri, 15 Jan 2021 16:09:33 +0100 Message-Id: <20210115150936.3333282-2-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210115150936.3333282-1-philmd@redhat.com> References: <20210115150936.3333282-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) The TPM tests are failing, and no further tests are run, making the rest of the testsuite pointless: $ make check-qtest =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D3330026=3D=3DERROR: LeakSanitizer: detected memory leaks Indirect leak of 444960 byte(s) in 108 object(s) allocated from: #0 0x55a2df5adb87 in calloc (tests/qtest/tpm-crb-swtpm-test+0x266b87) #1 0x7f507bbff9b0 in g_malloc0 (/lib64/libglib-2.0.so.0+0x589b0) #2 0x55a2df898766 in parse_object qobject/json-parser.c:318:12 #3 0x55a2df897d86 in parse_value qobject/json-parser.c:546:16 #4 0x55a2df8979be in json_parser_parse qobject/json-parser.c:580:14 #5 0x55a2df81ccc1 in json_message_process_token qobject/json-streamer= .c:92:12 #6 0x55a2df85f773 in json_lexer_feed_char qobject/json-lexer.c:313:13 #7 0x55a2df85eb04 in json_lexer_feed qobject/json-lexer.c:350:9 #8 0x55a2df81d7ed in json_message_parser_feed qobject/json-streamer.c= :121:5 #9 0x55a2df5f15f9 in qmp_fd_receive tests/qtest/libqtest.c:614:9 #10 0x55a2df5f1dda in qtest_qmp_receive_dict tests/qtest/libqtest.c:6= 36:12 #11 0x55a2df5ef444 in qtest_qmp_receive tests/qtest/libqtest.c:624:27 #12 0x55a2df5f3a2d in qtest_vqmp tests/qtest/libqtest.c:715:12 #13 0x55a2df5efa62 in qtest_qmp tests/qtest/libqtest.c:756:16 #14 0x55a2df5eb480 in tpm_util_wait_for_migration_complete tests/qtes= t/tpm-util.c:245:15 #15 0x55a2df5e4167 in tpm_test_swtpm_migration_test tests/qtest/tpm-t= ests.c:117:5 #16 0x55a2df5e340c in tpm_crb_swtpm_migration_test tests/qtest/tpm-cr= b-swtpm-test.c:44:5 #17 0x7f507bc2229d (/lib64/libglib-2.0.so.0+0x7b29d) Indirect leak of 3456 byte(s) in 108 object(s) allocated from: #0 0x55a2df5adb87 in calloc (tests/qtest/tpm-crb-swtpm-test+0x266b87) #1 0x7f507bbff9b0 in g_malloc0 (/lib64/libglib-2.0.so.0+0x589b0) #2 0x55a2df7886af in qdict_put_obj qobject/qdict.c:126:17 #3 0x55a2df89d706 in parse_pair qobject/json-parser.c:300:5 #4 0x55a2df898889 in parse_object qobject/json-parser.c:327:13 #5 0x55a2df897d86 in parse_value qobject/json-parser.c:546:16 #6 0x55a2df8979be in json_parser_parse qobject/json-parser.c:580:14 #7 0x55a2df81ccc1 in json_message_process_token qobject/json-streamer= .c:92:12 #8 0x55a2df85f773 in json_lexer_feed_char qobject/json-lexer.c:313:13 #9 0x55a2df85eb04 in json_lexer_feed qobject/json-lexer.c:350:9 #10 0x55a2df81d7ed in json_message_parser_feed qobject/json-streamer.= c:121:5 #11 0x55a2df5f15f9 in qmp_fd_receive tests/qtest/libqtest.c:614:9 #12 0x55a2df5f1dda in qtest_qmp_receive_dict tests/qtest/libqtest.c:6= 36:12 #13 0x55a2df5ef444 in qtest_qmp_receive tests/qtest/libqtest.c:624:27 #14 0x55a2df5f3a2d in qtest_vqmp tests/qtest/libqtest.c:715:12 #15 0x55a2df5efa62 in qtest_qmp tests/qtest/libqtest.c:756:16 #16 0x55a2df5eb480 in tpm_util_wait_for_migration_complete tests/qtes= t/tpm-util.c:245:15 #17 0x55a2df5e4167 in tpm_test_swtpm_migration_test tests/qtest/tpm-t= ests.c:117:5 #18 0x55a2df5e340c in tpm_crb_swtpm_migration_test tests/qtest/tpm-cr= b-swtpm-test.c:44:5 #19 0x7f507bc2229d (/lib64/libglib-2.0.so.0+0x7b29d) Indirect leak of 756 byte(s) in 108 object(s) allocated from: #0 0x55a2df5ad9cf in malloc (tests/qtest/tpm-crb-swtpm-test+0x2669cf) #1 0x7f507bbff958 in g_malloc (/lib64/libglib-2.0.so.0+0x58958) SUMMARY: AddressSanitizer: 449172 byte(s) leaked in 324 allocation(s). make: *** [Makefile.mtest:1025: run-test-126] Error 1 Remove these tests to be able to run the rest. Cc: Stefan Berger Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- tests/qtest/meson.build | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build index 16d04625b8b..bcbb04d2bb4 100644 --- a/tests/qtest/meson.build +++ b/tests/qtest/meson.build @@ -41,10 +41,6 @@ (config_all_devices.has_key('CONFIG_USB_UHCI') and = \ config_all_devices.has_key('CONFIG_USB_EHCI') ? ['usb-hcd-ehci-test'] := []) + \ (config_all_devices.has_key('CONFIG_USB_XHCI_NEC') ? ['usb-hcd-xhci-test= '] : []) + \ - (config_all_devices.has_key('CONFIG_TPM_CRB') ? ['tpm-crb-test'] : []) += \ - (config_all_devices.has_key('CONFIG_TPM_CRB') ? ['tpm-crb-swtpm-test'] := []) + \ - (config_all_devices.has_key('CONFIG_TPM_TIS_ISA') ? ['tpm-tis-test'] : [= ]) + \ - (config_all_devices.has_key('CONFIG_TPM_TIS_ISA') ? ['tpm-tis-swtpm-test= '] : []) + \ (config_all_devices.has_key('CONFIG_RTL8139_PCI') ? ['rtl8139-test'] : [= ]) + \ qtests_pci + = \ ['fdc-test', --=20 2.26.2