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

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


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: <victorm.lira@xxxxxxx>
  • Date: Mon, 9 Sep 2024 17:31:46 -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=gtgLl0LrF/9VsrKbUZb1SnZLcM5mak5Sanc8PGH6xiU=; b=qXRrghMW1F3RFQ5o885xtD+DfIB3rfSzMcRde9uu58Ww5jDYpJrdJIMQLulHikFsl/7smgtE09HLcb3UU5b5hUAcaWQR7hb9QMbw9P2kkRY5XOeN9GK+PctbdomLLcGqCxi1s+ajxACSW82cURjIOD1PZvql4Vk4BqKRCSlA31+WahALqRbx5TymQEBUR4hD97LYBjRqv9seoqZ8KFmTPoh/m3D4yZRfjU06Ps8XKbL7zePdjBdorccJ+/PA8CmyfI6wIA/94heLjXJgySafNV8TEGrBe2PW2XZX9V+wzpvhjrTgP2fwmDJqoOjQLEVs6r8lN7DxxTPagvOUvxjvfA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=b2pIEr1SJ/h4DXrOCpuaCHlSmwDLzWs5je00fbncXbxGx5EUuhCqbTUtipz2s/Kw2irYFnjUDyjKHu7qHAXUtW6YEijS66JBfWP7BrkYOSvHF8XCAUm5actPgKWrjz5RoXSO0n1KR9ka4NVmoUeR0jMjrZhayEO9wM+33PtR3roi1utJf4bvUc42MuyLjV5wzpwkG9Eco8kFXFwOx8YgkzZdWzRWQmaBIBBYLRAPzZj9SSmctuokku7oX4o7tfulxyI8eTGRlkmMTbRk+wrd1WaknotNrqSzRom8KtM7V2xsyqsz6VaAT2YXMPoT1kQoncJt54g4c5yCWijJCpC39w==
  • 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: Tue, 10 Sep 2024 00:32:12 +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 used to connect to the UART.

Signed-off-by: Victor Lira <victorm.lira@xxxxxxx>
---
Changes v2:
- restore I/O port address
---
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 8857bc56049b..09706894cf3f 100644
--- a/automation/gitlab-ci/test.yaml
+++ b/automation/gitlab-ci/test.yaml
@@ -103,7 +103,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,0x2F8,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®.