make -C tools/testing/selftests TARGETS=net/mptcp TEST_PROGS=userspace_pm..sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-11/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-11/tools/testing/selftests/net/mptcp' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-11/tools/testing/selftests/net/mptcp' make[1]: Entering directory '/home/virtme/testing-11/tools/testing/selftests/net/mptcp' TAP version 13 1..1 # timeout set to 1800 # 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 ] # 03 Established IPv6 MPTCP Connection ns2 => ns1 [ OK ] # INFO: Announce tests # 04 ADD_ADDR 10.0.2.2 (ns2) => ns1, invalid token [ OK ] # 05 ADD_ADDR id:18 10.0.2.2 (ns2) => ns1, reuse port [ OK ] # 06 ADD_ADDR6 id:18 dead:beef:2::2 (ns2) => ns1, reuse port [ OK ] # 07 ADD_ADDR id:19 10.0.2.2 (ns2) => ns1, new port [ OK ] # 08 ADD_ADDR id:19 10.0.2.1 (ns1) => ns2, reuse port [ OK ] # 09 ADD_ADDR6 id:19 dead:beef:2::1 (ns1) => ns2, reuse port [ OK ] # 10 ADD_ADDR id:20 10.0.2.1 (ns1) => ns2, new port [ OK ] # INFO: Remove tests # 11 RM_ADDR id:19 ns2 => ns1, invalid token [ OK ] # 12 RM_ADDR id:20 ns2 => ns1, invalid id [ OK ] # 13 RM_ADDR id:19 ns2 => ns1 [ OK ] # 14 RM_ADDR id:18 ns2 => ns1 [ OK ] # 15 RM_ADDR6 id:18 ns2 => ns1 [ OK ] # 16 RM_ADDR id:20 ns1 => ns2 [ OK ] # 17 RM_ADDR id:19 ns1 => ns2 [ OK ] # 18 RM_ADDR6 id:19 ns1 => ns2 [ OK ] # INFO: Subflows v4 or v6 only tests # 19 CREATE_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:47508 (ns2) [ OK ] # 20 DESTROY_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:47508 (ns2) [ OK ] # 21 CREATE_SUBFLOW6 dead:beef:2::1 (ns1) => dead:beef:2::2:35390 (ns2) [ OK ] # 22 DESTROY_SUBFLOW6 dead:beef:2::1 (ns1) => dead:beef:2::2:35390 (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:19 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:47508 [ OK ] # 37 CLOSE_LISTENER 10.0.2.2:47508 [ OK ] # # TAP version 13 # 1..37 # ok 1 - userspace_pm: Created network namespaces ns1, ns2 # ok 2 - userspace_pm: Established IPv4 MPTCP Connection ns2 => ns1 # ok 3 - userspace_pm: Established IPv6 MPTCP Connection ns2 => ns1 # ok 4 - userspace_pm: ADD_ADDR 10.0.2.2 (ns2) => ns1, invalid token # ok 5 - userspace_pm: ADD_ADDR id:18 10.0.2.2 (ns2) => ns1, reuse port # ok 6 - userspace_pm: ADD_ADDR6 id:18 dead:beef:2::2 (ns2) => ns1, reuse port # ok 7 - userspace_pm: ADD_ADDR id:19 10.0.2.2 (ns2) => ns1, new port # ok 8 - userspace_pm: ADD_ADDR id:19 10.0.2.1 (ns1) => ns2, reuse port # ok 9 - userspace_pm: ADD_ADDR6 id:19 dead:beef:2::1 (ns1) => ns2, reuse port # ok 10 - userspace_pm: ADD_ADDR id:20 10.0.2.1 (ns1) => ns2, new port # ok 11 - userspace_pm: RM_ADDR id:19 ns2 => ns1, invalid token # ok 12 - userspace_pm: RM_ADDR id:20 ns2 => ns1, invalid id # ok 13 - userspace_pm: RM_ADDR id:19 ns2 => ns1 # ok 14 - userspace_pm: RM_ADDR id:18 ns2 => ns1 # ok 15 - userspace_pm: RM_ADDR6 id:18 ns2 => ns1 # ok 16 - userspace_pm: RM_ADDR id:20 ns1 => ns2 # ok 17 - userspace_pm: RM_ADDR id:19 ns1 => ns2 # ok 18 - userspace_pm: RM_ADDR6 id:19 ns1 => ns2 # ok 19 - userspace_pm: CREATE_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:47508 (ns2) # ok 20 - userspace_pm: DESTROY_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:47508 (ns2) # ok 21 - userspace_pm: CREATE_SUBFLOW6 dead:beef:2::1 (ns1) => dead:beef:2::2:35390 (ns2) # ok 22 - userspace_pm: DESTROY_SUBFLOW6 dead:beef:2::1 (ns1) => dead:beef:2::2:35390 (ns2) # ok 23 - userspace_pm: CREATE_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:50003 (ns2) # ok 24 - userspace_pm: DESTROY_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:50003 (ns2) # ok 25 - userspace_pm: CREATE_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50002 (ns1) # ok 26 - userspace_pm: DESTROY_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50002 (ns1) # ok 27 - userspace_pm: CREATE_SUBFLOW6 dead:beef:2::2 (ns2) => dead:beef:2::1:50004 (ns1) # ok 28 - userspace_pm: DESTROY_SUBFLOW6 dead:beef:2::2 (ns2) => dead:beef:2::1:50004 (ns1) # ok 29 - userspace_pm: CREATE_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50003 (ns1) # ok 30 - userspace_pm: DESTROY_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50003 (ns1) # ok 31 - userspace_pm: ADD_ADDR4 id:19 10.0.2.1 (ns1) => ns2, reuse port # ok 32 - userspace_pm: CREATE_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50004 (ns1) # ok 33 - userspace_pm: DESTROY_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50004 (ns1) # ok 34 - userspace_pm: MP_PRIO TX # ok 35 - userspace_pm: MP_PRIO RX # ok 36 - userspace_pm: CREATE_LISTENER 10.0.2.2:47508 # ok 37 - userspace_pm: CLOSE_LISTENER 10.0.2.2:47508 # INFO: Cleanup # INFO: Done ok 1 selftests: net/mptcp: userspace_pm.sh make[1]: Leaving directory '/home/virtme/testing-11/tools/testing/selftests/net/mptcp' make: Leaving directory '/home/virtme/testing-11/tools/testing/selftests' xx__-> echo $? 0 xx__->