[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XEN PATCH v1] automation: fix xilinx test console settings


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: <victorm.lira@xxxxxxx>
  • Date: Mon, 9 Sep 2024 09:35:14 -0700
  • 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)
  • 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=K9Ap67k+eRNXzgKfExfQ9htaHC/3yNa00hd0p26xjf0=; b=bhA3DPXbOQqR5nNOmrk+5J5GuDA8+2HuPaPxvneNQCnVkG2IvswCyujuexV6GuEYV6JMghuR50R9YX6RrrU1YYRUFtAakjZSWjExzHfqebpIgnPMXVlZdtE4RYmCPT2KMFnX8Za4ENmhVlmiX5TmJure/QU+F1kB3ebYaoIP+Zsh0ecKO5R8q6oNKFZJlbzFrXe76kduvSrcR4YxnR0TgKDrAa8vDK2a9a0ilc3vbHFzS0UwyexT1fz/lNkeNJNKB1pdG+2JjXU+sndMz8YKcxLJkGEdmXpc8PRJJF6trjwVHIAPwPSr7SBBRaneWAsEy3iBF1Ld+akHqAxxQieYxA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KIjHfKwoWvGyEn/qx/MaOenu1adszbTnpPZqOcIREtkguHqos2gkE6W8Gr+qQDm9Mvc19V5XvxqbnNmaSiBJj5680LEW0nV9F3zoGw57r7YbMLpOzhLCzOSjCo+JNoTjdXRiMujGJfZxEmIo5FvTbzT+NY1yAl3X6k6K4HrSkR9NFr9CrL0sPgMWVtBwLM1KWSCCSVEO81/OeZbZ829UgkvSsRWjs+xP2QV0JyxEnQzNOsD78Ps8maliO3wG5xsO3nG8iciif7+7LCCBKkk0u7m16Nhch4vznhbXv4U5hJMvz5aG+AXM3jx8HWKNL3WgXx3XDWHJQuzBml9IyEBIFA==
  • Cc: Victor Lira <victorm.lira@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Mon, 09 Sep 2024 16:35:39 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

From: Victor Lira <victorm.lira@xxxxxxx>

The test showed unreliable behavior due to unsupported console settings.
Update the baud rate and I/O port used to connect to the UART.

Signed-off-by: Victor Lira <victorm.lira@xxxxxxx>
---
Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Cc: Jan Beulich <jbeulich@xxxxxxxx>
Cc: Julien Grall <julien@xxxxxxx>
Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx
---
 automation/gitlab-ci/test.yaml                 | 2 +-
 automation/scripts/xilinx-smoke-dom0-x86_64.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml
index cecc18a0198c..35ce453475bc 100644
--- a/automation/gitlab-ci/test.yaml
+++ b/automation/gitlab-ci/test.yaml
@@ -102,7 +102,7 @@
   variables:
     CONTAINER: ubuntu:xenial-xilinx
     LOGFILE: xilinx-smoke-x86_64.log
-    XEN_CMD_CONSOLE: "console=com2 com2=115200,8n1,0x2F8,4"
+    XEN_CMD_CONSOLE: "console=com2 com2=57600,8n1,0x2E8,4"
     TEST_BOARD: "crater"
     TEST_TIMEOUT: 1000
   artifacts:
diff --git a/automation/scripts/xilinx-smoke-dom0-x86_64.sh 
b/automation/scripts/xilinx-smoke-dom0-x86_64.sh
index ef6e1361a95c..7027f083bafe 100755
--- a/automation/scripts/xilinx-smoke-dom0-x86_64.sh
+++ b/automation/scripts/xilinx-smoke-dom0-x86_64.sh
@@ -129,7 +129,7 @@ sleep 5
 sh /scratch/gitlab-runner/${TEST_BOARD}.sh 1
 sleep 5
 set +e
-stty -F ${SERIAL_DEV} 115200
+stty -F ${SERIAL_DEV} 57600

 # Capture test result and power off board before exiting.
 export PASSED="${PASS_MSG}"
--
2.25.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.