From patchwork Tue Jan 16 06:58:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shaoqin Huang X-Patchwork-Id: 13520498 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97D9A10A1E for ; Tue, 16 Jan 2024 06:58:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="UW4I5w8Y" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1705388332; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=MQ5GcXOhiGFSyn5vD4nd7pcGv9wo7rlPf51HBEjNCys=; b=UW4I5w8YFTNeQZVgpKcToANPewy20DizCi+531lmD0vaB+6f/C6dYT4h4lj+T55+Sl9pVj DlFRwEaqp0BY8EKVTQCq2baFJ+JdLRXEmWcYAsZaWyUb24NY8z4X5vjfiaprUuJ6wAHnol ERkEhPESx0c12mgfvOFFIq7EA0OadvI= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-685-Kqpsa5f8POSfN7O59EGkcA-1; Tue, 16 Jan 2024 01:58:48 -0500 X-MC-Unique: Kqpsa5f8POSfN7O59EGkcA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 33D171C05AC2; Tue, 16 Jan 2024 06:58:48 +0000 (UTC) Received: from virt-mtcollins-01.lab.eng.rdu2.redhat.com (virt-mtcollins-01.lab.eng.rdu2.redhat.com [10.8.1.196]) by smtp.corp.redhat.com (Postfix) with ESMTP id 065693C25; Tue, 16 Jan 2024 06:58:48 +0000 (UTC) From: Shaoqin Huang To: Andrew Jones , kvmarm@lists.linux.dev Cc: Shaoqin Huang , Alexandru Elisei , Colton Lewis , Eric Auger , kvm@vger.kernel.org, Nico Boehr , Nikos Nikoleris , Nina Schoetterl-Glausch , Ricardo Koller , Sean Christopherson , Thomas Huth Subject: [kvm-unit-tests PATCH v3 0/3] arm64: runtime scripts improvements on efi Date: Tue, 16 Jan 2024 01:58:43 -0500 Message-Id: <20240116065847.71623-1-shahuang@redhat.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 When I run the arm64 tests on efi, I found several runtime scripts issues. This patch series try to fix all the issues. The first patch add a missing error reporting. The second patch skip the migration tests when run on efi since it will always fail. The thrid patch fix the issue when parallel running tests on efi. Changelog: ---------- v2->v3: - Collect the Reviewed-By. - Drop the arm64 flag in patch summary of patch2. - Small tweak to minimize the call to basename in patch3. v1->v2: - Add the fixes tag in patch-1. - Change the $last_line to embedeed format in patch-1. - Move the check EFI into the check for migration, which decrease one check in patch-2. - Add more detailed comments about how tests fail in patch-3. v1: https://lore.kernel.org/all/20231129032123.2658343-1-shahuang@redhat.com/ v2: https://lore.kernel.org/all/20231130032940.2729006-1-shahuang@redhat.com/ Shaoqin Huang (3): runtime: Fix the missing last_line runtime: Skip the migration tests when run on EFI arm64: efi: Make running tests on EFI can be parallel arm/efi/run | 16 +++++++++------- scripts/runtime.bash | 6 +++++- 2 files changed, 14 insertions(+), 8 deletions(-)