Hi Henry, On 08/12/2023 06:46, Henry Wang wrote: > > > To interact with the FVP (for example entering the U-Boot shell > and transferring the files by TFTP), we need to connect the > corresponding port by the telnet first. Use an expect script to > simplify the automation of the whole "interacting with FVP" stuff. > > The expect script will firstly detect the IP of the host, then > connect to the telnet port of the FVP, set the `serverip` and `ipaddr` > for the TFTP service in the U-Boot shell, and finally boot Xen from > U-Boot and wait for the expected results by Xen, Dom0 and DomU. > > Signed-off-by: Henry Wang <[email protected]> Reviewed-by: Michal Orzel <[email protected]>
with 1 question... > --- > v2: > - No change. > --- > .../expect/fvp-base-smoke-dom0-arm64.exp | 73 +++++++++++++++++++ > 1 file changed, 73 insertions(+) > create mode 100755 automation/scripts/expect/fvp-base-smoke-dom0-arm64.exp > > diff --git a/automation/scripts/expect/fvp-base-smoke-dom0-arm64.exp > b/automation/scripts/expect/fvp-base-smoke-dom0-arm64.exp > new file mode 100755 > index 0000000000..25d9a5f81c > --- /dev/null > +++ b/automation/scripts/expect/fvp-base-smoke-dom0-arm64.exp > @@ -0,0 +1,73 @@ > +#!/usr/bin/expect > + > +set timeout 2000 Do we really need such a big timeout (~30 min)? Looking at your test job, it took 16 mins (quite a lot but I know FVP is slow + send_slow slows things down) ~Michal
