[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dc889f46-bc26-df21-bf24-906a6ccf7a12@iogearbox.net>
Date: Fri, 15 Nov 2019 22:58:59 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Jiri Benc <jbenc@...hat.com>, bpf@...r.kernel.org,
netdev@...r.kernel.org
Cc: Willem de Bruijn <willemb@...gle.com>
Subject: Re: [PATCH bpf] selftests: bpf: fix test_tc_tunnel hanging
On 11/15/19 1:43 PM, Jiri Benc wrote:
> When run_kselftests.sh is run, it hangs after test_tc_tunnel.sh. The reason
> is test_tc_tunnel.sh ensures the server ('nc -l') is run all the time,
> starting it again every time it is expected to terminate. The exception is
> the final client_connect: the server is not started anymore, which ensures
> no process is kept running after the test is finished.
>
> For a sit test, though, the script is terminated prematurely without the
> final client_connect and the 'nc' process keeps running. This in turn causes
> the run_one function in kselftest/runner.sh to hang forever, waiting for the
> runaway process to finish.
>
> Ensure a remaining server is terminated on cleanup.
>
> Fixes: f6ad6accaa9d ("selftests/bpf: expand test_tc_tunnel with SIT encap")
> Cc: Willem de Bruijn <willemb@...gle.com>
> Signed-off-by: Jiri Benc <jbenc@...hat.com>
Looks like your Fixes tag is wrong:
[...]
Applying: selftests: bpf: Fix test_tc_tunnel hanging
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
Updating 808c9f7ebfff..e2090d0451c5
Fast-forward
tools/testing/selftests/bpf/test_tc_tunnel.sh | 5 +++++
1 file changed, 5 insertions(+)
Deleted branch mbox (was e2090d0451c5).
Commit: e2090d0451c5 ("selftests: bpf: Fix test_tc_tunnel hanging")
Fixes tag: Fixes: f6ad6accaa9d ("selftests/bpf: expand test_tc_tunnel with SIT encap")
Has these problem(s):
- Target SHA1 does not exist
[...]
Thanks,
Daniel
Powered by blists - more mailing lists