make -C tools/testing/selftests TARGETS=net/mptcp TEST_PROGS=mptcp_connectt.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-12/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-12/tools/testing/selftests/net/mptcp' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-12/tools/testing/selftests/net/mptcp' make[1]: Entering directory '/home/virtme/testing-12/tools/testing/selftests/net/mptcp' TAP version 13 1..1 # overriding timeout to 3600 # selftests: net/mptcp: mptcp_connect.sh # Created /tmp/tmp.ItTpa8WbqO (size 6986567/tmp/tmp.ItTpa8WbqO) containing data sent by client # Created /tmp/tmp.S75sbfQleQ (size 5079584/tmp/tmp.S75sbfQleQ) containing data sent by server # New MPTCP socket can be blocked via sysctl[ OK ] # INFO: validating network environment with pings # INFO: Using loss of 0.53% delay 17 ms reorder 92% 9% with delay 4ms on ns3eth4 # ns1 MPTCP -> ns1 (10.0.1.1:10000 ) MPTCP(duration 554ms) [ OK ] # ns1 MPTCP -> ns1 (10.0.1.1:10001 ) TCP (duration 544ms) [ OK ] # ns1 TCP -> ns1 (10.0.1.1:10002 ) MPTCP(duration 556ms) [ OK ] # ns1 MPTCP -> ns1 (dead:beef:1::1:10003) MPTCP(duration 615ms) [ OK ] # ns1 MPTCP -> ns1 (dead:beef:1::1:10004) TCP (duration 592ms) [ OK ] # ns1 TCP -> ns1 (dead:beef:1::1:10005) MPTCP(duration 543ms) [ OK ] # ns1 MPTCP -> ns2 (10.0.1.2:10006 ) MPTCP(duration 845ms) [ OK ] # ns1 MPTCP -> ns2 (dead:beef:1::2:10007) MPTCP(duration 836ms) [ OK ] # ns1 MPTCP -> ns2 (10.0.2.1:10008 ) MPTCP(duration 783ms) [ OK ] # ns1 MPTCP -> ns2 (dead:beef:2::1:10009) MPTCP(duration 905ms) [ OK ] # ns1 MPTCP -> ns3 (10.0.2.2:10010 ) MPTCP(duration 1008ms) [ OK ] # ns1 MPTCP -> ns3 (dead:beef:2::2:10011) MPTCP(duration 834ms) [ OK ] # ns1 MPTCP -> ns3 (10.0.3.2:10012 ) MPTCP(duration 1244ms) [ OK ] # ns1 MPTCP -> ns3 (dead:beef:3::2:10013) MPTCP(duration 932ms) [ OK ] # ns1 MPTCP -> ns4 (10.0.3.1:10014 ) MPTCP(duration 901ms) [ OK ] # ns1 MPTCP -> ns4 (dead:beef:3::1:10015) MPTCP(duration 877ms) [ OK ] # ns2 MPTCP -> ns1 (10.0.1.1:10016 ) MPTCP(duration 919ms) [ OK ] # ns2 MPTCP -> ns1 (dead:beef:1::1:10017) MPTCP(duration 795ms) [ OK ] # ns2 MPTCP -> ns3 (10.0.2.2:10018 ) MPTCP(duration 994ms) [ OK ] # ns2 MPTCP -> ns3 (dead:beef:2::2:10019) MPTCP(duration 781ms) [ OK ] # ns2 MPTCP -> ns3 (10.0.3.2:10020 ) MPTCP(duration 955ms) [ OK ] # ns2 MPTCP -> ns3 (dead:beef:3::2:10021) MPTCP(duration 4788ms) [ OK ] # ns2 MPTCP -> ns4 (10.0.3.1:10022 ) MPTCP(duration 1051ms) [ OK ] # ns2 MPTCP -> ns4 (dead:beef:3::1:10023) MPTCP(duration 852ms) [ OK ] # ns3 MPTCP -> ns1 (10.0.1.1:10024 ) MPTCP(duration 1439ms) [ OK ] # ns3 MPTCP -> ns1 (dead:beef:1::1:10025) MPTCP(duration 3644ms) [ OK ] # ns3 MPTCP -> ns2 (10.0.1.2:10026 ) MPTCP(duration 985ms) [ OK ] # ns3 MPTCP -> ns2 (dead:beef:1::2:10027) MPTCP(duration 810ms) [ OK ] # ns3 MPTCP -> ns2 (10.0.2.1:10028 ) MPTCP(duration 3395ms) [ OK ] # ns3 MPTCP -> ns2 (dead:beef:2::1:10029) MPTCP(duration 3228ms) [ OK ] # ns3 MPTCP -> ns4 (10.0.3.1:10030 ) MPTCP(duration 1354ms) [ OK ] # ns3 MPTCP -> ns4 (dead:beef:3::1:10031) MPTCP(duration 1680ms) [ OK ] # ns4 MPTCP -> ns1 (10.0.1.1:10032 ) MPTCP(duration 1098ms) [ OK ] # ns4 MPTCP -> ns1 (dead:beef:1::1:10033) MPTCP(duration 3666ms) [ OK ] # ns4 MPTCP -> ns2 (10.0.1.2:10034 ) MPTCP(duration 2904ms) [ OK ] # ns4 MPTCP -> ns2 (dead:beef:1::2:10035) MPTCP(duration 1113ms) [ OK ] # ns4 MPTCP -> ns2 (10.0.2.1:10036 ) MPTCP(duration 1080ms) [ OK ] # ns4 MPTCP -> ns2 (dead:beef:2::1:10037) MPTCP(duration 997ms) [ OK ] # ns4 MPTCP -> ns3 (10.0.2.2:10038 ) MPTCP(duration 990ms) [ OK ] # ns4 MPTCP -> ns3 (dead:beef:2::2:10039) MPTCP(duration 1166ms) [ OK ] # ns4 MPTCP -> ns3 (10.0.3.2:10040 ) MPTCP(duration 1010ms) [ OK ] # ns4 MPTCP -> ns3 (dead:beef:3::2:10041) MPTCP(duration 1186ms) [ OK ] # INFO: with peek mode: saveWithPeek # ns1 MPTCP -> ns1 (10.0.1.1:10042 ) MPTCP(duration 620ms) [ OK ] # ns1 MPTCP -> ns1 (10.0.1.1:10043 ) TCP (duration 562ms) [ OK ] # ns1 TCP -> ns1 (10.0.1.1:10044 ) MPTCP(duration 520ms) [ OK ] # ns1 MPTCP -> ns1 (dead:beef:1::1:10045) MPTCP(duration 589ms) [ OK ] # ns1 MPTCP -> ns1 (dead:beef:1::1:10046) TCP (duration 542ms) [ OK ] # ns1 TCP -> ns1 (dead:beef:1::1:10047) MPTCP(duration 543ms) [ OK ] # INFO: with peek mode: saveAfterPeek # ns1 MPTCP -> ns1 (10.0.1.1:10048 ) MPTCP(duration 606ms) [ OK ] # ns1 MPTCP -> ns1 (10.0.1.1:10049 ) TCP (duration 602ms) [ OK ] # ns1 TCP -> ns1 (10.0.1.1:10050 ) MPTCP(duration 553ms) [ OK ] # ns1 MPTCP -> ns1 (dead:beef:1::1:10051) MPTCP(duration 625ms) [ OK ] # ns1 MPTCP -> ns1 (dead:beef:1::1:10052) TCP (duration 547ms) [ OK ] # ns1 TCP -> ns1 (dead:beef:1::1:10053) MPTCP(duration 549ms) [ OK ] # INFO: with MPTFO start # ns2 MPTCP -> ns1 (10.0.1.1:10054 ) MPTCP(duration 863ms) [ OK ] # ns2 MPTCP -> ns1 (10.0.1.1:10055 ) MPTCP(duration 862ms) [ OK ] # ns2 MPTCP -> ns1 (dead:beef:1::1:10056) MPTCP(duration 875ms) [ OK ] # ns2 MPTCP -> ns1 (dead:beef:1::1:10057) MPTCP(duration 1314ms) [ OK ] # INFO: with MPTFO end # INFO: test tproxy ipv4 # ns1 MPTCP -> ns2 (10.0.3.1:20000 ) MPTCP(duration 938ms) [ OK ] # PASS: tproxy ipv4 # INFO: test tproxy ipv6 # ns1 MPTCP -> ns2 (dead:beef:3::1:20000) MPTCP(duration 957ms) [ OK ] # PASS: tproxy ipv6 # INFO: disconnect # ns1 MPTCP -> ns1 (10.0.1.1:20001 ) MPTCP(duration 1001ms) [ OK ] # ns1 MPTCP -> ns1 (10.0.1.1:20002 ) TCP (duration 713ms) [ OK ] # ns1 TCP -> ns1 (10.0.1.1:20003 ) MPTCP(duration 729ms) [ OK ] # ns1 MPTCP -> ns1 (dead:beef:1::1:20004) MPTCP(duration 905ms) [ OK ] # ns1 MPTCP -> ns1 (dead:beef:1::1:20005) TCP (duration 744ms) [ OK ] # ns1 TCP -> ns1 (dead:beef:1::1:20006) MPTCP(duration 729ms) [ OK ] # Time: 461 seconds # # TAP version 13 # 1..68 # ok 1 - mptcp_connect: New MPTCP socket can be blocked via sysctl # ok 2 - mptcp_connect: ping tests # ok 3 - mptcp_connect: loopback v4: ns1 MPTCP -> ns1 (10.0.1.1:10000 ) MPTCP # time=554ms # ok 4 - mptcp_connect: loopback v4: ns1 MPTCP -> ns1 (10.0.1.1:10001 ) TCP # time=544ms # ok 5 - mptcp_connect: loopback v4: ns1 TCP -> ns1 (10.0.1.1:10002 ) MPTCP # time=556ms # ok 6 - mptcp_connect: loopback v6: ns1 MPTCP -> ns1 (dead:beef:1::1:10003) MPTCP # time=615ms # ok 7 - mptcp_connect: loopback v6: ns1 MPTCP -> ns1 (dead:beef:1::1:10004) TCP # time=592ms # ok 8 - mptcp_connect: loopback v6: ns1 TCP -> ns1 (dead:beef:1::1:10005) MPTCP # time=543ms # ok 9 - mptcp_connect: multihosts: ns1 MPTCP -> ns2 (10.0.1.2:10006 ) MPTCP # time=845ms # ok 10 - mptcp_connect: multihosts: ns1 MPTCP -> ns2 (dead:beef:1::2:10007) MPTCP # time=836ms # ok 11 - mptcp_connect: multihosts: ns1 MPTCP -> ns2 (10.0.2.1:10008 ) MPTCP # time=783ms # ok 12 - mptcp_connect: multihosts: ns1 MPTCP -> ns2 (dead:beef:2::1:10009) MPTCP # time=905ms # ok 13 - mptcp_connect: multihosts: ns1 MPTCP -> ns3 (10.0.2.2:10010 ) MPTCP # time=1008ms # ok 14 - mptcp_connect: multihosts: ns1 MPTCP -> ns3 (dead:beef:2::2:10011) MPTCP # time=834ms # ok 15 - mptcp_connect: multihosts: ns1 MPTCP -> ns3 (10.0.3.2:10012 ) MPTCP # time=1244ms # ok 16 - mptcp_connect: multihosts: ns1 MPTCP -> ns3 (dead:beef:3::2:10013) MPTCP # time=932ms # ok 17 - mptcp_connect: multihosts: ns1 MPTCP -> ns4 (10.0.3.1:10014 ) MPTCP # time=901ms # ok 18 - mptcp_connect: multihosts: ns1 MPTCP -> ns4 (dead:beef:3::1:10015) MPTCP # time=877ms # ok 19 - mptcp_connect: multihosts: ns2 MPTCP -> ns1 (10.0.1.1:10016 ) MPTCP # time=919ms # ok 20 - mptcp_connect: multihosts: ns2 MPTCP -> ns1 (dead:beef:1::1:10017) MPTCP # time=795ms # ok 21 - mptcp_connect: multihosts: ns2 MPTCP -> ns3 (10.0.2.2:10018 ) MPTCP # time=994ms # ok 22 - mptcp_connect: multihosts: ns2 MPTCP -> ns3 (dead:beef:2::2:10019) MPTCP # time=781ms # ok 23 - mptcp_connect: multihosts: ns2 MPTCP -> ns3 (10.0.3.2:10020 ) MPTCP # time=955ms # ok 24 - mptcp_connect: multihosts: ns2 MPTCP -> ns3 (dead:beef:3::2:10021) MPTCP # time=4788ms # ok 25 - mptcp_connect: multihosts: ns2 MPTCP -> ns4 (10.0.3.1:10022 ) MPTCP # time=1051ms # ok 26 - mptcp_connect: multihosts: ns2 MPTCP -> ns4 (dead:beef:3::1:10023) MPTCP # time=852ms # ok 27 - mptcp_connect: multihosts: ns3 MPTCP -> ns1 (10.0.1.1:10024 ) MPTCP # time=1439ms # ok 28 - mptcp_connect: multihosts: ns3 MPTCP -> ns1 (dead:beef:1::1:10025) MPTCP # time=3644ms # ok 29 - mptcp_connect: multihosts: ns3 MPTCP -> ns2 (10.0.1.2:10026 ) MPTCP # time=985ms # ok 30 - mptcp_connect: multihosts: ns3 MPTCP -> ns2 (dead:beef:1::2:10027) MPTCP # time=810ms # ok 31 - mptcp_connect: multihosts: ns3 MPTCP -> ns2 (10.0.2.1:10028 ) MPTCP # time=3395ms # ok 32 - mptcp_connect: multihosts: ns3 MPTCP -> ns2 (dead:beef:2::1:10029) MPTCP # time=3228ms # ok 33 - mptcp_connect: multihosts: ns3 MPTCP -> ns4 (10.0.3.1:10030 ) MPTCP # time=1354ms # ok 34 - mptcp_connect: multihosts: ns3 MPTCP -> ns4 (dead:beef:3::1:10031) MPTCP # time=1680ms # ok 35 - mptcp_connect: multihosts: ns4 MPTCP -> ns1 (10.0.1.1:10032 ) MPTCP # time=1098ms # ok 36 - mptcp_connect: multihosts: ns4 MPTCP -> ns1 (dead:beef:1::1:10033) MPTCP # time=3666ms # ok 37 - mptcp_connect: multihosts: ns4 MPTCP -> ns2 (10.0.1.2:10034 ) MPTCP # time=2904ms # ok 38 - mptcp_connect: multihosts: ns4 MPTCP -> ns2 (dead:beef:1::2:10035) MPTCP # time=1113ms # ok 39 - mptcp_connect: multihosts: ns4 MPTCP -> ns2 (10.0.2.1:10036 ) MPTCP # time=1080ms # ok 40 - mptcp_connect: multihosts: ns4 MPTCP -> ns2 (dead:beef:2::1:10037) MPTCP # time=997ms # ok 41 - mptcp_connect: multihosts: ns4 MPTCP -> ns3 (10.0.2.2:10038 ) MPTCP # time=990ms # ok 42 - mptcp_connect: multihosts: ns4 MPTCP -> ns3 (dead:beef:2::2:10039) MPTCP # time=1166ms # ok 43 - mptcp_connect: multihosts: ns4 MPTCP -> ns3 (10.0.3.2:10040 ) MPTCP # time=1010ms # ok 44 - mptcp_connect: multihosts: ns4 MPTCP -> ns3 (dead:beef:3::2:10041) MPTCP # time=1186ms # ok 45 - mptcp_connect: peek mode: saveWithPeek: ns1 MPTCP -> ns1 (10.0.1.1:10042 ) MPTCP # time=620ms # ok 46 - mptcp_connect: peek mode: saveWithPeek: ns1 MPTCP -> ns1 (10.0.1.1:10043 ) TCP # time=562ms # ok 47 - mptcp_connect: peek mode: saveWithPeek: ns1 TCP -> ns1 (10.0.1.1:10044 ) MPTCP # time=520ms # ok 48 - mptcp_connect: peek mode: saveWithPeek: ns1 MPTCP -> ns1 (dead:beef:1::1:10045) MPTCP # time=589ms # ok 49 - mptcp_connect: peek mode: saveWithPeek: ns1 MPTCP -> ns1 (dead:beef:1::1:10046) TCP # time=542ms # ok 50 - mptcp_connect: peek mode: saveWithPeek: ns1 TCP -> ns1 (dead:beef:1::1:10047) MPTCP # time=543ms # ok 51 - mptcp_connect: peek mode: saveAfterPeek: ns1 MPTCP -> ns1 (10.0.1.1:10048 ) MPTCP # time=606ms # ok 52 - mptcp_connect: peek mode: saveAfterPeek: ns1 MPTCP -> ns1 (10.0.1.1:10049 ) TCP # time=602ms # ok 53 - mptcp_connect: peek mode: saveAfterPeek: ns1 TCP -> ns1 (10.0.1.1:10050 ) MPTCP # time=553ms # ok 54 - mptcp_connect: peek mode: saveAfterPeek: ns1 MPTCP -> ns1 (dead:beef:1::1:10051) MPTCP # time=625ms # ok 55 - mptcp_connect: peek mode: saveAfterPeek: ns1 MPTCP -> ns1 (dead:beef:1::1:10052) TCP # time=547ms # ok 56 - mptcp_connect: peek mode: saveAfterPeek: ns1 TCP -> ns1 (dead:beef:1::1:10053) MPTCP # time=549ms # ok 57 - mptcp_connect: MPTFO: ns2 MPTCP -> ns1 (10.0.1.1:10054 ) MPTCP # time=863ms # ok 58 - mptcp_connect: MPTFO: ns2 MPTCP -> ns1 (10.0.1.1:10055 ) MPTCP # time=862ms # ok 59 - mptcp_connect: MPTFO: ns2 MPTCP -> ns1 (dead:beef:1::1:10056) MPTCP # time=875ms # ok 60 - mptcp_connect: MPTFO: ns2 MPTCP -> ns1 (dead:beef:1::1:10057) MPTCP # time=1314ms # ok 61 - mptcp_connect: tproxy ipv4: ns1 MPTCP -> ns2 (10.0.3.1:20000 ) MPTCP # time=938ms # ok 62 - mptcp_connect: tproxy ipv6: ns1 MPTCP -> ns2 (dead:beef:3::1:20000) MPTCP # time=957ms # ok 63 - mptcp_connect: full disconnect: ns1 MPTCP -> ns1 (10.0.1.1:20001 ) MPTCP # time=1001ms # ok 64 - mptcp_connect: full disconnect: ns1 MPTCP -> ns1 (10.0.1.1:20002 ) TCP # time=713ms # ok 65 - mptcp_connect: full disconnect: ns1 TCP -> ns1 (10.0.1.1:20003 ) MPTCP # time=729ms # ok 66 - mptcp_connect: full disconnect: ns1 MPTCP -> ns1 (dead:beef:1::1:20004) MPTCP # time=905ms # ok 67 - mptcp_connect: full disconnect: ns1 MPTCP -> ns1 (dead:beef:1::1:20005) TCP # time=744ms # ok 68 - mptcp_connect: full disconnect: ns1 TCP -> ns1 (dead:beef:1::1:20006) MPTCP # time=729ms ok 1 selftests: net/mptcp: mptcp_connect.sh make[1]: Leaving directory '/home/virtme/testing-12/tools/testing/selftests/net/mptcp' make: Leaving directory '/home/virtme/testing-12/tools/testing/selftests' xx__-> echo $? 0 xx__->