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 # Created network namespaces ns1, ns2 [ OK ] # INFO: Make connections # Established IPv4 MPTCP Connection ns2 => ns1 [ OK ] # Established IPv6 MPTCP Connection ns2 => ns1 [ OK ] # INFO: Announce tests # ADD_ADDR 10.0.2.2 (ns2) => ns1, invalid token [ OK ] # ADD_ADDR id:16 10.0.2.2 (ns2) => ns1, reuse port [ OK ] # ADD_ADDR6 id:16 dead:beef:2::2 (ns2) => ns1, reuse port [ OK ] # ADD_ADDR id:17 10.0.2.2 (ns2) => ns1, new port [ OK ] # ADD_ADDR id:38 10.0.2.1 (ns1) => ns2, reuse port [ OK ] # ADD_ADDR6 id:38 dead:beef:2::1 (ns1) => ns2, reuse port [ OK ] # ADD_ADDR id:39 10.0.2.1 (ns1) => ns2, new port [ OK ] # INFO: Remove tests # RM_ADDR id:17 ns2 => ns1, invalid token [ OK ] # RM_ADDR id:18 ns2 => ns1, invalid id [ OK ] # RM_ADDR id:17 ns2 => ns1 [ OK ] # RM_ADDR id:16 ns2 => ns1 [ OK ] # RM_ADDR6 id:16 ns2 => ns1 [ OK ] # RM_ADDR id:39 ns1 => ns2 [ OK ] # RM_ADDR id:38 ns1 => ns2 [ OK ] # RM_ADDR6 id:38 ns1 => ns2 [ OK ] # INFO: Subflows v4 or v6 only tests # CREATE_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:33396 (ns2) [ OK ] # DESTROY_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:33396 (ns2) [ OK ] # CREATE_SUBFLOW6 dead:beef:2::1 (ns1) => dead:beef:2::2:52290 (ns2) [ OK ] # DESTROY_SUBFLOW6 dead:beef:2::1 (ns1) => dead:beef:2::2:52290 (ns2) [ OK ] # CREATE_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:50003 (ns2) [ OK ] # DESTROY_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:50003 (ns2) [ OK ] # CREATE_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50002 (ns1) [ OK ] # DESTROY_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50002 (ns1) [ OK ] # CREATE_SUBFLOW6 dead:beef:2::2 (ns2) => dead:beef:2::1:50004 (ns1) [ OK ] # DESTROY_SUBFLOW6 dead:beef:2::2 (ns2) => dead:beef:2::1:50004 (ns1) [ OK ] # CREATE_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50003 (ns1) [ OK ] # DESTROY_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50003 (ns1) [ OK ] # INFO: Subflows v4 and v6 mix tests # ADD_ADDR4 id:38 10.0.2.1 (ns1) => ns2, reuse port [ OK ] # CREATE_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50004 (ns1) [ OK ] # DESTROY_SUBFLOW 10.0.2.2 (ns2) => 10.0.2.1:50004 (ns1) [ OK ] # INFO: Prio tests # MP_PRIO TX [ OK ] # MP_PRIO RX [ OK ] # INFO: Listener tests # CREATE_LISTENER 10.0.2.2:33396 [ OK ] # CLOSE_LISTENER 10.0.2.2:33396 [ 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:16 10.0.2.2 (ns2) => ns1, reuse port # ok 6 - userspace_pm: ADD_ADDR6 id:16 dead:beef:2::2 (ns2) => ns1, reuse port # ok 7 - userspace_pm: ADD_ADDR id:17 10.0.2.2 (ns2) => ns1, new port # ok 8 - userspace_pm: ADD_ADDR id:38 10.0.2.1 (ns1) => ns2, reuse port # ok 9 - userspace_pm: ADD_ADDR6 id:38 dead:beef:2::1 (ns1) => ns2, reuse port # ok 10 - userspace_pm: ADD_ADDR id:39 10.0.2.1 (ns1) => ns2, new port # ok 11 - userspace_pm: RM_ADDR id:17 ns2 => ns1, invalid token # ok 12 - userspace_pm: RM_ADDR id:18 ns2 => ns1, invalid id # ok 13 - userspace_pm: RM_ADDR id:17 ns2 => ns1 # ok 14 - userspace_pm: RM_ADDR id:16 ns2 => ns1 # ok 15 - userspace_pm: RM_ADDR6 id:16 ns2 => ns1 # ok 16 - userspace_pm: RM_ADDR id:39 ns1 => ns2 # ok 17 - userspace_pm: RM_ADDR id:38 ns1 => ns2 # ok 18 - userspace_pm: RM_ADDR6 id:38 ns1 => ns2 # ok 19 - userspace_pm: CREATE_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:33396 (ns2) # ok 20 - userspace_pm: DESTROY_SUBFLOW 10.0.2.1 (ns1) => 10.0.2.2:33396 (ns2) # ok 21 - userspace_pm: CREATE_SUBFLOW6 dead:beef:2::1 (ns1) => dead:beef:2::2:52290 (ns2) # ok 22 - userspace_pm: DESTROY_SUBFLOW6 dead:beef:2::1 (ns1) => dead:beef:2::2:52290 (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:38 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:33396 # ok 37 - userspace_pm: CLOSE_LISTENER 10.0.2.2:33396 # INFO: Cleanup # 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__->