make -C tools/testing/selftests TARGETS="net/mptcp" TEST_PROGS=mptcp_conneect.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 # INFO: set ns3-Poj4au dev ns3eth2: ethtool -K gso off gro off # INFO: set ns4-Hbb2DI dev ns4eth3: ethtool -K gso off gro off # Created /tmp/tmp.v0qWuOWEvZ (size 3858910/tmp/tmp.v0qWuOWEvZ) containing data sent by client # Created /tmp/tmp.fVWydSqnQJ (size 2962156/tmp/tmp.fVWydSqnQJ) 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.13% delay 21 ms reorder 96% 7% with delay 5ms on ns3eth4 # 03 ns1 MPTCP -> ns1 (10.0.1.1:10000 ) MPTCP (duration 298ms) [ OK ] # 04 ns1 MPTCP -> ns1 (10.0.1.1:10001 ) TCP (duration 264ms) [ OK ] # 05 ns1 TCP -> ns1 (10.0.1.1:10002 ) MPTCP (duration 257ms) [ OK ] # 06 ns1 MPTCP -> ns1 (dead:beef:1::1:10003) MPTCP (duration 292ms) [ OK ] # 07 ns1 MPTCP -> ns1 (dead:beef:1::1:10004) TCP (duration 268ms) [ OK ] # 08 ns1 TCP -> ns1 (dead:beef:1::1:10005) MPTCP (duration 260ms) [ OK ] # 09 ns1 MPTCP -> ns2 (10.0.1.2:10006 ) MPTCP (duration 465ms) [ OK ] # 10 ns1 MPTCP -> ns2 (dead:beef:1::2:10007) MPTCP (duration 482ms) [ OK ] # 11 ns1 MPTCP -> ns2 (10.0.2.1:10008 ) MPTCP (duration 392ms) [ OK ] # 12 ns1 MPTCP -> ns2 (dead:beef:2::1:10009) MPTCP (duration 503ms) [ OK ] # 13 ns1 MPTCP -> ns3 (10.0.2.2:10010 ) MPTCP (duration 454ms) [ OK ] # 14 ns1 MPTCP -> ns3 (dead:beef:2::2:10011) MPTCP (duration 616ms) [ OK ] # 15 ns1 MPTCP -> ns3 (10.0.3.2:10012 ) MPTCP (duration 532ms) [ OK ] # 16 ns1 MPTCP -> ns3 (dead:beef:3::2:10013) MPTCP (duration 532ms) [ OK ] # 17 ns1 MPTCP -> ns4 (10.0.3.1:10014 ) MPTCP (duration 589ms) [ OK ] # 18 ns1 MPTCP -> ns4 (dead:beef:3::1:10015) MPTCP (duration 473ms) [ OK ] # 19 ns2 MPTCP -> ns1 (10.0.1.1:10016 ) MPTCP (duration 532ms) [ OK ] # 20 ns2 MPTCP -> ns1 (dead:beef:1::1:10017) MPTCP (duration 470ms) [ OK ] # 21 ns2 MPTCP -> ns3 (10.0.2.2:10018 ) MPTCP (duration 500ms) [ OK ] # 22 ns2 MPTCP -> ns3 (dead:beef:2::2:10019) MPTCP (duration 481ms) [ OK ] # 23 ns2 MPTCP -> ns3 (10.0.3.2:10020 ) MPTCP (duration 457ms) [ OK ] # 24 ns2 MPTCP -> ns3 (dead:beef:3::2:10021) MPTCP (duration 438ms) [ OK ] # 25 ns2 MPTCP -> ns4 (10.0.3.1:10022 ) MPTCP (duration 2516ms) [ OK ] # 26 ns2 MPTCP -> ns4 (dead:beef:3::1:10023) MPTCP (duration 482ms) [ OK ] # 27 ns3 MPTCP -> ns1 (10.0.1.1:10024 ) MPTCP (duration 652ms) [ OK ] # 28 ns3 MPTCP -> ns1 (dead:beef:1::1:10025) MPTCP (duration 636ms) [ OK ] # 29 ns3 MPTCP -> ns2 (10.0.1.2:10026 ) MPTCP (duration 521ms) [ OK ] # 30 ns3 MPTCP -> ns2 (dead:beef:1::2:10027) MPTCP (duration 458ms) [ OK ] # 31 ns3 MPTCP -> ns2 (10.0.2.1:10028 ) MPTCP (duration 478ms) [ OK ] # 32 ns3 MPTCP -> ns2 (dead:beef:2::1:10029) MPTCP (duration 507ms) [ OK ] # 33 ns3 MPTCP -> ns4 (10.0.3.1:10030 ) MPTCP (duration 371ms) [ OK ] # 34 ns3 MPTCP -> ns4 (dead:beef:3::1:10031) MPTCP (duration 491ms) [ OK ] # 35 ns4 MPTCP -> ns1 (10.0.1.1:10032 ) MPTCP (duration 416ms) [ OK ] # 36 ns4 MPTCP -> ns1 (dead:beef:1::1:10033) MPTCP (duration 697ms) [ OK ] # 37 ns4 MPTCP -> ns2 (10.0.1.2:10034 ) MPTCP (duration 845ms) [ OK ] # 38 ns4 MPTCP -> ns2 (dead:beef:1::2:10035) MPTCP (duration 1226ms) [ OK ] # 39 ns4 MPTCP -> ns2 (10.0.2.1:10036 ) MPTCP (duration 538ms) [ OK ] # 40 ns4 MPTCP -> ns2 (dead:beef:2::1:10037) MPTCP (duration 590ms) [ OK ] # 41 ns4 MPTCP -> ns3 (10.0.2.2:10038 ) MPTCP (duration 506ms) [ OK ] # 42 ns4 MPTCP -> ns3 (dead:beef:2::2:10039) MPTCP (duration 487ms) [ OK ] # 43 ns4 MPTCP -> ns3 (10.0.3.2:10040 ) MPTCP (duration 480ms) [ OK ] # 44 ns4 MPTCP -> ns3 (dead:beef:3::2:10041) MPTCP (duration 475ms) [ OK ] # INFO: with peek mode: saveWithPeek # 45 ns1 MPTCP -> ns1 (10.0.1.1:10042 ) MPTCP (duration 317ms) [ OK ] # 46 ns1 MPTCP -> ns1 (10.0.1.1:10043 ) TCP (duration 267ms) [ OK ] # 47 ns1 TCP -> ns1 (10.0.1.1:10044 ) MPTCP (duration 264ms) [ OK ] # 48 ns1 MPTCP -> ns1 (dead:beef:1::1:10045) MPTCP (duration 318ms) [ OK ] # 49 ns1 MPTCP -> ns1 (dead:beef:1::1:10046) TCP (duration 279ms) [ OK ] # 50 ns1 TCP -> ns1 (dead:beef:1::1:10047) MPTCP (duration 264ms) [ OK ] # INFO: with peek mode: saveAfterPeek # 51 ns1 MPTCP -> ns1 (10.0.1.1:10048 ) MPTCP (duration 292ms) [ OK ] # 52 ns1 MPTCP -> ns1 (10.0.1.1:10049 ) TCP (duration 258ms) [ OK ] # 53 ns1 TCP -> ns1 (10.0.1.1:10050 ) MPTCP (duration 264ms) [ OK ] # 54 ns1 MPTCP -> ns1 (dead:beef:1::1:10051) MPTCP (duration 307ms) [ OK ] # 55 ns1 MPTCP -> ns1 (dead:beef:1::1:10052) TCP (duration 280ms) [ OK ] # 56 ns1 TCP -> ns1 (dead:beef:1::1:10053) MPTCP (duration 265ms) [ OK ] # INFO: with MPTFO start # 57 ns2 MPTCP -> ns1 (10.0.1.1:10054 ) MPTCP (duration 468ms) [ OK ] # 58 ns2 MPTCP -> ns1 (10.0.1.1:10055 ) MPTCP (duration 463ms) [ OK ] # 59 ns2 MPTCP -> ns1 (dead:beef:1::1:10056) MPTCP (duration 482ms) [ OK ] # 60 ns2 MPTCP -> ns1 (dead:beef:1::1:10057) MPTCP (duration 435ms) [ OK ] # INFO: with MPTFO end # INFO: test tproxy ipv4 # 61 ns1 MPTCP -> ns2 (10.0.3.1:20000 ) MPTCP (duration 556ms) [ OK ] # INFO: tproxy ipv4 pass # INFO: test tproxy ipv6 # 62 ns1 MPTCP -> ns2 (dead:beef:3::1:20000) MPTCP (duration 417ms) [ OK ] # INFO: tproxy ipv6 pass # INFO: disconnect # 63 ns1 MPTCP -> ns1 (10.0.1.1:20001 ) MPTCP (duration 541ms) [ OK ] # 64 ns1 MPTCP -> ns1 (10.0.1.1:20002 ) TCP (duration 382ms) [ OK ] # 65 ns1 TCP -> ns1 (10.0.1.1:20003 ) MPTCP (duration 363ms) [ OK ] # 66 ns1 MPTCP -> ns1 (dead:beef:1::1:20004) MPTCP (duration 543ms) [ OK ] # 67 ns1 MPTCP -> ns1 (dead:beef:1::1:20005) TCP (duration 378ms) [ OK ] # 68 ns1 TCP -> ns1 (dead:beef:1::1:20006) MPTCP (duration 392ms) [ OK ] # Time: 284 seconds # # TAP version 13 # 1..68 # ok 1 - mptcp_connect: New MPTCP socket can be blocked via sysctl # time=1449ms # ok 2 - mptcp_connect: ping tests # time=6183ms # ok 3 - mptcp_connect: loopback v4: ns1 MPTCP -> ns1 (10.0.1.1:10000) MPTCP # time=4210ms # ok 4 - mptcp_connect: loopback v4: ns1 MPTCP -> ns1 (10.0.1.1:10001) TCP # time=3748ms # ok 5 - mptcp_connect: loopback v4: ns1 TCP -> ns1 (10.0.1.1:10002) MPTCP # time=3639ms # ok 6 - mptcp_connect: loopback v6: ns1 MPTCP -> ns1 (dead:beef:1::1:10003) MPTCP # time=3950ms # ok 7 - mptcp_connect: loopback v6: ns1 MPTCP -> ns1 (dead:beef:1::1:10004) TCP # time=3632ms # ok 8 - mptcp_connect: loopback v6: ns1 TCP -> ns1 (dead:beef:1::1:10005) MPTCP # time=3636ms # ok 9 - mptcp_connect: multihosts: ns1 MPTCP -> ns2 (10.0.1.2:10006) MPTCP # time=4335ms # ok 10 - mptcp_connect: multihosts: ns1 MPTCP -> ns2 (dead:beef:1::2:10007) MPTCP # time=4114ms # ok 11 - mptcp_connect: multihosts: ns1 MPTCP -> ns2 (10.0.2.1:10008) MPTCP # time=4195ms # ok 12 - mptcp_connect: multihosts: ns1 MPTCP -> ns2 (dead:beef:2::1:10009) MPTCP # time=4463ms # ok 13 - mptcp_connect: multihosts: ns1 MPTCP -> ns3 (10.0.2.2:10010) MPTCP # time=4117ms # ok 14 - mptcp_connect: multihosts: ns1 MPTCP -> ns3 (dead:beef:2::2:10011) MPTCP # time=4444ms # ok 15 - mptcp_connect: multihosts: ns1 MPTCP -> ns3 (10.0.3.2:10012) MPTCP # time=4273ms # ok 16 - mptcp_connect: multihosts: ns1 MPTCP -> ns3 (dead:beef:3::2:10013) MPTCP # time=4326ms # ok 17 - mptcp_connect: multihosts: ns1 MPTCP -> ns4 (10.0.3.1:10014) MPTCP # time=4690ms # ok 18 - mptcp_connect: multihosts: ns1 MPTCP -> ns4 (dead:beef:3::1:10015) MPTCP # time=4804ms # ok 19 - mptcp_connect: multihosts: ns2 MPTCP -> ns1 (10.0.1.1:10016) MPTCP # time=4972ms # ok 20 - mptcp_connect: multihosts: ns2 MPTCP -> ns1 (dead:beef:1::1:10017) MPTCP # time=4114ms # ok 21 - mptcp_connect: multihosts: ns2 MPTCP -> ns3 (10.0.2.2:10018) MPTCP # time=4026ms # ok 22 - mptcp_connect: multihosts: ns2 MPTCP -> ns3 (dead:beef:2::2:10019) MPTCP # time=4053ms # ok 23 - mptcp_connect: multihosts: ns2 MPTCP -> ns3 (10.0.3.2:10020) MPTCP # time=4027ms # ok 24 - mptcp_connect: multihosts: ns2 MPTCP -> ns3 (dead:beef:3::2:10021) MPTCP # time=4143ms # ok 25 - mptcp_connect: multihosts: ns2 MPTCP -> ns4 (10.0.3.1:10022) MPTCP # time=6089ms # ok 26 - mptcp_connect: multihosts: ns2 MPTCP -> ns4 (dead:beef:3::1:10023) MPTCP # time=4037ms # ok 27 - mptcp_connect: multihosts: ns3 MPTCP -> ns1 (10.0.1.1:10024) MPTCP # time=4315ms # ok 28 - mptcp_connect: multihosts: ns3 MPTCP -> ns1 (dead:beef:1::1:10025) MPTCP # time=4247ms # ok 29 - mptcp_connect: multihosts: ns3 MPTCP -> ns2 (10.0.1.2:10026) MPTCP # time=4272ms # ok 30 - mptcp_connect: multihosts: ns3 MPTCP -> ns2 (dead:beef:1::2:10027) MPTCP # time=3981ms # ok 31 - mptcp_connect: multihosts: ns3 MPTCP -> ns2 (10.0.2.1:10028) MPTCP # time=4037ms # ok 32 - mptcp_connect: multihosts: ns3 MPTCP -> ns2 (dead:beef:2::1:10029) MPTCP # time=4078ms # ok 33 - mptcp_connect: multihosts: ns3 MPTCP -> ns4 (10.0.3.1:10030) MPTCP # time=3996ms # ok 34 - mptcp_connect: multihosts: ns3 MPTCP -> ns4 (dead:beef:3::1:10031) MPTCP # time=4075ms # ok 35 - mptcp_connect: multihosts: ns4 MPTCP -> ns1 (10.0.1.1:10032) MPTCP # time=4111ms # ok 36 - mptcp_connect: multihosts: ns4 MPTCP -> ns1 (dead:beef:1::1:10033) MPTCP # time=4304ms # ok 37 - mptcp_connect: multihosts: ns4 MPTCP -> ns2 (10.0.1.2:10034) MPTCP # time=4417ms # ok 38 - mptcp_connect: multihosts: ns4 MPTCP -> ns2 (dead:beef:1::2:10035) MPTCP # time=4794ms # ok 39 - mptcp_connect: multihosts: ns4 MPTCP -> ns2 (10.0.2.1:10036) MPTCP # time=4104ms # ok 40 - mptcp_connect: multihosts: ns4 MPTCP -> ns2 (dead:beef:2::1:10037) MPTCP # time=4184ms # ok 41 - mptcp_connect: multihosts: ns4 MPTCP -> ns3 (10.0.2.2:10038) MPTCP # time=4092ms # ok 42 - mptcp_connect: multihosts: ns4 MPTCP -> ns3 (dead:beef:2::2:10039) MPTCP # time=4038ms # ok 43 - mptcp_connect: multihosts: ns4 MPTCP -> ns3 (10.0.3.2:10040) MPTCP # time=4081ms # ok 44 - mptcp_connect: multihosts: ns4 MPTCP -> ns3 (dead:beef:3::2:10041) MPTCP # time=3988ms # ok 45 - mptcp_connect: peek mode: saveWithPeek: ns1 MPTCP -> ns1 (10.0.1.1:10042) MPTCP # time=3522ms # ok 46 - mptcp_connect: peek mode: saveWithPeek: ns1 MPTCP -> ns1 (10.0.1.1:10043) TCP # time=3528ms # ok 47 - mptcp_connect: peek mode: saveWithPeek: ns1 TCP -> ns1 (10.0.1.1:10044) MPTCP # time=3557ms # ok 48 - mptcp_connect: peek mode: saveWithPeek: ns1 MPTCP -> ns1 (dead:beef:1::1:10045) MPTCP # time=3633ms # ok 49 - mptcp_connect: peek mode: saveWithPeek: ns1 MPTCP -> ns1 (dead:beef:1::1:10046) TCP # time=3557ms # ok 50 - mptcp_connect: peek mode: saveWithPeek: ns1 TCP -> ns1 (dead:beef:1::1:10047) MPTCP # time=3555ms # ok 51 - mptcp_connect: peek mode: saveAfterPeek: ns1 MPTCP -> ns1 (10.0.1.1:10048) MPTCP # time=3566ms # ok 52 - mptcp_connect: peek mode: saveAfterPeek: ns1 MPTCP -> ns1 (10.0.1.1:10049) TCP # time=3550ms # ok 53 - mptcp_connect: peek mode: saveAfterPeek: ns1 TCP -> ns1 (10.0.1.1:10050) MPTCP # time=3536ms # ok 54 - mptcp_connect: peek mode: saveAfterPeek: ns1 MPTCP -> ns1 (dead:beef:1::1:10051) MPTCP # time=3569ms # ok 55 - mptcp_connect: peek mode: saveAfterPeek: ns1 MPTCP -> ns1 (dead:beef:1::1:10052) TCP # time=3543ms # ok 56 - mptcp_connect: peek mode: saveAfterPeek: ns1 TCP -> ns1 (dead:beef:1::1:10053) MPTCP # time=3550ms # ok 57 - mptcp_connect: MPTFO: ns2 MPTCP -> ns1 (10.0.1.1:10054) MPTCP # time=4431ms # ok 58 - mptcp_connect: MPTFO: ns2 MPTCP -> ns1 (10.0.1.1:10055) MPTCP # time=4052ms # ok 59 - mptcp_connect: MPTFO: ns2 MPTCP -> ns1 (dead:beef:1::1:10056) MPTCP # time=4077ms # ok 60 - mptcp_connect: MPTFO: ns2 MPTCP -> ns1 (dead:beef:1::1:10057) MPTCP # time=4034ms # ok 61 - mptcp_connect: tproxy ipv4: ns1 MPTCP -> ns2 (10.0.3.1:20000) MPTCP # time=5876ms # ok 62 - mptcp_connect: tproxy ipv6: ns1 MPTCP -> ns2 (dead:beef:3::1:20000) MPTCP # time=4989ms # ok 63 - mptcp_connect: full disconnect: ns1 MPTCP -> ns1 (10.0.1.1:20001) MPTCP # time=4434ms # ok 64 - mptcp_connect: full disconnect: ns1 MPTCP -> ns1 (10.0.1.1:20002) TCP # time=3834ms # ok 65 - mptcp_connect: full disconnect: ns1 TCP -> ns1 (10.0.1.1:20003) MPTCP # time=3658ms # ok 66 - mptcp_connect: full disconnect: ns1 MPTCP -> ns1 (dead:beef:1::1:20004) MPTCP # time=3892ms # ok 67 - mptcp_connect: full disconnect: ns1 MPTCP -> ns1 (dead:beef:1::1:20005) TCP # time=3625ms # ok 68 - mptcp_connect: full disconnect: ns1 TCP -> ns1 (dead:beef:1::1:20006) MPTCP # time=4081ms 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__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->