make -C tools/testing/selftests TARGETS="net/mptcp" TEST_PROGS=userspace_ppm.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: userspace_pm.sh # INFO: Init # 01 Created network namespaces ns1, ns2 [ OK ] # INFO: Make connections # 02 Established IPv4 MPTCP Connection ns2 => ns1 [ OK ] # INFO: Connection info: 10.0.1.2:43532 -> 10.0.1.1:50002 # 03 Established IPv6 MPTCP Connection ns2 => ns1 [ OK ] # INFO: Connection info: dead:beef:1::2:39434 -> dead:beef:1::1:50004 # INFO: Will be using address IDs 29 (client) and 17 (server) # INFO: Announce tests # 04 ADD_ADDR 10.0.2.2 (ns2) => ns1, invalid token [ OK ] # 05 ADD_ADDR id:client 10.0.2.2 (ns2) => ns1, reuse port [ OK ] # 06 ADD_ADDR6 id:client dead:beef:2::2 (ns2) => ns1, reuse port [ OK ] # 07 ADD_ADDR id:client+1 10.0.2.2 (ns2) => ns1, new port [ OK ] # 08 ADD_ADDR id:server 10.0.2.1 (ns1) => ns2, reuse port [ OK ] # 09 ADD_ADDR6 id:server dead:beef:2::1 (ns1) => ns2, reuse port [ OK ] # 10 ADD_ADDR id:server+1 10.0.2.1 (ns1) => ns2, new port [ OK ] # INFO: Remove tests # 11 RM_ADDR id:client ns2 => ns1, invalid token [ OK ] # 12 RM_ADDR id:client+1 ns2 => ns1, invalid id [ OK ] # 13 RM_ADDR id:client ns2 => ns1 [ OK ] # 14 RM_ADDR id:client-1 ns2 => ns1 [ OK ] # 15 RM_ADDR6 id:client-1 ns2 => ns1 [ OK ] # 16 RM_ADDR id:server ns1 => ns2 [ OK ] # 17 RM_ADDR id:server-1 ns1 => ns2 [ OK ] # 18 RM_ADDR6 id:server-1 ns1 => ns2 [ OK ] # INFO: Subflows v4 or v6 only tests # 19 CREATE_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2 (ns2) [ OK ] # 20 DESTROY_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2 (ns2) [ OK ] # 21 CREATE_SUBFLOW6 dead:beef:2::1 (ns1) => dead:beef:2::2 (ns2) [ OK ] # 22 DESTROY_SUBFLOW6 dead:beef:2::1 (ns1) => dead:beef:2::2 (ns2) [ OK ] # 23 CREATE_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:50003 (ns2) [ OK ] # 24 DESTROY_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:50003 (ns2) [ OK ] # 25 CREATE_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50002 (ns1) [ OK ] # 26 DESTROY_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50002 (ns1) [ OK ] # 27 CREATE_SUBFLOW6 dead:beef:2::2 (ns2) => dead:beef:2::1:50004 (ns1) [ OK ] # 28 DESTROY_SUBFLOW6 dead:beef:2::2 (ns2) => dead:beef:2::1:50004 (ns1) [ OK ] # 29 CREATE_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50003 (ns1) [ OK ] # 30 DESTROY_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50003 (ns1) [ OK ] # INFO: Subflows v4 and v6 mix tests # 31 ADD_ADDR4 id:server 10.0.2.1 (ns1) => ns2, reuse port [ OK ] # 32 CREATE_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50004 (ns1) [ OK ] # 33 DESTROY_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50004 (ns1) [ OK ] # INFO: Prio tests # 34 MP_PRIO TX [ OK ] # 35 MP_PRIO RX [ OK ] # INFO: Listener tests # 36 CREATE_LISTENER 10.0.2.2 (client port) [ OK ] # 37 CLOSE_LISTENER 10.0.2.2 (client port) [ OK ] # # TAP version 13 # 1..37 # ok 1 - userspace_pm: Created network namespaces ns1, ns2 # time=133ms # ok 2 - userspace_pm: Established IPv4 MPTCP Connection ns2 => ns1 # time=2565ms # ok 3 - userspace_pm: Established IPv6 MPTCP Connection ns2 => ns1 # time=2528ms # ok 4 - userspace_pm: ADD_ADDR 10.0.2.2 (ns2) => ns1, invalid token # time=566ms # ok 5 - userspace_pm: ADD_ADDR id:client 10.0.2.2 (ns2) => ns1, reuse port # time=1704ms # ok 6 - userspace_pm: ADD_ADDR6 id:client dead:beef:2::2 (ns2) => ns1, reuse port # time=1736ms # ok 7 - userspace_pm: ADD_ADDR id:client+1 10.0.2.2 (ns2) => ns1, new port # time=1750ms # ok 8 - userspace_pm: ADD_ADDR id:server 10.0.2.1 (ns1) => ns2, reuse port # time=1758ms # ok 9 - userspace_pm: ADD_ADDR6 id:server dead:beef:2::1 (ns1) => ns2, reuse port # time=1624ms # ok 10 - userspace_pm: ADD_ADDR id:server+1 10.0.2.1 (ns1) => ns2, new port # time=1753ms # ok 11 - userspace_pm: RM_ADDR id:client ns2 => ns1, invalid token # time=553ms # ok 12 - userspace_pm: RM_ADDR id:client+1 ns2 => ns1, invalid id # time=530ms # ok 13 - userspace_pm: RM_ADDR id:client ns2 => ns1 # time=1483ms # ok 14 - userspace_pm: RM_ADDR id:client-1 ns2 => ns1 # time=1507ms # ok 15 - userspace_pm: RM_ADDR6 id:client-1 ns2 => ns1 # time=1456ms # ok 16 - userspace_pm: RM_ADDR id:server ns1 => ns2 # time=1508ms # ok 17 - userspace_pm: RM_ADDR id:server-1 ns1 => ns2 # time=1501ms # ok 18 - userspace_pm: RM_ADDR6 id:server-1 ns1 => ns2 # time=1434ms # ok 19 - userspace_pm: CREATE_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2 (ns2) # time=3021ms # ok 20 - userspace_pm: DESTROY_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2 (ns2) # time=2526ms # ok 21 - userspace_pm: CREATE_SUBFLOW6 dead:beef:2::1 (ns1) => dead:beef:2::2 (ns2) # time=4035ms # ok 22 - userspace_pm: DESTROY_SUBFLOW6 dead:beef:2::1 (ns1) => dead:beef:2::2 (ns2) # time=2373ms # ok 23 - userspace_pm: CREATE_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:50003 (ns2) # time=3945ms # ok 24 - userspace_pm: DESTROY_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:50003 (ns2) # time=2361ms # ok 25 - userspace_pm: CREATE_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50002 (ns1) # time=3381ms # ok 26 - userspace_pm: DESTROY_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50002 (ns1) # time=2398ms # ok 27 - userspace_pm: CREATE_SUBFLOW6 dead:beef:2::2 (ns2) => dead:beef:2::1:50004 (ns1) # time=3861ms # ok 28 - userspace_pm: DESTROY_SUBFLOW6 dead:beef:2::2 (ns2) => dead:beef:2::1:50004 (ns1) # time=2431ms # ok 29 - userspace_pm: CREATE_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50003 (ns1) # time=3924ms # ok 30 - userspace_pm: DESTROY_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50003 (ns1) # time=2273ms # ok 31 - userspace_pm: ADD_ADDR4 id:server 10.0.2.1 (ns1) => ns2, reuse port # time=1940ms # ok 32 - userspace_pm: CREATE_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50004 (ns1) # time=2227ms # ok 33 - userspace_pm: DESTROY_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50004 (ns1) # time=2243ms # ok 34 - userspace_pm: MP_PRIO TX # time=2197ms # ok 35 - userspace_pm: MP_PRIO RX # time=439ms # ok 36 - userspace_pm: CREATE_LISTENER 10.0.2.2 (client port) # time=1624ms # ok 37 - userspace_pm: CLOSE_LISTENER 10.0.2.2 (client port) # time=3201ms # INFO: Cleanup # INFO: Done ok 1 selftests: net/mptcp: userspace_pm.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__->