]> xenbits.xensource.com Git - xen.git/commitdiff
automation: fix xilinx test console settings
authorVictor Lira <victorm.lira@amd.com>
Tue, 10 Sep 2024 00:31:46 +0000 (17:31 -0700)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 11 Nov 2024 18:16:35 +0000 (18:16 +0000)
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@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
(cherry picked from commit c23571fe3150c2994afabcaa10c218b3d87fa832)

automation/gitlab-ci/test.yaml
automation/scripts/xilinx-smoke-dom0-x86_64.sh

index cecc18a0198c0bf908c2c016cae733615eb800f7..8675016b6a37dd37a498c95b6c366108d0081cb7 100644 (file)
   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:
index ef6e1361a95c2d7bcc19147e605e26e339dd032a..7027f083bafed5691e3dd7c5f52f7c1e99c0a2b5 100755 (executable)
@@ -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}"