ACK/Cmnt: [PATCH][U] UBUNTU: SAUCE: selftests: seccomp: bump up timeout to 5min

Guilherme Piccoli gpiccoli at canonical.com
Wed Jun 16 21:19:29 UTC 2021


On Wed, Jun 16, 2021 at 6:12 AM Andrea Righi <andrea.righi at canonical.com> wrote:
>
>  DEBUG| [stdout] # selftests: seccomp: seccomp_benchmark
>  DEBUG| [stdout] # net.core.bpf_jit_enable = 1
>  DEBUG| [stdout] # net.core.bpf_jit_harden = 0
>  DEBUG| [stdout] #
>  DEBUG| [stdout] not ok 2 selftests: seccomp: seccomp_benchmark # TIMEOUT 120 seconds
>
> This test can easily fail if the testing environment is a bit
> overloaded, so bump up the timeout to 5min to prevent false positive
> failures.
>
> Signed-off-by: Andrea Righi <andrea.righi at canonical.com>
> ---
>  tools/testing/selftests/seccomp/settings | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/seccomp/settings b/tools/testing/selftests/seccomp/settings
> index 6091b45d226b..694d70710ff0 100644
> --- a/tools/testing/selftests/seccomp/settings
> +++ b/tools/testing/selftests/seccomp/settings
> @@ -1 +1 @@
> -timeout=120
> +timeout=300

Thank you Andrea! I've seen similar timeouts, I think on Hirsute (or
maybe Groovy?) testing. Is there a reason to not have it in previous
releases?
The change itself looks good to me:

Acked-by: Guilherme G. Piccoli <gpiccoli at canonical.com>



More information about the kernel-team mailing list