From: Victor Lira Date: Tue, 10 Sep 2024 00:31:46 +0000 (-0700) Subject: automation: fix xilinx test console settings X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c23571fe3150c2994afabcaa10c218b3d87fa832;p=people%2Faperard%2Fxen-unstable.git automation: fix xilinx test console settings 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 Reviewed-by: Stefano Stabellini --- diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index cecc18a019..8675016b6a 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,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 ef6e1361a9..7027f083ba 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}"