Skip to content

selftests/bpf: Add mptcp_subflow bpf_iter subtest #481

selftests/bpf: Add mptcp_subflow bpf_iter subtest

selftests/bpf: Add mptcp_subflow bpf_iter subtest #481

GitHub Actions / Test Results failed Oct 1, 2024 in 0s

3 fail, 615 pass in 0s

   63 files     63 suites   0s ⏱️
  618 tests   615 ✅ 0 💤 3 ❌
1 233 runs  1 230 ✅ 0 💤 3 ❌

Results for commit 8da9791.

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: mptcp_connect_mmap

results-debug/mptcp_connect_mmap.tap.xml
Raw output
not ok 1 test: mptcp_connect_mmap # FAIL
# INFO: set ns3-DiLCJq dev ns3eth2: ethtool -K  gro off
# Created /tmp/tmp.v2NkGRqpKb (size 6646072^I/tmp/tmp.v2NkGRqpKb) containing data sent by client
# Created /tmp/tmp.2eSUfh8rs9 (size 4154356^I/tmp/tmp.2eSUfh8rs9) containing data sent by server
# 01 New MPTCP socket can be blocked via sysctl                           [ OK ]
# 02 Validating network environment with pings                            [ OK ]
# INFO: Using loss of 0.26% delay 3 ms on ns3eth4
# INFO: extra options:  -m mmap
# 03 ns1 MPTCP -> ns1 (10.0.1.1:10000      ) MPTCP     (duration   673ms) [ OK ]
# 04 ns1 MPTCP -> ns1 (10.0.1.1:10001      ) TCP       (duration   703ms) [ OK ]
# 05 ns1 TCP   -> ns1 (10.0.1.1:10002      ) MPTCP     (duration   708ms) [ OK ]
# 06 ns1 MPTCP -> ns1 (dead:beef:1::1:10003) MPTCP     (duration   684ms) [ OK ]
# 07 ns1 MPTCP -> ns1 (dead:beef:1::1:10004) TCP       (duration   691ms) [ OK ]
# 08 ns1 TCP   -> ns1 (dead:beef:1::1:10005) MPTCP     (duration   700ms) [ OK ]
# 09 ns1 MPTCP -> ns2 (10.0.1.2:10006      ) MPTCP     (duration   690ms) [ OK ]
# 10 ns1 MPTCP -> ns2 (dead:beef:1::2:10007) MPTCP     (duration   686ms) [ OK ]
# 11 ns1 MPTCP -> ns2 (10.0.2.1:10008      ) MPTCP     (duration   679ms) [ OK ]
# 12 ns1 MPTCP -> ns2 (dead:beef:2::1:10009) MPTCP     (duration   700ms) [ OK ]
# 13 ns1 MPTCP -> ns3 (10.0.2.2:10010      ) MPTCP     (duration   725ms) [ OK ]
# 14 ns1 MPTCP -> ns3 (dead:beef:2::2:10011) MPTCP     (duration   715ms) [ OK ]
# 15 ns1 MPTCP -> ns3 (10.0.3.2:10012      ) MPTCP     (duration   722ms) [ OK ]
# 16 ns1 MPTCP -> ns3 (dead:beef:3::2:10013) MPTCP     (duration   771ms) [ OK ]
# 17 ns1 MPTCP -> ns4 (10.0.3.1:10014      ) MPTCP     (duration 61088ms) [FAIL] client exit code 124, server 124
# 
# netns ns4-pPam3j socket stat for 10014:
# Failed to find cgroup2 mount
# Failed to find cgroup2 mount
# Failed to find cgroup2 mount
# Netid State    Recv-Q Send-Q Local Address:Port  Peer Address:Port                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
# tcp   ESTAB    0      0           10.0.3.1:10014     10.0.1.1:54914 ino:0 sk:10cb cgroup:unreachable:1 <->
# ^I ts sack cubic wscale:7,7 rto:204 rtt:3.542/0.209 ato:40 mss:1448 pmtu:1500 rcvmss:1424 advmss:1448 cwnd:10 ssthresh:251 bytes_sent:1113836 bytes_acked:1113836 bytes_received:6646072 segs_out:867 segs_in:4725 data_segs_out:793 data_segs_in:4682 send 32704687bps lastsnd:60870 lastrcv:60955 lastack:60867 pacing_rate 984856616bps delivery_rate 3675120bps delivered:794 busy:62ms rwnd_limited:5ms(8.1%) sndbuf_limited:33ms(53.2%) rcv_rtt:12.319 rcv_space:14600 rcv_ssthresh:777351 minrtt:3.152 rcv_wnd:777472 tcp-ulp-mptcp flags:Mec token:0000(id:0)/40e58c6a(id:0) seq:fce3cce24dfa25e3 sfseq:647f01 ssnoff:5c5ad37b maplen:ea38
# mptcp LAST-ACK 0      0           10.0.3.1:10014     10.0.1.1:54914 timer:(keepalive,59sec,0) ino:0 sk:10cc cgroup:unreachable:1 ---
# ^I subflows_max:2 remote_key token:40e58c6a write_seq:13132642156910356433 snd_una:13132642156909473860 rcv_nxt:18222633789614133276 bytes_sent:1113836 bytes_received:6646072 bytes_acked:1113836 subflows_total:1 last_data_sent:60874 last_data_recv:60959 last_ack_recv:60871                                                                                                                                                                                                                                                                                                                                       
# TcpPassiveOpens                 1                  0.0
# TcpInSegs                       174                0.0
# TcpOutSegs                      868                0.0
# TcpExtTCPPureAcks               42                 0.0
# TcpExtTCPAutoCorking            3                  0.0
# TcpExtTCPFromZeroWindowAdv      18                 0.0
# TcpExtTCPToZeroWindowAdv        18                 0.0
# TcpExtTCPWantZeroWindowAdv      7                  0.0
# TcpExtTCPOrigDataSent           793                0.0
# TcpExtTCPHystartTrainDetect     1                  0.0
# TcpExtTCPHystartTrainCwnd       251                0.0
# TcpExtTCPDelivered              793                0.0
# MPTcpExtMPCapableSYNRX          1                  0.0
# MPTcpExtMPCapableACKRX          1                  0.0
# 
# netns ns1-AkIgGN socket stat for 10014:
# Failed to find cgroup2 mount
# Failed to find cgroup2 mount
# Failed to find cgroup2 mount
# Netid State      Recv-Q Send-Q Local Address:Port  Peer Address:Port                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
# tcp   ESTAB      0      0           10.0.1.1:54914     10.0.3.1:10014 ino:0 sk:30a4 cgroup:unreachable:1 <->
# ^I ts sack cubic wscale:7,7 rto:204 rtt:3.746/0.205 ato:40 mss:1448 pmtu:1500 rcvmss:1420 advmss:1448 cwnd:475 ssthresh:467 bytes_sent:6646072 bytes_acked:6646073 bytes_received:1113836 segs_out:4726 segs_in:868 data_segs_out:4682 data_segs_in:793 send 1468873465bps lastsnd:61140 lastrcv:61052 lastack:61052 pacing_rate 1762412912bps delivery_rate 296334880bps delivered:4683 busy:129ms sndbuf_limited:60ms(46.5%) rcv_rtt:3.792 rcv_space:14480 rcv_ssthresh:282140 minrtt:3.157 snd_wnd:777472 rcv_wnd:177920 tcp-ulp-mptcp flags:Mmec token:0000(id:0)/ecb43ef3(id:0) seq:b640847644e8afc4 sfseq:10fe6d ssnoff:1f20584b maplen:80
# mptcp FIN-WAIT-2 0      0           10.0.1.1:54914     10.0.3.1:10014 timer:(keepalive,59sec,0) ino:0 sk:30a5 cgroup:unreachable:1 ---
# ^I subflows_max:2 remote_key token:ecb43ef3 write_seq:18222633789614133276 snd_una:18222633789614133276 rcv_nxt:13132642156909473860 bytes_sent:6646072 bytes_received:1113836 bytes_acked:6646073 subflows_total:1 last_data_sent:61142 last_data_recv:61054 last_ack_recv:61054                                                                                                                                                                                                                                                                                                                                     
# TcpActiveOpens                  1                  0.0
# TcpInSegs                       121                0.0
# TcpOutSegs                      4726               0.0
# TcpExtTCPPureAcks               74                 0.0
# TcpExtTCPAutoCorking            5                  0.0
# TcpExtTCPFromZeroWindowAdv      1                  0.0
# TcpExtTCPToZeroWindowAdv        1                  0.0
# TcpExtTCPWantZeroWindowAdv      6                  0.0
# TcpExtTCPOrigDataSent           4682               0.0
# TcpExtTCPHystartTrainDetect     1                  0.0
# TcpExtTCPHystartTrainCwnd       467                0.0
# TcpExtTCPDelivered              4683               0.0
# MPTcpExtMPCapableSYNTX          1                  0.0
# MPTcpExtMPCapableSYNACKRX       1                  0.0
# 
# 18 ns1 MPTCP -> ns4 (dead:beef:3::1:10015) MPTCP     (duration   695ms) [ OK ]
# [FAIL] Tests with ns1-AkIgGN as a sender have failed
# 19 ns2 MPTCP -> ns1 (10.0.1.1:10016      ) MPTCP     (duration   700ms) [ OK ]
# 20 ns2 MPTCP -> ns1 (dead:beef:1::1:10017) MPTCP     (duration   716ms) [ OK ]
# 21 ns2 MPTCP -> ns3 (10.0.2.2:10018      ) MPTCP     (duration   719ms) [ OK ]
# 22 ns2 MPTCP -> ns3 (dead:beef:2::2:10019) MPTCP     (duration   745ms) [ OK ]
# 23 ns2 MPTCP -> ns3 (10.0.3.2:10020      ) MPTCP     (duration   739ms) [ OK ]
# 24 ns2 MPTCP -> ns3 (dead:beef:3::2:10021) MPTCP     (duration   728ms) [ OK ]
# 25 ns2 MPTCP -> ns4 (10.0.3.1:10022      ) MPTCP     (duration   890ms) [ OK ]
# 26 ns2 MPTCP -> ns4 (dead:beef:3::1:10023) MPTCP     (duration   735ms) [ OK ]
# 27 ns3 MPTCP -> ns1 (10.0.1.1:10024      ) MPTCP     (duration 61088ms) [FAIL] client exit code 124, server 124
# 
# netns ns1-AkIgGN socket stat for 10024:
# Failed to find cgroup2 mount
# Failed to find cgroup2 mount
# Failed to find cgroup2 mount
# Netid State      Recv-Q Send-Q Local Address:Port  Peer Address:Port                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
# tcp   ESTAB      0      0           10.0.1.1:10024     10.0.2.2:57750 ino:0 sk:201d cgroup:unreachable:1 <->
# ^I ts sack cubic wscale:7,7 rto:204 rtt:3.261/1.63 ato:80 mss:1448 pmtu:1500 rcvmss:1424 advmss:1448 cwnd:10 bytes_received:4857776 segs_out:77 segs_in:3429 data_segs_in:3426 send 35522846bps lastsnd:61262 lastrcv:673 lastack:652 pacing_rate 71045688bps delivered:1 app_limited rcv_rtt:51.493 rcv_space:14600 rcv_ssthresh:561599 minrtt:3.261 snd_wnd:64256 tcp-ulp-mptcp flags:Mec token:0000(id:0)/c5272a21(id:0) seq:29e255415378ced0 sfseq:497de1 ssnoff:151d09f maplen:a1d0
# mptcp FIN-WAIT-2 620640 0           10.0.1.1:10024     10.0.2.2:57750 timer:(keepalive,59sec,0) ino:0 sk:201e cgroup:unreachable:1 ---
# ^I subflows_max:2 remote_key token:c5272a21 write_seq:17532337248410251487 snd_una:17532337248410251487 rcv_nxt:3018068439353356448 bytes_received:4857776 bytes_acked:1 subflows_total:1 last_data_sent:61266 last_data_recv:677 last_ack_recv:656                                                                                                                                                                                                           
# TcpPassiveOpens                 1                  0.0
# TcpEstabResets                  1                  0.0
# TcpInSegs                       120                0.0
# TcpOutSegs                      78                 0.0
# TcpExtDelayedACKs               2                  0.0
# TcpExtDelayedACKLost            1                  0.0
# TcpExtTCPPureAcks               2                  0.0
# TcpExtTCPDSACKOldSent           1                  0.0
# TcpExtTCPFromZeroWindowAdv      14                 0.0
# TcpExtTCPToZeroWindowAdv        15                 0.0
# TcpExtTCPWantZeroWindowAdv      6                  0.0
# MPTcpExtMPCapableSYNRX          1                  0.0
# MPTcpExtMPCapableACKRX          1                  0.0
# MPTcpExtMPFastcloseRx           1                  0.0
# MPTcpExtMPRstRx                 1                  0.0
# 
# netns ns3-DiLCJq socket stat for 10024:
# Failed to find cgroup2 mount
# Failed to find cgroup2 mount
# Failed to find cgroup2 mount
# Netid State    Recv-Q Send-Q Local Address:Port  Peer Address:Port                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
# tcp   ESTAB    0      0           10.0.2.2:57750     10.0.1.1:10024 ino:0 sk:201f cgroup:unreachable:1 <->
# ^I ts sack cubic wscale:7,7 rto:214 rtt:13.031/16.541 mss:1448 pmtu:1500 rcvmss:536 advmss:1448 cwnd:10 ssthresh:320 bytes_sent:4857904 bytes_retrans:128 bytes_acked:4857777 segs_out:3429 segs_in:77 data_segs_out:3426 send 8889571bps lastsnd:810 lastrcv:61420 lastack:787 pacing_rate 344543240bps delivery_rate 17412800bps delivered:3427 busy:204ms rwnd_limited:4ms(2.0%) sndbuf_limited:59ms(28.9%) retrans:0/1 dsack_dups:1 rcv_space:14480 rcv_ssthresh:64088 minrtt:3.136 rcv_wnd:64256 tcp-ulp-mptcp flags:Mmec token:0000(id:0)/4e94e4bf(id:0) seq:0 sfseq:1 ssnoff:faa8f232 maplen:0
# mptcp LAST-ACK 0      0           10.0.2.2:57750     10.0.1.1:10024 timer:(keepalive,59sec,0) ino:0 sk:2020 cgroup:unreachable:1 ---
# ^I subflows_max:2 remote_key token:4e94e4bf write_seq:3018068439354782449 snd_una:3018068439353356448 rcv_nxt:17532337248410251487 bytes_sent:4857776 bytes_acked:4857776 subflows_total:1 last_data_sent:833 last_data_recv:61426 last_ack_recv:789                                                                                                                                                                                                                                                                                                                       
# TcpActiveOpens                  1                  0.0
# TcpInSegs                       77                 0.0
# TcpOutSegs                      3428               0.0
# TcpRetransSegs                  1                  0.0
# TcpExtTCPPureAcks               76                 0.0
# TcpExtTCPLossProbes             2                  0.0
# TcpExtTCPDSACKRecv              1                  0.0
# TcpExtTCPDSACKIgnoredNoUndo     1                  0.0
# TcpExtTCPAutoCorking            2                  0.0
# TcpExtTCPOrigDataSent           3425               0.0
# TcpExtTCPHystartTrainDetect     1                  0.0
# TcpExtTCPHystartTrainCwnd       320                0.0
# TcpExtTCPDelivered              3427               0.0
# TcpExtTCPDSACKRecvSegs          1                  0.0
# MPTcpExtMPCapableSYNTX          1                  0.0
# MPTcpExtMPCapableSYNACKRX       1                  0.0
# 
# 28 ns3 MPTCP -> ns1 (dead:beef:1::1:10025) MPTCP     (duration   719ms) [ OK ]
# 29 ns3 MPTCP -> ns2 (10.0.1.2:10026      ) MPTCP     (duration   729ms) [ OK ]
# 30 ns3 MPTCP -> ns2 (dead:beef:1::2:10027) MPTCP     (duration   894ms) [ OK ]
# 31 ns3 MPTCP -> ns2 (10.0.2.1:10028      ) MPTCP     (duration   771ms) [ OK ]
# 32 ns3 MPTCP -> ns2 (dead:beef:2::1:10029) MPTCP     (duration   717ms) [ OK ]
# 33 ns3 MPTCP -> ns4 (10.0.3.1:10030      ) MPTCP     (duration   693ms) [ OK ]
# 34 ns3 MPTCP -> ns4 (dead:beef:3::1:10031) MPTCP     (duration   694ms) [ OK ]
# [FAIL] Tests with ns3-DiLCJq as a sender have failed
# 35 ns4 MPTCP -> ns1 (10.0.1.1:10032      ) MPTCP     (duration   715ms) [ OK ]
# 36 ns4 MPTCP -> ns1 (dead:beef:1::1:10033) MPTCP     (duration   785ms) [ OK ]
# 37 ns4 MPTCP -> ns2 (10.0.1.2:10034      ) MPTCP     (duration   718ms) [ OK ]
# 38 ns4 MPTCP -> ns2 (dead:beef:1::2:10035) MPTCP     (duration   690ms) [ OK ]
# 39 ns4 MPTCP -> ns2 (10.0.2.1:10036      ) MPTCP     (duration   714ms) [ OK ]
# 40 ns4 MPTCP -> ns2 (dead:beef:2::1:10037) MPTCP     (duration   732ms) [ OK ]
# 41 ns4 MPTCP -> ns3 (10.0.2.2:10038      ) MPTCP     (duration   700ms) [ OK ]
# 42 ns4 MPTCP -> ns3 (dead:beef:2::2:10039) MPTCP     (duration   691ms) [ OK ]
# 43 ns4 MPTCP -> ns3 (10.0.3.2:10040      ) MPTCP     (duration   679ms) [ OK ]
# 44 ns4 MPTCP -> ns3 (dead:beef:3::2:10041) MPTCP     (duration   693ms) [ OK ]
# INFO: with peek mode: saveWithPeek
# 45 ns1 MPTCP -> ns1 (10.0.1.1:10042      ) MPTCP     (duration   679ms) [ OK ]
# 46 ns1 MPTCP -> ns1 (10.0.1.1:10043      ) TCP       (duration   677ms) [ OK ]
# 47 ns1 TCP   -> ns1 (10.0.1.1:10044      ) MPTCP     (duration   675ms) [ OK ]
# 48 ns1 MPTCP -> ns1 (dead:beef:1::1:10045) MPTCP     (duration   699ms) [ OK ]
# 49 ns1 MPTCP -> ns1 (dead:beef:1::1:10046) TCP       (duration   702ms) [ OK ]
# 50 ns1 TCP   -> ns1 (dead:beef:1::1:10047) MPTCP     (duration   697ms) [ OK ]
# INFO: with peek mode: saveAfterPeek
# 51 ns1 MPTCP -> ns1 (10.0.1.1:10048      ) MPTCP     (duration   690ms) [ OK ]
# 52 ns1 MPTCP -> ns1 (10.0.1.1:10049      ) TCP       (duration   672ms) [ OK ]
# 53 ns1 TCP   -> ns1 (10.0.1.1:10050      ) MPTCP     (duration   671ms) [ OK ]
# 54 ns1 MPTCP -> ns1 (dead:beef:1::1:10051) MPTCP     (duration   677ms) [ OK ]
# 55 ns1 MPTCP -> ns1 (dead:beef:1::1:10052) TCP       (duration   706ms) [ OK ]
# 56 ns1 TCP   -> ns1 (dead:beef:1::1:10053) MPTCP     (duration   728ms) [ OK ]
# INFO: with MPTFO start
# 57 ns2 MPTCP -> ns1 (10.0.1.1:10054      ) MPTCP     (duration   715ms) [ OK ]
# 58 ns2 MPTCP -> ns1 (10.0.1.1:10055      ) MPTCP     (duration   960ms) [ OK ]
# 59 ns2 MPTCP -> ns1 (dead:beef:1::1:10056) MPTCP     (duration   715ms) [ OK ]
# 60 ns2 MPTCP -> ns1 (dead:beef:1::1:10057) MPTCP     (duration  1333ms) [ OK ]
# INFO: with MPTFO end
# INFO: test tproxy ipv4
# 61 ns1 MPTCP -> ns2 (10.0.3.1:20000      ) MPTCP     (duration   712ms) [ OK ]
# INFO: tproxy ipv4 pass
# INFO: test tproxy ipv6
# 62 ns1 MPTCP -> ns2 (dead:beef:3::1:20000) MPTCP     (duration   698ms) [ OK ]
# INFO: tproxy ipv6 pass
# INFO: disconnect
# 63 ns1 MPTCP -> ns1 (10.0.1.1:20001      ) MPTCP     (duration  2048ms) [ OK ]
# 64 ns1 MPTCP -> ns1 (10.0.1.1:20002      ) TCP       (duration  2171ms) [ OK ]
# 65 ns1 TCP   -> ns1 (10.0.1.1:20003      ) MPTCP     (duration  2148ms) [ OK ]
# 66 ns1 MPTCP -> ns1 (dead:beef:1::1:20004) MPTCP     (duration  2060ms) [ OK ]
# 67 ns1 MPTCP -> ns1 (dead:beef:1::1:20005) TCP       (duration  2158ms) [ OK ]
# 68 ns1 TCP   -> ns1 (dead:beef:1::1:20006) MPTCP     (duration  2156ms) [ OK ]
# Time: 346 seconds
# 
# time=347

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: mptcp_connect_mmap: multihosts: ns1 MPTCP -> ns4 (10.0.3.1:10014) MPTCP

results-debug/mptcp_connect_mmap_subtests.tap.xml
Raw output
not ok 17 - mptcp_connect_mmap: multihosts: ns1 MPTCP -> ns4 (10.0.3.1:10014) MPTCP # time=62906ms

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: mptcp_connect_mmap: multihosts: ns3 MPTCP -> ns1 (10.0.1.1:10024) MPTCP

results-debug/mptcp_connect_mmap_subtests.tap.xml
Raw output
not ok 27 - mptcp_connect_mmap: multihosts: ns3 MPTCP -> ns1 (10.0.1.1:10024) MPTCP # time=63176ms