From patchwork Fri Aug 26 17:21:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600291 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp555678mae; Fri, 26 Aug 2022 10:25:20 -0700 (PDT) X-Google-Smtp-Source: AA6agR4RFMKiFuRB6eXCBxj0Gw+6toVTHw4i6JUJi0mrzkhj060Tg72TCa8ezwfXKkZF/skp/OTZ X-Received: by 2002:a05:622a:344:b0:343:6a5f:321 with SMTP id r4-20020a05622a034400b003436a5f0321mr671010qtw.204.1661534719977; Fri, 26 Aug 2022 10:25:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661534719; cv=none; d=google.com; s=arc-20160816; b=AFG3b96Hi+gfSK6ga45u7ILg6axL2tCJ5YaCbJhgbwkhL68TXgN6ggNeFglh15gdQ0 M1B3OpTqJ6MnwI7urjEBEppkQkYXGPhb6zXE54ZhbRp3iFrqpC43/hiMZ44dALgv+Wcv 2GL9bWVI4WDBD5uD4r/h+zwqQKLT45SOornFwg/evBlJjG2m49EtnUtBzR+zo0E7Njse l0Eyam6n5/n+CBOKqz8mcDccTI9oU6g8MDAaV2yz0MfnGo4s307hB6p5MBvSz9WCNrXQ yeVPMZeOtd99OTKe1g86hy0AFxaNiM6G3dy4mXkyum1hPm06yihdCkQXd+wkoWDaIRlD D+5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ikIbvIVZc9eqSucgMZ0p7NFEFKoNahKLsiVkLjE1kiU=; b=ATT+pE/j5wMj3BxDrYbl9iwiuZvC6s9c1UJOiiLjf6xhUrLD1aeb8PRzywvBPiPdEP TN9QI7LOTZLy+jWEDQscfKgnNHdOCtBH/PjjBBaI1iVNlAdLEecJrjX0f/+IqidK42Lh PRo6J2T6zZRrPLF1VLhKZPI4gZ3x7CZqDSjSRffWa2vN6nRStMspcgU9S4UjhjBo9FXw NuUe8gpwOmvjYcyo7vA7w8WPOWgaJPSu8WF8W9FvrZsLvyYlCnqRWM8STzYhG6o934d5 7c9qD58pdjBCF4uG1Rg+ZIYz1GNM8Pt+tDI1aViRYIsOK5NxmmQbPWoDcemyio6tsVva Mw9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fH6Cvtf7; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d17-20020ac847d1000000b00317a67e345fsi185160qtr.202.2022.08.26.10.25.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:25:19 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fH6Cvtf7; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:59544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRd55-0001cZ-F0 for patch@linaro.org; Fri, 26 Aug 2022 13:25:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd1S-0004Fd-Qe for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:35 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:40787) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd1P-0002Jw-SB for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:34 -0400 Received: by mail-wr1-x42e.google.com with SMTP id h5so2551350wru.7 for ; Fri, 26 Aug 2022 10:21:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=ikIbvIVZc9eqSucgMZ0p7NFEFKoNahKLsiVkLjE1kiU=; b=fH6Cvtf73fAbc+35zSA77evkyaBq3QUYI7BLIJc7HQzBpvr5sqIaoloyO4lfUBhnRY nw5qEyTU3IK70V/Y4g/zsQ7y9YQ4rgH39bWC4XlAo/QsoSqKUTUNxvrhrERAeX33q4oG UQ2Vvl9wf3IgCLUnNRdBoSCq2HUVlg1Uj9bwrhfP2Vkzoi9KNq9qshK/yHg77SEAHRB/ 3uAhW+OMcKo9rITWv04qm3sa/9o8DW4p1iz8k5Ife2p6PL0nO07alYsosg9dmC4Fttbs NnT1y2yX5nrG2qSZJVkX2yC2jFpGgv/N0DIXjwcgM6Il0XFDEZ+bNBdLwWyzJipq9qDs tQTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=ikIbvIVZc9eqSucgMZ0p7NFEFKoNahKLsiVkLjE1kiU=; b=v14r54CrA3o6L+Uh2kTNV07P7M74Vj2CqKYSCaQ1CmGrIsEHaH1aQy2Feonm4seLmx 6wICxIwa7zA1nvgKSVkwi5rmkfsqF3bCR4Loh8031wvhithi95zcvQ+Z0wbgqNsDfK7N W0J62YlHa0I2KViYteIqlMQizC/gmJ8qrd67s0Vpxv+bf3bvVRdEWC2Wcp9JAC+zBGLa dmye8yyoCJP96RkDq2k4UF2m/3Fvgdm+MQEntZQbMhqFtIN+GoH01mQ9/Wg+8Z/WGeFq n4Ozhj777Cui69HUPpmN1ZGb0BCiGA1PlNF/hQaK4ObYYEnWxRpTZqB+cfJzxBifQlvu RtQw== X-Gm-Message-State: ACgBeo2bUnZnZ+BKfov/cMnKnwX9eNA1Epwk2pds33gKuOzbooWq+Vok q6zf+fcYvv2DheTkhEOiRChW6Ra/fvjWvQ== X-Received: by 2002:a5d:47a5:0:b0:225:5f81:17fd with SMTP id 5-20020a5d47a5000000b002255f8117fdmr381622wrb.280.1661534490169; Fri, 26 Aug 2022 10:21:30 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id q28-20020a056000137c00b002205cbc1c74sm225985wrz.101.2022.08.26.10.21.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:21:29 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C371F1FFB8; Fri, 26 Aug 2022 18:21:28 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 01/25] tests/avocado: split the AST2x00Machine classes Date: Fri, 26 Aug 2022 18:21:04 +0100 Message-Id: <20220826172128.353798-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The SDK tests take a lot longer to run and hence need a longer timeout. As they run well over the 60 second maximum for CI lets also disable them for CI as well. I suspect they also suffer from the inability to detect the login prompt due to no newlines being processed. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- tests/avocado/machine_aspeed.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/avocado/machine_aspeed.py b/tests/avocado/machine_aspeed.py index 65d38f4efa..0f64eb636c 100644 --- a/tests/avocado/machine_aspeed.py +++ b/tests/avocado/machine_aspeed.py @@ -6,12 +6,14 @@ # later. See the COPYING file in the top-level directory. import time +import os from avocado_qemu import QemuSystemTest from avocado_qemu import wait_for_console_pattern from avocado_qemu import exec_command from avocado_qemu import exec_command_and_wait_for_pattern from avocado.utils import archive +from avocado import skipIf class AST1030Machine(QemuSystemTest): @@ -176,6 +178,20 @@ def test_arm_ast2600_evb_builroot(self): self.do_test_arm_aspeed_buidroot_poweroff() +class AST2x00MachineSDK(QemuSystemTest): + + # FIXME: Although these tests boot a whole distro they are still + # slower than comparable machine models. There may be some + # optimisations which bring down the runtime. In the meantime they + # have generous timeouts and are disable for CI which aims for all + # tests to run in less than 60 seconds. + timeout = 240 + + def wait_for_console_pattern(self, success_message, vm=None): + wait_for_console_pattern(self, success_message, + failure_message='Kernel panic - not syncing', + vm=vm) + def do_test_arm_aspeed_sdk_start(self, image, cpu_id): self.vm.set_console() self.vm.add_args('-drive', 'file=' + image + ',if=mtd,format=raw', @@ -187,6 +203,7 @@ def do_test_arm_aspeed_sdk_start(self, image, cpu_id): self.wait_for_console_pattern('Starting kernel ...') self.wait_for_console_pattern('Booting Linux on physical CPU ' + cpu_id) + @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') def test_arm_ast2500_evb_sdk(self): """ :avocado: tags=arch:arm @@ -204,6 +221,7 @@ def test_arm_ast2500_evb_sdk(self): self.workdir + '/ast2500-default/image-bmc', '0x0') self.wait_for_console_pattern('ast2500-default login:') + @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') def test_arm_ast2600_evb_sdk(self): """ :avocado: tags=arch:arm From patchwork Fri Aug 26 17:21:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600288 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp554263mae; Fri, 26 Aug 2022 10:22:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR5G/9d9PipVWpBdoQDNKTlUT/j70YukAK8989FUI5CMUp5t3QRV9Yta86IbV8IFYOvutX7z X-Received: by 2002:ac8:7d08:0:b0:344:6117:7dab with SMTP id g8-20020ac87d08000000b0034461177dabmr663516qtb.99.1661534577858; Fri, 26 Aug 2022 10:22:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661534577; cv=none; d=google.com; s=arc-20160816; b=axoGysfke3VlMyE2VuilEFtcGfLhPRhjHiw/T9RJdk6ZMbq9S4dyiucy71mQwB+efD +TIO9V3kNYMRNKb2xzhVrztN+dMW3brkGdxdM6XrNmqd2/8LfR+VcuYRz/VeQ9nruWwj pPQjRvC84J2JKJVulZPQ0CdtBMrSCWY0jAve4HTZp+a4fxl+pOBpUrIU9Bbnjt+Nflw/ f4iIyGkMJ3EWlmcQ6Oo+HtDMJPMP90y6n/mt5X3DY7wlj1k7LPXgjsJF8941d8CvlMN/ sApH11b3E8epSsq6HOiHEl4JqTv4j2GUagaxpR5hp37WanZjnWWVHcBO0r0nlX2U4qeq a3QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=uHWW49R19jP2Yvs/UREQQpbclbuebuQgL5x7aK3Czsc=; b=foq+KGOfhVuvUiuDBw0bl65u7DeEYuS1frBZYnBdKWKtMZodFFUnC56XRJO2akTatM dzNqr3SxarAh7heV2ijHb6coTm2e2cTatIlqRcy9GH7EAn4wR9a/mXqrwxIr1LMRQhoe 1LfngZS+BIHKx85fm0ivDdkKw9x0nQ2dIUYC1wjWgO2ZnL1H89ZJyqChHg2ojEfGI5Cb xHndHEkZbRACDbDhU7KGsledAtOOaE8FzcKW/a2uikulmQkJTUIZ7IxrxK8Wc7PAOlTg tjzZz4VbtNbTeW/FSMY3tv13wd+gqNqPEOgbL2iJ17BhWAvWVu7VakLQmpRc5xBGZM4A IUSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="zaYxy/gI"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h4-20020a05620a400400b006a6d365e9a9si100980qko.715.2022.08.26.10.22.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:22:57 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="zaYxy/gI"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:57250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRd2l-0004Gj-2q for patch@linaro.org; Fri, 26 Aug 2022 13:22:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd1S-0004Fe-Qy for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:35 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:55021) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd1Q-0002K2-FZ for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:34 -0400 Received: by mail-wm1-x335.google.com with SMTP id s23so1214082wmj.4 for ; Fri, 26 Aug 2022 10:21:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=uHWW49R19jP2Yvs/UREQQpbclbuebuQgL5x7aK3Czsc=; b=zaYxy/gI2GOKSlK+zWUv2rVfii+HUPmpdaf6INvM78A2CfDroj1p1BOz98OeucWNOE NWLPoM9U/4BhrzIMe3Z/iyyLf9gXevD5GYUqFeFBEdB5TfOCZi6RdTlvOizkZE24IWOQ LgBygHk1SIzvnAaxmois/ARS5Dr8IbFqNRdiRP6jBFYl/AdS801ZOrD19eFIkZUWVbSK xa8kSglTkg3Jin7Z1nPQnTtLpTm5R2PsKQeOnYdUxpbnUziDg2+tGa/evyyOa8UukteP +CqW3XeBbb2EphuVCJm8M/dIN7Pp3LPxPAxsOy5AXtEUdqOZib59hVq89m9bheAO9vIJ VrSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=uHWW49R19jP2Yvs/UREQQpbclbuebuQgL5x7aK3Czsc=; b=JJ+OgUacx3S4gu5YNA1Je18ipKAc665STGbrz1vHKYYBS3SWTr2bTCowr6Xb0GxFGM y1apIWqvGhgP+ApGpMzi0wzL6shMfBTmdOouCb/hJABMrJRfAwAsNOrw0GPQukR6Dapm zoHb+9R98sjdTZGhh8xPJ86A+IJYd4/xzH0Uj1pJdadUZ7dJ2D6DilJzrciTPLymDio0 KVM7uD97yGYlQ9uegCXnnlLZP+4UHq0ZQlgl+mGu5VUNKSwgAtpUR6HXYOKRKy7T0++C VeKGxmC2slvC7wADMDL9Zcw+5nWJ6QbIbKZSt7lsXV7WxU73KwhHTd5RnZrqPZ/FPGLu dBFA== X-Gm-Message-State: ACgBeo3Z7jlEPdqxwhz63E3l1JUhPfkKvxpcYpbQtn7n+67+Cr71ckU4 HvGTOHBNYaY/OWZxZ0YWu+M+qQ== X-Received: by 2002:a05:600c:4f01:b0:3a6:12a6:8d7 with SMTP id l1-20020a05600c4f0100b003a612a608d7mr350702wmq.107.1661534491073; Fri, 26 Aug 2022 10:21:31 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id bi26-20020a05600c3d9a00b003a5ea1cc63csm151586wmb.39.2022.08.26.10.21.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:21:29 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D98B21FFBA; Fri, 26 Aug 2022 18:21:28 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 02/25] tests/avocado: reduce the default timeout to 120s Date: Fri, 26 Aug 2022 18:21:05 +0100 Message-Id: <20220826172128.353798-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We should be aiming to keep our tests under 2 minutes so lets reduce the default timeout to that. Tests that we know take longer should explicitly set a longer timeout. Signed-off-by: Alex Bennée --- tests/avocado/avocado_qemu/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/avocado/avocado_qemu/__init__.py b/tests/avocado/avocado_qemu/__init__.py index 9d17a287cf..0efd2bd212 100644 --- a/tests/avocado/avocado_qemu/__init__.py +++ b/tests/avocado/avocado_qemu/__init__.py @@ -229,7 +229,7 @@ def exec_command_and_wait_for_pattern(test, command, class QemuBaseTest(avocado.Test): # default timeout for all tests, can be overridden - timeout = 900 + timeout = 120 def _get_unique_tag_val(self, tag_name): """ From patchwork Fri Aug 26 17:21:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600287 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp554233mae; Fri, 26 Aug 2022 10:22:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR5vhYchYP898xOPwqU0ZZpgDWvVmywPIy0NI0uGJ1yGXRZnorN+LngXyt6qqUfX2RMz6bxS X-Received: by 2002:ad4:5c6c:0:b0:496:c323:6f87 with SMTP id i12-20020ad45c6c000000b00496c3236f87mr621030qvh.62.1661534574933; Fri, 26 Aug 2022 10:22:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661534574; cv=none; d=google.com; s=arc-20160816; b=J922xSB3o0AAX6EOHKhgtL1tiFYzG6gTCqHIxgfr1ysLlYGykvH49O416APcETw8YF RWA+5fvFQgeP+Sjeghq0Uhkj+1sPUUXcAz/LMbXewIhWuj2B3YcP6uyvK447sIn7fmnF bnD4Z24CidXTW5vTmqrNeisJtJbaNAYK1rv9UM+oWwPWtU+TA5pqrl9fVyX6QXzjzS/y O7xsh/UYKBqRWAgoLL7zXHyA1/10Qc+ICA8yE5MiLopdpCoTP2oDFFcBg/RS1YjcmY4F Cq7/pgQ9s5pMRjjTobryhzRPxOmi3+ApYqvTsm8G4ttzEjsnuypbAi+JKvLJWnm+ujSP rNPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=vrxLvc9/OG1xl6UAcg3RkOGNLBO190WLVRXVgXWeqiE=; b=VfpcfbHkXcoRwCanmrWJxz/BCjh1wC1bMmmvWb0Nco4wj6sCDsQrQl17d7/2AMya/4 502GnYOdA5Grov3mxMA/0yt/kB6hKaWQ+FE9/YwdBAXdcAImftVHY/2Hd/SswNCU0q0B r6KjPOl4HIt4X3/3kPS6CUHR1lgdknsT2wisnvR/WF/BuXm8fcCEz016dqGDY/I0/zaI xQ141g9h461C6JyHuKGKJEYXN1hn1ANpQvOu6VU1V3exq0OlTnpifh5p9MIejICzRonZ i0NI+TAV05nxMn7SxqRlKkLV5pyKl6xBAEVmIQ0D99miajwFln85ADr9CsDPtMOb6oZm JPXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HyuMyt7W; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id r14-20020ad4576e000000b00496df47caf8si107690qvx.310.2022.08.26.10.22.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:22:54 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HyuMyt7W; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:51280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRd2k-0004IZ-DF for patch@linaro.org; Fri, 26 Aug 2022 13:22:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd1T-0004Fg-Oq for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:36 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:55972) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd1R-0002KA-EE for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:35 -0400 Received: by mail-wm1-x335.google.com with SMTP id d5so1212705wms.5 for ; Fri, 26 Aug 2022 10:21:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=vrxLvc9/OG1xl6UAcg3RkOGNLBO190WLVRXVgXWeqiE=; b=HyuMyt7WnIF3R7sLMlfOByKMvrRsRjD6ccwXrHJsCDvoj4x0wvJl77pu1G53tCytYQ 2YczzqkbiCfilQyNnAk1zkKxBtUt/eiQd1HwMMBe+Vyvz8Tog2jDOmxMbtF+l+Sdr+a6 zYdgHxHLf857hh22yWEuUAQBXyHjomiKJAfO/3oR9y7E5769Kb0Gd0E5anBMmv9KjL94 IyHaOmblhpx6rC7T0bKyOuAOATDjCmc69uFdB8tyER33UaIlHm/QM53mwMoH3sTtTS0o nbAtgmP+2fq5CgzKei8G6XQRZe1m4ciOLEbLY/dn3tI1b23/hgtXwUpa2i3LUfQ59jMT eWBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=vrxLvc9/OG1xl6UAcg3RkOGNLBO190WLVRXVgXWeqiE=; b=3iPDl0fvK38ZOeHX5iA28QoLRD8d3Hu4BKiOEE4ZjbGuTC5of+SxtpoqGoNCxt8BQU Ms7oSC9ZN7mFFKZMJUBxeu9KJRYVgZRzuqtZXjFqgsqUtSduntpvf9fxhs6dsKFA7FZY yf+HVikkX7uaZPod+kpCg+zH37tqGD+aZvo8zPF+XD8YX/ToMOVzHYDdsAMra3hNwxgm MWr3jOk3MetPl/1F9mqCXacidSVQQsp4H4A+kGrhfgn/qzX87ebn5O+u+v+BERMp7Rnb uwv5Bq5b0llgp4UnkhQO/yRlXb3SNLpaT82SZhIbNhf5g7DvirBkMR4kryrTkZAZx55j zVhw== X-Gm-Message-State: ACgBeo0EMW+0iHWRanORgh8OEoCtvat/GKDUYOyvOHHzGJdB7EShfWiE jo5bjI0LCQe/WpowDE6qTrzyqw== X-Received: by 2002:a05:600c:600c:b0:3a5:abdc:8ce4 with SMTP id az12-20020a05600c600c00b003a5abdc8ce4mr383609wmb.144.1661534492056; Fri, 26 Aug 2022 10:21:32 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id t8-20020adfdc08000000b002258413c310sm237093wri.88.2022.08.26.10.21.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:21:30 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E9E361FFBB; Fri, 26 Aug 2022 18:21:28 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 03/25] tests/docker: update and flatten debian-alpha-cross Date: Fri, 26 Aug 2022 18:21:06 +0100 Message-Id: <20220826172128.353798-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Update to the latest stable Debian. While we are at it flatten into a single dockerfile. We really don't need the rest of the stuff from the QEMU base image just to compile test images. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- .gitlab-ci.d/container-cross.yml | 1 - tests/docker/Makefile.include | 1 - tests/docker/dockerfiles/debian-alpha-cross.docker | 12 +++++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml index 505b267542..802e332205 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -1,7 +1,6 @@ alpha-debian-cross-container: extends: .container_job_template stage: containers - needs: ['amd64-debian10-container'] variables: NAME: debian-alpha-cross diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 9a45e8890b..c565aa5e7b 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -88,7 +88,6 @@ DOCKER_PARTIAL_IMAGES += debian-s390x-cross DOCKER_PARTIAL_IMAGES += fedora endif -docker-image-debian-alpha-cross: docker-image-debian10 docker-image-debian-hppa-cross: docker-image-debian10 docker-image-debian-m68k-cross: docker-image-debian10 docker-image-debian-mips-cross: docker-image-debian10 diff --git a/tests/docker/dockerfiles/debian-alpha-cross.docker b/tests/docker/dockerfiles/debian-alpha-cross.docker index 10fe30df0d..4eeb43c78a 100644 --- a/tests/docker/dockerfiles/debian-alpha-cross.docker +++ b/tests/docker/dockerfiles/debian-alpha-cross.docker @@ -1,12 +1,14 @@ # # Docker cross-compiler target # -# This docker target builds on the debian Buster base image. +# This docker target builds on the Debian Bullseye base image. # -FROM qemu/debian10 +FROM docker.io/library/debian:11-slim -RUN apt update && \ - DEBIAN_FRONTEND=noninteractive eatmydata \ - apt install -y --no-install-recommends \ +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-alpha-linux-gnu \ libc6.1-dev-alpha-cross From patchwork Fri Aug 26 17:21:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600289 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp555413mae; Fri, 26 Aug 2022 10:24:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR6Axsu3YjcL82ScRSoechpRQLgfRITwOQ2H8wX9llzNO5ajaIf4r+xNusXJGonNmOMbTKCi X-Received: by 2002:ac8:5d8d:0:b0:344:a747:ac00 with SMTP id d13-20020ac85d8d000000b00344a747ac00mr647131qtx.205.1661534692744; Fri, 26 Aug 2022 10:24:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661534692; cv=none; d=google.com; s=arc-20160816; b=EsY1OCh58AHto8MdZ+dN7tfzJN7aofdNqH0Kig5RUWIFXNfayBgH+4p5zgoy46aL/n 0r3WdeLC8caySmQLErX6N+YANpzyO5X2NchdtDwSyVCf3m/rW6G3xwsBGJIZAnsEcNfr ZiGgYQv2SAJ9/mQ5Gq0vN1NF5xEOBLE1VlNyL+FtPqSuR9s7rdy9wBxdONYzGKYxqKjR MUKnKlrvTYQXzyeuZcqxZq+3MuKLsy8GkgADq9pnE6l1ECQJK2KvHnxXzd9uy5C2OVf+ rwlZpzGHNBRq1w/NIMmj2VxRdT69Ae+MvZClriQrFkqSjS1N8FpH3zb6I4n2P//CtsQD ZLqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ZCmi5LDlNj/1vUtUC0UiIqz5kj0lGC3xkVZ8TrZXZ8w=; b=RUSHv0RLA3gW917ui3wnal7BRcuDbRdQpixNisDizsrh/McdN8vjk0l3ouk/2pKBhX TXQXWdHhj/J7MP/HxVcl1diwrWKF897QdvBpY3/jAHTCQlRQLF0MuO9UunqirLA3GgDW D7me2Q3wrV6WrpWAn3yIusHoyaA/goleA+aTEIVAQ9i7GY2HUjycbXnVJlpPxQp04azG xFhLRs4qiK1t8Ea73moFqi2uiadN5IaSw0yt5oVktLmqRI7ykdvoaivvMR5VervwZ1lG 0Xq4gCJkvJcD0cQ+JxYP2x0ngsbDpivawQh37ZNUjWp0swVwvs2Vw9WWxaan9UL/IYDi Q8fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qN+VJD98; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s187-20020a372cc4000000b006bb2cc58c52si116052qkh.140.2022.08.26.10.24.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:24:52 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qN+VJD98; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:50884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRd4e-0000Hf-6f for patch@linaro.org; Fri, 26 Aug 2022 13:24:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd1W-0004Gl-Sv for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:40 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:37492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd1R-0002Ju-LP for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:38 -0400 Received: by mail-wr1-x42f.google.com with SMTP id n17so2563793wrm.4 for ; Fri, 26 Aug 2022 10:21:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=ZCmi5LDlNj/1vUtUC0UiIqz5kj0lGC3xkVZ8TrZXZ8w=; b=qN+VJD982D2KugmCF0G/5YNXv/TXRsVBOcMTUl81gDzNHskHB62nm1r8Jz+hDkjMn7 /w02KGCfL2dPsrZzaxIM3vra2FuOumkVSJbxJDKQGu58LWgMjDUI7StfLdxEi/G+PQjz 0P50wOuLTPdwOMsVAxGfsMCNv48jfBWs2KSM0ZBNXqR7mnDw2K0JYdi1RzoZMrVhZW6o Rqk14X70KkSA56gw40OqoUmfAgE22Id88xqfUdJK3JukUsZAwa/ZpSvvZxeUPqwvTC7x vCv+M90/Hme1zFJCdgZK/T21SnKHoPpbi+eNmRmp0FxIWk/jSUyN7Hdb4AnlhTxHBXre OlUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=ZCmi5LDlNj/1vUtUC0UiIqz5kj0lGC3xkVZ8TrZXZ8w=; b=y2CcWcoOpAxtqEv0Q7hTpasnJiMaDlpfsrTJpdIasvgU5TLEL9x7xCD5YtIrm2rDQP 036FYqoQhaIK7N8WNKCRNk3p6A7b3mO85XFXp4m5fQLdIkWokF2Buw5lHLEFNo/+eC5c badziO/MObfMlSj+Bl8e+mF2/Bd/WM17/nnvYgEuB9Bs8GO3i7EwNehIp+9kMgZwfRqx 0COCC2YvwVQ/PG1kmPcl0iFfzxwQIhqSDV8HlyLsy2XNpKzDLeXVkyMDs+QceoKgTcVo /+TOno1X2UJVGsKdsSNaT01NhQm/hCJ2XEvlD9yPVlsO45zJ9OUhGBZwnrTqns1zW+p1 t3Gw== X-Gm-Message-State: ACgBeo1ifL7T6BqhRozRLeoVDgFRTTnqhWYEFbAG/BTbbDyUYrGfL/IQ z+LER+cV5JbuMNkuJJhpq5YlaA== X-Received: by 2002:a05:6000:1561:b0:225:337b:454b with SMTP id 1-20020a056000156100b00225337b454bmr358371wrz.660.1661534492970; Fri, 26 Aug 2022 10:21:32 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id p8-20020a05600c358800b003a500b612fcsm303455wmq.12.2022.08.26.10.21.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:21:30 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 104031FFBC; Fri, 26 Aug 2022 18:21:29 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 04/25] tests/docker: update and flatten debian-hppa-cross Date: Fri, 26 Aug 2022 18:21:07 +0100 Message-Id: <20220826172128.353798-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Update to the latest stable Debian. While we are at it flatten into a single dockerfile. We really don't need the rest of the stuff from the QEMU base image just to compile test images. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- .gitlab-ci.d/container-cross.yml | 1 - tests/docker/Makefile.include | 1 - tests/docker/dockerfiles/debian-hppa-cross.docker | 12 +++++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml index 802e332205..6c1d765463 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -65,7 +65,6 @@ hexagon-cross-container: hppa-debian-cross-container: extends: .container_job_template stage: containers - needs: ['amd64-debian10-container'] variables: NAME: debian-hppa-cross diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index c565aa5e7b..e39597d35c 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -88,7 +88,6 @@ DOCKER_PARTIAL_IMAGES += debian-s390x-cross DOCKER_PARTIAL_IMAGES += fedora endif -docker-image-debian-hppa-cross: docker-image-debian10 docker-image-debian-m68k-cross: docker-image-debian10 docker-image-debian-mips-cross: docker-image-debian10 docker-image-debian-mips64-cross: docker-image-debian10 diff --git a/tests/docker/dockerfiles/debian-hppa-cross.docker b/tests/docker/dockerfiles/debian-hppa-cross.docker index 3d6c65a3ef..af1c8403d8 100644 --- a/tests/docker/dockerfiles/debian-hppa-cross.docker +++ b/tests/docker/dockerfiles/debian-hppa-cross.docker @@ -1,12 +1,14 @@ # # Docker cross-compiler target # -# This docker target builds on the debian Buster base image. +# This docker target builds on the Debian Bullseye base image. # -FROM qemu/debian10 +FROM docker.io/library/debian:11-slim -RUN apt update && \ - DEBIAN_FRONTEND=noninteractive eatmydata \ - apt install -y --no-install-recommends \ +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-hppa-linux-gnu \ libc6-dev-hppa-cross From patchwork Fri Aug 26 17:21:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600293 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp557067mae; Fri, 26 Aug 2022 10:28:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR4husRxevcfq8Kt9xsQsyxO19bEf69SaL/bH8xKVQtsZld2a8vrAclS656v0qoSlGEhUW7R X-Received: by 2002:a37:b504:0:b0:6bb:b3fa:7ebe with SMTP id e4-20020a37b504000000b006bbb3fa7ebemr582177qkf.398.1661534889727; Fri, 26 Aug 2022 10:28:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661534889; cv=none; d=google.com; s=arc-20160816; b=KQ2pzqSSOkpc6dSX24SaTZczP0P8K94Pf+yK+O6+Ml0ExhN/Qb2ev6sys3w9Mst7K5 7JXGqzDkhRrB350ov3lZLVM+LbxFiZxGsmAqMSdtctG9yZ2OLFX5NjNXdJZUEk+ob7Zj u5p2bazbj+Mq4MjBuw5/aetI1d0NktiGx2w+XjUp4ghp3gH4tc7VQEhhOrhCfaZh1Nrx Ulz+jwD44NXuoXfkHX/0YPnvoI4NancCHSIVo1o+hVkmRpbcTGTFbu0/9wGW6iCxLdy8 lXWE9wTzvhsqy1gJXLJmD0WX5v4ANZ+23oeSIyAA5F+m7dianlkvW0CemUNFhCmVMG0P qVSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=hmGfRSUxoJgZ2uif1HVammf0I/lXxZx36DrIdSpRNGs=; b=Jq+5ry6u7Z8f6y/odLuh8AO3UJF1lwbv80sHEcAI2qceEVRAYiIrQZ+IbXeSumgiFi Xr0UKyqEcC4bZE6va4Tab8QIgyLrcBXV1NkhTXTy3O7hr80JX7Vc1ZHDVXNkQMHDnBgJ eZQXl7zq3SeK11p2rdMwZHEV9eJ9zMLtJ+eJBO2z0kmcq1AZo483Wx5QI/kBuqQ5NKWs mOh3lgRFIp7joX/rSV380LVIkGCp2g2P8PBHKU7LQ+4hTL2uKjNxFaeXNg9nHvAliQdZ tPxAKjK9pPQY+GjkcHW2lBkob7yTl7CQCluJmGagYhfu5AtdZZk1uo069W57UipF6IXy Y/9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="XO0/vjdY"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x20-20020a05620a449400b006b5fc817571si114180qkp.658.2022.08.26.10.28.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:28:09 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="XO0/vjdY"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:35538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRd7p-0007Ly-Ag for patch@linaro.org; Fri, 26 Aug 2022 13:28:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd1W-0004Gf-3E for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:38 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:45670) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd1U-0002Kl-CA for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:37 -0400 Received: by mail-wm1-x32f.google.com with SMTP id bd26-20020a05600c1f1a00b003a5e82a6474so1187232wmb.4 for ; Fri, 26 Aug 2022 10:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=hmGfRSUxoJgZ2uif1HVammf0I/lXxZx36DrIdSpRNGs=; b=XO0/vjdYT9G/a6W+CVkhPj3vlu7TrHZxJ+8KJc8EFoX/sJxqGeRW5DM+EIjw/9Kdcq UPpFeyEv3P+cnEjkuENM7gGOGyeUkPWNgkoTIdqQh6R5NkSLt9KqSIcTapZ3OAhV0q5L 66cEk4dMrgikrQ7Bde2LLi+Ty+8SFFQY6t/oDlTEX9XOgxnSDScGqco4FubjwsmABTeB k8SkO7Nn8g3UmHakyHW03utOFe8YSB2YrLTvFyFCwhPuftLSxx63323B4mEWF9lNAlmN OVdW6aJI86xWM0n6RVHEz/n6FX92N/cdumCVHoWkWShxMvPG3ZmdkhBNXhvmBKrltfoY /89A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=hmGfRSUxoJgZ2uif1HVammf0I/lXxZx36DrIdSpRNGs=; b=BJUCVnFr/J4f4lDL5lkEMWCdiol8QOS5nA230DwpNTiPR0wp4bzdd3XqaEFq01Ziwa O+fFwRGACKLiPt8uGHCE40vzQPFQiKFjCpCfQPvh16JOztSAsKL9kprK7A/6BWNIG9yS prmCu2EXRmMuhCzzwdtu3WGFdFQCk8MLA1muY2/mydY8ANo9wmZcXlxCv77+n+89n3Vp 9f/6zjnLTI7uOLcgn4jMACcrNAin5Qtm6xi2odLK+D+ejIINSgXIhVxYz5b4+2iDPHsu QTTv5+cRQ7Me6ZpXHWLMfgMn6yc7rgTM4GqWtaNb8b4CG/pxqDvvXrzPQy/rALn8X4sg zzow== X-Gm-Message-State: ACgBeo1ILSIy9n98I+uuCWViZIAJSiF5K3NhKu0M5oyU3BQtb8Yad6uv pzL0Rm3G0zC+WhRyP8IXqn8O+f/xybicbA== X-Received: by 2002:a05:600c:198e:b0:3a5:d4a2:8896 with SMTP id t14-20020a05600c198e00b003a5d4a28896mr372348wmq.140.1661534494887; Fri, 26 Aug 2022 10:21:34 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id k33-20020a05600c1ca100b003a38606385esm19170383wms.3.2022.08.26.10.21.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:21:31 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 2285D1FFBD; Fri, 26 Aug 2022 18:21:29 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 05/25] tests/docker: update and flatten debian-m68k-cross Date: Fri, 26 Aug 2022 18:21:08 +0100 Message-Id: <20220826172128.353798-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Update to the latest stable Debian. While we are at it flatten into a single dockerfile. We really don't need the rest of the stuff from the QEMU base image just to compile test images. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- .gitlab-ci.d/container-cross.yml | 1 - tests/docker/Makefile.include | 1 - tests/docker/dockerfiles/debian-m68k-cross.docker | 12 +++++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml index 6c1d765463..15a5270f6d 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -71,7 +71,6 @@ hppa-debian-cross-container: m68k-debian-cross-container: extends: .container_job_template stage: containers - needs: ['amd64-debian10-container'] variables: NAME: debian-m68k-cross diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index e39597d35c..95790e974e 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -88,7 +88,6 @@ DOCKER_PARTIAL_IMAGES += debian-s390x-cross DOCKER_PARTIAL_IMAGES += fedora endif -docker-image-debian-m68k-cross: docker-image-debian10 docker-image-debian-mips-cross: docker-image-debian10 docker-image-debian-mips64-cross: docker-image-debian10 docker-image-debian-sh4-cross: docker-image-debian10 diff --git a/tests/docker/dockerfiles/debian-m68k-cross.docker b/tests/docker/dockerfiles/debian-m68k-cross.docker index fcb10e3534..dded71c5d2 100644 --- a/tests/docker/dockerfiles/debian-m68k-cross.docker +++ b/tests/docker/dockerfiles/debian-m68k-cross.docker @@ -1,12 +1,14 @@ # # Docker cross-compiler target # -# This docker target builds on the debian Buster base image. +# This docker target builds on the Debian Bullseye base image. # -FROM qemu/debian10 +FROM docker.io/library/debian:11-slim -RUN apt update && \ - DEBIAN_FRONTEND=noninteractive eatmydata \ - apt install -y --no-install-recommends \ +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-m68k-linux-gnu \ libc6-dev-m68k-cross From patchwork Fri Aug 26 17:21:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600290 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp555668mae; Fri, 26 Aug 2022 10:25:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR7G0tPFbuTHg5JR3BGWTLi+tH53ZlEfC/ds74M3L/EbmZCG4Y8J0S71rp9Rg8mUpTjerK9W X-Received: by 2002:ad4:55c1:0:b0:496:be28:7a85 with SMTP id bt1-20020ad455c1000000b00496be287a85mr578693qvb.9.1661534719185; Fri, 26 Aug 2022 10:25:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661534719; cv=none; d=google.com; s=arc-20160816; b=haM4PFTnt8e/3EWFmijjbdoezPOYWngiDMlRQuU6uyIwSvNdtGcdzlO7nb8Ad5/IcM Yv+fQqXdcNfQHK0o8P3L2tEFScF1JaV5XMhf9x4NS6b4LqxXN6AV1czmNS3RboQrXQfL 5eLOdIGec/yNBcur+IAeItwSVyN6gmpo9tNTl0l3+IWn9CMASf4cifZ79Te5hKWlAsHy YwKCVUptmzkub+ZxqNe3WAVMBZQPcqPYE2I1qrAxsWwkvjccjMnwd8DIfDU4pEt2Jp8U hC1w7ZBO48NjOaHVBKvAnyODpR2vMNWxufMeU/Hm5SR8o8rehV3Z1zim/B5akfunovAK tYJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=2yNc8usUqo6Q33AsamNux4gFM4GyK/SLmXIzDRoATm8=; b=aVuSgjT7VOfuQ5kyyEbQP5HEQSwLrZQI6YneBBjRFLFpeRA1Hd/P55g60z9WfAlZkM 3aryMqSH8fogTFZZsynUKk0YOaQwHe9A+oKk4r0cpRS1gJSVd1z4rs+bMG0RSz0yU80P peQRlTHdvc/nTcB4jpIzTRCZ+XWVwWab1c5rjVXy1QPBY+AusFS6yIlJbyYkzZctgg2u MNFHzcxpWDZoa8LwexVg/6nmgYTrKOLLtlsoMupzgTE362nCEDVsVTltglvrIY9Ejm9K cw9L4ILM9GP1u6O1kM6QTUv+3cJEnCjyBrl31iYF2PWCqcE5CoiGLnjzAJgf1NBJt1rd J6Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DawtFSk8; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id fb6-20020a05622a480600b0031ef6d577cdsi226430qtb.190.2022.08.26.10.25.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:25:19 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DawtFSk8; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:59546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRd54-0001eF-Od for patch@linaro.org; Fri, 26 Aug 2022 13:25:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd1W-0004Gg-4P for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:38 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:45827) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd1U-0002KV-Ct for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:37 -0400 Received: by mail-wr1-x435.google.com with SMTP id bq11so2536362wrb.12 for ; Fri, 26 Aug 2022 10:21:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=2yNc8usUqo6Q33AsamNux4gFM4GyK/SLmXIzDRoATm8=; b=DawtFSk8iZqOkQIjcOg6JxJieHoWOu2AkXfkq3RTvOYOLFcFXhWjsBd+qEdHrrlgbN FxSxHoEvm8ZSMFO3vcxJP4t2JI7BdkPeJF7H4UE7/fxoGO1vUl43zWol/Ij0JvNrH0MO bUGA0I6QLcyWDOz0+1HuuFmOXyK3B+1SCQCJZDNorXTXlS55tSj3eF7yWaAIMceUIyBZ +jkSVZ/OjTW/E6/kqZd94FaX5lA9ybz9F2HuzEmY2xx86Wk7m33yI3wfQT5J8KqDzXaw AdlATQ0w3c0kQmIB1mIv3ikwOTjFt6p/GEpiOln+H5nROERjo1RoTqbJdYio7EUpgnrw Mgwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=2yNc8usUqo6Q33AsamNux4gFM4GyK/SLmXIzDRoATm8=; b=vJTjfhdBPpRtbXGztrm8FGijYv1J8a8ErGBHdeEoa9ixeTW15zAXp0U+wmk99YTB9S g59wsi70+mvfMAEVMuHKKQnPMSFoqtw8ryKya2Oz8zXOKI3IGZTwZOOKfTBl/h0NIsPB +eQu8ghKNHOzXcSvtPfo9JYORr/9gXkoVpU/vaGfij6P7+omWnBVYyyjYrbJKkDGLEIL VVP36uvWzkNyG5GjtPCNfvD1WhlEMkjg78TLyahSOdUzV4nJIuCUp1E/KAzdd4pQjeqo SRHWaJUPr+o0Dx+i5BosgyQYdd7aaXb6vhBddYU1zdQ0to2Yk5/lb8RxC69pa/ueC4ZX Aweg== X-Gm-Message-State: ACgBeo1Rh+HRCtkCXgPyabgZXgi4PQQrZmljp5N2vcWzrF+Cy5SorIAS sXu5l0I+JklGoZjEyZ9VQl4D0g== X-Received: by 2002:a05:6000:18a2:b0:221:7db8:de02 with SMTP id b2-20020a05600018a200b002217db8de02mr396814wri.132.1661534493948; Fri, 26 Aug 2022 10:21:33 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id u6-20020a5d4346000000b0020fff0ea0a3sm213123wrr.116.2022.08.26.10.21.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:21:31 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 3E6811FFBE; Fri, 26 Aug 2022 18:21:29 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 06/25] tests/docker: update and flatten debian-mips64-cross Date: Fri, 26 Aug 2022 18:21:09 +0100 Message-Id: <20220826172128.353798-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Update to the latest stable Debian. While we are at it flatten into a single dockerfile. We really don't need the rest of the stuff from the QEMU base image just to compile test images. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- .gitlab-ci.d/container-cross.yml | 1 - tests/docker/Makefile.include | 1 - tests/docker/dockerfiles/debian-mips64-cross.docker | 12 +++++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml index 15a5270f6d..a3bfa483bf 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -77,7 +77,6 @@ m68k-debian-cross-container: mips64-debian-cross-container: extends: .container_job_template stage: containers - needs: ['amd64-debian10-container'] variables: NAME: debian-mips64-cross diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 95790e974e..6c2ee3b175 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -89,7 +89,6 @@ DOCKER_PARTIAL_IMAGES += fedora endif docker-image-debian-mips-cross: docker-image-debian10 -docker-image-debian-mips64-cross: docker-image-debian10 docker-image-debian-sh4-cross: docker-image-debian10 docker-image-debian-sparc64-cross: docker-image-debian10 diff --git a/tests/docker/dockerfiles/debian-mips64-cross.docker b/tests/docker/dockerfiles/debian-mips64-cross.docker index 09c2ba584e..afcff9726f 100644 --- a/tests/docker/dockerfiles/debian-mips64-cross.docker +++ b/tests/docker/dockerfiles/debian-mips64-cross.docker @@ -1,12 +1,14 @@ # # Docker cross-compiler target # -# This docker target builds on the debian Buster base image. +# This docker target builds on the Debian Bullseye base image. # -FROM qemu/debian10 +FROM docker.io/library/debian:11-slim -RUN apt update && \ - DEBIAN_FRONTEND=noninteractive eatmydata \ - apt install -y --no-install-recommends \ +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-mips64-linux-gnuabi64 \ libc6-dev-mips64-cross From patchwork Fri Aug 26 17:21:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600292 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp555766mae; Fri, 26 Aug 2022 10:25:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR6NB4kwgWmGBpDau/2JCoNjcBTRarJtM9/pK66Kr9/zHI6GCYor5TblUp7TnoCdRwnphHo2 X-Received: by 2002:a05:622a:2c7:b0:344:f20f:3dfd with SMTP id a7-20020a05622a02c700b00344f20f3dfdmr690945qtx.414.1661534730321; Fri, 26 Aug 2022 10:25:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661534730; cv=none; d=google.com; s=arc-20160816; b=Qp1Jko7MAHZl2rcxlBRSnXI1W8alyI5ENW7AJcSUJjEMs+7aXSUbhGzgCmSUWbBTTu fZTdaw6pRkVS/vUXsHiqb6vNqd2mQ2J9QNpZro2N2hlggR5keKxtKJnjC5aYCY0eSE3B iXJEHkn1UjQL1yRvvwhfC8OsJm8y9FkcqxkuuFQ/cHyKOsWfFvyx/RhkYYLgUC5A954f Zw1lugB22Jr7vejEZfTUvMb5ZKl39a/A3Tta4UNhPIY66kmSFycAU9TbDdM8tak/6OXl 4GmYrpe66VXjh8i/CIPA2n92ohz+YLIi6azWQE6jQCqozsLkVsGXdC/cAJdo/sJvtLeV RIIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=xKyoYDR28AhCYuT3uUQqYD/QZmqgkSdJelh/Kf1tA0g=; b=U2ExjoC7kt1txvag0OQT/3CwwMBoSwb3YbWQKWuHnY6ZK5Z+M5CY+UNISuThi9yBOE jBzvLc1spcpdbfi+9E8XD4pG4pXBf5IVC1JEbRSXNQdglYBiYZdxL9w1Pw1868XGgFL5 foK2MAQsBJnhg6hlfwBPjWu9ylOIQy3DD26Spw2MhJeXMlwNB6/jv5z3RpBApM1cc/xR pjPndHnmjW7j9l//GVEUA7pus3rlYOyxauRQvPx0vUNg7L0DUW8YfBS+DjL2+159Qvi6 OelkV2RaSv9wi4/ozC1lkMn5zakJym86sRLYrynsTkNbSr8VLjUZy8WzoJ1AQ73xE2bC EpqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b8SmlVP+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a14-20020a056214062e00b00496fe621afbsi84337qvx.494.2022.08.26.10.25.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:25:30 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b8SmlVP+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:54288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRd5F-0001ly-VI for patch@linaro.org; Fri, 26 Aug 2022 13:25:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd1W-0004Gk-Vs for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:40 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:46713) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd1V-0002L1-3q for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:38 -0400 Received: by mail-wr1-x432.google.com with SMTP id e20so2537174wri.13 for ; Fri, 26 Aug 2022 10:21:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=xKyoYDR28AhCYuT3uUQqYD/QZmqgkSdJelh/Kf1tA0g=; b=b8SmlVP+TFOSVz0YZKlfFO+aLk/youNbcl3nb9tqaSX0UR0eXudpATyXkWH52BHO3E 2irY/5Jqakf/ivwtNOhdLS7++lcDBATe3gKHFC/ULgK2U77i9wqe20LOBiEq15YK2U+U 1VA+H9zGAB5/+6Fv4fckXhe3ZQ15M1YANOfo9wNXPdzynwb7ZMmnz7yzS+2R/pX4b0Ig AA4e8iQwgstny003zg8mnpxYqV7GUqiGdjhhf1VuCNMrVDmnx7mbJG/9zYNTxjlaQE4A nNkY/J+WZACdCydAN437P0goK8xEtIab/U4YotZS9KjJXYQBrYzoChH+jFCs6I9p+PvA 5deg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=xKyoYDR28AhCYuT3uUQqYD/QZmqgkSdJelh/Kf1tA0g=; b=T79uXdWx5Uo+jYnYjDdxy8FucdIKs7nuK7AjfhdKeU3Ry02PzFBi/QVE7iW1M/dCiu jv7MZg43rq7PmLuA8ToQrmJZR6xpgvLNtizE9T6G1mO4D9gWt0I0sE7NVyRlBptbm+Q6 ACyjnr4t/wTkHkj2ZrHz1JmTBIyVlLTpAE1HvlXHCiwKHlW0P59a2/8YxAHWrSZL4t6p Jprb5a9v2AtgtnVIgoXHbhuJ+n95gP+Ti9fo9Fh1oYAndB4C4p2P+zL/P8Y3G16yB/kr C3ez5UTPgBN6p8o9qdEPe3ScRK0/4aqVu6e8Kyt4tQv0rjPzlr/MVm3UaDU75wxFkCUX Yotg== X-Gm-Message-State: ACgBeo2kqYD3YTh4CZtZay0mx8cwWS34F6+eJcEiIiYjjLDwo+E2JH5w pCKjA9x5O0mG4jW2iwQghvKgvA== X-Received: by 2002:a05:6000:156b:b0:222:c789:cb2d with SMTP id 11-20020a056000156b00b00222c789cb2dmr373585wrz.197.1661534495785; Fri, 26 Aug 2022 10:21:35 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id i13-20020a05600c354d00b003a5f4fccd4asm191894wmq.35.2022.08.26.10.21.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:21:33 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 4E9461FFBF; Fri, 26 Aug 2022 18:21:29 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 07/25] tests/docker: update and flatten debian-sh4-cross Date: Fri, 26 Aug 2022 18:21:10 +0100 Message-Id: <20220826172128.353798-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Update to the latest stable Debian. While we are at it flatten into a single dockerfile. We really don't need the rest of the stuff from the QEMU base image just to compile test images. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- .gitlab-ci.d/container-cross.yml | 1 - tests/docker/Makefile.include | 1 - tests/docker/dockerfiles/debian-sh4-cross.docker | 12 +++++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml index a3bfa483bf..8a611fc824 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -137,7 +137,6 @@ s390x-debian-cross-container: sh4-debian-cross-container: extends: .container_job_template stage: containers - needs: ['amd64-debian10-container'] variables: NAME: debian-sh4-cross diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 6c2ee3b175..37c4ea913f 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -89,7 +89,6 @@ DOCKER_PARTIAL_IMAGES += fedora endif docker-image-debian-mips-cross: docker-image-debian10 -docker-image-debian-sh4-cross: docker-image-debian10 docker-image-debian-sparc64-cross: docker-image-debian10 # The native build should never use the registry diff --git a/tests/docker/dockerfiles/debian-sh4-cross.docker b/tests/docker/dockerfiles/debian-sh4-cross.docker index fd3af89575..d48ed9065f 100644 --- a/tests/docker/dockerfiles/debian-sh4-cross.docker +++ b/tests/docker/dockerfiles/debian-sh4-cross.docker @@ -1,12 +1,14 @@ # # Docker cross-compiler target # -# This docker target builds on the debian Buster base image. +# This docker target builds on the Debian Bullseye base image. # -FROM qemu/debian10 +FROM docker.io/library/debian:11-slim -RUN apt update && \ - DEBIAN_FRONTEND=noninteractive eatmydata \ - apt install -y --no-install-recommends \ +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-sh4-linux-gnu \ libc6-dev-sh4-cross From patchwork Fri Aug 26 17:21:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600295 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp557079mae; Fri, 26 Aug 2022 10:28:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR6O3OydecTuFtGGpeYUtpzegcuO4kLyqkjf84+cyvqf0jse2FSdgcg/N/d80/E+uhhlZ4MB X-Received: by 2002:a05:6214:411b:b0:496:f2f5:a0c6 with SMTP id kc27-20020a056214411b00b00496f2f5a0c6mr637321qvb.14.1661534892805; Fri, 26 Aug 2022 10:28:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661534892; cv=none; d=google.com; s=arc-20160816; b=Lnx22U4KijTPxWEJk1W/7D4qwgrDK5j6KfgesvyrBWJTdSq5UA1V3l1EUBihm2Q/sN 54+8lu+mAY3nTl2aIfBPhHDrd8ibM/6ljbUqpCanWgKnB4kWEcrybe8I7pYYgbApb6wY /M1qabdGQlcOpKtNdkuY/icOxJJJUQf5TjGpZruwxrNXSIvgIE9M+4R1hNJwvusqPUxI 8js6HjGEG1SflW6BKnMpS46PXhLFaAOZFD+HLbMmgmoT9uhMbUdLIQ47EBDIxXLJL1pc eKvYQ22VxaGVKlaf46jNL+e6QpOfOHE/C0gLMw4YMpX5rLUvFZaidRgkA+eEwXM52kvO fzuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=n4blPdwRihEe7dtoUa8W4JMnb8ExjDqzsFVtA0+evNE=; b=cxds7CNGoAdoxZNJMOQVz+TNPApeEQbzMTiOn3SNoMd+26M56FkNAJbsMS74idvdyl vX9TBGK3VXzKxO6oh1SbWj42S4If/BL3sgc/LBuNdmlzJX2GdziuW5nSV7AUQ52MaMVX tgghnGcLzXRVcsW7li/oBRqZC7q8eO2SYuCQ3bCQ8Ehhf7AZPbP4YtLpVo+ufHKuwV1o CyAhu8mC39fQa9KkuPgn3XX3s23tp89G+wnTljGQAq6a8UjDOAfssfH94q8Jw5j0Oy6J 6b4906sTeUmnGWROVxKQi/KcXBjvWH7WiWKmMxAD8qDawzILAo2aZPLjII16LwJ5YYps 66qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Xb8vVPyz; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id cj17-20020a05622a259100b003437ebef89csi239835qtb.174.2022.08.26.10.28.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:28:12 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Xb8vVPyz; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:35542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRd7s-0007TT-9L for patch@linaro.org; Fri, 26 Aug 2022 13:28:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd1X-0004Gp-3R for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:40 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:40787) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd1V-0002Jw-CJ for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:38 -0400 Received: by mail-wr1-x42e.google.com with SMTP id h5so2551630wru.7 for ; Fri, 26 Aug 2022 10:21:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=n4blPdwRihEe7dtoUa8W4JMnb8ExjDqzsFVtA0+evNE=; b=Xb8vVPyzmuAYHXEhdNiKy7TedQDZZ7imzLOOGDghvkHbsnkMENOkRBhnBwgrLoj5JX R08PN2IaZrcn5CewcvXZH3V674GwAsT9z5zz0OGrvoHZOweRwu7Jx1J0YLyUnt7opOBO 5c1ChY+j9lCvqVyf1qXmT+z3WHjj304xJPsJO6Z7l83+NfT84gYiVcQyRlqfSnvNnvul m7X5h5XV2oTW/NjhxGMr2qHUt7S4jGKKi5ubaipPEwN78Oh2dwT56gCzpzOz4+VmDSTE IJWSCoaRYERkWCA60fmW/BY798VBHe8BjzGjLjdxHNsdz/F1phcJkqfFgudXHlYWgE6x KEKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=n4blPdwRihEe7dtoUa8W4JMnb8ExjDqzsFVtA0+evNE=; b=PYH46GvW/fAa+rj6nsauqSjtQEMWHjvpCypVEMfA4KizjkTKKwEcrDlNLKNwK1VIIH rIt4RrVESOmFTPCCAq4UM1ZIX7nL1vXLLKGX3dr762wdzRa05OumNdZURPd61ayTMOmW 5duIrSROaTUjh+phR2u9dRyqHMEtFVK9SBz1BysuEI/hmYEel7+5C2MD1aLrKVjRj3bl pMucrO5x5oMIcYcJyn8Egi8QssDuu5Gg0WDpvzwQhVvyNBKPf2snOge5TEGWeuKYzahy sUyfAx0hNzA6X0OyRprW0KcCGR70tFefmbNMsYmYl0DN9KkS1BnOMz+JPRF68i4NUmTF 7Xnw== X-Gm-Message-State: ACgBeo1ezWyryqiDHElrYs/7zsUHZQ4w9VbHEFCAMtP624XdBjeZ4rBa N7d0zXT1L4x03TkgWsD1+Z4TYg== X-Received: by 2002:adf:e5cc:0:b0:225:4d26:ddad with SMTP id a12-20020adfe5cc000000b002254d26ddadmr369932wrn.426.1661534496701; Fri, 26 Aug 2022 10:21:36 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id q128-20020a1c4386000000b003a35ec4bf4fsm241380wma.20.2022.08.26.10.21.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:21:33 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 6B2871FFC0; Fri, 26 Aug 2022 18:21:29 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 08/25] tests/docker: update and flatten debian-sparc64-cross Date: Fri, 26 Aug 2022 18:21:11 +0100 Message-Id: <20220826172128.353798-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Update to the latest stable Debian. While we are at it flatten into a single dockerfile. We really don't need the rest of the stuff from the QEMU base image just to compile test images. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- .gitlab-ci.d/container-cross.yml | 1 - tests/docker/Makefile.include | 1 - tests/docker/dockerfiles/debian-sparc64-cross.docker | 12 +++++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml index 8a611fc824..db0ea15d0d 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -143,7 +143,6 @@ sh4-debian-cross-container: sparc64-debian-cross-container: extends: .container_job_template stage: containers - needs: ['amd64-debian10-container'] variables: NAME: debian-sparc64-cross diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 37c4ea913f..8828b6b8fa 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -89,7 +89,6 @@ DOCKER_PARTIAL_IMAGES += fedora endif docker-image-debian-mips-cross: docker-image-debian10 -docker-image-debian-sparc64-cross: docker-image-debian10 # The native build should never use the registry docker-image-debian-native: DOCKER_REGISTRY= diff --git a/tests/docker/dockerfiles/debian-sparc64-cross.docker b/tests/docker/dockerfiles/debian-sparc64-cross.docker index f4bb9b561c..8d3d306bc1 100644 --- a/tests/docker/dockerfiles/debian-sparc64-cross.docker +++ b/tests/docker/dockerfiles/debian-sparc64-cross.docker @@ -1,12 +1,14 @@ # # Docker cross-compiler target # -# This docker target builds on the debian Buster base image. +# This docker target builds on the Debian Bullseye base image. # -FROM qemu/debian10 +FROM docker.io/library/debian:11-slim -RUN apt update && \ - DEBIAN_FRONTEND=noninteractive eatmydata \ - apt install -y --no-install-recommends \ +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-sparc64-linux-gnu \ libc6-dev-sparc64-cross From patchwork Fri Aug 26 17:21:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600301 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp561602mae; Fri, 26 Aug 2022 10:37:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR6cdy1HvAC3Kxy3VLLh39FE3f1W0U6EvZLImkglLvNyITc0vYjpFMNDEdJselmwmFZTkt44 X-Received: by 2002:a05:622a:c7:b0:343:2e72:8416 with SMTP id p7-20020a05622a00c700b003432e728416mr750018qtw.92.1661535425274; Fri, 26 Aug 2022 10:37:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661535425; cv=none; d=google.com; s=arc-20160816; b=QuaZlpzSfeVwE68RKn8XauNQaJo1M+L23XJwixsvFbuC497RcNWf+Yf/7bCBekrAdp SNkaMiRwioiWhxmbJ22mGG2vqhYRjbJju2a6nSC7z3PtlvLv3Y/azMzrZyzS32wzEAuj 45uIKJyUf4senMYMt5wl6x2x7pWQi2UzQnYYRRyWiZ2vKDq2uP8ZYKNg3HPkblsAH2tG 1ivvLCiy1AlKAJj+Rov6N6fIjBm4kRC1REKBHb5ZSFlhZ8WXV6Ry6yZQxzL23+hpfbkV wc016MEH9XWMhK1kGlojFLD6cvwrvFYra/mJ/yzMXWMB4Xoif3x/OpTdL6tbJfCLDErx OugA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=fYgRCdRIiVNTnbdRi8F/piAWM2mBMcNmROHYK2H+FtA=; b=IJRkZpAsAfZnviBsfHjgJ4N30uGNyTijJTFmiOiKxYyrWy0WMv32YaH9g7c5NjUO0+ D3Ieb9X17+Ucaj4MC/HKOEfekrEdWjbJQIbgp4DSivXl8HNEwsZ/H7OXPYVPcUv97tL/ mtr9b/N7anK96xSlpAwYBgqVlZp+X6pzlSop6gstJCRy5l5YtTTKCXl6TTj8jQ5yj/qa Dg4qNKuaZWUblOu/PWnPwXPcSClIObAuBx2s8Yl7cYbJRWb6x5lcZkTEktp1EIe+V05n XXUw4ftuShlYRE1zz+iXiV7rMypB2KRwZ5m/d7c4F+9dVO9Ps3sdWqOBIPJRW3JmsJUW mx5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KLXpPJNP; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f5-20020ac86ec5000000b00342f5bd3802si147816qtv.707.2022.08.26.10.37.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:37:05 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KLXpPJNP; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:56076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRdGS-0000oC-MH for patch@linaro.org; Fri, 26 Aug 2022 13:37:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48730) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd1a-0004Iq-HA for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:42 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:42951) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd1Y-0002Lh-Ew for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:42 -0400 Received: by mail-wr1-x432.google.com with SMTP id m16so2545101wru.9 for ; Fri, 26 Aug 2022 10:21:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=fYgRCdRIiVNTnbdRi8F/piAWM2mBMcNmROHYK2H+FtA=; b=KLXpPJNPXgwVShqPqSUIKvEqxRQomykc2HVMNCGw5VV9LDb9Q0O1Oxu3tmfnwTCTsb MxVJDcmR0Url/9A2cO7siW1ayEHEjHly6EG/GbooNU01CYPZnaRRsvjThUUh6c5lgT2Y qbbQ67xYvhT2nVkWGe+PkpflbK8Goc4VOvzmk35QoAuhOoyhTwh9oowRz5VKUxnQLYE2 M0dmM1jhWviS79+tHxAX74ctOkRh1K/0PU4Y+gwPW+c+oqiRhDS98RSGLlWRcV3IEduW RVoZtKxHIWq+Miak6R8XlWFDeFWMBT/QtOorbdYRuOHZ0DODw8iIoq6uINi06QqMzmnl eNyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=fYgRCdRIiVNTnbdRi8F/piAWM2mBMcNmROHYK2H+FtA=; b=cXaxPNcZyRhROBSpoFbpTZzjHQn67vOwG9D9NOqHwQoYeveryajoDsGKGSmDxWvSMf mEB0BQ9DgYo0w2bGkSxdxviYe7aRjrShwQ+m0taondqofXTTXFJDGX73rX+2WEyHx4uT N50HyYVm9S3wqGsJh/2p7L8AMJNIpowkHWyOeHMY+4oD4NKoVS9lBqaJdUEdznspnPrT ck1VCULiRr98x2diEhFQaXyRx8V6lZ3FclLiPwIAXfGI3uUe73fCisYCarG6guxDHM1v 3uS5ZXR0JIFYqvEc8/WpbX49pupfkeOTVkZfFDOofITN+ZPtxmOhV+THZVOxbb+Wmc9B tWJA== X-Gm-Message-State: ACgBeo2TrIcapKFftojMsav58HzSawqTX9d/DVRVNEgKTmW/zq5/ygRf 1njxL2RIpksGDxqY+kKmTp6ECQ== X-Received: by 2002:a05:6000:1149:b0:225:29d4:67eb with SMTP id d9-20020a056000114900b0022529d467ebmr393495wrx.254.1661534498862; Fri, 26 Aug 2022 10:21:38 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id t8-20020adfdc08000000b002258413c310sm237161wri.88.2022.08.26.10.21.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:21:34 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 7B9BA1FFC1; Fri, 26 Aug 2022 18:21:29 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 09/25] tests/docker: flatten debian-powerpc-test-cross Date: Fri, 26 Aug 2022 18:21:12 +0100 Message-Id: <20220826172128.353798-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Flatten into a single dockerfile. We really don't need the rest of the stuff from the QEMU base image just to compile test images. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- .gitlab-ci.d/container-cross.yml | 1 - tests/docker/Makefile.include | 1 - .../dockerfiles/debian-powerpc-test-cross.docker | 12 +++++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml index db0ea15d0d..67bbf19a27 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -102,7 +102,6 @@ mipsel-debian-cross-container: powerpc-test-cross-container: extends: .container_job_template stage: containers - needs: ['amd64-debian11-container'] variables: NAME: debian-powerpc-test-cross diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 8828b6b8fa..e034eca3af 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -137,7 +137,6 @@ docker-image-debian-all-test-cross: docker-image-debian10 docker-image-debian-loongarch-cross: docker-image-debian11 docker-image-debian-microblaze-cross: docker-image-debian10 docker-image-debian-nios2-cross: docker-image-debian10 -docker-image-debian-powerpc-test-cross: docker-image-debian11 docker-image-debian-riscv64-test-cross: docker-image-debian11 # These images may be good enough for building tests but not for test builds diff --git a/tests/docker/dockerfiles/debian-powerpc-test-cross.docker b/tests/docker/dockerfiles/debian-powerpc-test-cross.docker index 36b336f709..d6b2909cc4 100644 --- a/tests/docker/dockerfiles/debian-powerpc-test-cross.docker +++ b/tests/docker/dockerfiles/debian-powerpc-test-cross.docker @@ -1,13 +1,15 @@ # # Docker powerpc/ppc64/ppc64le cross-compiler target # -# This docker target builds on the debian Bullseye base image. +# This docker target builds on the Debian Bullseye base image. # -FROM qemu/debian11 +FROM docker.io/library/debian:11-slim -RUN apt update && \ - DEBIAN_FRONTEND=noninteractive eatmydata \ - apt install -y --no-install-recommends \ +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-powerpc-linux-gnu \ libc6-dev-powerpc-cross \ gcc-10-powerpc64-linux-gnu \ From patchwork Fri Aug 26 17:21:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600298 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp558158mae; Fri, 26 Aug 2022 10:30:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR6TNJcHAZs41ZawnjrhOSmuCoWy2NuID7qoFtf5J8QxZqIGK8QAnXBvaRSbpwxj44dg1Rf3 X-Received: by 2002:a05:622a:1a27:b0:343:633:f514 with SMTP id f39-20020a05622a1a2700b003430633f514mr677945qtb.456.1661535019152; Fri, 26 Aug 2022 10:30:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661535019; cv=none; d=google.com; s=arc-20160816; b=Hgxv3LwyjWzbiYo70OXZkVCHpPEYmHjxhRidGXt8b62qmsYfOb4rwlp2W2AcAvmqzr UBVkgZuuPd1I9Id2Njdz55M0m/eXnzCFhGjQVD6ZfsrhiOsXgSEEBC0AhTuOko2Ar+vY OoeeuUf2k3sH3h1R0QrA3CWJK6rU9LNmsiaSyCLoqWj8xh1RlsMYzmVaGR5WaUSnOG09 4ZsC3Qfkj4EuDjKD+892a2V/cHpEryP8vtvtN6t8ZpVmnpCiDn3a1viDjxcpy8v4gizV /Ve/JMt8kfFIvz7oDp8jBvv3f2fAMASvmSp+miR7XksYNHXXjaLgAMdJyh4zk4SFlYsR AQ9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=GFbSW9nX+Lz1wsVbDe5pJ3v6USbvySq3ddapeAh068c=; b=dB/xc4/xPfVkZ9RWoV3GvTI0qvHSCQehpjw8H8A4lNxqF51+20DFyz92QZnYpW6GeA 86Pgf0m9rZXybvnUAiOrGOIt8rWipSqIhoZDzFExw0NdFkANuKmS2h3T+j/WWj+qywDB LTIMpouhT5HGEyholruq8R+HEyzLxlz/9f4LXBFdlbk6lK/CBtMKoVolhHFoL2Dmskr/ 6gOtc+9HxmTu9wfbIfrVJqMMN8uSQUqxn7tNgkKvLSM0Mua34oVNLFZbNwX+n9ZXh94D SlxMLwVTh0+S6yO6e61pAghLGDWeP0TO758tpj8h24TK5Cx1GJYwvG0b4Gizc0IR5fvL BRsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="v/vME9Ow"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 70-20020a370c49000000b006b6757a11f8si115551qkm.406.2022.08.26.10.30.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:30:19 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="v/vME9Ow"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:54596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRd9u-0003PY-MU for patch@linaro.org; Fri, 26 Aug 2022 13:30:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd1Z-0004Hu-Nn for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:42 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:36772) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd1X-0002LX-MO for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:41 -0400 Received: by mail-wr1-x435.google.com with SMTP id bu22so2218722wrb.3 for ; Fri, 26 Aug 2022 10:21:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=GFbSW9nX+Lz1wsVbDe5pJ3v6USbvySq3ddapeAh068c=; b=v/vME9OwlrWup7JIu75HPx8pUDY+ukDG44DrTuQlxNoIn6DA19pIZXWFtGLnyRA7Dl TR1yp6hsqlAo0YwpUUNmXxNv/KtvJ5LPePKaQjhrhhwfssqz0Fn3wNONvjZlwkyWQbKp n4sQBcf4FkBMYMu9UmgykifkWlZX/rDO2Ha+yzSqJD/wubajMWiPEQAe/FfI/fukPP1d yPQvP3bY0F7z2s4Jl0g8dEdof3e1MMV+fV7r9yK2EKp8jCe0Hpl6IfivDpvKaCC22iaW 2j4QVfpeTizvOtfW6Z5mbUv/bhzlh7HemXoD0IHRbnFwrD6zXtoVM06tFNnxu00OoATU m5bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=GFbSW9nX+Lz1wsVbDe5pJ3v6USbvySq3ddapeAh068c=; b=eEop6IOuwaMgeu4tkSB1oZDKVeD6CmPrzeRqzruVqEzAOHtNjZDrbYw98Ya+ADXe1f gBaCh6G4f3R3oSX5JfjWTNwucBGRKdtIwHTZUNvpWJLQwf1ty0tq+WITWx295pkH3+jp MhQDGWgdRsPZ5msvQaVUzbVCtozYEEITu8FD9vYRGxSpiPuXnwIAghfI6MVJ3hPCTmsf 52aa1/ty49RTrPWy3SXpzD2jS9VKPm+NZ6dfXkGtBLJYmNGuFH8/AHyuOh1svcn5gnQv xECS2XXaeFCHhNJMfLU+ZzZToliNMa2trfdmwQS5BPW1RboQ4qQlDUUZglBolp3NL4Se w+2Q== X-Gm-Message-State: ACgBeo3mtxAm8HESDb1lW5wb5MPLjmnqbuqhWxV7HEzWQTQLf/3GlZwg w7uwG7idFCqSu23JylMNs8sfrw== X-Received: by 2002:adf:f105:0:b0:225:2e4f:e14 with SMTP id r5-20020adff105000000b002252e4f0e14mr360959wro.444.1661534498423; Fri, 26 Aug 2022 10:21:38 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id a3-20020a05600c224300b003a6a3595edasm220967wmm.27.2022.08.26.10.21.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:21:34 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 93A281FFC2; Fri, 26 Aug 2022 18:21:29 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 10/25] tests/docker: remove tricore qemu/debian10 dependency Date: Fri, 26 Aug 2022 18:21:13 +0100 Message-Id: <20220826172128.353798-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We missed removing this dependency when we flattened the build. Fixes: 39ce923732 (gitlab: enable a very minimal build with the tricore container) Signed-off-by: Alex Bennée --- .gitlab-ci.d/container-cross.yml | 1 - tests/docker/Makefile.include | 1 - 2 files changed, 2 deletions(-) diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml index 67bbf19a27..611c6c0b39 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -148,7 +148,6 @@ sparc64-debian-cross-container: tricore-debian-cross-container: extends: .container_job_template stage: containers - needs: ['amd64-debian10-container'] variables: NAME: debian-tricore-cross diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index e034eca3af..5c9398bbc9 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -132,7 +132,6 @@ docker-image-debian-nios2-cross: $(DOCKER_FILES_DIR)/debian-toolchain.docker \ $(call debian-toolchain, $@) # Specialist build images, sometimes very limited tools -docker-image-debian-tricore-cross: docker-image-debian10 docker-image-debian-all-test-cross: docker-image-debian10 docker-image-debian-loongarch-cross: docker-image-debian11 docker-image-debian-microblaze-cross: docker-image-debian10 From patchwork Fri Aug 26 17:21:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600302 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp561633mae; Fri, 26 Aug 2022 10:37:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR7dNzhC+8nmkwJZNnIbTENP/Dhf3Bbm5FI8flmE6NqmNpXy1fEUe4YTaF3cCmmA3cnULbG0 X-Received: by 2002:a05:620a:800b:b0:6bc:4e00:11d2 with SMTP id ee11-20020a05620a800b00b006bc4e0011d2mr620079qkb.582.1661535429712; Fri, 26 Aug 2022 10:37:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661535429; cv=none; d=google.com; s=arc-20160816; b=H5vZ7bS9H6MHdL8vvAPx5qef6cH7kcE4wJGM9ml5axeczPuR3rWiQAO63Cp2d8/9hk icAEIS8l3zX0th72ObUaU2onq0qBiBjt4a6CJd+7eCsygRONEksm0U1Pxiz9c01jLGsE j2Ffvm9m1oAg9/WOYjInCsZBWyRZvoOHzclJ4jf8Q2w7/itqhHj+7swV7jakfHoWpALu ftS6qXRAqEtTpXdneJNa4LVSTRwYS2Sv/7F38xbwohdrRKWmuTB7bGM9LtdB9O7x3EJQ ecVsDYxHVKQ/FYteeJWvai0W/I0h6W0wqYJq5DebglA/UM6CUY7TnqMijdUgzuA32Pk3 e2qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=FdPExOp5O/LAXlPoH+zxAcHOediN1o3iNFX0c4pwq44=; b=e7LvJD+Hk1qAoi2SNIxg0BwTTaQ0aeOfpoa8jxvi1dWdLQOzAfb/4aLQm4trOocOsY 6SNseF4+DbZxGt2hCsO65hyygmVmDDJ+UEgB2hpfFWduGbCYNEgNzywrLkweUeZqu1t+ ZwIqTRUcVEQPvyfnQ2g8miwMotCWAIXThsLUXwFDPAXLv/0qr26M8qvtc76FIp5B5qOq PUUKXmGRnBITPGP6a9JyKIkKMd89IrNed7b3Qm6pcMZ3dlagwjQ8USwMZ1h6MPyJu74t oOtY8tfy0WNGKMiqCzeMJkkULho/u1sych8bbmK1pkXiShJsgb5bKDqhXb1Bz03napLD nXdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KtlIWr50; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id n12-20020a05620a294c00b006bbbce31b99si138254qkp.248.2022.08.26.10.37.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:37:09 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KtlIWr50; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:56080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRdGX-0000uN-8Z for patch@linaro.org; Fri, 26 Aug 2022 13:37:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd9y-0005iC-Tp for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:22 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:44598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd9x-0003ir-6U for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:22 -0400 Received: by mail-wm1-x329.google.com with SMTP id k18-20020a05600c0b5200b003a5dab49d0bso1202474wmr.3 for ; Fri, 26 Aug 2022 10:30:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=FdPExOp5O/LAXlPoH+zxAcHOediN1o3iNFX0c4pwq44=; b=KtlIWr50XfmRD9I83iHkte2I265dva7nMORMptjaPrvP2q/59eYtSEpzZ7wpkJsJF5 5ky20piJV8cKK4DQP+Ekf/1SwOfpG/edncCJ6rqcJ1cGiTPmsRwj+LxgXfSCMxIDVVj9 mFmK6I2OC8mHUF79CKvSmjXl5g0mA28txn/2PcBAzEu3uu5+Fxyk+KY+8GKWCF0EcKCx vqrwwflhWBxPFYe0tRMXwACstJR8NqxtJl3CVeSLNm7dcuhVIRI+LQgA8ngNifJN6cGI d7IEUA31FyoHnmSib5SCBeaYrNb7wJwH3Cch08XgCQ/W5ttni8gaFfU4kNj/qbikEJn8 YUvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=FdPExOp5O/LAXlPoH+zxAcHOediN1o3iNFX0c4pwq44=; b=62uQ60h1nP5xoLe6j5xXIMDH5L+lYYbrXnYC6WoaDCMMyP3AmDemijg46a3xjKoibr d+LuhPZdvel8MQzAuqTuUT7I9Z9TznT7R6Xjvc2BsMcaKOYYnqntfrpoqiqAuDTMVi2E QmfXjKIHZvyANAfAfY1cF86hM70qeyRlQKdoCaK7BexJvLu7QZxK9JYqvHKmTPmuBgo0 Tq6R7X8tQLQKGqT9xvbhJMvk+pPd2S/P3O41BHFwcsS+83FXlO8f5/JVUEGQNkg4Kgu6 VZHeNmCoQrNihL0JTIH4atTHk91cjp/ZsHPd4aQeMqsBehgH/Xgz/AHKXULuXEZvj+KK +Fhg== X-Gm-Message-State: ACgBeo1QmdgNY3hXH5zKyxK6hAKuOuLYhtEC0u6igd/Zf2Qh5hyLYZ6b /zXugmApD+yVHqhWDW/v7TmJTUDuxnK0BQ== X-Received: by 2002:a05:600c:3d11:b0:3a5:cd9b:eb08 with SMTP id bh17-20020a05600c3d1100b003a5cd9beb08mr420535wmb.82.1661535019906; Fri, 26 Aug 2022 10:30:19 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id e7-20020a5d4e87000000b0022587413219sm306697wru.16.2022.08.26.10.30.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:30:17 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A04451FFC3; Fri, 26 Aug 2022 18:21:29 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 11/25] tests/docker: remove amd64 qemu/debian10 dependency Date: Fri, 26 Aug 2022 18:21:14 +0100 Message-Id: <20220826172128.353798-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x329.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We missed removing this dependency when we flattened the build. Fixes 9e19fd7d4a (tests/docker: update debian-amd64 with lcitool) Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- tests/docker/Makefile.include | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 5c9398bbc9..c3375f89c5 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -73,7 +73,6 @@ docker-binfmt-image-debian-%: $(DOCKER_FILES_DIR)/debian-bootstrap.docker # we don't run tests on intermediate images (used as base by another image) DOCKER_PARTIAL_IMAGES := debian10 debian11 ifeq ($(HOST_ARCH),x86_64) -docker-image-debian-amd64: docker-image-debian10 DOCKER_PARTIAL_IMAGES += debian-amd64-cross else docker-image-debian-amd64-cross: docker-image-debian10 From patchwork Fri Aug 26 17:21:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600296 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp557964mae; Fri, 26 Aug 2022 10:30:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR4IU6P3hYuRnp/X4jpuhRaG2dHHNCZ5CXUxuJfo4YNXUCVbyjWSHVLIutWadUfNYlRCiXCj X-Received: by 2002:a05:622a:86:b0:342:f620:dc7a with SMTP id o6-20020a05622a008600b00342f620dc7amr705853qtw.594.1661535001121; Fri, 26 Aug 2022 10:30:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661535001; cv=none; d=google.com; s=arc-20160816; b=UgUimTdQnDyu5018tpQyI2kqEiNCRK4RoEcag1Z30njmSA/COnPf1lsfOZM+2NulK8 vswdg8t1mHzb97qplXdXaiuxnxswzeOBlfOPB8rTLDyFtKGtQIRtFh5lY66A0p9AX5cJ OkymVgbq+Xo498HL4wpcqowdikyDXJeb/KbwewnefmHisrlALVZ6AW2Sf5i5JDjLj/Ng clV9nu5MQugYwp6yW1LgB2qrP0S/XcjTVVobcMIapL3xi9A7ufM+EtCsn1VmUONFdT90 uJ8J71Q6oTlW2fLlMaulfXtxzwubpcvhdrVj5eYQ0NyV04Kpa2m2iDkftucOGehB0SoO /9lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=XQziCS4CV0eZ9lICqLWcjpoBlI1OKTZdnR9thY+OMY8=; b=WsueCDXArchToWuNTdYRPYocZg0IfXxg4qUtEOkuaxiUnCqtymZ9Wzni4bhp0i6up7 5VP0yChj6Rza3Y4KW8pIC9uoecP6A+nR2lf1zVkpqJdh6APPZpHbBvVsQYEWi426wejK 0GqeOMnbxTwScCoaXAZ0SDQ6NSGsA0Yj/vWeTfNqX59D06V1LzcRGLBBmvHjTqSIQZW6 g5i/bYF4x6oZirsty8mvURP5E44PvPAv+55EuTueEuv0gi0HMW4mnqBm/Tsnu6GddSkj RY+e6/g+4n150UKzb2AQyF2tBfJ2Kf19lxMlDR+vzoW+WvW7Z6sPJx7ljnMo7uSKF2uw 5AqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aMGsAUei; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id q13-20020a05620a2a4d00b006b996946b97si112332qkp.554.2022.08.26.10.30.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:30:01 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aMGsAUei; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:54592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRd9c-0003Ll-Jf for patch@linaro.org; Fri, 26 Aug 2022 13:30:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd1c-0004Q8-K3 for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:44 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:33538) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd1a-0002M0-3L for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:44 -0400 Received: by mail-wm1-x32a.google.com with SMTP id m3-20020a05600c3b0300b003a5e0557150so4323577wms.0 for ; Fri, 26 Aug 2022 10:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=XQziCS4CV0eZ9lICqLWcjpoBlI1OKTZdnR9thY+OMY8=; b=aMGsAUeinovdIC2BijFFsvqcotVIqzaSiTzIqxfO/Nlslzr8GvL6Yo5FNmFHGdROwG J5NdGmkQ7PxPM6U6ch+4gYu6Y6OH53dgoIqOsEE0EGBxXOUhKLC1yhsEBIKaF+25F87Y 7ErPRq2aHfZbZiM6+M3QfbVotUgpC+cZw6+s01em9+QCe4+G61LYH/yy4SHAFzLqNLkU V1whPCQhbRWKkrtlOsQFuMSGvB0COr3mSDXJOH1XbxIvdrklDG27ENMhPkDc2MSD+STe hY+JNcRbpeZrkPVqPKdnBlBUXi2KhbsBwy8aScs3xysBNlwIKf2CkpNXrMM1togFJBCA sYNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=XQziCS4CV0eZ9lICqLWcjpoBlI1OKTZdnR9thY+OMY8=; b=mztIdF9vkiK1O65PysxEEIN3F6dx89tIAqNSrDdOuvWhCslTj8c5+K0un2FgNthNwy HYdRvAfQzge4zoczJSsQoVkHDPi+LvyEUWxkV4KKM9QudnR+EeCsjN5B2VWM5dY8lIE+ A9zM/Lat4yYRgFafn2pdIqMYK3QrgsnGqH0Y0n2RIE/sPVClOkx3+8UmhXWFgLMzhlNp 5l4l4BmyOCaraOTwrEMr8IKwoO3LGC+lHO0K8VhiLWH7Kysxsf/B3JxGLH0GOkoXQ66g Bf4hqaCLOWFEViqRZLb8eNN3Z5L94UZvVSH9Bfl7f/vP4OZc61RbOw6bvsJnHrmnM6Db hT+A== X-Gm-Message-State: ACgBeo12ccwuCfbpqjj03PKO8EAWtT94wWFPaaZfs+BMw8MgHvTjPsve nW9xAEtQEitSG8reNY6WU6X4xw== X-Received: by 2002:a05:600c:b57:b0:3a5:3c06:f287 with SMTP id k23-20020a05600c0b5700b003a53c06f287mr378567wmr.148.1661534500348; Fri, 26 Aug 2022 10:21:40 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id j2-20020a056000124200b0022537d826f3sm303866wrx.23.2022.08.26.10.21.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:21:34 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id BCF461FFB7; Fri, 26 Aug 2022 18:21:29 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 12/25] tests/vm: Remove obsolete Fedora VM test Date: Fri, 26 Aug 2022 18:21:15 +0100 Message-Id: <20220826172128.353798-13-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth It's still based on Fedora 30 - which is not supported anymore by QEMU since years. Seems like nobody is using (and refreshing) this, and it's easier to test this via a container anyway, so let's remove this now. Signed-off-by: Thomas Huth Message-Id: <20220822175317.190551-1-thuth@redhat.com> Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé --- tests/vm/Makefile.include | 3 +- tests/vm/fedora | 190 -------------------------------------- 2 files changed, 1 insertion(+), 192 deletions(-) delete mode 100755 tests/vm/fedora diff --git a/tests/vm/Makefile.include b/tests/vm/Makefile.include index 8d2a164552..2cc2203d09 100644 --- a/tests/vm/Makefile.include +++ b/tests/vm/Makefile.include @@ -15,7 +15,7 @@ endif EFI_AARCH64 = $(wildcard $(BUILD_DIR)/pc-bios/edk2-aarch64-code.fd) -X86_IMAGES := freebsd netbsd openbsd fedora haiku.x86_64 +X86_IMAGES := freebsd netbsd openbsd haiku.x86_64 ifneq ($(GENISOIMAGE),) X86_IMAGES += centos ifneq ($(EFI_AARCH64),) @@ -45,7 +45,6 @@ vm-help vm-test: @echo " vm-build-freebsd - Build QEMU in FreeBSD VM" @echo " vm-build-netbsd - Build QEMU in NetBSD VM" @echo " vm-build-openbsd - Build QEMU in OpenBSD VM" - @echo " vm-build-fedora - Build QEMU in Fedora VM" ifneq ($(GENISOIMAGE),) @echo " vm-build-centos - Build QEMU in CentOS VM, with Docker" ifneq ($(EFI_AARCH64),) diff --git a/tests/vm/fedora b/tests/vm/fedora deleted file mode 100755 index 12eca919a0..0000000000 --- a/tests/vm/fedora +++ /dev/null @@ -1,190 +0,0 @@ -#!/usr/bin/env python3 -# -# Fedora VM image -# -# Copyright 2019 Red Hat Inc. -# -# Authors: -# Gerd Hoffmann -# -# This code is licensed under the GPL version 2 or later. See -# the COPYING file in the top-level directory. -# - -import os -import re -import sys -import time -import socket -import subprocess -import basevm - -class FedoraVM(basevm.BaseVM): - name = "fedora" - arch = "x86_64" - - base = "https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/30/" - link = base + "Server/x86_64/iso/Fedora-Server-netinst-x86_64-30-1.2.iso" - repo = base + "Server/x86_64/os/" - full = base + "Everything/x86_64/os/" - csum = "5e4eac4566d8c572bfb3bcf54b7d6c82006ec3c6c882a2c9235c6d3494d7b100" - size = "20G" - pkgs = [ - # tools - 'git-core', - 'gcc', 'binutils', 'make', 'ninja-build', - - # perl - 'perl', - - # libs: usb - '"pkgconfig(libusb-1.0)"', - '"pkgconfig(libusbredirparser-0.5)"', - - # libs: crypto - '"pkgconfig(gnutls)"', - - # libs: ui - '"pkgconfig(sdl2)"', - '"pkgconfig(gtk+-3.0)"', - '"pkgconfig(ncursesw)"', - - # libs: audio - '"pkgconfig(libpulse)"', - '"pkgconfig(alsa)"', - - # libs: migration - '"pkgconfig(libzstd)"', -] - - BUILD_SCRIPT = """ - set -e; - rm -rf /home/qemu/qemu-test.* - cd $(mktemp -d /home/qemu/qemu-test.XXXXXX); - mkdir src build; cd src; - tar -xf /dev/vdb; - cd ../build - ../src/configure --python=python3 {configure_opts}; - gmake --output-sync -j{jobs} {target} {verbose}; - """ - - def build_image(self, img): - self.print_step("Downloading install iso") - cimg = self._download_with_cache(self.link, sha256sum=self.csum) - img_tmp = img + ".tmp" - iso = img + ".install.iso" - - self.print_step("Preparing iso and disk image") - subprocess.check_call(["cp", "-f", cimg, iso]) - self.exec_qemu_img("create", "-f", "qcow2", img_tmp, self.size) - self.print_step("Booting installer") - self.boot(img_tmp, extra_args = [ - "-machine", "graphics=off", - "-device", "VGA", - "-cdrom", iso - ]) - self.console_init(300) - self.console_wait("installation process.") - time.sleep(0.3) - self.console_send("\t") - time.sleep(0.3) - self.console_send(" console=ttyS0") - proxy = os.environ.get("http_proxy") - if not proxy is None: - self.console_send(" proxy=%s" % proxy) - self.console_send(" inst.proxy=%s" % proxy) - self.console_send(" inst.repo=%s" % self.repo) - self.console_send("\n") - - self.console_wait_send("2) Use text mode", "2\n") - - self.console_wait_send("5) [!] Installation Dest", "5\n") - self.console_wait_send("1) [x]", "c\n") - self.console_wait_send("2) [ ] Use All Space", "2\n") - self.console_wait_send("2) [x] Use All Space", "c\n") - self.console_wait_send("1) [ ] Standard Part", "1\n") - self.console_wait_send("1) [x] Standard Part", "c\n") - - self.console_wait_send("7) [!] Root password", "7\n") - self.console_wait("Password:") - self.console_send("%s\n" % self._config["root_pass"]) - self.console_wait("Password (confirm):") - self.console_send("%s\n" % self._config["root_pass"]) - - self.console_wait_send("8) [ ] User creation", "8\n") - self.console_wait_send("1) [ ] Create user", "1\n") - self.console_wait_send("3) User name", "3\n") - self.console_wait_send("ENTER:", "%s\n" % self._config["guest_user"]) - self.console_wait_send("4) [ ] Use password", "4\n") - self.console_wait_send("5) Password", "5\n") - self.console_wait("Password:") - self.console_send("%s\n" % self._config["guest_pass"]) - self.console_wait("Password (confirm):") - self.console_send("%s\n" % self._config["guest_pass"]) - self.console_wait_send("7) Groups", "c\n") - - while True: - good = self.console_wait("3) [x] Installation", - "3) [!] Installation") - self.console_send("r\n") - if good: - break - time.sleep(10) - - while True: - good = self.console_wait("4) [x] Software", - "4) [!] Software") - self.console_send("r\n") - if good: - break - time.sleep(10) - self.console_send("r\n" % self._config["guest_pass"]) - - self.console_wait_send("'b' to begin install", "b\n") - - self.print_step("Installation started now, this will take a while") - - self.console_wait_send("Installation complete", "\n") - self.print_step("Installation finished, rebooting") - - # setup qemu user - prompt = " ~]$" - self.console_ssh_init(prompt, self._config["guest_user"], - self._config["guest_pass"]) - self.console_wait_send(prompt, "exit\n") - - # setup root user - prompt = " ~]#" - self.console_ssh_init(prompt, "root", self._config["root_pass"]) - self.console_sshd_config(prompt) - - # setup virtio-blk #1 (tarfile) - self.console_wait(prompt) - self.console_send("echo 'KERNEL==\"vdb\" MODE=\"666\"' >> %s\n" % - "/etc/udev/rules.d/99-qemu.rules") - - self.print_step("Configuration finished, rebooting") - self.console_wait_send(prompt, "reboot\n") - self.console_wait("login:") - self.wait_ssh() - - self.print_step("Installing packages") - self.ssh_root_check("rm -vf /etc/yum.repos.d/fedora*.repo\n") - self.ssh_root_check("echo '[fedora]' >> /etc/yum.repos.d/qemu.repo\n") - self.ssh_root_check("echo 'baseurl=%s' >> /etc/yum.repos.d/qemu.repo\n" % self.full) - self.ssh_root_check("echo 'gpgcheck=0' >> /etc/yum.repos.d/qemu.repo\n") - self.ssh_root_check("dnf install -y %s\n" % " ".join(self.pkgs)) - - # shutdown - self.ssh_root(self.poweroff) - self.console_wait("sleep state S5") - self.wait() - - if os.path.exists(img): - os.remove(img) - os.rename(img_tmp, img) - os.remove(iso) - self.print_step("All done") - -if __name__ == "__main__": - sys.exit(basevm.main(FedoraVM)) From patchwork Fri Aug 26 17:21:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600294 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp557068mae; Fri, 26 Aug 2022 10:28:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR7H/0CC0XVrM4LA4AjnaMfF4O1Hzgcqdmjb40O9K0WqZFD9GshDGVFzlvIL5T8TNv6ZbI7s X-Received: by 2002:ac8:5b05:0:b0:342:fd04:a25c with SMTP id m5-20020ac85b05000000b00342fd04a25cmr660931qtw.303.1661534889755; Fri, 26 Aug 2022 10:28:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661534889; cv=none; d=google.com; s=arc-20160816; b=TRHVwsXOvcV7Hai6X3nlMCHsj7b+w6qr6NA0KNIwLVGQ0pwNVKzyjVZTqFwLncOm49 Rds7FWw0AbUsrOOcp/N3edrJ9Y22ZTCHX5ErtdufBMd1JG9afrfxRBzNi8xDiwbNtLQ7 r9xk3Mbkcry54Q3mxQ4imNQfOAvrny6ithQ4TEXg2CBhAUm/JP+T/ZcuFxPLCVYWE9M/ 21l4WOiPkbbVLa74j8TGpueu928Jgqw4yE2F+FcfG4ie4Kph9W64BAJ7nw4G6xaSKioo YYULrx5pSKXeQssNVwLEU7rQxXe4m6iiJ0rA4FRLWN2djlyHutTbH0pwJVhbFylPcdjT WOMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=9MOnu1ec0euQQzlo0EzPjCl31y4DT+jd3bOgAm+WB8M=; b=vvY0Sb0GwDMcWsBcXIP5YS69rZ22/YlZJKcAnrB12sN0vuRzCDBEyem1JxYcjzFVqY E3/qUAgK2PIikdtMvCSdN+Zsjanm0d7DuFPcCQK78VU0D51cjMWqWwgSLF4et5BF2Hyx X7jXvMpPfYUW37xPTr5ibSgAwrvxZUaUf81DlKGAnn3U8mgatijEWZzXAZbZ1oApEwJ9 Ps49Uf9q0yRtZKa9YNG0zhdtRJx2NcLg2EEDAUd0YC9rokLgSkrK8I1s/r7s9Ijs8cge uT0PNcaxvsqiQx3N6AyU5Bb8ijzezsWhyUe6mbbERyXeNe98OtExFCOJVyAjovolnoJ7 CC3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hBl4EWTa; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x13-20020a0cfe0d000000b0049705645051si105618qvr.70.2022.08.26.10.28.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:28:09 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hBl4EWTa; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:35540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRd7p-0007MD-Br for patch@linaro.org; Fri, 26 Aug 2022 13:28:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd1b-0004LR-An for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:43 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:34525) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd1Z-0002Lu-F7 for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:43 -0400 Received: by mail-wr1-x42a.google.com with SMTP id e13so1648704wrm.1 for ; Fri, 26 Aug 2022 10:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=9MOnu1ec0euQQzlo0EzPjCl31y4DT+jd3bOgAm+WB8M=; b=hBl4EWTaHql0/oUQAHIeu5nLnBQCpL8QYOPtYz4G4ivcelHD7jmIS71zjydF47VXF9 NK9DSleYcmCRxWtUy4fu3+2r0g2wG2YJMjNfD5Hbec4VqyYE9+q4BsIYZrq/d44QgQUw SngZQnc0DAv8KFvcI+PzCVBiGSJrshOMcJDIg+QlOqIzb83heoPoOHtnyHe2VaLIHhGv M8PVeBUhnBfh1wq9UnSdvfnvt5DiBYJyHtgTom4a3e/o0Rj2fm12K22z2SOYlwC7KYZK zliQmj26XR2s26MOAQqzPoYOogqeXE/yoo/5dLS1vHKgMDt8px5fd2r+k2i6EbgRiDTT t8QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=9MOnu1ec0euQQzlo0EzPjCl31y4DT+jd3bOgAm+WB8M=; b=LNY9/SrR65co2tHNIkgNMWfKOxXQIHTvQvudQmNuS0wxcB5nQKLojkfzRz5vPdL5NX xMWbNHmL1+Xx6Kod7/TviZg1xsIkv6A34J3ZTOTwrygneizPBN4UUtIUtZSKXCTRL9PS t2yHEJsBebYxkxi2+oq5fFMGPMyNXSOqHux5EvJY9bmGDnt2AwE5NQMkHOb0R4iZ6M9J UzeUBMk62V5Yb/UZiYLw8L2i0ilHGUpn1Zm/746F0lYMlKIKoUwnIgEROcbxZpY12WF7 L70r9qVMXss9ikSEvmYR2ImcPkSHcEp8D6OZWPrGORIenDZeDnR/B5xq2NiQK1AJhOJl geoA== X-Gm-Message-State: ACgBeo0G7AqL36SLF9/tuizR7ibf7rMKoj8MtH355a6sHQF4Z/hd/VeM tZtSTFSWUeT6e4LlZzDN1wUkig== X-Received: by 2002:adf:e38e:0:b0:226:cff1:4b21 with SMTP id e14-20020adfe38e000000b00226cff14b21mr387938wrm.226.1661534499915; Fri, 26 Aug 2022 10:21:39 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id f15-20020adff44f000000b00226cf855861sm237181wrp.84.2022.08.26.10.21.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:21:34 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D33951FFC4; Fri, 26 Aug 2022 18:21:29 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 13/25] gitlab-ci/custom-runners: Disable -static-pie for ubuntu-20.04-aarch64 Date: Fri, 26 Aug 2022 18:21:16 +0100 Message-Id: <20220826172128.353798-14-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Richard Henderson The project has reached the magic size at which we see /usr/aarch64-linux-gnu/lib/libc.a(init-first.o): in function `__libc_init_first': (.text+0x10): relocation truncated to fit: R_AARCH64_LD64_GOTPAGE_LO15 against \ symbol `__environ' defined in .bss section in /usr/aarch64-linux-gnu/lib/libc.a(environ.o) /usr/bin/ld: (.text+0x10): warning: too many GOT entries for -fpic, please recompile with -fPIC The bug has been reported upstream, but in the meantime there is nothing we can do except build a non-pie executable. Signed-off-by: Richard Henderson Signed-off-by: Alex Bennée Message-Id: <20220823210329.1969895-1-richard.henderson@linaro.org> --- .gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml b/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml index 3d878914e7..85a234801a 100644 --- a/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml +++ b/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml @@ -16,7 +16,9 @@ ubuntu-20.04-aarch64-all-linux-static: # --disable-glusterfs is needed because there's no static version of those libs in distro supplied packages - mkdir build - cd build - - ../configure --enable-debug --static --disable-system --disable-glusterfs --disable-libssh + # Disable -static-pie due to build error with system libc: + # https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1987438 + - ../configure --enable-debug --static --disable-system --disable-glusterfs --disable-libssh --disable-pie --extra-cflags='-fno-pie -no-pie' || { cat config.log meson-logs/meson-log.txt; exit 1; } - make --output-sync -j`nproc --ignore=40` - make --output-sync -j`nproc --ignore=40` check V=1 From patchwork Fri Aug 26 17:21:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600297 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp558123mae; Fri, 26 Aug 2022 10:30:15 -0700 (PDT) X-Google-Smtp-Source: AA6agR70AYZ/00ou4WLFsjF4Gu9gB8xIijynhEJyeMRuGp1uw0KkqsBlisLH6JuPQDGNWBknSncj X-Received: by 2002:a05:620a:4414:b0:6ba:ff5e:7063 with SMTP id v20-20020a05620a441400b006baff5e7063mr551674qkp.303.1661535015688; Fri, 26 Aug 2022 10:30:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661535015; cv=none; d=google.com; s=arc-20160816; b=uQGfVOTxJE3aN+0gQrT1fqulW32tdNAsl1QHmF1GBhzwGgko2563MHG3wBQpq9vhzj +1Da3tUrHaF5PNxmxRes2RVoyqFR10si2BVr50kLfrvb3DvrcFaO37hlL+Kd6gtS23Su q7r1NihR/72ag2jl3jPQayp39rNf3vyt9l7h59/Q7FAl0zPOISKdyl+l6lNQ0SK9sEqJ OY0kjCf8TDQx3+tMHl/L4SS7oI4BKVq3MVFt3ha2Uk4oyebelkKkyHuGdcWp1yYlK8tN ngVcdQaDBIgYasjLJPlbq+ACBFIMjX8HbHyWGhJetQBn0zjaxg62O2ohEqHmbRaaQwcX XkbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Ff7sZB1OaNxc28Z0F5n98RmjR7xkz0qOaIPD7m0R63Y=; b=byAqItZfaWj6ObJb/+0PeSH3G9iq2/VI6ExQO9GEhAibrbx3VBCZLb2fE88zwCmHyi BT5N74U6lV7Fcg16dGUe+CGi1KUXmaINy/e+eCNlcf3+JYEhqdx3D17+V4fT44APSvOv EEIMZlPhNSpq9zPc8a0YliOM0f9tMmeteFycfmFiE5DJdURRA10H3pErqlU76Z75GZtq 8LY6VeWk+ONeW0CiNtbzPd5U+0ltYM7C3c9Q3qas2WJ1wAMp5HsDb/nZMekd35RcYDUH 1c9elIQqNOhj32p0X5/4hEbVUuE+b4CRUYRA93/wIvkX/1+b1qOX6ndHhsWiLemzr3B3 JODg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lI4xqZLr; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d9-20020a05620a158900b006bb60ea8085si86144qkk.523.2022.08.26.10.30.14 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:30:15 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lI4xqZLr; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:54594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRd9q-0003Mf-2v for patch@linaro.org; Fri, 26 Aug 2022 13:30:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd1d-0004SN-Br for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:45 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:36772) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd1a-0002LX-6s for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:45 -0400 Received: by mail-wr1-x435.google.com with SMTP id bu22so2218857wrb.3 for ; Fri, 26 Aug 2022 10:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=Ff7sZB1OaNxc28Z0F5n98RmjR7xkz0qOaIPD7m0R63Y=; b=lI4xqZLrfUEt3jdiGs2kAdNsuuweVosSGkzcGxwU9m7xTRBvLG+XfuatTD+tRtaAqE VTZwBYu2qPS6iOT/10D0K3smpOgcAlRIwF9aHSQYvd8ASdlRftz3L4ovRsb9MvLpkJuy cMqfyaV48JZLPqJLPsfkUPGkYAfpAbkp3d41aaWj2hKxnRA+usBzSMIu+KAj+IH88hbM WPG90korcdg7FFkJ4+eBkP1q8yxdGvw7KGPDGfWiW0VwGqbHpjlP6HDVu9mYWs69KQzm oSUL79QmcjehWBbu2M19zO60e5pNwfJIdsmcYqnljidh/W7p1lRwfiAE60rVnPzb4haw 4dfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=Ff7sZB1OaNxc28Z0F5n98RmjR7xkz0qOaIPD7m0R63Y=; b=REmfB932WSy2AmiJ3Nc7i7ZjEOJYfyRmzCb54CjYOPVzee+CYx5veRTRuG23r0pylR LMqcnJpxXvi4TTU4VjFwFNfQbI1HCR2woIlTt+LIP7AVqyemSM6KtcaWtRyshMlmBVAf aP+zS4Ca4kvFCuFe1UlgmZTDnxvpis7u6bVkJVu4cYuJ+ADaHC7xcQHFjaE053cRlEqU BgUI0J0MT2DSzU1I21xkehtPpGRXlm5JJ9GSasfIM/LtLT2WfdOajyk16Vm23c/nRn+x agePpiuuw6r+PpHykzAl3pyL8zIqg82LSH5IE+kDukjYi2NsqMOMSk/5EZTe/h62UYoy 6fVA== X-Gm-Message-State: ACgBeo0XaRjNOBPEeLMgqtWIPJByEb67rTVsipLfSUJUOq1jv0WNZJIY mHjXAnU4Rl9L+AKG+gq6iVOCfQ== X-Received: by 2002:adf:d23c:0:b0:226:af6f:2df5 with SMTP id k28-20020adfd23c000000b00226af6f2df5mr368420wrh.595.1661534501424; Fri, 26 Aug 2022 10:21:41 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id o26-20020a05600c511a00b003a5de95b105sm226820wms.41.2022.08.26.10.21.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:21:35 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E4B821FFC5; Fri, 26 Aug 2022 18:21:29 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 14/25] gitlab-ci: update aarch32/aarch64 custom runner jobs Date: Fri, 26 Aug 2022 18:21:17 +0100 Message-Id: <20220826172128.353798-15-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The custom runner is now using 22.04 so we can drop our hacks to deal with broken libssh and glusterfs. The provisioning scripts will be updated in a separate commit. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- .gitlab-ci.d/custom-runners.yml | 4 +-- ...4-aarch32.yml => ubuntu-22.04-aarch32.yml} | 6 ++-- ...4-aarch64.yml => ubuntu-22.04-aarch64.yml} | 36 +++++++++---------- 3 files changed, 22 insertions(+), 24 deletions(-) rename .gitlab-ci.d/custom-runners/{ubuntu-20.04-aarch32.yml => ubuntu-22.04-aarch32.yml} (86%) rename .gitlab-ci.d/custom-runners/{ubuntu-20.04-aarch64.yml => ubuntu-22.04-aarch64.yml} (81%) diff --git a/.gitlab-ci.d/custom-runners.yml b/.gitlab-ci.d/custom-runners.yml index 15aaccc481..97f99e29c2 100644 --- a/.gitlab-ci.d/custom-runners.yml +++ b/.gitlab-ci.d/custom-runners.yml @@ -15,6 +15,6 @@ variables: include: - local: '/.gitlab-ci.d/custom-runners/ubuntu-20.04-s390x.yml' - - local: '/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml' - - local: '/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch32.yml' + - local: '/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml' + - local: '/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml' - local: '/.gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml' diff --git a/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch32.yml b/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml similarity index 86% rename from .gitlab-ci.d/custom-runners/ubuntu-20.04-aarch32.yml rename to .gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml index cbfa9cc164..1a2f9b8dbe 100644 --- a/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch32.yml +++ b/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml @@ -1,12 +1,12 @@ -# All ubuntu-20.04 jobs should run successfully in an environment +# All ubuntu-22.04 jobs should run successfully in an environment # setup by the scripts/ci/setup/qemu/build-environment.yml task # "Install basic packages to build QEMU on Ubuntu 20.04" -ubuntu-20.04-aarch32-all: +ubuntu-22.04-aarch32-all: needs: [] stage: build tags: - - ubuntu_20.04 + - ubuntu_22.04 - aarch32 rules: - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/' diff --git a/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml b/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml similarity index 81% rename from .gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml rename to .gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml index 85a234801a..8db1e9376a 100644 --- a/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml +++ b/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml @@ -2,23 +2,21 @@ # setup by the scripts/ci/setup/qemu/build-environment.yml task # "Install basic packages to build QEMU on Ubuntu 20.04" -ubuntu-20.04-aarch64-all-linux-static: +ubuntu-22.04-aarch64-all-linux-static: needs: [] stage: build tags: - - ubuntu_20.04 + - ubuntu_22.04 - aarch64 rules: - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/' - if: "$AARCH64_RUNNER_AVAILABLE" script: - # --disable-libssh is needed because of https://bugs.launchpad.net/qemu/+bug/1838763 - # --disable-glusterfs is needed because there's no static version of those libs in distro supplied packages - mkdir build - cd build # Disable -static-pie due to build error with system libc: # https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1987438 - - ../configure --enable-debug --static --disable-system --disable-glusterfs --disable-libssh --disable-pie --extra-cflags='-fno-pie -no-pie' + - ../configure --enable-debug --static --disable-system --disable-pie --extra-cflags='-fno-pie -no-pie' || { cat config.log meson-logs/meson-log.txt; exit 1; } - make --output-sync -j`nproc --ignore=40` - make --output-sync -j`nproc --ignore=40` check V=1 @@ -26,11 +24,11 @@ ubuntu-20.04-aarch64-all-linux-static: - make --output-sync -j`nproc --ignore=40` check-tcg V=1 || { cat meson-logs/testlog.txt; exit 1; } ; -ubuntu-20.04-aarch64-all: +ubuntu-22.04-aarch64-all: needs: [] stage: build tags: - - ubuntu_20.04 + - ubuntu_22.04 - aarch64 rules: - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/' @@ -42,17 +40,17 @@ ubuntu-20.04-aarch64-all: script: - mkdir build - cd build - - ../configure --disable-libssh + - ../configure || { cat config.log meson-logs/meson-log.txt; exit 1; } - make --output-sync -j`nproc --ignore=40` - make --output-sync -j`nproc --ignore=40` check V=1 || { cat meson-logs/testlog.txt; exit 1; } ; -ubuntu-20.04-aarch64-alldbg: +ubuntu-22.04-aarch64-alldbg: needs: [] stage: build tags: - - ubuntu_20.04 + - ubuntu_22.04 - aarch64 rules: - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/' @@ -60,18 +58,18 @@ ubuntu-20.04-aarch64-alldbg: script: - mkdir build - cd build - - ../configure --enable-debug --disable-libssh + - ../configure --enable-debug || { cat config.log meson-logs/meson-log.txt; exit 1; } - make clean - make --output-sync -j`nproc --ignore=40` - make --output-sync -j`nproc --ignore=40` check V=1 || { cat meson-logs/testlog.txt; exit 1; } ; -ubuntu-20.04-aarch64-clang: +ubuntu-22.04-aarch64-clang: needs: [] stage: build tags: - - ubuntu_20.04 + - ubuntu_22.04 - aarch64 rules: - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/' @@ -89,11 +87,11 @@ ubuntu-20.04-aarch64-clang: - make --output-sync -j`nproc --ignore=40` check V=1 || { cat meson-logs/testlog.txt; exit 1; } ; -ubuntu-20.04-aarch64-tci: +ubuntu-22.04-aarch64-tci: needs: [] stage: build tags: - - ubuntu_20.04 + - ubuntu_22.04 - aarch64 rules: - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/' @@ -105,15 +103,15 @@ ubuntu-20.04-aarch64-tci: script: - mkdir build - cd build - - ../configure --disable-libssh --enable-tcg-interpreter + - ../configure --enable-tcg-interpreter || { cat config.log meson-logs/meson-log.txt; exit 1; } - make --output-sync -j`nproc --ignore=40` -ubuntu-20.04-aarch64-notcg: +ubuntu-22.04-aarch64-notcg: needs: [] stage: build tags: - - ubuntu_20.04 + - ubuntu_22.04 - aarch64 rules: - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/' @@ -125,7 +123,7 @@ ubuntu-20.04-aarch64-notcg: script: - mkdir build - cd build - - ../configure --disable-libssh --disable-tcg + - ../configure --disable-tcg || { cat config.log meson-logs/meson-log.txt; exit 1; } - make --output-sync -j`nproc --ignore=40` - make --output-sync -j`nproc --ignore=40` check V=1 From patchwork Fri Aug 26 17:21:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600311 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp569139mae; Fri, 26 Aug 2022 10:53:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR4Ab7BvqUq2tkrM+EEoh7skiWxiOO9qtMJIpOOST0yg/aOKWWnhDNyyR6ca8w7MEY9CqPup X-Received: by 2002:ac8:7d03:0:b0:344:b890:c6ba with SMTP id g3-20020ac87d03000000b00344b890c6bamr770903qtb.400.1661536416697; Fri, 26 Aug 2022 10:53:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661536416; cv=none; d=google.com; s=arc-20160816; b=i/xJtkZ+X8vODg7sxFToUWsmishjit7nZHZX6uTbbTX4oCUJ2shk0uSGuzbdFMAVjQ 3gM/E1rZ2tTaBwy61JPR5WmTmOemoZS3KE/t/TtGXVALdwrkW1QJfXRs0hISTmSg7/GP et1LGUfG/GryEq2y5NydJs2w0MKTx4SrjzAm+lsXlBOCtp5bhiK/GCL2kGjWvxN6RN5o 21vlc7THcx0HcMY/69MW37V8MAhZjahSQu0ccBy2DCdKittpBKt+RRPS1rVpj8PdqKJh 5qla7GzYSDvGLl355rAGeB5Sq1YQdR5vVSTs26ZEPdftazMAnKIHrQvDOcTywh2kMycW elbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=rs4UzZwFXide81aBRRsAexooSiW+xU7JJQn2OmaFS64=; b=hiEAMBFVQa8Z3Q6mo5sHZ8E/gTxQUBfNRBhXSratW/j9Y/OoM5dp8oVzn/BRK5FzVu ZgES2Z+aLOtwaLnKA3t4fq5lO+fLRVsX/x+j6VNpDjGhd41VPvfZUJ4zl33QCAV6q1GC y2UYFUaiQ8FOXA2//6/TDxDha5vaaf++NvSq+lW6zDp81TbZYHbEOOSz8qOGvCcQ1lTv +E5qe6UIuQutTLFyJK/txJdEru/Yx0zPvvwLxlVr0k2PKmr9/nRlJLTFE75clVDpy91v u7lDYUIme8gHCMvwwg//JT7R32Ke1HFHYQjHUx1qb/ec0LyUfzazIDyFKtLEzN8PafPR I/cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="L8eQ2/eS"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s14-20020a05620a080e00b006bc422bc925si119844qks.148.2022.08.26.10.53.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:53:36 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="L8eQ2/eS"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:49892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRdWS-0001fV-9R for patch@linaro.org; Fri, 26 Aug 2022 13:53:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRdJi-0007g1-VJ for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:40:26 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:46862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRdJY-0005P2-MD for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:40:25 -0400 Received: by mail-wr1-x42c.google.com with SMTP id e20so2590511wri.13 for ; Fri, 26 Aug 2022 10:40:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=rs4UzZwFXide81aBRRsAexooSiW+xU7JJQn2OmaFS64=; b=L8eQ2/eSvKw7RRS0HPrMlfrJRYezIEXrMweoI+MxrTWohaEYv8FiaBCbi9+m7CVHdz rFAm3ltdZ6EujYK6ePgIOzMKuFwy9pqY/f8rJneWD1uq5cHeF+tpApLH4fhS6VdLrzcX uW79qDPiKBxvWnxiMFVgQf1PELLvtOXd536c+N0E7BzS66oW04BAsHMDM4DGTBibn4pQ Wq+MUsK6I1JlvZmHO0B4ZQBY1+BOi1uhV4+6ry5SOkZdQwpUtK2HH8ZGLWwxsfSlS6Gh sJoxGTyWGVYd/xOCNkiy0wJMLpXjxfyMV/xy8QU+q2wiqG6BGD+V8uGv9+CqFqeaqP+U 5Eag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=rs4UzZwFXide81aBRRsAexooSiW+xU7JJQn2OmaFS64=; b=lwEcXnZ1u4SMiSdtIzQxKutnCOQtZDZhZYE8JbhN46WKCBA0rf8ZRdApD1g71MCWGP ArSxVWiskIUgY0PqnEa5NjjpS0OJKTZ+Gaw02CUGSP+YL/a3+XPR1uu+lig5bbOPC7KO FDUqWG9ZwZm1iACRsJJBtqpUrmacJxxaZ7ZlxT30ce7MQY3RiOAj15+n61BDfkE9GxjV 2o9yg1YXp5Sp/fWmpmY9v7gy3pBDXg5gi5LffeqiCPULNYHCWBIv/Hh58t1F68ZkTzyl ckW2qcCeM3bDPr9R0TQh4fI+/7CdnJznZ7uKRLIZNLaCc/YVd/g6T6oMAh1wBzEPxKhC wXbw== X-Gm-Message-State: ACgBeo1LUPKeGnW1GqT8EYElkF8cSzcMgqGWbkDgvMiMa0TxsefbNLNo syR3uu8/JhKaEK8zni9eezmKZA== X-Received: by 2002:a05:6000:1448:b0:225:63f2:2421 with SMTP id v8-20020a056000144800b0022563f22421mr380862wrx.527.1661535614647; Fri, 26 Aug 2022 10:40:14 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id l4-20020a05600c2cc400b003a502c23f2asm280678wmc.16.2022.08.26.10.40.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:40:14 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 22A4E1FFC7; Fri, 26 Aug 2022 18:21:30 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 16/25] tests/docker: flatten debian-riscv64-test-cross Date: Fri, 26 Aug 2022 18:21:19 +0100 Message-Id: <20220826172128.353798-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Flatten into a single dockerfile. We really don't need the rest of the stuff from the QEMU base image just to compile test images. Signed-off-by: Alex Bennée --- .gitlab-ci.d/container-cross.yml | 1 - tests/docker/Makefile.include | 1 - .../dockerfiles/debian-riscv64-test-cross.docker | 10 ++++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml index 95d57e1c5d..3a8bd75473 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -122,7 +122,6 @@ riscv64-debian-cross-container: riscv64-debian-test-cross-container: extends: .container_job_template stage: containers - needs: ['amd64-debian11-container'] variables: NAME: debian-riscv64-test-cross diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index b1bf56434f..24cd44e667 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -133,7 +133,6 @@ docker-image-debian-all-test-cross: docker-image-debian10 docker-image-debian-loongarch-cross: docker-image-debian11 docker-image-debian-microblaze-cross: docker-image-debian10 docker-image-debian-nios2-cross: docker-image-debian10 -docker-image-debian-riscv64-test-cross: docker-image-debian11 # These images may be good enough for building tests but not for test builds DOCKER_PARTIAL_IMAGES += debian-alpha-cross diff --git a/tests/docker/dockerfiles/debian-riscv64-test-cross.docker b/tests/docker/dockerfiles/debian-riscv64-test-cross.docker index 1d90901298..e5f83a5aeb 100644 --- a/tests/docker/dockerfiles/debian-riscv64-test-cross.docker +++ b/tests/docker/dockerfiles/debian-riscv64-test-cross.docker @@ -3,10 +3,12 @@ # # This docker target builds on the Debian Bullseye base image. # -FROM qemu/debian11 +FROM docker.io/library/debian:11-slim -RUN apt update && \ - DEBIAN_FRONTEND=noninteractive eatmydata \ - apt install -y --no-install-recommends \ +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ gcc-riscv64-linux-gnu \ libc6-dev-riscv64-cross From patchwork Fri Aug 26 17:21:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600300 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp561594mae; Fri, 26 Aug 2022 10:37:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR6JC5S1ddTxjWQN7rtyP1XgtKgs2v6FSf4RMvW21OWvAHYdut8xvf4MLgWpoehXdV0WmvUz X-Received: by 2002:a05:6214:519e:b0:496:cd91:aa4d with SMTP id kl30-20020a056214519e00b00496cd91aa4dmr608515qvb.41.1661535424548; Fri, 26 Aug 2022 10:37:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661535424; cv=none; d=google.com; s=arc-20160816; b=z2ccQhngOJWcqc8EKChH+tVI/YJE/bG68FWqa1lfFqnbRXIjLcYt1StcdyhjRjw4dW WPzjyIl2yyJgAmow2204RBMqez2eeDUZRtQLaYAbCOAqKfOdmlW/FMtSpmAkjQeHi+bZ N6tmU29uS/MX8IFx79ReeB3Z0NYosSHubVw566UBABe9TT9w+vffCOP4JshqZdT+h1Qu pC7jupsBwQy0AYoi+gmLHzQE+zyfO5utWMju7zP4zcnUFfcGZkEMQKLdusmhyiK1pm5c VQlBtMZDWb8/x9si68hFhDIt8SeNEJHs2lU9Hr+RYdYm/h5tyvB6PuQVzRBaNdV+Ozaf 6yvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=VKq4HdjnbagPKU83hkUmlke9fywEnShvMG1y8ode+Zw=; b=IIaG4qzcWFRRjA2U3HdHrDlo6z7rozlh9s4yim0u++8nuzjNgxwhRdlSDgW2pPHUpZ L0uvCJGCdJqZHF75kT39gOu3UT/5fTHDYqHQYxlcQloa33HZsPMrcaIPNG497s8ptYms Q98Aa65mhhway6zRX7mQcfNzB+s597WppME/M7Qn04Lf9ZAcJX+f8Xc/+ff/hWM7RvFa 2S2s8/z3NKqlsOLgkLcT320CeoHLtB3Jb6HV6ANSyMR1Z5ug+RKNPTMpuvBr10joGymM HLYYR7OoiFLqfYbCKsOFfr+fS7PGNemCLOzrq/MlC2toJbc6NTF+hMG7YYAXOaz4vGBn zn8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AamiD3sZ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id b11-20020ac8540b000000b0034377c6eee2si167038qtq.424.2022.08.26.10.37.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:37:04 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AamiD3sZ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:56074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRdGS-0000mW-4j for patch@linaro.org; Fri, 26 Aug 2022 13:37:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd9v-0005e7-Oi for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:19 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:36679) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd9t-0003f2-D1 for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:19 -0400 Received: by mail-wm1-x329.google.com with SMTP id v7-20020a1cac07000000b003a6062a4f81so4772620wme.1 for ; Fri, 26 Aug 2022 10:30:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=VKq4HdjnbagPKU83hkUmlke9fywEnShvMG1y8ode+Zw=; b=AamiD3sZvzdafT+LBbhKeyA3F5Sr5UPrnTjirYfDz8eWBWCAKP9blmyIqOXyCNuHAV tkVOrR/zTvrBbDRgSl5qs3AF7t5AotEXuU6GWNcULiE67fc0AsjdRFurBAC6ZPdeCK14 0KzHDl5sFzS4SQY77dH5s2abdCRtbhbgDkRYdxgaBA8e+AgdqAU1WlIJ0yrLysyq0QUA geV8qzh/8VnLTpTCnxPniIg/J0d7UdGz9jlx8F0oIgYuMgDxTT0jos/JrhZfyRwHdhgX PeTBoHEnUg0BPA42lvvhPB0WJgtIInbgr2e4iOYkzvXkCSL6rO1UCvCan9AmfYjIGLiw ePaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=VKq4HdjnbagPKU83hkUmlke9fywEnShvMG1y8ode+Zw=; b=zaGvhEQKur16kB+sH7+aJPXGDUXGWiK++kEjmbGBOndQKoo1CFuW8RglmcdUzaKjag ekcQiBlN+WyiRLw8QvbEGXYQak4GC6D5cDF1z6E4piXIpgF30KaSoBlnPr6ud2ilwteW z5w81oPSfjyWAt7WXyJ3uTc+3MUlALRLKMCFm4qjFmN8fByXD+07XOtjDMHx4P20c+qq DW0tzSHXXL1VTwbhc4PxzQ6XWwjQsjXPXiJ6xGEdxwXIqYEHkRVWc60mCnr9RHMIRia4 3wzI+B0TT6EQSaYA24YYPbSnydoq5az4FQsOVd44liXErw2SR64sHzEgrsh+raI8iHVa daAw== X-Gm-Message-State: ACgBeo2RYGtzE0z4ILoSWakMm7jeKHx8QPtPLcQ3HLvssyI9SLFDcTnt 1att2Oi5LiTebDNeJdDzJSf1Tw== X-Received: by 2002:a05:600c:198e:b0:3a5:d4a2:8896 with SMTP id t14-20020a05600c198e00b003a5d4a28896mr391249wmq.140.1661535014654; Fri, 26 Aug 2022 10:30:14 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id w5-20020a5d6805000000b0021e8d205705sm267333wru.51.2022.08.26.10.30.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:30:14 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 407931FFB8; Fri, 26 Aug 2022 18:21:30 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 17/25] tests/docker: update and flatten debian-all-test-cross Date: Fri, 26 Aug 2022 18:21:20 +0100 Message-Id: <20220826172128.353798-18-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x329.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Update to the latest stable Debian. While we are at it flatten into a single dockerfile. We also need to ensure we install clang as it is used for those builds as well. It would be nice to port this to lcitool but for now this will do. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- .gitlab-ci.d/container-cross.yml | 1 - tests/docker/Makefile.include | 1 - .../dockerfiles/debian-all-test-cross.docker | 18 ++++++++++++++---- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml index 3a8bd75473..091c0d8fcb 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -14,7 +14,6 @@ amd64-debian-cross-container: amd64-debian-user-cross-container: extends: .container_job_template stage: containers - needs: ['amd64-debian10-container'] variables: NAME: debian-all-test-cross diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 24cd44e667..ddcc502049 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -129,7 +129,6 @@ docker-image-debian-nios2-cross: $(DOCKER_FILES_DIR)/debian-toolchain.docker \ $(call debian-toolchain, $@) # Specialist build images, sometimes very limited tools -docker-image-debian-all-test-cross: docker-image-debian10 docker-image-debian-loongarch-cross: docker-image-debian11 docker-image-debian-microblaze-cross: docker-image-debian10 docker-image-debian-nios2-cross: docker-image-debian10 diff --git a/tests/docker/dockerfiles/debian-all-test-cross.docker b/tests/docker/dockerfiles/debian-all-test-cross.docker index dedcea58b4..508a914c22 100644 --- a/tests/docker/dockerfiles/debian-all-test-cross.docker +++ b/tests/docker/dockerfiles/debian-all-test-cross.docker @@ -6,11 +6,21 @@ # basic compilers for as many targets as possible. We shall use this # to build and run linux-user tests on GitLab # -FROM qemu/debian10 +FROM docker.io/library/debian:11-slim -# What we need to build QEMU itself -RUN apt update && \ - DEBIAN_FRONTEND=noninteractive eatmydata \ +# Duplicate deb line as deb-src +RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + apt install -y --no-install-recommends \ + ccache \ + clang \ + git \ + ninja-build \ + && \ apt build-dep -yy qemu # Add the foreign architecture we want and install dependencies From patchwork Fri Aug 26 17:21:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600303 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp561654mae; Fri, 26 Aug 2022 10:37:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR6tVFuPp+7LhlDM8uVYS90c1P9R+0CQQLDt4hvlAdo/Nszt+yXMk5JRBYeMmsIkyQ/eo09H X-Received: by 2002:ae9:c217:0:b0:6bc:e9a:f50a with SMTP id j23-20020ae9c217000000b006bc0e9af50amr599632qkg.588.1661535431901; Fri, 26 Aug 2022 10:37:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661535431; cv=none; d=google.com; s=arc-20160816; b=egdTjPUdrwlPFvxqgaNp+x9u2xdui0IWb7NV1UhUNTDnWuL65kdoPY/cO+as2OU2Et LFfgus31PhfJ5HZlg2V9kQ8oRh4fLn88Xif0BD4ijz3W5ReKk33pjWLkPfMnUfdwCpqH o1WNKZfkiuiwWSa53ojhr5rFb4B3C2jTsm6k/blYG4lluz6NgrXqAklix3W1MWZ2mQ72 fT0bw6mPK8co5RvgXIs0yof650nDqm7KsWEzV6HZ133N5DDl4woBunl3tWnS6WrHU3j/ 5vrZf5P8HU9hbWF4Q1/h1SHvKcAq0LdmlEcyXCBcnalbndv40vFJmGIcdnP1sS8u267R QC3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=P9qUlmQ6bHDpUyw8GQYXi/syoMLq+KFWBLG7LsVP/Bs=; b=MGZVvtZUZdNQCaw3kPKrIgB+hE5RhQ3mfAiUXuNHfM3yNiStf+wAMD4p6XpQPIYLHd P2mphl8K12A5v1MHgaCkXPLGLXtqQLMwLIZVdEog55z5Zm05vh/gFvQQGrqV/6xloJEq IcinqGj739bzyNC9mVztZVvOelzDJmKJpkWAP6eav/8TTk1i6Nv9JGTAkmUMSZdqpCZj VOE3v20H35ZMVz5CHt0mu5YVtp2R9eKvgytEWVQdDoIjNKrJGQEIViPpwkWJSGYkeOfJ JyegQWqzM3M1df3t8AK9I6sIbnbkC8kC987cm1D3Gp7aGLNDNa3T1gc/fiteZVfKrcYV kSMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PtTloNdL; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c18-20020ac86612000000b0034471019466si202156qtp.180.2022.08.26.10.37.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:37:11 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PtTloNdL; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:56086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRdGZ-0000yC-D0 for patch@linaro.org; Fri, 26 Aug 2022 13:37:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd9x-0005fw-8S for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:21 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:41840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd9u-0003gB-JU for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:21 -0400 Received: by mail-wr1-x431.google.com with SMTP id t12so2579277wrm.8 for ; Fri, 26 Aug 2022 10:30:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=P9qUlmQ6bHDpUyw8GQYXi/syoMLq+KFWBLG7LsVP/Bs=; b=PtTloNdLkmxpNfl78lpWdTFF4d9R1S4z1iY0DRo9/C8USB6vYoFaRtUimAY4X7POxA DTsYHU0ifj1C4Aa5DF2MQpZvzogi6hs4mU9GJh+DFiYM+fA7BTTWwF563U7EUnGtMJmA 8WgJMKi9UwUpAEJD8yXUcHAgLPlIppMNLpBYCbjwkRyOpOJgF2FhcbqtL+itzvpt0/oV 7dAmZoHwNfucuw6Jje0HpcolW1dbzMcqDiZDVFgl++TozP92uMuVpbQNB4LmV/TmVpb7 kIuLHMbT1QLzPZHeqaSpUf3V3HZzHisQSQR3yTDWTfa6LgTsqeCHzA3t+YHVmR0ZQ3fQ 7YYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=P9qUlmQ6bHDpUyw8GQYXi/syoMLq+KFWBLG7LsVP/Bs=; b=nrIwBFj2sstBHS3DuH9P5DUuem55eZIvycobO2SM2gv+Lkr2GYwknau+QKFkBswkxf QV6Cx0+nXRNUeYfg6AvYT1OZcEG/xrLO+u5ZReDjHtqufLF3drlP7Qu9LyUwApxBwP0w egp5AX5KEogEQq9AvHfwBPCVL87NlKWbDB2vl2cCQ3l7oOqSidthm5xqD6rl7yLSeZq+ OBkUmRlma2nvgF1g+UEFn11jRuVhUNAvTMcNnXRv2ZyItb1W2f5ecoLpBvMJO3mb+ert uWV2DO2DTENiKXkPudNk8l7Qnr8A70S74ne7KHctwcY+NROJaU+/VOcBKizXClP50yq9 kwoQ== X-Gm-Message-State: ACgBeo1MxJFPr7NjbgQHHe4klEwEZaibVaus4eAUweLT37MKKGUWyLT6 GS3zk5D7+uAhLmbV1UZNRf7+Sw== X-Received: by 2002:a5d:6d81:0:b0:225:7462:8ca1 with SMTP id l1-20020a5d6d81000000b0022574628ca1mr385540wrs.235.1661535016845; Fri, 26 Aug 2022 10:30:16 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id f24-20020a1c6a18000000b003a541d893desm186066wmc.38.2022.08.26.10.30.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:30:14 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 55FCB1FFC8; Fri, 26 Aug 2022 18:21:30 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Ed Maste , Li-Wen Hsu , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 18/25] tests/lcitool: bump to latest version Date: Fri, 26 Aug 2022 18:21:21 +0100 Message-Id: <20220826172128.353798-19-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We need this to be able to cleanly build the x86 cross images. There are a few minor updates triggered by lcitool-refresh. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- .gitlab-ci.d/cirrus/freebsd-12.vars | 2 +- .gitlab-ci.d/cirrus/freebsd-13.vars | 2 +- tests/docker/dockerfiles/opensuse-leap.docker | 2 +- tests/docker/dockerfiles/ubuntu2004.docker | 2 +- tests/lcitool/libvirt-ci | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.d/cirrus/freebsd-12.vars b/.gitlab-ci.d/cirrus/freebsd-12.vars index 8fa5a320e9..1a5959810f 100644 --- a/.gitlab-ci.d/cirrus/freebsd-12.vars +++ b/.gitlab-ci.d/cirrus/freebsd-12.vars @@ -11,6 +11,6 @@ MAKE='/usr/local/bin/gmake' NINJA='/usr/local/bin/ninja' PACKAGING_COMMAND='pkg' PIP3='/usr/local/bin/pip-3.8' -PKGS='alsa-lib bash bzip2 ca_root_nss capstone4 ccache cdrkit-genisoimage cmocka ctags curl cyrus-sasl dbus diffutils dtc fusefs-libs3 gettext git glib gmake gnutls gsed gtk3 json-c libepoxy libffi libgcrypt libjpeg-turbo libnfs libspice-server libssh libtasn1 llvm lzo2 meson ncurses nettle ninja opencv perl5 pixman pkgconf png py39-numpy py39-pillow py39-pip py39-sphinx py39-sphinx_rtd_theme py39-yaml python3 rpm2cpio sdl2 sdl2_image snappy spice-protocol tesseract texinfo usbredir virglrenderer vte3 zstd' +PKGS='alsa-lib bash bzip2 ca_root_nss capstone4 ccache cdrkit-genisoimage cmocka ctags curl cyrus-sasl dbus diffutils dtc fusefs-libs3 gettext git glib gmake gnutls gsed gtk3 json-c libepoxy libffi libgcrypt libjpeg-turbo libnfs libslirp libspice-server libssh libtasn1 llvm lzo2 meson ncurses nettle ninja opencv perl5 pixman pkgconf png py39-numpy py39-pillow py39-pip py39-sphinx py39-sphinx_rtd_theme py39-yaml python3 rpm2cpio sdl2 sdl2_image snappy spice-protocol tesseract texinfo usbredir virglrenderer vte3 zstd' PYPI_PKGS='' PYTHON='/usr/local/bin/python3' diff --git a/.gitlab-ci.d/cirrus/freebsd-13.vars b/.gitlab-ci.d/cirrus/freebsd-13.vars index 8ed7e33a77..5e5aafd7e5 100644 --- a/.gitlab-ci.d/cirrus/freebsd-13.vars +++ b/.gitlab-ci.d/cirrus/freebsd-13.vars @@ -11,6 +11,6 @@ MAKE='/usr/local/bin/gmake' NINJA='/usr/local/bin/ninja' PACKAGING_COMMAND='pkg' PIP3='/usr/local/bin/pip-3.8' -PKGS='alsa-lib bash bzip2 ca_root_nss capstone4 ccache cdrkit-genisoimage cmocka ctags curl cyrus-sasl dbus diffutils dtc fusefs-libs3 gettext git glib gmake gnutls gsed gtk3 json-c libepoxy libffi libgcrypt libjpeg-turbo libnfs libspice-server libssh libtasn1 llvm lzo2 meson ncurses nettle ninja opencv perl5 pixman pkgconf png py39-numpy py39-pillow py39-pip py39-sphinx py39-sphinx_rtd_theme py39-yaml python3 rpm2cpio sdl2 sdl2_image snappy spice-protocol tesseract texinfo usbredir virglrenderer vte3 zstd' +PKGS='alsa-lib bash bzip2 ca_root_nss capstone4 ccache cdrkit-genisoimage cmocka ctags curl cyrus-sasl dbus diffutils dtc fusefs-libs3 gettext git glib gmake gnutls gsed gtk3 json-c libepoxy libffi libgcrypt libjpeg-turbo libnfs libslirp libspice-server libssh libtasn1 llvm lzo2 meson ncurses nettle ninja opencv perl5 pixman pkgconf png py39-numpy py39-pillow py39-pip py39-sphinx py39-sphinx_rtd_theme py39-yaml python3 rpm2cpio sdl2 sdl2_image snappy spice-protocol tesseract texinfo usbredir virglrenderer vte3 zstd' PYPI_PKGS='' PYTHON='/usr/local/bin/python3' diff --git a/tests/docker/dockerfiles/opensuse-leap.docker b/tests/docker/dockerfiles/opensuse-leap.docker index 047a435ab5..193df305af 100644 --- a/tests/docker/dockerfiles/opensuse-leap.docker +++ b/tests/docker/dockerfiles/opensuse-leap.docker @@ -127,7 +127,7 @@ RUN zypper update -y && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc -RUN pip3 install meson==0.56.0 +RUN /usr/bin/pip3 install meson==0.56.0 ENV LANG "en_US.UTF-8" ENV MAKE "/usr/bin/make" diff --git a/tests/docker/dockerfiles/ubuntu2004.docker b/tests/docker/dockerfiles/ubuntu2004.docker index 99803b343b..e1f4ed7c80 100644 --- a/tests/docker/dockerfiles/ubuntu2004.docker +++ b/tests/docker/dockerfiles/ubuntu2004.docker @@ -137,7 +137,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/g++ && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc -RUN pip3 install meson==0.56.0 +RUN /usr/bin/pip3 install meson==0.56.0 ENV LANG "en_US.UTF-8" ENV MAKE "/usr/bin/make" diff --git a/tests/lcitool/libvirt-ci b/tests/lcitool/libvirt-ci index 324355cf62..be7d1f2c7f 160000 --- a/tests/lcitool/libvirt-ci +++ b/tests/lcitool/libvirt-ci @@ -1 +1 @@ -Subproject commit 324355cf62e86fb551408575afb123bac989ac37 +Subproject commit be7d1f2c7fb8c1462592b96c15c4358285d37230 From patchwork Fri Aug 26 17:21:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600310 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp569041mae; Fri, 26 Aug 2022 10:53:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR56ZLGwAwdXmpLLx2iC3s2qsi1gDDtQxMZpSOo6d2u63TbeukzIndO2nEXfVo6ePZNezIvu X-Received: by 2002:a05:6214:2aa2:b0:477:47ad:c2bf with SMTP id js2-20020a0562142aa200b0047747adc2bfmr634858qvb.125.1661536403938; Fri, 26 Aug 2022 10:53:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661536403; cv=none; d=google.com; s=arc-20160816; b=OdsJYeVvorQaiN1erxa+ICI/MgRW9JEZdQOMdBkW9K0h9QY7G2AxRtNzfGHYg2uLJ0 chFS0auO3JwwbpXj0JC+lJ1HPD5AFH/sx20IpQmCCcAw4bJDuHv876A44rg+6xxYX3T4 wIxavFSUCuilSQK4P2r/eBd82WPf9+M9JbOHpGF5NgF0QwxgV/lf4noI1A527OWSALmF kShXsmuciyuk/iz0J03uHDlZJZgY4pZyFy5BlHWCYeJ1Cfe9fwzmusYYQOtaVpPBF4dE PtWKf4jXUkmjlqjm7pW3MzfEdBt/9th0/hvUVJrh7v/yCgNy1VOSAE0GIF59/xG8ryK2 Fuig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=BUuNaD8Wi/tjbqr73gNYYT5sRznMYC5TV90HwxbcYM4=; b=goqfqJMKxDRGs9RlRyuTTo2FMkycdv++gzHO7DLnulll9vfRtdsK/xbx1m7sgEH9G6 9S5RQ9egq2YFe7nxOJ+mYma+2UuDHE2Lh0dpaJvxqAg1OvLEgF3y5a4yno4pMd74Qy2Z 1TUts2pyJzCKKds1Oqb+MbIZBpOTWTwBCdWhVCEKjJuiNG3LCq9dVukmNVSGYI12OMDk sv5jb0ZbqMFGGvfOIwmOZtS0TECMFW0MKXRk8qxA7uYUoBEUjg0Bn9dHLKuIFI6MyeOZ qYdhWXwR6sMGbj7YbfJ5Dg48wkgFkhunrDkwi9e/qPR6PZl/dIfNl1aCNm+IjMzjf4k5 uauw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S4YpyWoV; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id bm30-20020a05620a199e00b006b5703a4085si136203qkb.617.2022.08.26.10.53.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:53:23 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S4YpyWoV; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:35680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRdWF-0001Mw-FH for patch@linaro.org; Fri, 26 Aug 2022 13:53:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRdA2-0005qg-0S for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:26 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:38560) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd9y-0003gw-SB for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:25 -0400 Received: by mail-wm1-x334.google.com with SMTP id n23-20020a7bc5d7000000b003a62f19b453so4774190wmk.3 for ; Fri, 26 Aug 2022 10:30:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=BUuNaD8Wi/tjbqr73gNYYT5sRznMYC5TV90HwxbcYM4=; b=S4YpyWoV4EFyh4Q3BhYpF9CR0fknarf0yKVPRQPzEBRaTyMqTz+TMdSxaSKIHmQqxE 3M7roytea8TZ76TzgHY584OeanAtTxU4bl0osm4lfVcvyxzN03ty5W5EhTxtiouIyEV8 P4Z2cXrumJKltsYtQlCoot4RG0x9/IQWKBmGJKJ6SCI/wwkyY06nz+/HOA0XCwb8N39b +FyQfJtaBVFqzhuhcMsCQLqUUQk0BfPMUYbskca33FM9mNv3SERBeXCNT32rvb3O+oiO VtiGGc1zcMcYA9fJY7P41qWk61qu3NlCv10+I/rjQsEFutoMc4l9tzxSv5zMhACC4I++ mXBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=BUuNaD8Wi/tjbqr73gNYYT5sRznMYC5TV90HwxbcYM4=; b=fOqjK3FnBB+7HIB9USwUdu2zgIYhMXDb9GcgCqwXGfm7ZnTT+M7x2ZaMI1njpNfEOv 3XMJozOOPwYuiD/2i9Wr3CWP05RD63sAGEUWgSsqmNmysmpz3HWks4OFbLioXJlNiWDL JuywVo/rkmc0hQgKto9uc+luNRXRaMuxI/jGqPH1FuYHQqx9cpDdNXZGSUbDKpE6FMJu k1q82quXQeBjg/Jtxpzh6qWr9Ey17sbo9+2o5wkKtoaGzEwt4W1dduQTiQxhHdVOriCB rI7L2TTYKhbQpDGk4NkdM0fLuz/BUpdFJ8w+8EVYVjxL/L6anW2xLKiDGFsqTUJu3Zbl 9QDA== X-Gm-Message-State: ACgBeo2nb4CVKnpkVy+gS/k89xCZCgJRmqRqPFrjurRbx3lztrs815xr j6BnEYXEhXqDgchrSblRJrR3xw== X-Received: by 2002:a05:600c:4f43:b0:3a6:2335:f5de with SMTP id m3-20020a05600c4f4300b003a62335f5demr341738wmq.109.1661535022108; Fri, 26 Aug 2022 10:30:22 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id f16-20020a5d58f0000000b0021e42e7c7dbsm259882wrd.83.2022.08.26.10.30.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:30:18 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 74DA61FFC9; Fri, 26 Aug 2022 18:21:30 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 19/25] tests/docker: update and flatten debian-amd64-cross Date: Fri, 26 Aug 2022 18:21:22 +0100 Message-Id: <20220826172128.353798-20-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x334.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Now lcitool has support for building a x86_64 cross image we can use it for this. Signed-off-by: Alex Bennée Acked-by: Thomas Huth --- .gitlab-ci.d/container-cross.yml | 1 - tests/docker/Makefile.include | 1 - .../dockerfiles/debian-amd64-cross.docker | 178 ++++++++++++++++-- tests/lcitool/refresh | 7 + 4 files changed, 169 insertions(+), 18 deletions(-) diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml index 091c0d8fcb..2d560e9764 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -7,7 +7,6 @@ alpha-debian-cross-container: amd64-debian-cross-container: extends: .container_job_template stage: containers - needs: ['amd64-debian10-container'] variables: NAME: debian-amd64-cross diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index ddcc502049..a0f5109628 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -75,7 +75,6 @@ DOCKER_PARTIAL_IMAGES := debian10 debian11 ifeq ($(HOST_ARCH),x86_64) DOCKER_PARTIAL_IMAGES += debian-amd64-cross else -docker-image-debian-amd64-cross: docker-image-debian10 DOCKER_PARTIAL_IMAGES += debian-amd64 endif diff --git a/tests/docker/dockerfiles/debian-amd64-cross.docker b/tests/docker/dockerfiles/debian-amd64-cross.docker index 870109ef6a..7d2feb7bf7 100644 --- a/tests/docker/dockerfiles/debian-amd64-cross.docker +++ b/tests/docker/dockerfiles/debian-amd64-cross.docker @@ -1,22 +1,168 @@ +# THIS FILE WAS AUTO-GENERATED # -# Docker x86_64 cross target +# $ lcitool dockerfile --layers all --cross x86_64 debian-11 qemu # -# This docker target is used on non-x86_64 machines which need the -# x86_64 cross compilers installed. -# -FROM qemu/debian10 -MAINTAINER Alex Bennée +# https://gitlab.com/libvirt/libvirt-ci + +FROM docker.io/library/debian:11-slim + +RUN export DEBIAN_FRONTEND=noninteractive && \ + apt-get update && \ + apt-get install -y eatmydata && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y \ + bash \ + bc \ + bsdextrautils \ + bzip2 \ + ca-certificates \ + ccache \ + dbus \ + debianutils \ + diffutils \ + exuberant-ctags \ + findutils \ + gcovr \ + genisoimage \ + gettext \ + git \ + hostname \ + libpcre2-dev \ + libspice-protocol-dev \ + llvm \ + locales \ + make \ + meson \ + ncat \ + ninja-build \ + openssh-client \ + perl-base \ + pkgconf \ + python3 \ + python3-numpy \ + python3-opencv \ + python3-pillow \ + python3-pip \ + python3-sphinx \ + python3-sphinx-rtd-theme \ + python3-venv \ + python3-yaml \ + rpm2cpio \ + sed \ + sparse \ + tar \ + tesseract-ocr \ + tesseract-ocr-eng \ + texinfo && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ + sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \ + dpkg-reconfigure locales + +ENV LANG "en_US.UTF-8" +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" -# Add the foreign architecture we want and install dependencies -RUN dpkg --add-architecture amd64 -RUN apt update && \ - DEBIAN_FRONTEND=noninteractive eatmydata \ - apt install -y --no-install-recommends \ - crossbuild-essential-amd64 -RUN apt update && \ - DEBIAN_FRONTEND=noninteractive eatmydata \ - apt build-dep -yy -a amd64 --arch-only qemu +RUN export DEBIAN_FRONTEND=noninteractive && \ + dpkg --add-architecture amd64 && \ + eatmydata apt-get update && \ + eatmydata apt-get dist-upgrade -y && \ + eatmydata apt-get install --no-install-recommends -y dpkg-dev && \ + eatmydata apt-get install --no-install-recommends -y \ + g++-x86-64-linux-gnu \ + gcc-x86-64-linux-gnu \ + libaio-dev:amd64 \ + libasan5:amd64 \ + libasound2-dev:amd64 \ + libattr1-dev:amd64 \ + libbpf-dev:amd64 \ + libbrlapi-dev:amd64 \ + libbz2-dev:amd64 \ + libc6-dev:amd64 \ + libcacard-dev:amd64 \ + libcap-ng-dev:amd64 \ + libcapstone-dev:amd64 \ + libcmocka-dev:amd64 \ + libcurl4-gnutls-dev:amd64 \ + libdaxctl-dev:amd64 \ + libdrm-dev:amd64 \ + libepoxy-dev:amd64 \ + libfdt-dev:amd64 \ + libffi-dev:amd64 \ + libfuse3-dev:amd64 \ + libgbm-dev:amd64 \ + libgcrypt20-dev:amd64 \ + libglib2.0-dev:amd64 \ + libglusterfs-dev:amd64 \ + libgnutls28-dev:amd64 \ + libgtk-3-dev:amd64 \ + libibumad-dev:amd64 \ + libibverbs-dev:amd64 \ + libiscsi-dev:amd64 \ + libjemalloc-dev:amd64 \ + libjpeg62-turbo-dev:amd64 \ + libjson-c-dev:amd64 \ + liblttng-ust-dev:amd64 \ + liblzo2-dev:amd64 \ + libncursesw5-dev:amd64 \ + libnfs-dev:amd64 \ + libnuma-dev:amd64 \ + libpam0g-dev:amd64 \ + libpixman-1-dev:amd64 \ + libpmem-dev:amd64 \ + libpng-dev:amd64 \ + libpulse-dev:amd64 \ + librbd-dev:amd64 \ + librdmacm-dev:amd64 \ + libsasl2-dev:amd64 \ + libsdl2-dev:amd64 \ + libsdl2-image-dev:amd64 \ + libseccomp-dev:amd64 \ + libselinux1-dev:amd64 \ + libslirp-dev:amd64 \ + libsnappy-dev:amd64 \ + libspice-server-dev:amd64 \ + libssh-gcrypt-dev:amd64 \ + libsystemd-dev:amd64 \ + libtasn1-6-dev:amd64 \ + libubsan1:amd64 \ + libudev-dev:amd64 \ + liburing-dev:amd64 \ + libusb-1.0-0-dev:amd64 \ + libusbredirhost-dev:amd64 \ + libvdeplug-dev:amd64 \ + libvirglrenderer-dev:amd64 \ + libvte-2.91-dev:amd64 \ + libxen-dev:amd64 \ + libzstd-dev:amd64 \ + nettle-dev:amd64 \ + systemtap-sdt-dev:amd64 \ + xfslibs-dev:amd64 \ + zlib1g-dev:amd64 && \ + eatmydata apt-get autoremove -y && \ + eatmydata apt-get autoclean -y && \ + mkdir -p /usr/local/share/meson/cross && \ + echo "[binaries]\n\ +c = '/usr/bin/x86_64-linux-gnu-gcc'\n\ +ar = '/usr/bin/x86_64-linux-gnu-gcc-ar'\n\ +strip = '/usr/bin/x86_64-linux-gnu-strip'\n\ +pkgconfig = '/usr/bin/x86_64-linux-gnu-pkg-config'\n\ +\n\ +[host_machine]\n\ +system = 'linux'\n\ +cpu_family = 'x86_64'\n\ +cpu = 'x86_64'\n\ +endian = 'little'" > /usr/local/share/meson/cross/x86_64-linux-gnu && \ + dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \ + mkdir -p /usr/libexec/ccache-wrappers && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-linux-gnu-c++ && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-linux-gnu-cc && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-linux-gnu-g++ && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-linux-gnu-gcc -# Specify the cross prefix for this image (see tests/docker/common.rc) +ENV ABI "x86_64-linux-gnu" +ENV MESON_OPTS "--cross-file=x86_64-linux-gnu" ENV QEMU_CONFIGURE_OPTS --cross-prefix=x86_64-linux-gnu- ENV DEF_TARGET_LIST x86_64-softmmu,x86_64-linux-user,i386-softmmu,i386-linux-user diff --git a/tests/lcitool/refresh b/tests/lcitool/refresh index 2a59150322..fc604d8a21 100755 --- a/tests/lcitool/refresh +++ b/tests/lcitool/refresh @@ -119,6 +119,13 @@ try: # # Cross compiling builds # + generate_dockerfile("debian-amd64-cross", "debian-11", + cross="x86_64", + trailer=debian_cross_build("x86_64-linux-gnu-", + "x86_64-softmmu," + "x86_64-linux-user," + "i386-softmmu,i386-linux-user")) + generate_dockerfile("debian-arm64-cross", "debian-11", cross="aarch64", trailer=debian_cross_build("aarch64-linux-gnu-", From patchwork Fri Aug 26 17:21:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600306 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp566039mae; Fri, 26 Aug 2022 10:46:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR53Ubd6kDC5TmmwRShV4tdhxQrZ84OTQXX+nl50uhFmcvvN+Fb0rQFOKfKAogMu2t94ZUrB X-Received: by 2002:a05:622a:1a86:b0:344:5f6b:e996 with SMTP id s6-20020a05622a1a8600b003445f6be996mr710113qtc.401.1661536001494; Fri, 26 Aug 2022 10:46:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661536001; cv=none; d=google.com; s=arc-20160816; b=WICN9yGmXF4r8WBfwhi+y+/RMP+V1JN+HcMVTlw0qavi8ibpFPhZzlce/I1v91eAmA 5d8uLpZooWlcvIF8Hec4DKEOlnKKx23BHabe5TOSwVHk7IyZzH+K+NRv6V/jBsIp2vq4 FBGkk1fWarTU5bIlqIfzwJPXrqWxQsQMThNdlFEcQ+j3Qkm/nXi0rJXkvrF3je/H7MvZ LvwerZQ+rfPfYLArqkhAXyF9633A1ZL6YDlDSuHWSh0E8BLjYdf5QXV6r01m+wzeIJto YEZ761aFXT5FtPuGFNCg+NxCvBSjZ6qfQMVLXfptRaOS9OpXIlRUjU7IpKQ2jNCYxZ2x NweQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=AcIhrnEo/jsi7L6ojahvmIlXYQW4m/medhgo10JCLYM=; b=EnBqy3wDWscCPvfW27AGQflnyqeVdQrzzCy9CzRiM+/cZFm5W1UWqK+2bccqYSqFdE 3vMP4IDA6UDXzvhw850m/qVSs2xLtoWD+Y8SxOFbvPJR2H7wiYLttoEqATZRRiJktHSL 7cxaG+fiSIkjwUerp+gEXKUwN8Nh135T3V0tvGIT08RRZn9ZS0tGig6Ep/dtevzA66c1 kVDtVT+1EZIK3rNQc1QmER4TJCSQ+hl8QPMARsfKWFrDGA49nYIqz1hAeKC5kBBa9Y2q V6TQzgXMhETeiP3WLz28sLIJplywwz/b5UEkWiWssvFyaHa5OEr/ELMSLHp9w8Nm5JBF 4UZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hBsh+uMG; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id cc5-20020a05622a410500b0031898a8698dsi200608qtb.534.2022.08.26.10.46.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:46:41 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hBsh+uMG; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:51040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRdPl-0004eV-32 for patch@linaro.org; Fri, 26 Aug 2022 13:46:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRdA2-0005qx-2g for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:26 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:40861) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRdA0-0003lx-8L for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:25 -0400 Received: by mail-wm1-x332.google.com with SMTP id h204-20020a1c21d5000000b003a5b467c3abso4762088wmh.5 for ; Fri, 26 Aug 2022 10:30:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=AcIhrnEo/jsi7L6ojahvmIlXYQW4m/medhgo10JCLYM=; b=hBsh+uMG2awt53suNTQBupj6o7GGMVxEWNu3Q2PDG9XMUuY/F/LBw/OVV7xmp6GTN1 z0YWIgLhGU0WTM2poOYhDd2dPz+N1BzrLgYvyMduxyiFJKpIdv59Sfe4Q3vZ3pBtrEbb +2j2vJY5o79Yt4ieG9izeS/mpgXLqUG2PXV7rsPze/rGJsv21IMaw2uk+kXNKajlL+po RPwB0G/aC8SUqHJ7ocBIX/7q/lPNfuzYhgQ3tRojyw4plJ9Y1423OM8kQ8O5dxTEnvWS XrGe/ncbSXLjr1QXbQTPsaFk8JPRup/ISqjb2vUtzxdbEDRkl7zQ+z3z7OEnjfhn1I0G JXkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=AcIhrnEo/jsi7L6ojahvmIlXYQW4m/medhgo10JCLYM=; b=0qaS2FFWgJrXaGG9gPxsgbahZmrOHCcRDVatTtnGTK/wVUtnKuaxVO1sGTBwFHjB+c 2emx2JwmctIPm0AQPovAglFvibfueVVlaafnBqMIReiGRxAx0tI2D6k2G3qOYmWAUD71 yricibwJKvHNIiG2rOhImnbF4vt/wre51Z17Nhmn4r2TKAYmu46nipm8ktMt+AB1Ow59 1i4VrcFTcuTFoa4rTs8ZgAKZbBE/hxgsq7KxDGbB3uFsMs8wIJSMw3WWd5ISWx0KmVyO 9ZwFIyR0aMk3JF9GxOx2tu1FlHiUxjWGnvyffWjt2jk2Ic1oRrGO0bvtFNDd6t+C7DwT PIGA== X-Gm-Message-State: ACgBeo307BxTfr1blR741r9NNZ0ml4ipueDCupIrdf53yZPEPjaqKSfZ M380q+MP3OnWYQBpiYq1qqzK5Q== X-Received: by 2002:a7b:c851:0:b0:3a5:f211:45cd with SMTP id c17-20020a7bc851000000b003a5f21145cdmr411618wml.156.1661535022688; Fri, 26 Aug 2022 10:30:22 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id g2-20020a5d4882000000b002254880c049sm292112wrq.31.2022.08.26.10.30.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:30:18 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 83F6A1FFCA; Fri, 26 Aug 2022 18:21:30 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 20/25] tests/docker: update and flatten debian-loongarch-cross Date: Fri, 26 Aug 2022 18:21:23 +0100 Message-Id: <20220826172128.353798-21-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Update to the latest stable Debian. While we are at it flatten into a single dockerfile. We really don't need the rest of the stuff from the QEMU base image just to compile test images. In this case it is a binary distribution of the toolchain anyway. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- tests/docker/Makefile.include | 1 - tests/docker/dockerfiles/debian-loongarch-cross.docker | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index a0f5109628..1d5a6f1fb4 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -128,7 +128,6 @@ docker-image-debian-nios2-cross: $(DOCKER_FILES_DIR)/debian-toolchain.docker \ $(call debian-toolchain, $@) # Specialist build images, sometimes very limited tools -docker-image-debian-loongarch-cross: docker-image-debian11 docker-image-debian-microblaze-cross: docker-image-debian10 docker-image-debian-nios2-cross: docker-image-debian10 diff --git a/tests/docker/dockerfiles/debian-loongarch-cross.docker b/tests/docker/dockerfiles/debian-loongarch-cross.docker index ca2469d2a8..48fe64c51b 100644 --- a/tests/docker/dockerfiles/debian-loongarch-cross.docker +++ b/tests/docker/dockerfiles/debian-loongarch-cross.docker @@ -5,7 +5,10 @@ # using a prebuilt toolchains for LoongArch64 from: # https://github.com/loongson/build-tools/releases # -FROM qemu/debian11 +FROM docker.io/library/debian:bullseye-slim + +# Duplicate deb line as deb-src +RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ From patchwork Fri Aug 26 17:21:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600304 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp563925mae; Fri, 26 Aug 2022 10:42:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR5FIXjEE+Hk0KGOyIRwGDSvbRUxomsB4gcQ10OxwUyYVKPdSo3RnBnbqzwJPvT1b4Y5tRzQ X-Received: by 2002:a05:620a:3192:b0:6bc:474:be52 with SMTP id bi18-20020a05620a319200b006bc0474be52mr631449qkb.192.1661535725736; Fri, 26 Aug 2022 10:42:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661535725; cv=none; d=google.com; s=arc-20160816; b=Tp1+U6FOdKSc4aYNliA4HqdtNe7wpTf+j/wZqewDmSXF9adsF99Q7332+4+9nMNol+ tU/n7EsnOpcYQBYjkCq4+kMwz1NKRwm4M+BuTM03yYBEXNYrRzLbcXf6TO2nasFjaTTX yEgXMWxaDlmyUTytmIyARsqmnHy4oLegJfAn9QaDyPiLW3u/RAGfpVKMJQ1WwZicSaPu XBUxOzMIrkf+kVMkGGy7uHk2gNGks1pAy1m7AstI2H0+fgTWcgkdr9Bd+MbSxQPZoZ4Y Z32J5oCEEqDcn5Ti0QhakMGFn+PunxqKa+nzkueNr15ZMsdy0IOYBEgZ4aF+G6TiMMUv Mbxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=f8GDP3QR60DseUmhNI18PNeD4pkFjaTns2rnsr6Q2Ec=; b=xILwk82lpJSNjA0F64KXUMLstdTVoyl2N+WLarhbsZmoJhRFhOkYKRaxiLLDSBGR9e C7l4fo74WKj1atsPybbhnJVkzSzUU7B/2llMyA5EBucxmv2gL83h5qTopfgNzGX/Gpcv paXL5xqhWLkyXq0ajRRpF1zEslVXJ1ij9bIS34bAJ9CwuxCue9On77x+sE8BPwWc6Wag UlG//u7i6FXpThvJd3E1Mg6Xt2AXI/umhS6EAngb7KEC1+Kz94X0YZ61SUC452i4bNaa fYQZhLCvNiI5M1IhmBjQsYvKH8z1KZ55iITfP+kDCztbQqGNMgwwOLN+fH2+jWmLpRfS icTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wtCfHQtl; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x1-20020ac87a81000000b003434d3a93f8si171781qtr.698.2022.08.26.10.42.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:42:05 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wtCfHQtl; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:54814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRdLJ-0006ep-AZ for patch@linaro.org; Fri, 26 Aug 2022 13:42:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd9v-0005eF-Ow for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:19 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:46776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd9t-0003f4-OF for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:19 -0400 Received: by mail-wr1-x42a.google.com with SMTP id e20so2562245wri.13 for ; Fri, 26 Aug 2022 10:30:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=f8GDP3QR60DseUmhNI18PNeD4pkFjaTns2rnsr6Q2Ec=; b=wtCfHQtlug5MQNSkQ/IGKCqo69G0C/uVjHCZPte7vwbdXqQWk5mKans7AvFuLrWxMr GJ3J/5KM7ZLY911KJvVVd+EiI7Z6W2zn7xjwmaoR61qPVPjB8Yh/Lt5B02ns6JlhIE+/ pvv2x0f5yyBavnorIzH+N9C8wfR9J0Od7mrSjt5HRvdRX0UmI8Y37XJAJwAaRm8JNq6w myXOQfuYgcg9dfc8hUdnRSYhbovIgrRIL89zWFWnOkWvYeDNy9MmMj3YjdJVM2qFEjPV s+/T10TJ1LiB1FHfjPV+Up79870gieKLPWnNCIa4A3wAmQgpVnXcjvWSojgGPvmGFqup sIQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=f8GDP3QR60DseUmhNI18PNeD4pkFjaTns2rnsr6Q2Ec=; b=o9kAQPXv/74BeenHF8P0Nru7kRUbgqK9XDkyRXSQLRLRWvPrpSuPgXBKIRpJd+IxWs MEZDGmVntnv2pvbFtHEFugxj5GKdfccDzHzAlDjlK5eRUG5b4acozPURLOCisn758DMA lBRvRI8dIQmx5ROO2EHK7raikffcUnuZRo/cufrjJP1w9AO2a15M88mzLUECgeyTmiBD BWYmnIcNKQlRg5BwHFHyiLKWMQcAKVcMcds06R50ylEFIiJC6nk2WhBfV+4JGapTAvAF 9MTBW4pWQpCaT6pYsBKFI/XLc8sq4xGJirhPZGejNwHmLkCQZTQ71oCYT8J77bEl0+MJ cuZA== X-Gm-Message-State: ACgBeo0A/FnoNugIsNOZ+7UtGgEFrQq0/OmIvWLo352W2t27cs3hcjIF kmZkeZiqDu9GUfcnzat5HggNtw== X-Received: by 2002:a5d:588d:0:b0:225:6e1a:8696 with SMTP id n13-20020a5d588d000000b002256e1a8696mr395287wrf.512.1661535015150; Fri, 26 Aug 2022 10:30:15 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id q16-20020adff950000000b002251639bfd0sm279850wrr.59.2022.08.26.10.30.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:30:14 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 9C08A1FFCB; Fri, 26 Aug 2022 18:21:30 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 21/25] tests/docker: update and flatten debian-hexagon-cross Date: Fri, 26 Aug 2022 18:21:24 +0100 Message-Id: <20220826172128.353798-22-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Update to the latest stable Debian. While we are at it flatten into a single dockerfile as we do not need anything from the base image to build the toolchain. Signed-off-by: Alex Bennée --- .../docker/dockerfiles/debian-hexagon-cross.docker | 13 ++++++++++--- .../dockerfiles/debian-loongarch-cross.docker | 3 +-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/tests/docker/dockerfiles/debian-hexagon-cross.docker b/tests/docker/dockerfiles/debian-hexagon-cross.docker index d5dc299dc1..822c108953 100644 --- a/tests/docker/dockerfiles/debian-hexagon-cross.docker +++ b/tests/docker/dockerfiles/debian-hexagon-cross.docker @@ -7,7 +7,7 @@ # triggered by re-builds on other base images given it takes a long # time to build. # -FROM qemu/debian10 +FROM docker.io/library/debian:bullseye-slim # Install common build utilities RUN apt update && \ @@ -15,11 +15,18 @@ RUN apt update && \ DEBIAN_FRONTEND=noninteractive eatmydata \ apt install -y --no-install-recommends \ bison \ + ca-certificates \ + clang \ cmake \ flex \ + gcc \ lld \ + make \ + ninja-build \ + python3 \ rsync \ - wget + wget \ + xz-utils ENV TOOLCHAIN_INSTALL /usr/local ENV ROOTFS /usr/local @@ -32,7 +39,7 @@ ADD build-toolchain.sh /root/hexagon-toolchain/build-toolchain.sh RUN cd /root/hexagon-toolchain && ./build-toolchain.sh -FROM debian:buster-slim +FROM docker.io/library/debian:bullseye-slim # Duplicate deb line as deb-src RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list # Install QEMU build deps for use in CI diff --git a/tests/docker/dockerfiles/debian-loongarch-cross.docker b/tests/docker/dockerfiles/debian-loongarch-cross.docker index 48fe64c51b..ff6a5505be 100644 --- a/tests/docker/dockerfiles/debian-loongarch-cross.docker +++ b/tests/docker/dockerfiles/debian-loongarch-cross.docker @@ -1,8 +1,7 @@ # # Docker cross-compiler target # -# This docker target builds on the debian11 base image, -# using a prebuilt toolchains for LoongArch64 from: +# This docker target uses prebuilt toolchains for LoongArch64 from: # https://github.com/loongson/build-tools/releases # FROM docker.io/library/debian:bullseye-slim From patchwork Fri Aug 26 17:21:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600305 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp563966mae; Fri, 26 Aug 2022 10:42:11 -0700 (PDT) X-Google-Smtp-Source: AA6agR5BcnknFTrUac5NJ+ruuKu8ZnZjyLwKGDrRaCDLfzf/ifknG/uNyu+FelL5GrIgXHsCgk4H X-Received: by 2002:a05:620a:44cd:b0:6ae:ed7a:b058 with SMTP id y13-20020a05620a44cd00b006aeed7ab058mr563029qkp.533.1661535731259; Fri, 26 Aug 2022 10:42:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661535731; cv=none; d=google.com; s=arc-20160816; b=vUQ5C9DQBbcYShMD1eEarFdKyucqYG/RPzt+gRoKLCqW5FPN+++X1XL/tgbSOXcmD3 MLzl83Yobn8RBK8VfXR9Be5tHCAbjX99S47Ae+e3bXTjw3DBxXVZPjEGxao5ZFSnHkKi qnoXGl0IFnevJGFquMON4kIeCcmfLUy5xGXidOBa4D9oSJpZYPi/hjqcH8Jr3PUblNVg 1K6E04+hmOoL3RfkE2EG/k0te/30mjxgecwrTGOyhQGAZKjsqkjRHCx20g2LTE+j0rgt lTwuPtaYg/511MaeI9oe2h9QOpBbUoI7xgmIB3hLPR91tVg0ydHYg5Rlx3wZuwwcbDvV Lp7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+BX6qUyxqbnrBehmpeRa0CPGjkQBlNLSFXh4p4mNIT0=; b=ccXBGFAntz0o1Mr3Wk1MG3lRs2w14eaufa+rDyl5bPN9HOh3j6LK+gRdCxAdHJCTnE ejU/Stp/psj3gKHsKL2F5c4EK/ZH3bOIu61k/uz+oGRT5dhmW5RAvSXTQ4zEDmEM6wj1 3ZJbZejTcp2fsIF2IiUDIS51Ze321RC35bnvTUXEBXvDK3q4fp9r9ty06NOdw8hAMuYG EcLD1lfZndrEKQWoHYGglABXcSXqhoc+tWYsra2Qra0FcsBR35QO2wGzCd6P1yftLjJd aekvYVwsb8+/T7vLQGeXJmVF4kwO82Qn+wnGmBSfHz/y3gtP6oNMkO4NsaKo5ovAcqlc bRKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="IpbHM/cC"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id g5-20020ac87f45000000b00344add8aad6si258643qtk.146.2022.08.26.10.42.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:42:11 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="IpbHM/cC"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRdLO-0006sq-Oe for patch@linaro.org; Fri, 26 Aug 2022 13:42:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd9y-0005iG-U5 for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:22 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:35341) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd9w-0003i4-Tq for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:22 -0400 Received: by mail-wm1-x32d.google.com with SMTP id m17-20020a7bce11000000b003a5bedec07bso4785292wmc.0 for ; Fri, 26 Aug 2022 10:30:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=+BX6qUyxqbnrBehmpeRa0CPGjkQBlNLSFXh4p4mNIT0=; b=IpbHM/cCxx0AUhvFfoP0kEPevtsEvmj6ObYig3NbtQ9+DcJT4Hd2TOHPtlKxF8/taS NjheyMDzSHiPZEw6V4Sv48wQowcY2ODsKFq7JLgapi/PmABlCADIEhECduXfU1oisqMU 3euxc1kgADhwdWzPEozoeFY9rmWJ7+bNjDoiWVerjrAAI9s5xMKzOS/I2FkFMBLk/Cci Z2X1H5CvR8BzC+IMrpUx/SaYrzCWxfJzW11ArZnNGUAZk4rzLZ804M672yIpExCspVxx kjE4Bnm8r27nZIr3HM6y1eSTuyw3ArlMP1OiPj9Awd+Mvaem8o38+bLFLXTWeby9jJo1 F+0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=+BX6qUyxqbnrBehmpeRa0CPGjkQBlNLSFXh4p4mNIT0=; b=hUHJ9NXxuVVVT3+zs2nkihEiHT7NSDsRziP8+0+PM+lxObtVqvSfNXqPRnw19O8qr5 1fUllMB+5MqKKE5b2MdNhjk7t+6Ho4zux6kt43NOMv4KsCk6VFRn/J3OKMJl4/Gl+tc8 ZQwf+3r3iuxKwPMyFdZmZF13sYMwK3/q1+YPITuul5Si2uo3tWKo5dQgZmSZK6rDn+g+ OeNKR8YXzRn+d2AU34VQeJNsMn0rqUPbjE+KrFuK3sBUyQ+eYyUCG33D4zU7jBie1lBl +dI5fG6NKDNPUoIlOn+gPYPwyZhgG/gCksFETHcriOzZLEr5H4Wi0LLlsceJ0zmOAuZr hC5g== X-Gm-Message-State: ACgBeo2uQR2JCqS1fEk6+O7bp5w9Ufap/ZOLqwOCM0pddXh8gzjPKRit jfwBCmJ4fnT2KtBDB4kJa75KpA== X-Received: by 2002:a05:600c:28cd:b0:3a5:4f45:b927 with SMTP id h13-20020a05600c28cd00b003a54f45b927mr358971wmd.90.1661535019390; Fri, 26 Aug 2022 10:30:19 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id m4-20020a05600c3b0400b003a531c7aa66sm336383wms.1.2022.08.26.10.30.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:30:17 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id AAD991FFCC; Fri, 26 Aug 2022 18:21:30 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 22/25] tests/docker: update and flatten debian-toolchain Date: Fri, 26 Aug 2022 18:21:25 +0100 Message-Id: <20220826172128.353798-23-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Update to the latest stable Debian. While we are at it flatten into a single dockerfile as we do not need anything from the base image to build the toolchain. This is used to build both the nios and microblaze toolchains. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- tests/docker/Makefile.include | 4 ---- tests/docker/dockerfiles/debian-toolchain.docker | 5 +++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 1d5a6f1fb4..a3174346da 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -127,10 +127,6 @@ docker-image-debian-nios2-cross: $(DOCKER_FILES_DIR)/debian-toolchain.docker \ $(DOCKER_FILES_DIR)/debian-nios2-cross.d/build-toolchain.sh $(call debian-toolchain, $@) -# Specialist build images, sometimes very limited tools -docker-image-debian-microblaze-cross: docker-image-debian10 -docker-image-debian-nios2-cross: docker-image-debian10 - # These images may be good enough for building tests but not for test builds DOCKER_PARTIAL_IMAGES += debian-alpha-cross DOCKER_PARTIAL_IMAGES += debian-powerpc-test-cross diff --git a/tests/docker/dockerfiles/debian-toolchain.docker b/tests/docker/dockerfiles/debian-toolchain.docker index 738d808aa6..c723377495 100644 --- a/tests/docker/dockerfiles/debian-toolchain.docker +++ b/tests/docker/dockerfiles/debian-toolchain.docker @@ -4,7 +4,7 @@ # This dockerfile is used for building a cross-compiler toolchain. # The script for building the toolchain is supplied via extra-files. # -FROM qemu/debian10 +FROM docker.io/library/debian:bullseye-slim # Install build utilities for building gcc and glibc. # ??? The build-dep isn't working, missing a number of @@ -15,6 +15,7 @@ RUN apt update && \ DEBIAN_FRONTEND=noninteractive eatmydata \ apt install -y --no-install-recommends \ bison \ + ca-certificates \ flex \ gawk \ libmpc-dev \ @@ -32,5 +33,5 @@ RUN cd /root && ./build-toolchain.sh # Throw away the extra toolchain build deps, the downloaded source, # and the build trees by restoring the original debian10 image, # then copying the built toolchain from stage 0. -FROM qemu/debian10 +FROM docker.io/library/debian:bullseye-slim COPY --from=0 /usr/local /usr/local From patchwork Fri Aug 26 17:21:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600308 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp566081mae; Fri, 26 Aug 2022 10:46:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR52msOLLtO/QlJZcgHK7pmhIuwij71xQBiceKLVgOTaWG3KWTqv/AU2mTsnVSv66fyNLwlg X-Received: by 2002:ae9:e702:0:b0:6b5:9c37:8b23 with SMTP id m2-20020ae9e702000000b006b59c378b23mr615466qka.511.1661536007999; Fri, 26 Aug 2022 10:46:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661536007; cv=none; d=google.com; s=arc-20160816; b=rudU7xGSIWG5vW9AjkXf8OTHvxBb5S64IkLDJGivzoS+3v1FD+kiSGceKz5IyaI/cG 5vRFpFRF35JTpX/xknGj4aRWV5E86IcDfi/PDq6oJZTe18zHpnf8reYKLrHdatDnHVRF vLz3ktqkNu8hVC2emOv0CNwlOZRhO21t1s+ui2n8IHLN95HeT1B58vE80DSvB+l/io4H Ps0V+5V14xVwzyTCWQXoo0w3NrexOQtMetV34gJXBqJ69g+yuLFXcZ/hFMfxOeRqb6mK MdhCxRBXZC62xXdYM8kQ3caZLOogwTL9Q2j9QG+grxvJmXRAcT7dB7bXZ8/02fkUb82u J9Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=epD8AeJuQxlkK8M7FZiMaAhpodp12ymd+jM82mrZ628=; b=iqyKMvG5Y3r6rDFpgdgn40X+7CXZcpc+jA0g06U2t6LVWNGzQuhPHVi1osEW5cM21S lgYdHGaYqL+vB1jIqsFEYK93m64FV4tO7tNPeUR7ijELLDkuhI+vLYMy7FzMsCvYpAeN eMUtPRbzOqJJngQmXbrpj0x+tmjnH6S0NhRBkkmubSk/Pd6/Usm1Mhhe6UFxdfuoqXIh fNJTxxk51NLXuPAVQU4/ypSYFTN5Qqxhex6PrFCnTrclsEtQSEwe04+0YgsORihI4Dk8 kwSavv3SvZqXF0KiFj2ByCEXAoh2zt9lneZxfpbUGo0h3gsvvomAyLrnR+dNG6ETZfqv HQvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e398UV0h; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id bi3-20020a05620a318300b006af435b6aa3si90023qkb.677.2022.08.26.10.46.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:46:47 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e398UV0h; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:35178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRdPr-0004qU-J9 for patch@linaro.org; Fri, 26 Aug 2022 13:46:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRdA0-0005m0-E0 for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:24 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:44626) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd9y-0003kR-Hc for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:23 -0400 Received: by mail-wr1-x434.google.com with SMTP id u5so2561541wrt.11 for ; Fri, 26 Aug 2022 10:30:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=epD8AeJuQxlkK8M7FZiMaAhpodp12ymd+jM82mrZ628=; b=e398UV0hFdDyVwyLX1Hdki1s3lh8GJthCbOUZVYlnU5GzzQczj04147K3enQlbCpSZ tQ7rvE3e5gh+lrWIuXGSHdvTVatQE8pZEN3K3QPNKRWHxsBL2Cdt5k3A7W0IoMrU7h2X PrVM3xQvTStb8++rxdm4IcacED7+cv+Ye3rkp4E8A4yBpyocI875hyat3296C1ivque4 JlwjnZxorPQ9YEwznWk6dOMj8ok1MoKskKU72s2Yxzphwwq30nNSUtLbGIMxQ8NOmoli uUqNkC15tW6vKxJKM7q6VGvR+XCWLjuFc7rHiFt5JbtdeyYonPjpEbJjy8C/a1ymln40 3r7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=epD8AeJuQxlkK8M7FZiMaAhpodp12ymd+jM82mrZ628=; b=fvR1Yao3WCkD5cX3JoRUOQP0aMwz0p7QsgR+z+8WasOLD9EvaU4akqN2yh2JmPFQL4 5RhX9J4v7574okh0hvYvCXMJWcRpPxrlmmvB53WoRg9CNnuh6vFIu/tJDaNrBDppyMjs OoDirpaGpfN2BRCLNcuW0E+aGb1viY14CHeHreYYHf5EdW1k3A934x1+wlEfk76KPaoX LoJMo2dHu70hD6lGi4ly8/NWIsFQV3wT44YUboMiyPEzgA1qMkBbipfBtUoSjpQbYl2k PY74mNdj6ybVqJH0+UcWcvDIBzOcj4bPzs5i3IPDSQ1JotC4RU5AXfdV2dXkduqaQD3f RtpQ== X-Gm-Message-State: ACgBeo2UTSlr6oWA+hpBaO/YFxiNyEYEd4vgpPIhOZOpn0X+IPrcTwfl qrr2YTnak0HPWUVtYj5kqGmM7Q== X-Received: by 2002:a05:6000:2a4:b0:225:2fbb:6843 with SMTP id l4-20020a05600002a400b002252fbb6843mr411367wry.71.1661535021118; Fri, 26 Aug 2022 10:30:21 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id g2-20020a5d46c2000000b002253d162491sm277201wrs.52.2022.08.26.10.30.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:30:18 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C2FFA1FFCD; Fri, 26 Aug 2022 18:21:30 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 23/25] tests/docker: remove FROM qemu/ support from docker.py Date: Fri, 26 Aug 2022 18:21:26 +0100 Message-Id: <20220826172128.353798-24-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x434.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We want to migrate from docker.py to building our images directly with docker/podman. Before we get there we need to make sure we don't re-introduce our layered builds so bug out if we see FROM qemu/ in a Dockerfile. Signed-off-by: Alex Bennée Acked-by: Thomas Huth --- tests/docker/docker.py | 38 ++++++++++---------------------------- 1 file changed, 10 insertions(+), 28 deletions(-) diff --git a/tests/docker/docker.py b/tests/docker/docker.py index d0af2861b8..3a1ed7cb18 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker.py @@ -205,22 +205,17 @@ def _read_qemu_dockerfile(img_name): return _read_dockerfile(df) -def _dockerfile_preprocess(df): - out = "" +def _dockerfile_verify_flat(df): + "Verify we do not include other qemu/ layers" for l in df.splitlines(): if len(l.strip()) == 0 or l.startswith("#"): continue from_pref = "FROM qemu/" if l.startswith(from_pref): - # TODO: Alternatively we could replace this line with "FROM $ID" - # where $ID is the image's hex id obtained with - # $ docker images $IMAGE --format="{{.Id}}" - # but unfortunately that's not supported by RHEL 7. - inlining = _read_qemu_dockerfile(l[len(from_pref):]) - out += _dockerfile_preprocess(inlining) - continue - out += l + "\n" - return out + print("We no longer support multiple QEMU layers.") + print("Dockerfiles should be flat, ideally created by lcitool") + return False + return True class Docker(object): @@ -309,23 +304,10 @@ def build_image(self, tag, docker_dir, dockerfile, if argv is None: argv = [] - # pre-calculate the docker checksum before any - # substitutions we make for caching - checksum = _text_checksum(_dockerfile_preprocess(dockerfile)) + if not _dockerfile_verify_flat(dockerfile): + return -1 - if registry is not None: - sources = re.findall("FROM qemu\/(.*)", dockerfile) - # Fetch any cache layers we can, may fail - for s in sources: - pull_args = ["pull", "%s/qemu/%s" % (registry, s)] - if self._do(pull_args, quiet=quiet) != 0: - registry = None - break - # Make substitutions - if registry is not None: - dockerfile = dockerfile.replace("FROM qemu/", - "FROM %s/qemu/" % - (registry)) + checksum = _text_checksum(dockerfile) tmp_df = tempfile.NamedTemporaryFile(mode="w+t", encoding='utf-8', @@ -371,7 +353,7 @@ def image_matches_dockerfile(self, tag, dockerfile): checksum = self.get_image_dockerfile_checksum(tag) except Exception: return False - return checksum == _text_checksum(_dockerfile_preprocess(dockerfile)) + return checksum == _text_checksum(dockerfile) def run(self, cmd, keep, quiet, as_user=False): label = uuid.uuid4().hex From patchwork Fri Aug 26 17:21:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600307 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp566046mae; Fri, 26 Aug 2022 10:46:42 -0700 (PDT) X-Google-Smtp-Source: AA6agR4rs60op8NVDigZ1HqhzN9JkJbZYZrOBClGR0McP8jQTrCJfgEtzrzH/MMbI4FSAqGmaPwF X-Received: by 2002:a05:620a:8d0:b0:6bb:72f2:406b with SMTP id z16-20020a05620a08d000b006bb72f2406bmr588405qkz.283.1661536002118; Fri, 26 Aug 2022 10:46:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661536002; cv=none; d=google.com; s=arc-20160816; b=R+XU5jg82enZQMdRM6OxdcdVjx9X/cjw3Jbr+1H4dmoxn4RHchOFE/JyyMyjYCgT8o U43RF3T1/MBO+hbeiNOTRZwVcka8VtomiRudyszRtUeNOYYPz66uqJW8bn0S7sgsu4Pk 7cPwHYcoMgY383qgNOOPuEAlm1968qnEAzB3YHmUXtHFeX6PkG9yc3nGSTOY6MBtH5k1 PTQ+wpXlOGE1bGZUIYKCqLJ24ryvk+RsGbtXPlJ8uwA3Cfz8zbbm9+tJkoloA0u4hLob bbe7v63x6B5cfwBP6wvFXz92uBDMCy5JBOYeUVpDQMdsS1inewH1ZM3Bwahuy/vfrJna W6PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=EyCV6txuMslnHOOFdGI8L3TD9YEN0NDMa6qM6xQA1ts=; b=olEUD1lF0ShZo0yZ97AyDtAsKzBMyx4YiCr4eWRPyq/o4MnjIqnqGehE9Q0da/PVes cPmyGBiw3ESayX+ArytW8rscwPKpgtNvCQSRN2dRTNnh55/iEawBpzN6Due/Kv/3GkLE arHQNGxXbQVf+m17mzhq1wrM0S9Bjo51hRZM7/Ge7DcfJvajTh5bMaTp+JwUX4cC/2IX qtooeUnEPttG9PbsHan2nctsObkVAhG0JtjYdnuQsdBnBO41pnUu+HQK1/5oblxfyVeD ESTrIJ1Inq9z+vnnm7NwxGmjcyEsKzlI3MWabiI5NT1iEFopsNF6NP5I4xP7wt92gMAD BR4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YxUbYIf+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f4-20020ac81344000000b0034454bb5f33si161639qtj.633.2022.08.26.10.46.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:46:42 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YxUbYIf+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:51042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRdPl-0004fY-Mg for patch@linaro.org; Fri, 26 Aug 2022 13:46:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd9x-0005h7-Ti for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:22 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:38560) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd9v-0003gw-QE for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:21 -0400 Received: by mail-wm1-x334.google.com with SMTP id n23-20020a7bc5d7000000b003a62f19b453so4774066wmk.3 for ; Fri, 26 Aug 2022 10:30:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=EyCV6txuMslnHOOFdGI8L3TD9YEN0NDMa6qM6xQA1ts=; b=YxUbYIf+O3/aJnnZ4oGKrls7edxW64+If4Pgt2FPLNhJEcWqTSiGv5WPDRBg9xqhd+ Lgt+BxkzNecrXGc/KVUEKgy9IxYzxeBbUNwBbJdy91CXQC/BdK+P2INPLqzZgTvjtQlU /uJbdRVdNnYS1bPxcXhFSnnreU2KKA/awA4bPawsx/BHLTr4G4e7C2sUpsHp0l74XOkF eNmX3PAZ6/FP490r91jejmKaXzbcVOgQ0vMzT4a9RqN2orI41XGOMUKU7iXC+HtUUowJ NDX+SIWJsjX0f60IJAri1mfaL4Ngl4Vvnfsr3y1wE6twXmiIr03C6DxMjkttgZdE3zsj +TcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=EyCV6txuMslnHOOFdGI8L3TD9YEN0NDMa6qM6xQA1ts=; b=hNc3V9TXIAzENLhGVE8ktOGZkLGGegzfB82odyveNHOotUzTCat+DjBoQUsPthj0Ey J1gPKUeHAz1F9JOh4uPg5+mYEuEc6KLk6m2w1xJUPxcHdr4MNT/m/C/b7Jy60eORPyj0 sOA/lR3jMHrqdUP+ceg5xISTXF62eIpgAGtluhdj+ZqH1lmKLDzhnjZu7SNrbeIz4qU1 mWoZYI5mFc+/s/ZqR1CMcrfY84NnFu/tVRiQSmB+Nr+B89sL6x7se4rtdK30Ey/AxBNu HCDNOQRX9pIyS4HkiugpbiR3z2J8W43qI+IZm6Dk56/Mo8h4hlM5g8CrNcPm6ATd+66O OA1A== X-Gm-Message-State: ACgBeo2MF6nxLMiyBnFjbzphSrpLekO7u2n0YC6QSqyKJNSfArKmkZPa mGqYI0GDEXZzmqXvq4RXcpyNNw== X-Received: by 2002:a05:600c:3846:b0:3a6:5294:d0a9 with SMTP id s6-20020a05600c384600b003a65294d0a9mr368239wmr.28.1661535018213; Fri, 26 Aug 2022 10:30:18 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id n3-20020a05600c3b8300b003a319b67f64sm18331339wms.0.2022.08.26.10.30.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:30:15 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D85551FFCE; Fri, 26 Aug 2022 18:21:30 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 24/25] tests/docker: remove the Debian base images Date: Fri, 26 Aug 2022 18:21:27 +0100 Message-Id: <20220826172128.353798-25-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x334.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We no longer use these in any of our images. Clean-up the remaining comments and documentation that reference them and remove from the build. Signed-off-by: Alex Bennée Reviewed-by: Thomas Huth --- docs/devel/testing.rst | 2 +- .gitlab-ci.d/container-core.yml | 5 ---- .gitlab-ci.d/containers.yml | 5 ---- tests/docker/Makefile.include | 8 +---- tests/docker/dockerfiles/debian10.docker | 38 ------------------------ tests/docker/dockerfiles/debian11.docker | 18 ----------- 6 files changed, 2 insertions(+), 74 deletions(-) delete mode 100644 tests/docker/dockerfiles/debian10.docker delete mode 100644 tests/docker/dockerfiles/debian11.docker diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index 3f6ebd5073..8d0b272352 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -375,7 +375,7 @@ locally by using the ``NOCACHE`` build option: .. code:: - make docker-image-debian10 NOCACHE=1 + make docker-image-debian-arm64-cross NOCACHE=1 Images ~~~~~~ diff --git a/.gitlab-ci.d/container-core.yml b/.gitlab-ci.d/container-core.yml index e8dd1f476a..08f8450fa1 100644 --- a/.gitlab-ci.d/container-core.yml +++ b/.gitlab-ci.d/container-core.yml @@ -10,8 +10,3 @@ amd64-fedora-container: extends: .container_job_template variables: NAME: fedora - -amd64-debian10-container: - extends: .container_job_template - variables: - NAME: debian10 diff --git a/.gitlab-ci.d/containers.yml b/.gitlab-ci.d/containers.yml index be34cbc7ba..96d2a3b58b 100644 --- a/.gitlab-ci.d/containers.yml +++ b/.gitlab-ci.d/containers.yml @@ -7,11 +7,6 @@ amd64-alpine-container: variables: NAME: alpine -amd64-debian11-container: - extends: .container_job_template - variables: - NAME: debian11 - amd64-debian-container: extends: .container_job_template stage: containers diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index a3174346da..270e99786e 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -69,9 +69,7 @@ docker-binfmt-image-debian-%: $(DOCKER_FILES_DIR)/debian-bootstrap.docker { echo "You will need to build $(EXECUTABLE)"; exit 1;},\ "CHECK", "debian-$* exists")) -# Enforce dependencies for composite images -# we don't run tests on intermediate images (used as base by another image) -DOCKER_PARTIAL_IMAGES := debian10 debian11 +# Special case cross-compiling x86_64 on non-x86_64 systems. ifeq ($(HOST_ARCH),x86_64) DOCKER_PARTIAL_IMAGES += debian-amd64-cross else @@ -89,10 +87,6 @@ endif # The native build should never use the registry docker-image-debian-native: DOCKER_REGISTRY= -# base images should not add a local user -docker-image-debian10: NOUSER=1 -docker-image-debian11: NOUSER=1 - # alpine has no adduser docker-image-alpine: NOUSER=1 diff --git a/tests/docker/dockerfiles/debian10.docker b/tests/docker/dockerfiles/debian10.docker deleted file mode 100644 index 03be923066..0000000000 --- a/tests/docker/dockerfiles/debian10.docker +++ /dev/null @@ -1,38 +0,0 @@ -# -# Docker multiarch cross-compiler target -# -# This docker target is builds on Debian cross compiler targets to build distro -# with a selection of cross compilers for building test binaries. -# -# On its own you can't build much but the docker-foo-cross targets -# build on top of the base debian image. -# -FROM docker.io/library/debian:buster-slim - -# Duplicate deb line as deb-src -RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list - -# Install common build utilities -RUN apt update && \ - DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ - DEBIAN_FRONTEND=noninteractive eatmydata \ - apt install -y --no-install-recommends \ - bc \ - build-essential \ - ca-certificates \ - ccache \ - clang \ - dbus \ - gdb-multiarch \ - gettext \ - git \ - libffi-dev \ - libncurses5-dev \ - ninja-build \ - pkg-config \ - psmisc \ - python3 \ - python3-sphinx \ - python3-sphinx-rtd-theme \ - python3-venv \ - $(apt-get -s build-dep --arch-only qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2) diff --git a/tests/docker/dockerfiles/debian11.docker b/tests/docker/dockerfiles/debian11.docker deleted file mode 100644 index febf884f8f..0000000000 --- a/tests/docker/dockerfiles/debian11.docker +++ /dev/null @@ -1,18 +0,0 @@ -# -# Docker multiarch cross-compiler target -# -# This docker target uses the current development version of Debian as -# a base for cross compilers for building test binaries. We won't -# attempt to build QEMU on it yet given it is still in development. -# -# On its own you can't build much but the docker-foo-cross targets -# build on top of the base debian image. -# -FROM docker.io/library/debian:bullseye-slim - -# Duplicate deb line as deb-src -RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list - -# Install common build utilities -RUN apt update && \ - DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata From patchwork Fri Aug 26 17:21:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 600309 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp569010mae; Fri, 26 Aug 2022 10:53:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR73COLINg61JtppE5cVSJBamGEfRxvMEhvKWIFibmxneeTJolVg7LpXIFnuadolJpePmiIr X-Received: by 2002:ac8:5853:0:b0:343:7b95:96ff with SMTP id h19-20020ac85853000000b003437b9596ffmr782993qth.386.1661536396975; Fri, 26 Aug 2022 10:53:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661536396; cv=none; d=google.com; s=arc-20160816; b=c95LBVtVqoEh9U1yvmXHykszJdWDRRZ89elgIpyrsrAvMbWMULGNoE9I2pJZjcKGlY zm8NwW3wD9cPzBksTYNp6tBzTqHOJBDvPfFH7/YzGGU7lH7q8AhDxj4K4OjS/5iLhZOP gyYY0g+AsERQSJsvZF5CdiI8ZlqmSqXMcHFIxmJL2wjkSCRUP5knII6Ze3awchbEMC8K gquFsA8WEKkCfrbdB03zCq+R5Lg0c5rmc0NMZgAVw7ze+F9yGZQRmzGl2bVAocfa95jE EC1z6dJ4dmP1bq68GsqK1VdIjpNbWQt9D/a8sE8BW0FbzyrsSiv6LGcrek+QF4sSFxok X4vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=81KWm6R8reWnolxwgShAzd/pY+X/lVp3ITe+/MIOxe8=; b=se8APw3hA9VJGNC6IG3duiTtM0bkiBSpmN132quYJti+SBB/dGiCYBu3AU2MIKzBuh lhQZhCf5MYu43SGW5t0tG4asaoDSQ8xxL7ZFLPxWp1kKz68EhHQt43P1pnECYseze7nq R1AcJaT3dM49vy3LG7y6oPx4ZdBU353Ms/wPVZvl1cD9jfBTTyBCMqaNcAye7QQRCH+t 8fstRUQNZFADllzsDMqSoQjQDzm2TfgfzmbIXEQwhHVVwTEcTCVnoHvJ3ILL1QnP3376 yC0OzvML+CCLmObXqANSYs43Lst8o1PXlQpNJBaXcvwHFcvWdrPYZAxOqxDTTYOCvrNL 7PcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kO79HHOo; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s69-20020a37a948000000b006bb876ca4acsi129064qke.202.2022.08.26.10.53.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:53:16 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kO79HHOo; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:46510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRdW8-00017t-Iw for patch@linaro.org; Fri, 26 Aug 2022 13:53:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRdA0-0005ly-DY for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:24 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:45895) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd9y-0003jS-FD for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:30:23 -0400 Received: by mail-wr1-x431.google.com with SMTP id bq11so2561349wrb.12 for ; Fri, 26 Aug 2022 10:30:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=81KWm6R8reWnolxwgShAzd/pY+X/lVp3ITe+/MIOxe8=; b=kO79HHOohGOgnoMfAF1BGoDQO2ftnAmnIa4qsr69+cuu4ZqGoQQEJBk25QFNv7EPLT yM10EQsFzge7GbTdgu46uJTAnOWiX7l+Uj1ikJQD1Kc3xfdonw/Oluxa4Tn8EMSsJyc6 giVTifG/mpCpDo3pQETDAo2qTp9/tFa2SgzsmwcxrToiDvT0s/vuoQRIxsiKNKSALwFh wcxl6yD+ZdABaQGOv9q6NYcHvdOVOEV6Q7bV3lj2p1BH8mP+iQM2ejVInYnek3Cy2YSj WTWu+IvyT2vPyavu33qkolcjBVOrEynwIldFvVEPQiAKcRmOqP+zx4iUAH1eCtGODU7B odgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=81KWm6R8reWnolxwgShAzd/pY+X/lVp3ITe+/MIOxe8=; b=TdsrU60PUrGAUigyWzLNEmL8d9UDwlyhbd6kMhd6dUsEkyu2e7TRSXBPAfSn5HRDd4 hJyMXz4UMqi4owFP2+qKaLv0vdrLBDGma627Bcw2BL+6p98ZDH2gY4MpE6uvSsM8Sj6+ TvvzszVFaw+D+HOHcU9In+aa0tWtXHLvFkrF5z8eDFz6KG4pEI+xRb5clEz2/WjkHm0w EIYPXfA70+vkDislBhBp2gFjNpfFFrgVW3VML6C5ehvUmf7T9NZHG4EqdXKVVZeSsxnG ZYx/rf3U1SunAiE8Fcif+CYxtk/g3NQCVMheEWIwOMRFRXtrt8JX3S7r2fU6d/eooZ9n 1cFQ== X-Gm-Message-State: ACgBeo2JpFU4F60wyao8q77AUhZtKjAT/yjSqNRvShqzyemTKtrbXb/S JNVSElM1baLXQS8oqGx58Ligtw== X-Received: by 2002:a05:6000:1c5:b0:225:4b87:6556 with SMTP id t5-20020a05600001c500b002254b876556mr397465wrx.79.1661535020642; Fri, 26 Aug 2022 10:30:20 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id d18-20020a05600c34d200b003a5c75bd36fsm270493wmq.10.2022.08.26.10.30.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:30:18 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id EE8E11FFCF; Fri, 26 Aug 2022 18:21:30 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, Thomas Huth , Bin Meng , =?utf-8?q?Alex_Benn=C3=A9e?= , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v1 25/25] gitlab-ci: Only use one process in Windows jobs for compilation Date: Fri, 26 Aug 2022 18:21:28 +0100 Message-Id: <20220826172128.353798-26-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth The Windows jobs are currently aborting at weird places - and there's the suspicion that it's due to memory constraints in the Windows containers. Let's switch to single-threaded compilation to decrease the pressure on the memory load, and to make the jobs more deterministic for further investigations. Signed-off-by: Thomas Huth Reviewed-by: Bin Meng Message-Id: <20220825193323.104768-1-thuth@redhat.com> Signed-off-by: Alex Bennée --- .gitlab-ci.d/windows.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.d/windows.yml b/.gitlab-ci.d/windows.yml index c4bde758be..da6013904a 100644 --- a/.gitlab-ci.d/windows.yml +++ b/.gitlab-ci.d/windows.yml @@ -61,7 +61,7 @@ msys2-64bit: - .\msys64\usr\bin\bash -lc './configure --target-list=x86_64-softmmu --enable-capstone --without-default-devices' - .\msys64\usr\bin\bash -lc "sed -i '/^ROMS=/d' build/config-host.mak" - - .\msys64\usr\bin\bash -lc 'make -j2' + - .\msys64\usr\bin\bash -lc 'make' - .\msys64\usr\bin\bash -lc 'make check' msys2-32bit: @@ -94,5 +94,5 @@ msys2-32bit: - mkdir output - cd output - ..\msys64\usr\bin\bash -lc "../configure --target-list=ppc64-softmmu" - - ..\msys64\usr\bin\bash -lc 'make -j2' + - ..\msys64\usr\bin\bash -lc 'make' - ..\msys64\usr\bin\bash -lc 'make check'