From nobody Fri Apr 19 14:27:46 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@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 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1678107258; cv=none; d=zohomail.com; s=zohoarc; b=oJ36lS7OI0rR9m7ghhSAi/bVemqWfd0YQuJHpT+FaLlzmhwKVSl/qbTOqF+Ku5D689NFPRz4pEb6SdExtQnfo8qWMvuHtQN0AsJ0s5twTm61y2C77dT/MoUDydsuCUju2Lp4y0dd1tmzT2/rTRqyQrMOj+Sfod4xH+ApG5GXrJs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1678107258; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=EXeEw8oynPyoarduYmhX1fajKTrmbbifw4kH1YkUAco=; b=TXlraoyLONL8u6iXMH+iR3e4u1geAWtrsJTPGMRE6GjDoU3kPdNGmvZFGaJBgg7PycLm6PI9XlzhL9R0Pm05NSJdI8Ms9xAZUEFWRbM9vHGvkneBu97mY1/3qeOVCiGF3rsRM+QpPFgiVrfoiyKrrAQKMAJQxs0LVDODkaBTTus= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1678107258189904.9722704527676; Mon, 6 Mar 2023 04:54:18 -0800 (PST) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-426-Ey_CjtPlNsKo3DdwUICHDQ-1; Mon, 06 Mar 2023 07:54:12 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AA8093810B10; Mon, 6 Mar 2023 12:54:10 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 981E7492C3E; Mon, 6 Mar 2023 12:54:10 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 89A4C194658C; Mon, 6 Mar 2023 12:54:10 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 944C0194658C for ; Mon, 6 Mar 2023 12:54:09 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 79F40492C1B; Mon, 6 Mar 2023 12:54:09 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.45.225.195]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0FEAE492C14 for ; Mon, 6 Mar 2023 12:54:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678107257; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=EXeEw8oynPyoarduYmhX1fajKTrmbbifw4kH1YkUAco=; b=OaNDBZitz7W2r3yifSPd6DtY3cyj7rGwpdcClKJd/SGwKd5PcuCakSbG6C3GvfzIFRef3V dkHTfxY8j9hHp8Bi4UMl9yINC/WuwGS31duk4Zv/u1N4J4E8LEkZbO714OvdiocPDHghff RaUieXpDPXDULQoXYDP1JF+jsU5ewOI= X-MC-Unique: Ey_CjtPlNsKo3DdwUICHDQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Andrea Bolognani To: libvir-list@redhat.com Subject: [PATCH 05+1/14] tests: Limit use of TLSx509secretUUIDs Date: Mon, 6 Mar 2023 13:54:07 +0100 Message-Id: <20230306125407.115646-1-abologna@redhat.com> In-Reply-To: <20230306101047.94684-6-abologna@redhat.com> References: <20230306101047.94684-6-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1678107259383100003 Content-Type: text/plain; charset="utf-8"; x-default="true" These are intended to be used for just a few specific tests, but since we don't always free them up afterwards they could end up accidentally affecting subsequent tests as well. Signed-off-by: Andrea Bolognani --- tests/qemuxml2argvtest.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index deb1dc2667..afa22275b8 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1296,6 +1296,8 @@ mymain(void) DO_TEST_CAPS_LATEST("disk-network-tlsx509-nbd-hostname"); DO_TEST_CAPS_VER("disk-network-tlsx509-vxhs", "5.0.0"); DO_TEST_CAPS_LATEST("disk-network-http"); + VIR_FREE(driver.config->nbdTLSx509secretUUID); + VIR_FREE(driver.config->vxhsTLSx509secretUUID); driver.config->vxhsTLS =3D 0; DO_TEST_CAPS_LATEST("disk-no-boot"); DO_TEST_CAPS_LATEST("disk-nvme"); @@ -1574,6 +1576,7 @@ mymain(void) DO_TEST("serial-tcp-tlsx509-secret-chardev", QEMU_CAPS_DEVICE_ISA_SERIAL); DO_TEST_CAPS_LATEST("serial-tcp-tlsx509-secret-chardev"); + VIR_FREE(driver.config->chardevTLSx509secretUUID); driver.config->chardevTLS =3D 0; DO_TEST("serial-many-chardev", QEMU_CAPS_DEVICE_ISA_SERIAL); --=20 2.39.2