From nobody Wed Dec 18 03:41:06 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass(p=quarantine dis=none) header.from=amd.com ARC-Seal: i=2; a=rsa-sha256; t=1724176909; cv=pass; d=zohomail.com; s=zohoarc; b=ftD+R2HVtSkJyyuGUs/Sz4h4wQtNsn0ynCd3om45y/eyOs1a4srwyuY6J0IeDcLaBoip4UWX6hTo7eKFdIsdQXHK7S9PwKDxd6JMAOKqWhH2ujSXAKSC7eAXzPHHVwYAMMJ/qIqGXRXJ7Zl08Lsmqd36PSq79aWj4Gs/V0vNyjo= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1724176909; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=b2c38QiJTMcl0y+jcYjv48Mj3RBdPJkz0pyUUsKDurA=; b=LvPeYa/sjv1d5lkUygX2qIs8ZXPfRjzwB/dAfPbc2gcizhFyCowPRBG+EcVqwW9DQio5bDBdTaOKWi+OcVvCOjMvNBVlz+cIQk7vfKEsWdDXtgMbf6Af7Y3g6g+f8FNFpdwxTrjx6OXh8rDUV7pFWs03gd1anNgfAng7TeGuKuo= ARC-Authentication-Results: i=2; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1724176909277302.5294604453038; Tue, 20 Aug 2024 11:01:49 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.780721.1190351 (Exim 4.92) (envelope-from ) id 1sgTAc-0002Dn-K0; Tue, 20 Aug 2024 18:01:26 +0000 Received: by outflank-mailman (output) from mailman id 780721.1190351; Tue, 20 Aug 2024 18:01:26 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sgTAc-0002Dg-HT; Tue, 20 Aug 2024 18:01:26 +0000 Received: by outflank-mailman (input) for mailman id 780721; Tue, 20 Aug 2024 18:01:25 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sgTAb-0002Da-Su for xen-devel@lists.xenproject.org; Tue, 20 Aug 2024 18:01:25 +0000 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on20624.outbound.protection.outlook.com [2a01:111:f403:2415::624]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 35715f14-5f1e-11ef-8776-851b0ebba9a2; Tue, 20 Aug 2024 20:01:23 +0200 (CEST) Received: from BLAPR03CA0007.namprd03.prod.outlook.com (2603:10b6:208:32b::12) by DS7PR12MB8417.namprd12.prod.outlook.com (2603:10b6:8:eb::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.21; Tue, 20 Aug 2024 18:01:13 +0000 Received: from MN1PEPF0000F0DE.namprd04.prod.outlook.com (2603:10b6:208:32b:cafe::4c) by BLAPR03CA0007.outlook.office365.com (2603:10b6:208:32b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.20 via Frontend Transport; Tue, 20 Aug 2024 18:01:13 +0000 Received: from SATLEXMB03.amd.com (165.204.84.17) by MN1PEPF0000F0DE.mail.protection.outlook.com (10.167.242.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7897.11 via Frontend Transport; Tue, 20 Aug 2024 18:01:13 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 20 Aug 2024 13:01:12 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 20 Aug 2024 13:01:12 -0500 Received: from xsjwoods50.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Tue, 20 Aug 2024 13:01:12 -0500 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 35715f14-5f1e-11ef-8776-851b0ebba9a2 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Ma150mf3K4k25yDQL6UdWjBjvvnde3cBcsoqt+UkuDOv5qxP7KuP0X8dGds6a77+kJ4xHii0qhSNv8fN0jR6z46Zhbs6jq1MtUf8DJambyEgDaKDh4LrWpBAZyjxGz0CgIt3egjSnwLHsF1WNJ8X5zuIQYzMLPGe7YIzs7EHKSMA+uYvuo/1A81gOX6B6VUL8jbCU+1tAq5fpTNk0dvohhg03c1+pS5hpWGh1iiXeDQtdapyjKaety3DmwNAdY0RPgjuQeoutYdsvX2FQyXpZLbqO30CYd/BLMmXkmUHO5eANAB0uSKJpFOi8sDyhmamjG3ETihaQAxxT3Xt6/q5YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=b2c38QiJTMcl0y+jcYjv48Mj3RBdPJkz0pyUUsKDurA=; b=LA6LKfr8Q+7gnPVQu6DWf8lIzvbPNzC0VTQNZf5tuVGSYhSMqfL7AYmPftOEHZvyEgOIJsMDhise2m0omcCMgIonuVtgWXoVNi94HV6Cr9WcJyiwH6Mgr/7fbEyPiOb6zs2DxlWFQ923KxK2KQVXbs+vWMUJ3gu2aTFnc1jfEd4kyIZb+TInUV969PWvTWSv0fcAdcooeaaSVLYtdUMiUdLAt6e0Xe/RcEe0T0haA7+ZA74gcaUA/nTSpXJCqdPLaYsjy8CuMffl7zKTkYmIZz5ecufrW1gczmHIsWD4Dueeh8seCZXUSBcwZylYWABh1c47p1fzTW1iaxzeIZpM/A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=b2c38QiJTMcl0y+jcYjv48Mj3RBdPJkz0pyUUsKDurA=; b=uQaEafZkNeRwYa520FDxi4ujgioZpsB/Yv0jRd85h48Xvk0fKI9CtTdkvGfO0swwEHZEJkiPeyB3zKUb7w9QW8Q/9CpMmPLZnaoiMsCQdMhgbaBi2dFfDzGkd2jSEwa3tsxafkMKQW1d4M0ZSVblsNdo1pcRx2YbEPvmuohMphs= X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C From: To: CC: Victor Lira , Stefano Stabellini Subject: [XEN][PATCH v1] automation: update xilinx test scripts config Date: Tue, 20 Aug 2024 11:00:59 -0700 Message-ID: <6b69088c886ce53ca17fe11ad97e3c364c2220de.1724176414.git.victorm.lira@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: None (SATLEXMB05.amd.com: victorm.lira@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN1PEPF0000F0DE:EE_|DS7PR12MB8417:EE_ X-MS-Office365-Filtering-Correlation-Id: 3af9cc5f-1ca3-4eef-f9a7-08dcc1421444 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|82310400026|1800799024|376014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?Cqw1geMVvI8h5MOqjYO1ikJt/bJaiS3WhWrQhBDYEW5hewYnHOwQjhFZqWbx?= =?us-ascii?Q?J/VX0wcFmX/9Rq0CC2bl3+AVjQbuYbrjdzJl3QKzoxiFdveU3LCAiQTmFHvy?= =?us-ascii?Q?Ii/ChSA6IMN156HYZXJoJHYyl/dGic6OQddbwJg41cqkGnl0hmvVTLwzTyiv?= =?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L9hdjvhWpZgykmd+pJAtBGKKmVNG?= =?us-ascii?Q?12qkbuSfCBTRTbJwdWuUJuEfQFOZivs3z0ZsHZG2UO6lnew9+I4y5373zLH6?= =?us-ascii?Q?xYbCidNGXSiPLlyr6IGCozOf3CkD5r6ybyTeLYnN+fgjiuaDCgWqo3M2Y13q?= =?us-ascii?Q?G/YtWgMhfMU9YLlwgveL3buMrMwX6jacKRFW3I6j8vNHeV/taoSxT3wx1laX?= =?us-ascii?Q?M41glHWrYKdQB/Qxd9tQCo8HlKpCZfogjn9/+5KsP/tQ0emNe9rT/43yDtaI?= =?us-ascii?Q?jr8D3iPeT3ipOXmrfPgGmzweEIYhLUZT1+4/ZI5TqOxEiSvYO5O4fQ/E0AOW?= =?us-ascii?Q?XKStaDDniM9jIzoCYD+HHYVHdLhuRqG1pc9MMWsc27inxU5LM9PlZqtG41nf?= =?us-ascii?Q?Krg0KxeiG/WsUTH7L3AdF4ufb/WLQIZ0?= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700013)(82310400026)(1800799024)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Aug 2024 18:01:13.1053 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3af9cc5f-1ca3-4eef-f9a7-08dcc1421444 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: MN1PEPF0000F0DE.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB8417 X-ZohoMail-DKIM: pass (identity @amd.com) X-ZM-MESSAGEID: 1724176910579116600 Content-Type: text/plain; charset="utf-8" From: Victor Lira Change xen command line parameters to support new test board. Abstract serial port device name and tftp boot directory. Signed-off-by: Victor Lira --- Cc: Stefano Stabellini --- .../scripts/xilinx-smoke-dom0-x86_64.sh | 29 +++++++++++-------- .../scripts/xilinx-smoke-dom0less-arm64.sh | 5 ++-- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/automation/scripts/xilinx-smoke-dom0-x86_64.sh b/automation/sc= ripts/xilinx-smoke-dom0-x86_64.sh index e6e6fac6a5..2696bc84bd 100755 --- a/automation/scripts/xilinx-smoke-dom0-x86_64.sh +++ b/automation/scripts/xilinx-smoke-dom0-x86_64.sh @@ -12,10 +12,12 @@ fatal() { # Test parameter defaults. TEST=3D"$1" PASS_MSG=3D"Test passed: ${TEST}" -XEN_CMD_CONSOLE=3D"console=3Dcom1 com1=3D115200,8n1,0x3F8,4" +XEN_CMD_CONSOLE=3D"console=3Dcom2 com2=3D115200,8n1,0x2e8,4" XEN_CMD_DOM0=3D"dom0=3Dpvh dom0_max_vcpus=3D4 dom0_mem=3D4G" XEN_CMD_XEN=3D"sched=3Dnull loglvl=3Dall guest_loglvl=3Dall console_timest= amps=3Dboot" -XEN_CMD_EXTRA=3D"" +XEN_CMD_EXTRA=3D"noreboot=3Dtrue sync_console" +DOM0_CMDLINE=3D"console=3Dhvc0 root=3D/dev/ram0 earlyprintk=3Dxen" +DOM0_CMDLINE=3D"${DOM0_CMDLINE} loglevel=3D8 ignore_loglevel no_console_su= spend" DOM0_CMD=3D"" DOMU_CMD=3D"" DOMU_CFG=3D' @@ -28,7 +30,7 @@ memory =3D 512 vif =3D [ "bridge=3Dxenbr0", ] disk =3D [ ] ' -TIMEOUT_SECONDS=3D120 +TIMEOUT_SECONDS=3D200 # Select test variant. if [ "${TEST}" =3D "ping" ]; then @@ -112,26 +114,29 @@ cd .. # Load software into TFTP server directory. TFTP=3D"/scratch/gitlab-runner/tftp" +BOARD_ID=3D"x86_64-0" +BOARD_DIR=3D"${TFTP}/${BOARD_ID}" XEN_CMDLINE=3D"${XEN_CMD_CONSOLE} ${XEN_CMD_XEN} ${XEN_CMD_DOM0} ${XEN_CMD= _EXTRA}" -cp -f binaries/xen ${TFTP}/pxelinux.cfg/xen -cp -f binaries/bzImage ${TFTP}/pxelinux.cfg/vmlinuz -cp -f binaries/dom0-rootfs.cpio.gz ${TFTP}/pxelinux.cfg/initrd-dom0 +cp -f binaries/xen ${BOARD_DIR}/xen +cp -f binaries/bzImage ${BOARD_DIR}/vmlinuz +cp -f binaries/dom0-rootfs.cpio.gz ${BOARD_DIR}/initrd-dom0 echo " net_default_server=3D10.0.6.1 -multiboot2 (tftp)/pxelinux.cfg/xen ${XEN_CMDLINE} -module2 (tftp)/pxelinux.cfg/vmlinuz console=3Dhvc0 root=3D/dev/ram0 earlyp= rintk=3Dxen -module2 (tftp)/pxelinux.cfg/initrd-dom0 +multiboot2 (tftp)/${BOARD_ID}/xen ${XEN_CMDLINE} updated_test +module2 (tftp)/${BOARD_ID}/vmlinuz ${DOM0_CMDLINE} +module2 (tftp)/${BOARD_ID}/initrd-dom0 boot -" > ${TFTP}/pxelinux.cfg/grub.cfg +" > ${BOARD_DIR}/grub.cfg # Power cycle board and collect serial port output. -SERIAL_CMD=3D"cat /dev/ttyUSB9 | tee smoke.serial | sed 's/\r//'" +SERIAL_DEV=3D"/dev/serial/${BOARD_ID}" +SERIAL_CMD=3D"cat ${SERIAL_DEV} | tee smoke.serial | sed 's/\r//'" sh /scratch/gitlab-runner/v2000a.sh 2 sleep 5 sh /scratch/gitlab-runner/v2000a.sh 1 sleep 5 set +e -stty -F /dev/ttyUSB9 115200 +stty -F ${SERIAL_DEV} 115200 timeout -k 1 ${TIMEOUT_SECONDS} nohup sh -c "${SERIAL_CMD}" sh /scratch/gitlab-runner/v2000a.sh 2 diff --git a/automation/scripts/xilinx-smoke-dom0less-arm64.sh b/automation= /scripts/xilinx-smoke-dom0less-arm64.sh index 666411d6a0..c8382bb0c7 100755 --- a/automation/scripts/xilinx-smoke-dom0less-arm64.sh +++ b/automation/scripts/xilinx-smoke-dom0less-arm64.sh @@ -134,9 +134,10 @@ sleep 5 cd $START # connect to serial +SERIAL_DEV=3D"/dev/serial/arm64-0" set +e -stty -F /dev/ttyUSB0 115200 -timeout -k 1 120 nohup sh -c "cat /dev/ttyUSB0 | tee smoke.serial | sed 's= /\r//'" +stty -F ${SERIAL_DEV} 115200 +timeout -k 1 120 nohup sh -c "cat ${SERIAL_DEV} | tee smoke.serial | sed '= s/\r//'" # stop the board cd /scratch/gitlab-runner -- 2.25.1