Skip to content

mptcp: fix invalid addr occupy 'add_addr_accepted' #522

mptcp: fix invalid addr occupy 'add_addr_accepted'

mptcp: fix invalid addr occupy 'add_addr_accepted' #522

GitHub Actions / Test Results failed Dec 11, 2024 in 0s

1 fail, 621 pass in 0s

   66 files     66 suites   0s ⏱️
  622 tests   621 ✅ 0 💤 1 ❌
1 244 runs  1 243 ✅ 0 💤 1 ❌

Results for commit 5b21443.

Annotations

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

1 out of 2 runs failed: test: bpftest_test_progs-cpuv4_mptcp

results-btf-debug/bpftest_test_progs-cpuv4_mptcp.tap.xml
Raw output
not ok 1 test: bpftest_test_progs-cpuv4_mptcp # FAIL
# #178/1   mptcp/base:OK
# #178/2   mptcp/mptcpify:OK
# #178/3   mptcp/subflow:OK
# #178/4   mptcp/iters_subflow:OK
# sched_init:PASS:netns_new 0 nsec
# address_init:PASS:ip -net mptcp_ns link add veth1 type veth peer name veth2 0 nsec
# address_init:PASS:ip -net mptcp_ns addr add 10.0.1.1/24 dev veth1 0 nsec
# address_init:PASS:ip -net mptcp_ns addr add dead:beef:1::1/64 dev veth1 nodad 0 nsec
# address_init:PASS:ip -net mptcp_ns link set dev veth1 up 0 nsec
# address_init:PASS:ip -net mptcp_ns addr add 10.0.2.1/24 dev veth2 0 nsec
# address_init:PASS:ip -net mptcp_ns addr add dead:beef:2::1/64 dev veth2 nodad 0 nsec
# address_init:PASS:ip -net mptcp_ns link set dev veth2 up 0 nsec
# address_init:PASS:ip -net mptcp_ns link add veth3 type veth peer name veth4 0 nsec
# address_init:PASS:ip -net mptcp_ns addr add 10.0.3.1/24 dev veth3 0 nsec
# address_init:PASS:ip -net mptcp_ns addr add dead:beef:3::1/64 dev veth3 nodad 0 nsec
# address_init:PASS:ip -net mptcp_ns link set dev veth3 up 0 nsec
# address_init:PASS:ip -net mptcp_ns addr add 10.0.4.1/24 dev veth4 0 nsec
# address_init:PASS:ip -net mptcp_ns addr add dead:beef:4::1/64 dev veth4 nodad 0 nsec
# address_init:PASS:ip -net mptcp_ns link set dev veth4 up 0 nsec
# sched_init:PASS:ip netns exec mptcp_ns sysctl -qw net.mptcp.scheduler=default 0 nsec
# send_data_and_verify:PASS:start_mptcp_server 0 nsec
# send_data_and_verify:PASS:connect_to_fd 0 nsec
# (network_helpers.c:661: errno: Resource temporarily unavailable) send 8107500 expected 10485760
# (network_helpers.c:709: errno: Invalid argument) recv 2971500 expected 10485760
# (network_helpers.c:717: errno: Invalid argument) Failed in thread_ret -11
# send_data_and_verify:FAIL:send_recv_data unexpected error: -4 (errno 22)
# #178/5   mptcp/default:FAIL
# #178/6   mptcp/first:OK
# #178/7   mptcp/bkup:OK
# #178/8   mptcp/rr:OK
# #178/9   mptcp/red:OK
# #178/10  mptcp/burst:OK
# #178     mptcp:FAIL
# 
# All error logs:
# sched_init:PASS:netns_new 0 nsec
# address_init:PASS:ip -net mptcp_ns link add veth1 type veth peer name veth2 0 nsec
# address_init:PASS:ip -net mptcp_ns addr add 10.0.1.1/24 dev veth1 0 nsec
# address_init:PASS:ip -net mptcp_ns addr add dead:beef:1::1/64 dev veth1 nodad 0 nsec
# address_init:PASS:ip -net mptcp_ns link set dev veth1 up 0 nsec
# address_init:PASS:ip -net mptcp_ns addr add 10.0.2.1/24 dev veth2 0 nsec
# address_init:PASS:ip -net mptcp_ns addr add dead:beef:2::1/64 dev veth2 nodad 0 nsec
# address_init:PASS:ip -net mptcp_ns link set dev veth2 up 0 nsec
# address_init:PASS:ip -net mptcp_ns link add veth3 type veth peer name veth4 0 nsec
# address_init:PASS:ip -net mptcp_ns addr add 10.0.3.1/24 dev veth3 0 nsec
# address_init:PASS:ip -net mptcp_ns addr add dead:beef:3::1/64 dev veth3 nodad 0 nsec
# address_init:PASS:ip -net mptcp_ns link set dev veth3 up 0 nsec
# address_init:PASS:ip -net mptcp_ns addr add 10.0.4.1/24 dev veth4 0 nsec
# address_init:PASS:ip -net mptcp_ns addr add dead:beef:4::1/64 dev veth4 nodad 0 nsec
# address_init:PASS:ip -net mptcp_ns link set dev veth4 up 0 nsec
# sched_init:PASS:ip netns exec mptcp_ns sysctl -qw net.mptcp.scheduler=default 0 nsec
# send_data_and_verify:PASS:start_mptcp_server 0 nsec
# send_data_and_verify:PASS:connect_to_fd 0 nsec
# (network_helpers.c:661: errno: Resource temporarily unavailable) send 8107500 expected 10485760
# (network_helpers.c:709: errno: Invalid argument) recv 2971500 expected 10485760
# (network_helpers.c:717: errno: Invalid argument) Failed in thread_ret -11
# send_data_and_verify:FAIL:send_recv_data unexpected error: -4 (errno 22)
# #178/5   mptcp/default:FAIL
# #178     mptcp:FAIL
# Summary: 0/9 PASSED, 0 SKIPPED, 1 FAILED
# time=22