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:52478 -> 10.0.1.1:50002 # 03 Established IPv6 MPTCP Connection ns2 => ns1 [ OK ] # INFO: Connection info: dead:beef:1::2:35296 -> dead:beef:1::1:50004 # INFO: Will be using address IDs 12 (client) and 54 (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=51ms # ok 2 - userspace_pm: Established IPv4 MPTCP Connection ns2 => ns1 # time=2171ms # ok 3 - userspace_pm: Established IPv6 MPTCP Connection ns2 => ns1 # time=2098ms # ok 4 - userspace_pm: ADD_ADDR 10.0.2.2 (ns2) => ns1, invalid token # time=244ms # ok 5 - userspace_pm: ADD_ADDR id:client 10.0.2.2 (ns2) => ns1, reuse port # time=1135ms # ok 6 - userspace_pm: ADD_ADDR6 id:client dead:beef:2::2 (ns2) => ns1, reuse port # time=1160ms # ok 7 - userspace_pm: ADD_ADDR id:client+1 10.0.2.2 (ns2) => ns1, new port # time=1195ms # ok 8 - userspace_pm: ADD_ADDR id:server 10.0.2.1 (ns1) => ns2, reuse port # time=1240ms # ok 9 - userspace_pm: ADD_ADDR6 id:server dead:beef:2::1 (ns1) => ns2, reuse port # time=1237ms # ok 10 - userspace_pm: ADD_ADDR id:server+1 10.0.2.1 (ns1) => ns2, new port # time=1167ms # ok 11 - userspace_pm: RM_ADDR id:client ns2 => ns1, invalid token # time=250ms # ok 12 - userspace_pm: RM_ADDR id:client+1 ns2 => ns1, invalid id # time=269ms # ok 13 - userspace_pm: RM_ADDR id:client ns2 => ns1 # time=994ms # ok 14 - userspace_pm: RM_ADDR id:client-1 ns2 => ns1 # time=961ms # ok 15 - userspace_pm: RM_ADDR6 id:client-1 ns2 => ns1 # time=1008ms # ok 16 - userspace_pm: RM_ADDR id:server ns1 => ns2 # time=974ms # ok 17 - userspace_pm: RM_ADDR id:server-1 ns1 => ns2 # time=1011ms # ok 18 - userspace_pm: RM_ADDR6 id:server-1 ns1 => ns2 # time=1010ms # ok 19 - userspace_pm: CREATE_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2 (ns2) # time=2300ms # ok 20 - userspace_pm: DESTROY_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2 (ns2) # time=1745ms # ok 21 - userspace_pm: CREATE_SUBFLOW6 dead:beef:2::1 (ns1) => dead:beef:2::2 (ns2) # time=2953ms # ok 22 - userspace_pm: DESTROY_SUBFLOW6 dead:beef:2::1 (ns1) => dead:beef:2::2 (ns2) # time=1668ms # ok 23 - userspace_pm: CREATE_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:50003 (ns2) # time=3044ms # ok 24 - userspace_pm: DESTROY_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:50003 (ns2) # time=1698ms # ok 25 - userspace_pm: CREATE_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50002 (ns1) # time=2371ms # ok 26 - userspace_pm: DESTROY_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50002 (ns1) # time=1726ms # ok 27 - userspace_pm: CREATE_SUBFLOW6 dead:beef:2::2 (ns2) => dead:beef:2::1:50004 (ns1) # time=3109ms # ok 28 - userspace_pm: DESTROY_SUBFLOW6 dead:beef:2::2 (ns2) => dead:beef:2::1:50004 (ns1) # time=1610ms # ok 29 - userspace_pm: CREATE_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50003 (ns1) # time=2976ms # ok 30 - userspace_pm: DESTROY_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50003 (ns1) # time=1675ms # ok 31 - userspace_pm: ADD_ADDR4 id:server 10.0.2.1 (ns1) => ns2, reuse port # time=1352ms # ok 32 - userspace_pm: CREATE_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50004 (ns1) # time=1630ms # ok 33 - userspace_pm: DESTROY_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50004 (ns1) # time=1700ms # ok 34 - userspace_pm: MP_PRIO TX # time=1570ms # ok 35 - userspace_pm: MP_PRIO RX # time=268ms # ok 36 - userspace_pm: CREATE_LISTENER 10.0.2.2 (client port) # time=1192ms # ok 37 - userspace_pm: CLOSE_LISTENER 10.0.2.2 (client port) # time=2448ms # 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__->