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

Re: [PATCH v2 6/6] automation: include tail of serial log in the gitlab outout



On Wed, 26 Apr 2023, Marek Marczykowski-Górecki wrote:
> Make it a bit easier to see what has failed.
> 
> Signed-off-by: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>

I am not too happy about this, I would rather make smoke.serial easier
to access, but if you still want this I wont block it.

Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>

> ---
> Changes in v2:
>  - print it also in case of a timeout
> ---
>  automation/scripts/qubes-x86-64.sh | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/automation/scripts/qubes-x86-64.sh 
> b/automation/scripts/qubes-x86-64.sh
> index a01c571860ee..056faf9e6de8 100755
> --- a/automation/scripts/qubes-x86-64.sh
> +++ b/automation/scripts/qubes-x86-64.sh
> @@ -225,6 +225,9 @@ until grep "^Welcome to Alpine Linux" smoke.serial || [ 
> $timeout -le 0 ]; do
>      sleep 1;
>      : $((--timeout))
>  done
> +
> +tail -n 100 smoke.serial
> +
>  if [ $timeout -le 0 ]; then
>      echo "ERROR: test timeout, aborting"
>      exit 1
> -- 
> git-series 0.9.1
> 

 


Rackspace

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