From patchwork Wed Apr 26 00:16:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= X-Patchwork-Id: 13223916 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CDB29C7EE23 for ; Wed, 26 Apr 2023 00:17:03 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.526379.818076 (Exim 4.92) (envelope-from ) id 1prSpr-0008TS-N9; Wed, 26 Apr 2023 00:16:39 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 526379.818076; Wed, 26 Apr 2023 00:16:39 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1prSpr-0008TL-KI; Wed, 26 Apr 2023 00:16:39 +0000 Received: by outflank-mailman (input) for mailman id 526379; Wed, 26 Apr 2023 00:16:37 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1prSpp-0008Sz-BG for xen-devel@lists.xenproject.org; Wed, 26 Apr 2023 00:16:37 +0000 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 99451605-e3c7-11ed-8611-37d641c3527e; Wed, 26 Apr 2023 02:16:34 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 0DF89320093B; Tue, 25 Apr 2023 20:16:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 25 Apr 2023 20:16:32 -0400 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 25 Apr 2023 20:16:30 -0400 (EDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 99451605-e3c7-11ed-8611-37d641c3527e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= invisiblethingslab.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1682468191; x=1682554591; bh=jf 46EdUWhIamXc+NDEjQxcZWoeWhu8f3Oja5zY0DWbU=; b=VBh9tHhscu0+3/4fjX GOIeHRiwDv2DI7A+Ci0rxFlZm1mhH0lRp9PxtOjtMZhxDg5sQIa2mZI7mQ1Q06eC MUokEOVVV/ffLrFaytUysuiq4xqtaA1FIIsT1bpNZFuuSsodsfrCZZzVnWBUb9Gj 8FsOpFTpqZK0ugYltqAIVNV6XvATjZWl7bE7Wn/IvC8F/ViEhxukjRJBkDMrCzDI R1//Jsdgb7SP0wLBRaORlfv7grGJSuaoJiW8QmsTPfGZrbiYhObBouaoxLMeNq56 NLEmqQ1Et+/cboncFyWOaXi85kmxpaWHhzrbr0du+gLXPNYJL/SgzDkGdENs83Yn hh2g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1682468191; x=1682554591; bh=jf46EdUWhIamXc+NDEjQxcZWoeWhu8f3Oja 5zY0DWbU=; b=E7NHURS16ZEhpGlTujlvZJlQ3dxWyvqU/T9B064Eeq18G06cd+T UAXdu0nwTFDFuNa9hOWRpIeNRMz7VNqrwfbGB8KvP2HGo8agsyC2ggOqHvdK+jL7 NUuWqaTPKSVeh9N2J/CKOS/p332qw2BwyL2TmLfGZZDG5V3Cyf5C0hJGbtAjjnHs KWemJM+4J6HjNfap+qVKrkAKirDdJ7RXOhlhaDpYn3BrXcLhbjzmRylgvEDM6bow vyhfrpGc0dft6t/4/7YT6hOgiD6CaA1x+8P9lSjuir1um3NltIO4w7J15geK3P7h JOVBeEuUmm/Bs/hCXMVZdbPXREjM761E3Cw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedufedgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeforghr vghkucforghrtgiihihkohifshhkihdqifpkrhgvtghkihcuoehmrghrmhgrrhgvkhesih hnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhmqeenucggtffrrghtthgvrhhnpefg ueduhefgvdefheehudejheefudevueeghfekhfehleegveduteeuiedugffgffenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghrmhgrrhgv khesihhnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhm X-ME-Proxy: Feedback-ID: i1568416f:Fastmail From: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= To: xen-devel@lists.xenproject.org Cc: Stefano Stabellini , =?utf-8?q?Marek_Marczykowsk?= =?utf-8?q?i-G=C3=B3recki?= , Doug Goldstein Subject: [PATCH v2 1/6] automation: specify explicit dom0 mem size for ADL tests Date: Wed, 26 Apr 2023 02:16:11 +0200 Message-Id: <9e184123dab430fdf9cb6edf818805b15a4afbc8.1682468126.git-series.marmarek@invisiblethingslab.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Avoid memory fragmentation that leads to: (XEN) common/memory.c:277:d0v10 Could not allocate order=9 extent: id=1 memflags=0xc0 (0 of 4) Signed-off-by: Marek Marczykowski-Górecki Acked-by: Stefano Stabellini --- automation/scripts/qubes-x86-64.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/scripts/qubes-x86-64.sh b/automation/scripts/qubes-x86-64.sh index 2d4cf2e2268c..916dbaae59c3 100755 --- a/automation/scripts/qubes-x86-64.sh +++ b/automation/scripts/qubes-x86-64.sh @@ -123,7 +123,7 @@ TFTP=/scratch/gitlab-runner/tftp CONTROLLER=control@thor.testnet echo ' -multiboot2 (http)/gitlab-ci/xen console=com1 com1=115200,8n1 loglvl=all guest_loglvl=all +multiboot2 (http)/gitlab-ci/xen console=com1 com1=115200,8n1 loglvl=all guest_loglvl=all dom0_mem=4G module2 (http)/gitlab-ci/vmlinuz console=hvc0 root=/dev/ram0 module2 (http)/gitlab-ci/initrd-dom0 ' > $TFTP/grub.cfg From patchwork Wed Apr 26 00:16:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= X-Patchwork-Id: 13223917 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B0E4BC7EE21 for ; Wed, 26 Apr 2023 00:17:02 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.526380.818080 (Exim 4.92) (envelope-from ) id 1prSps-00005K-0t; Wed, 26 Apr 2023 00:16:40 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 526380.818080; Wed, 26 Apr 2023 00:16:39 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1prSpr-00004v-Sn; Wed, 26 Apr 2023 00:16:39 +0000 Received: by outflank-mailman (input) for mailman id 526380; Wed, 26 Apr 2023 00:16:38 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1prSpq-0008Sz-0r for xen-devel@lists.xenproject.org; Wed, 26 Apr 2023 00:16:38 +0000 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 9a9241dc-e3c7-11ed-8611-37d641c3527e; Wed, 26 Apr 2023 02:16:36 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 3BE5D3200488; Tue, 25 Apr 2023 20:16:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 25 Apr 2023 20:16:34 -0400 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 25 Apr 2023 20:16:32 -0400 (EDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 9a9241dc-e3c7-11ed-8611-37d641c3527e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= invisiblethingslab.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1682468193; x=1682554593; bh=PK 2ZYDGyTV06RxgorcTiEiiY75XG+xFNOCsrrtktg5E=; b=pOx15lYTtT4GMtluk3 0gaEGiPx01TOWBA5iG5lCkdFvdS+Uf4+VHDm82s+bWM4F86PGNpGeUPwt1IUYVFv /EBGEbrCuHXEvw+Rl3NQxScTZlaucS0lMnLSaO8uH/gC5TN0e02G9o/eUHqJbLYC W+PyMj9dLwfWTJeO6fOFYtCB8eoBytLVQqHAt91NgPR3ErpLphas7y327QCVNy8b uSEt31mzhUHi2STh/XYPB0yXS32ezxtRLk7f+DkwytIaz90BCYSieekO6+nEH0TL k87QMuFxgzH3oHUCDCtyP0S3oheYkB1fZsXKPYFhyenzsrX7ZEUbFBssTWmF3z2Z eT3g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1682468193; x=1682554593; bh=PK2ZYDGyTV06RxgorcTiEiiY75XG+xFNOCs rrtktg5E=; b=VdICgU1dxn5rVC93Ga9Va7F+8Vclljm3R2JsJJ2frsVQB3ADtsY Wpx/8lYSyUG8aJrp7bMV05YHcuOjMEIefhhT8oGhj0HK6P4313pWXLUXzZHutEMt PXZ2w/e/9teN38aA0puSB24RuL1cGDiwlTvukD+yRbEs7ZmT/j2zdn5C4zu07/Il /3wHca95VWkHGAlAK5NrkaOuNEds6cr8ZKoWJL1cldo/dzIxe/LQhDL3QptR259r Zki1kHAcYx6OZg0ZhO0PXn33fKvJ3APs0GYbz8CCJ2PJP8KBnoYvDar9I8rGpjAi eTpmP8EBoNsA6VHtIUKO6XX195xmL3Yp1Jw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedufedgfedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeforghr vghkucforghrtgiihihkohifshhkihdqifpkrhgvtghkihcuoehmrghrmhgrrhgvkhesih hnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhmqeenucggtffrrghtthgvrhhnpefg ueduhefgvdefheehudejheefudevueeghfekhfehleegveduteeuiedugffgffenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghrmhgrrhgv khesihhnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhm X-ME-Proxy: Feedback-ID: i1568416f:Fastmail From: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= To: xen-devel@lists.xenproject.org Cc: Stefano Stabellini , =?utf-8?q?Marek_Marczykowsk?= =?utf-8?q?i-G=C3=B3recki?= , Doug Goldstein Subject: [PATCH v2 2/6] automation: add runtime qemu dependencies to test container Date: Wed, 26 Apr 2023 02:16:12 +0200 Message-Id: X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 This is necessary to start HVM guests in subsequent tests. Signed-off-by: Marek Marczykowski-Górecki Reviewed-by: Stefano Stabellini --- automation/tests-artifacts/alpine/3.12.dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/automation/tests-artifacts/alpine/3.12.dockerfile b/automation/tests-artifacts/alpine/3.12.dockerfile index b3909996b47b..073f16a0d70a 100644 --- a/automation/tests-artifacts/alpine/3.12.dockerfile +++ b/automation/tests-artifacts/alpine/3.12.dockerfile @@ -13,6 +13,7 @@ RUN \ \ # xen runtime deps apk add musl && \ + apk add libgcc && \ apk add openrc && \ apk add busybox && \ apk add sudo && \ From patchwork Wed Apr 26 00:16:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= X-Patchwork-Id: 13223915 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 509E7C77B61 for ; Wed, 26 Apr 2023 00:17:02 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.526382.818096 (Exim 4.92) (envelope-from ) id 1prSps-0000Oz-W1; Wed, 26 Apr 2023 00:16:40 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 526382.818096; Wed, 26 Apr 2023 00:16:40 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1prSps-0000MW-Lm; Wed, 26 Apr 2023 00:16:40 +0000 Received: by outflank-mailman (input) for mailman id 526382; Wed, 26 Apr 2023 00:16:38 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1prSpq-0008T0-Lq for xen-devel@lists.xenproject.org; Wed, 26 Apr 2023 00:16:38 +0000 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 9bcbbfab-e3c7-11ed-b223-6b7b168915f2; Wed, 26 Apr 2023 02:16:38 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 427DD3200918; Tue, 25 Apr 2023 20:16:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 25 Apr 2023 20:16:36 -0400 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 25 Apr 2023 20:16:34 -0400 (EDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 9bcbbfab-e3c7-11ed-b223-6b7b168915f2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= invisiblethingslab.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1682468195; x=1682554595; bh=AI 2JxnYviPNAYYE+wMSmcTdckoUvEFPuFDG8Zwtbt2A=; b=n/PtNepDuE337hVfcj zAOm8fgI/Q5sZACtn9piV/PwruY0dJ3FA6zdD3yVHdsUiRGSDgJ9Zlr01YtFJJNo ixY91Rx6ZZgautdWdRgfrWwK+hDyL1JGDh4U046w8Lx0VySX1CNw7l1USaIg8aCG JWvNhrIjOFEqOOmb6JPLk6vyS06y2/vUUKr4CDOXO4HrRbsnNT5h6s1JzniH56Mp B9WxmozxzLbTGVInpYD5ZlKLSVNIC7pguyiNj+DMqQaqKgjxQ8yHd3jErzEngFHh tFwGt9Mbfkrr7jrInHtS45WF6K+J6HpVFpyyGwKJijatDDOC6NtQACA9lgRNwHwm AHiA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1682468195; x=1682554595; bh=AI2JxnYviPNAYYE+wMSmcTdckoUvEFPuFDG 8Zwtbt2A=; b=XTKHwwBFRl+xoJafvnjVhhX8tUp2inan7n83tE1rpI7V55UOXYH FMfUm9nuQYZbQVKcIxT0dKYvcCwMgfTvkxp7Dco4enZyADfYz9NS9PVPRPcRI5C0 ekQesw9Rwxg8ycUXC9M/oLSS+I7hH9SfvjbeBPOh1RB1cdxpmOp5OBSlCKvbxXlu LVZEfCOdNeRwF2LVgh/ciFUndfpeQLoP7hN59LeIDziVLpUOA1r2povsGD7D5bb0 XmfLeKe+8DJVEArq6jo4dmJJZ8oBaAclHImPLRFSqUvp16QFDrOcXSESH4ePCFhb sLO21XXl0LBi71nAKpPbqOVm359XHNYLdxA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedufedgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeforghr vghkucforghrtgiihihkohifshhkihdqifpkrhgvtghkihcuoehmrghrmhgrrhgvkhesih hnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhmqeenucggtffrrghtthgvrhhnpefg ueduhefgvdefheehudejheefudevueeghfekhfehleegveduteeuiedugffgffenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghrmhgrrhgv khesihhnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhm X-ME-Proxy: Feedback-ID: i1568416f:Fastmail From: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= To: xen-devel@lists.xenproject.org Cc: Stefano Stabellini , =?utf-8?q?Marek_Marczykowsk?= =?utf-8?q?i-G=C3=B3recki?= , Doug Goldstein Subject: [PATCH v2 3/6] automation: re-enable building SeaBIOS in Alpine container Date: Wed, 26 Apr 2023 02:16:13 +0200 Message-Id: <9e7fc91744e52b6b2f5ea8a05a92b920ad22451a.1682468126.git-series.marmarek@invisiblethingslab.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 It seems to build just fine with Alpine 3.12, and SeaBIOS is necessary for a HVM test (that use the Alpine build). Signed-off-by: Marek Marczykowski-Górecki Reviewed-by: Stefano Stabellini --- automation/scripts/build | 2 -- 1 file changed, 2 deletions(-) diff --git a/automation/scripts/build b/automation/scripts/build index 7d1b19c4250d..d830cff7b7c7 100755 --- a/automation/scripts/build +++ b/automation/scripts/build @@ -77,8 +77,6 @@ else if ldd /bin/ls | grep -q musl; then # disable --disable-werror for QEMUU when building with MUSL cfgargs+=("--with-extra-qemuu-configure-args=\"--disable-werror\"") - # SeaBIOS doesn't build on MUSL systems - cfgargs+=("--with-system-seabios=/bin/false") fi # Qemu requires Python 3.5 or later, and ninja From patchwork Wed Apr 26 00:16:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= X-Patchwork-Id: 13223914 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0ACE7C77B7C for ; Wed, 26 Apr 2023 00:17:02 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.526383.818116 (Exim 4.92) (envelope-from ) id 1prSpu-0000z3-5x; Wed, 26 Apr 2023 00:16:42 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 526383.818116; Wed, 26 Apr 2023 00:16:42 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1prSpu-0000xw-1a; Wed, 26 Apr 2023 00:16:42 +0000 Received: by outflank-mailman (input) for mailman id 526383; Wed, 26 Apr 2023 00:16:40 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1prSps-0008T0-LV for xen-devel@lists.xenproject.org; Wed, 26 Apr 2023 00:16:40 +0000 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 9d048d4c-e3c7-11ed-b223-6b7b168915f2; Wed, 26 Apr 2023 02:16:40 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 504E7320046F; Tue, 25 Apr 2023 20:16:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 25 Apr 2023 20:16:38 -0400 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 25 Apr 2023 20:16:36 -0400 (EDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 9d048d4c-e3c7-11ed-b223-6b7b168915f2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= invisiblethingslab.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1682468197; x=1682554597; bh=Cq ssG/KC+YvF49hzLtSeRQGnmHXkLm9FnGPzRc0yuiY=; b=FkqRwE5Bn4jO0B0CS/ TA+FHAAPJoTdI9VsGJaqkUmHip3J6zjja/1Nphj3Lgj67Cfv1kc1dPb3QlVmvZoI 5by8SuHpWAk8sGhk09E/d7Bwks8yjaFvXfhaXFkoK6A/9sEIGbgOnNjVjf3RtTKA 1gMcgauVczqX7Pn43DCF081X3hi/agBhsJwx5mq4VjATPJ7NB0VwT4ZnrrjryXUz qAI5IypjsCegE3uqK6ip5W34Jo/RQ/s4wJEZSZi1cVTiKpHor3QENZ/z9xOT83h2 8QHEDmBZn9do+Fj48WK8i0pPsf64cxwNsTXS1gbNHIpsYTltpuhXYqZ2xJzsypv7 d/yw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1682468197; x=1682554597; bh=CqssG/KC+YvF49hzLtSeRQGnmHXkLm9FnGP zRc0yuiY=; b=Wbl0Dytlkd0lKjIbe6t9AchnDCRQkS7/w/d126/UMletBGaSAzt P9YBZwNZ42PsVn95SD1VGUvIL66ba3WF3OC7wJh97VjuLaa/RJ4qyAQ4+BWzYsU3 DhSsfRjwCWUShC87Nv+JpoidaJsT/FUaLS+ZA5ddsDTMiq4o9vAxrQY4WDDOEjWK FqmGcNHvDJIx1OpOGVdDcyNd5dFNLcXJd1zj2hzd17m73XHk0n64VVVf3vZFL4me GClUDumJE3p8wmRaq6hnpe70ExpOjfftXII0K3x9uLqypKhZsY5UGO3zcWF3puyG Cm5xmTiA8YXeBkSVq4rGHgk5TcemmZJhBXg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedufedgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeforghr vghkucforghrtgiihihkohifshhkihdqifpkrhgvtghkihcuoehmrghrmhgrrhgvkhesih hnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhmqeenucggtffrrghtthgvrhhnpefg ueduhefgvdefheehudejheefudevueeghfekhfehleegveduteeuiedugffgffenucevlh hushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghrmhgrrhgv khesihhnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhm X-ME-Proxy: Feedback-ID: i1568416f:Fastmail From: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= To: xen-devel@lists.xenproject.org Cc: Stefano Stabellini , =?utf-8?q?Marek_Marczykowsk?= =?utf-8?q?i-G=C3=B3recki?= , Doug Goldstein Subject: [PATCH v2 4/6] automation: wait for the login prompt as test end marker Date: Wed, 26 Apr 2023 02:16:14 +0200 Message-Id: <7a0e3b0f6373ce9ad0bf66ddb1535ca9c4fed0fc.1682468126.git-series.marmarek@invisiblethingslab.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 The login prompt is printed after all the startup (test) scripts, wait for that instead of "passed" marker. And only then check if test passed. Before this patch there was a race: "passed" marker could be already printed, but the final check would fail because login prompt wasn't there yet. Also, modify etc/issue in domU rootfs to avoid confusing the one from domU with the dom0's one. Use the dom0 one as test end marker. Signed-off-by: Marek Marczykowski-Górecki Acked-by: Stefano Stabellini --- changes in v2: - differentiate dom0 and domU welcome message --- automation/scripts/qubes-x86-64.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/automation/scripts/qubes-x86-64.sh b/automation/scripts/qubes-x86-64.sh index 916dbaae59c3..6c0309704661 100755 --- a/automation/scripts/qubes-x86-64.sh +++ b/automation/scripts/qubes-x86-64.sh @@ -66,6 +66,7 @@ ${domU_check} /bin/sh" > etc/local.d/xen.start chmod +x etc/local.d/xen.start echo "rc_verbose=yes" >> etc/rc.conf +sed -i -e 's/^Welcome/domU \0/' etc/issue find . | fakeroot -i ../fakeroot-save cpio -H newc -o | gzip > ../binaries/domU-rootfs.cpio.gz cd .. rm -rf rootfs @@ -159,7 +160,7 @@ if [ -n "$wait_and_wakeup" ]; then ssh $CONTROLLER wake fi -until grep "$passed" smoke.serial || [ $timeout -le 0 ]; do +until grep "^Welcome to Alpine Linux" smoke.serial || [ $timeout -le 0 ]; do sleep 1; : $((--timeout)) done From patchwork Wed Apr 26 00:16:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= X-Patchwork-Id: 13223918 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 90D2FC77B7F for ; Wed, 26 Apr 2023 00:17:02 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.526384.818126 (Exim 4.92) (envelope-from ) id 1prSpw-0001IK-G5; Wed, 26 Apr 2023 00:16:44 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 526384.818126; Wed, 26 Apr 2023 00:16:44 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1prSpw-0001IB-Bx; Wed, 26 Apr 2023 00:16:44 +0000 Received: by outflank-mailman (input) for mailman id 526384; Wed, 26 Apr 2023 00:16:42 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1prSpu-0008T0-TM for xen-devel@lists.xenproject.org; Wed, 26 Apr 2023 00:16:42 +0000 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 9e42371a-e3c7-11ed-b223-6b7b168915f2; Wed, 26 Apr 2023 02:16:42 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 639493200488; Tue, 25 Apr 2023 20:16:40 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 25 Apr 2023 20:16:40 -0400 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 25 Apr 2023 20:16:38 -0400 (EDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 9e42371a-e3c7-11ed-b223-6b7b168915f2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= invisiblethingslab.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1682468200; x=1682554600; bh=F/ nKkof+j5Rza7lQDx9tTTYfM+sXNOVmeqYfVz+E/ZI=; b=KP4rI7h1Vw1ZnW0JBo P1QgOP5jM3k89/pD6nX/gNVWSdCCfSd3F3KCjb0maoW3lT+ac/m8c95IPGHrY7Ec yVvO8OkcjBony1Ts2HVZRl8UV61pb8i6jjHFcxjhYGxxulrhUFIO6KR7DuezBrWw rd/voIAgCvFf5x68Z/UKHGGGH2E6u+9tr4oSsZKq+j8C67xe/lVUA4/uFEBPhpIb PtpoqTnPKzJ5++Zxb2vLDoBLZH/SHAW8bDTV54Fnqz1Qc75qzG5QCsP6VQwbqBvT +0huT6Y9iNRsdW116QJTl7pWw+YuelRIUabM7CI+kho57gF77ygdCvQvadlR/dXh ek4g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1682468200; x=1682554600; bh=F/nKkof+j5Rza7lQDx9tTTYfM+sXNOVmeqY fVz+E/ZI=; b=ZiO7U0LqpfqK946evgxizbYuvTouHTt4rR/TQfOWuOYRcdE1Pn2 cAowElQZaKd4akRzcZ3kPPZFWmyOO7M1aJHp9VgedFotIoh84dH/N3HTLRUr76uB Dd5BrEkXk/WSet2xMoUog45evoHMGwhJAbVNrEpsgSPzNytAUaC28qD2xdg+unL0 rAyn3oNxjlWa5DuIb1L7zCoMhDf5oNYcPFInBhDpeKcHdlLVJHnrLDGK8Pt8Zr4y oE3tFQ4V1qn00nngr3fiEsqQzKwUd7eurVs12c0CxDR8FKacjZMTKuOUHnEgb41l ETWR33pBVUvAnhrsv7PioZBJSMi31nEbqFA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedufedgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeforghr vghkucforghrtgiihihkohifshhkihdqifpkrhgvtghkihcuoehmrghrmhgrrhgvkhesih hnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhmqeenucggtffrrghtthgvrhhnpefg ueduhefgvdefheehudejheefudevueeghfekhfehleegveduteeuiedugffgffenucevlh hushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghrmhgrrhgv khesihhnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhm X-ME-Proxy: Feedback-ID: i1568416f:Fastmail From: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= To: xen-devel@lists.xenproject.org Cc: Stefano Stabellini , =?utf-8?q?Marek_Marczykowsk?= =?utf-8?q?i-G=C3=B3recki?= , Doug Goldstein Subject: [PATCH v2 5/6] automation: PCI passthrough tests on ADL hw Date: Wed, 26 Apr 2023 02:16:15 +0200 Message-Id: <1948952135feb360797da0bb0136e7d42e188e72.1682468126.git-series.marmarek@invisiblethingslab.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Add simple PCI passthrough test to both PV and HVM domU. It passes through a network adapter (the only one in the system), gets an IP via DHCP (first basic test) and then ping the gateway (second basic test). Finally, if device is supposed to use MSI or MSI-X (as set in the PCIDEV_INTR test variable), check if it's in use via /proc/interrupts. On the current runner, the device in question is this: 03:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller I225-V [8086:15f3] (rev 03) Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7d25] Flags: bus master, fast devsel, latency 0, IRQ 18 Memory at 50400000 (32-bit, non-prefetchable) [size=1M] Memory at 50500000 (32-bit, non-prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+ Capabilities: [70] MSI-X: Enable+ Count=5 Masked- Capabilities: [a0] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [140] Device Serial Number ... Capabilities: [1c0] Latency Tolerance Reporting Capabilities: [1f0] Precision Time Measurement Capabilities: [1e0] L1 PM Substates Kernel driver in use: igc Kernel modules: igc With the current Xen version, it uses MSI-X under PV and MSI under HVM. This patch moves domU config to a variable, to make it configurable on per-test basis. Add also a few comments for visual separation of tests. Signed-off-by: Marek Marczykowski-Górecki Reviewed-by: Stefano Stabellini --- changes in v2: - drop leftover debug shell - fix regex -msi to not match -msi-x - fix waiting for domU startup --- automation/gitlab-ci/test.yaml | 20 +++++++- automation/scripts/qubes-x86-64.sh | 85 ++++++++++++++++++++++++++----- 2 files changed, 93 insertions(+), 12 deletions(-) diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index d68c584269dd..1ce083e6cd88 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -94,6 +94,8 @@ # the test controller runs on RPi4 CONTAINER: alpine:3.12-arm64v8 LOGFILE: smoke-test.log + PCIDEV: "03:00.0" + PCIDEV_INTR: "MSI-X" artifacts: paths: - smoke.serial @@ -147,6 +149,24 @@ adl-suspend-x86-64-gcc-debug: - *x86-64-test-needs - alpine-3.12-gcc-debug +adl-pci-pv-x86-64-gcc-debug: + extends: .adl-x86-64 + script: + - ./automation/scripts/qubes-x86-64.sh pci-pv 2>&1 | tee ${LOGFILE} + needs: + - *x86-64-test-needs + - alpine-3.12-gcc-debug + +adl-pci-hvm-x86-64-gcc-debug: + extends: .adl-x86-64 + variables: + PCIDEV_INTR: "MSI" + script: + - ./automation/scripts/qubes-x86-64.sh pci-hvm 2>&1 | tee ${LOGFILE} + needs: + - *x86-64-test-needs + - alpine-3.12-gcc-debug + qemu-smoke-dom0-arm64-gcc: extends: .qemu-arm64 script: diff --git a/automation/scripts/qubes-x86-64.sh b/automation/scripts/qubes-x86-64.sh index 6c0309704661..a01c571860ee 100755 --- a/automation/scripts/qubes-x86-64.sh +++ b/automation/scripts/qubes-x86-64.sh @@ -4,8 +4,21 @@ set -ex test_variant=$1 +### defaults wait_and_wakeup= timeout=120 +domU_config=' +type = "pvh" +name = "domU" +kernel = "/boot/vmlinuz" +ramdisk = "/boot/initrd-domU" +extra = "root=/dev/ram0 console=hvc0" +memory = 512 +vif = [ "bridge=xenbr0", ] +disk = [ ] +' + +### test: smoke test if [ -z "${test_variant}" ]; then passed="ping test passed" domU_check=" @@ -23,6 +36,8 @@ done tail -n 100 /var/log/xen/console/guest-domU.log echo \"${passed}\" " + +### test: S3 elif [ "${test_variant}" = "s3" ]; then passed="suspend test passed" wait_and_wakeup="started, suspending" @@ -48,6 +63,62 @@ xl dmesg | grep 'Finishing wakeup from ACPI S3 state' || exit 1 ping -c 10 192.168.0.2 || exit 1 echo \"${passed}\" " + +### test: pci-pv, pci-hvm +elif [ "${test_variant}" = "pci-pv" ] || [ "${test_variant}" = "pci-hvm" ]; then + + if [ -z "$PCIDEV" ]; then + echo "Please set 'PCIDEV' variable with BDF of test network adapter" >&2 + echo "Optionally set also 'PCIDEV_INTR' to 'MSI' or 'MSI-X'" >&2 + exit 1 + fi + + passed="pci test passed" + + domU_config=' +type = "'${test_variant#pci-}'" +name = "domU" +kernel = "/boot/vmlinuz" +ramdisk = "/boot/initrd-domU" +extra = "root=/dev/ram0 console=hvc0" +memory = 512 +vif = [ ] +disk = [ ] +pci = [ "'$PCIDEV',seize=1" ] +on_reboot = "destroy" +' + + domU_check=" +set -x -e +ip link set eth0 up +timeout 30s udhcpc -i eth0 +pingip=\$(ip -o -4 r show default|cut -f 3 -d ' ') +ping -c 10 \"\$pingip\" +echo domU started +cat /proc/interrupts +" + if [ "$PCIDEV_INTR" = "MSI-X" ]; then + domU_check="$domU_check +grep -- '\\(-msi-x\\|PCI-MSI-X\\).*eth0' /proc/interrupts +" + elif [ "$PCIDEV_INTR" = "MSI" ]; then + # depending on the kernel version and domain type, the MSI can be + # marked as '-msi', 'PCI-MSI', or 'PCI-MSI-'; be careful to not match + # -msi-x nor PCI-MSI-X + domU_check="$domU_check +grep -- '\\(-msi \\|PCI-MSI\\( \\|-[^X]\\)\\).*eth0' /proc/interrupts +" + fi + domU_check="$domU_check +echo \"${passed}\" +" + + dom0_check=" +until grep -q \"^domU Welcome to Alpine Linux\" /var/log/xen/console/guest-domU.log; do + sleep 1 +done +tail -n 100 /var/log/xen/console/guest-domU.log +" fi # DomU @@ -63,7 +134,7 @@ rm var/run echo "#!/bin/sh ${domU_check} -/bin/sh" > etc/local.d/xen.start +" > etc/local.d/xen.start chmod +x etc/local.d/xen.start echo "rc_verbose=yes" >> etc/rc.conf sed -i -e 's/^Welcome/domU \0/' etc/issue @@ -98,17 +169,7 @@ xl create /etc/xen/domU.cfg ${dom0_check} " > etc/local.d/xen.start chmod +x etc/local.d/xen.start -# just PVH for now -echo ' -type = "pvh" -name = "domU" -kernel = "/boot/vmlinuz" -ramdisk = "/boot/initrd-domU" -extra = "root=/dev/ram0 console=hvc0" -memory = 512 -vif = [ "bridge=xenbr0", ] -disk = [ ] -' > etc/xen/domU.cfg +echo "$domU_config" > etc/xen/domU.cfg echo "rc_verbose=yes" >> etc/rc.conf echo "XENCONSOLED_TRACE=all" >> etc/default/xencommons From patchwork Wed Apr 26 00:16:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= X-Patchwork-Id: 13223920 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E0998C7EE24 for ; Wed, 26 Apr 2023 00:17:03 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.526385.818136 (Exim 4.92) (envelope-from ) id 1prSpz-0001ce-Nr; Wed, 26 Apr 2023 00:16:47 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 526385.818136; Wed, 26 Apr 2023 00:16:47 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1prSpz-0001cR-Jz; Wed, 26 Apr 2023 00:16:47 +0000 Received: by outflank-mailman (input) for mailman id 526385; Wed, 26 Apr 2023 00:16:46 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1prSpy-0008Sz-AZ for xen-devel@lists.xenproject.org; Wed, 26 Apr 2023 00:16:46 +0000 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 9fbf73ca-e3c7-11ed-8611-37d641c3527e; Wed, 26 Apr 2023 02:16:44 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id E2B413200488; Tue, 25 Apr 2023 20:16:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 25 Apr 2023 20:16:43 -0400 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 25 Apr 2023 20:16:41 -0400 (EDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 9fbf73ca-e3c7-11ed-8611-37d641c3527e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= invisiblethingslab.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1682468202; x=1682554602; bh=QO VEexrNPOXNZ0lPTo4d9Cd3KrC07w6b0cxFok+5DDs=; b=UQt9JUPcYG8T8XYXyn cWPw78l2D/P82ymMRLbKF7UnZ8kYD2F+OtczCsRv0vz2YNLhGUj33oXXNbsFczIZ ihvsSdlJ9wBkR9IIYwEDYyYJOulpN66KsjzHfmi/fcp/9jeLLH6XgXKFC4Lr1HYW QpSL4y2FvnHrKgMYTGQWq4ZDMnmFBjvhBGS1CqEC6QY8QVxrbEq3SQ4cuq5/KBEA yqHbb8yZZGntNApnRvn1kTNW0msdRxtfmQOcsA6y2U4/ng4shkq4vM0q5H8a4DIR AFyAPXsQes2nk0QO9ZLho40bUbf8YdpVbfc2TgjjpPspj9vBbJi8Al8FWOo57lhJ 9LtQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1682468202; x=1682554602; bh=QOVEexrNPOXNZ0lPTo4d9Cd3KrC07w6b0cx Fok+5DDs=; b=XIBbv6pPX5qPNi03kvVdxAHrbWQDBaZJkTexy8KWdyggwgIKZ6r /YH4JLgXDJICHSD1wZssFv0JvOSBHjRrWGybSlqN9qLfKSy2JB8gU04wHsqscrvm KMIVTWaQ5NqkFjpSp1IYJxcWKhbNdnMo4toaot0bYwIohyLvGVOvBEiCVMffdRxC CggxCwqOf/7PPQ88h8wSfj2lcMwuy397TrYhqq0t90yXnXRQ+puqY0PLbhBSunQC nQP0AGURXyrEeZHj+h/UxBXwryNsI1oESC5rdGdfP4N+HruuhSg7Zd/uRp0f+PCg J6D45qmGRSMvO/iUuAOimeuDE+7kp8hbrMg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedufedgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeforghr vghkucforghrtgiihihkohifshhkihdqifpkrhgvtghkihcuoehmrghrmhgrrhgvkhesih hnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhmqeenucggtffrrghtthgvrhhnpefg ueduhefgvdefheehudejheefudevueeghfekhfehleegveduteeuiedugffgffenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghrmhgrrhgv khesihhnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhm X-ME-Proxy: Feedback-ID: i1568416f:Fastmail From: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= To: xen-devel@lists.xenproject.org Cc: Stefano Stabellini , =?utf-8?q?Marek_Marczykowsk?= =?utf-8?q?i-G=C3=B3recki?= , Doug Goldstein Subject: [PATCH v2 6/6] automation: include tail of serial log in the gitlab outout Date: Wed, 26 Apr 2023 02:16:16 +0200 Message-Id: <8e1799a0e50b5a4b693f92ba26b6fef6154aeb79.1682468126.git-series.marmarek@invisiblethingslab.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Make it a bit easier to see what has failed. Signed-off-by: Marek Marczykowski-Górecki Acked-by: Stefano Stabellini --- Changes in v2: - print it also in case of a timeout --- automation/scripts/qubes-x86-64.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/automation/scripts/qubes-x86-64.sh b/automation/scripts/qubes-x86-64.sh index a01c571860ee..056faf9e6de8 100755 --- a/automation/scripts/qubes-x86-64.sh +++ b/automation/scripts/qubes-x86-64.sh @@ -225,6 +225,9 @@ until grep "^Welcome to Alpine Linux" smoke.serial || [ $timeout -le 0 ]; do sleep 1; : $((--timeout)) done + +tail -n 100 smoke.serial + if [ $timeout -le 0 ]; then echo "ERROR: test timeout, aborting" exit 1