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

Andrea Righi andrea.righi at canonical.com
Wed Jun 16 09:27:23 UTC 2021


On Wed, Jun 16, 2021 at 10:19:54AM +0100, Colin Ian King wrote:
> On 16/06/2021 10:17, Colin Ian King wrote:
> > On 16/06/2021 10:11, Andrea Righi 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
> >>
> > Makes sense.
> 
> BTW, should this be sent upstream too?
> 

Good idea. I'll also send this upstream.

-Andrea

> > 
> > Acked-by: Colin Ian King <colin.king at canonical.com>
> > 



More information about the kernel-team mailing list