KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-8.3-kselftests-a0aa657b74904f1ffff77eeb194591f99311e33f 2021-06-03 13:15:12 ln -sf /usr/bin/clang 2021-06-03 13:15:12 ln -sf /usr/bin/llc 2021-06-03 13:15:12 sed -i s/default_timeout=45/default_timeout=300/ kselftest/runner.sh 2021-06-03 13:15:12 sed -i s/default_timeout=45/default_timeout=300/ /kselftests/kselftest/runner.sh source /lkp/lkp/src/lib/tests/kernel-selftests-ext.sh 2021-06-03 13:15:12 /kselftests/run_kselftest.sh -c net/mptcp TAP version 13 1..6 # selftests: net/mptcp: mptcp_connect.sh # INFO: set ns3-60b8d5e0-vW4bi8 dev ns3eth2: ethtool -K gro off # INFO: set ns4-60b8d5e0-vW4bi8 dev ns4eth3: ethtool -K gro off # Created /tmp/tmp.MZihAkuxIV (size 3921948 /tmp/tmp.MZihAkuxIV) containing data sent by client # Created /tmp/tmp.uoehaNIVCu (size 851996 /tmp/tmp.uoehaNIVCu) containing data sent by server # New MPTCP socket can be blocked via sysctl [ OK ] # setsockopt(..., TCP_ULP, "mptcp", ...) blocked [ OK ] # INFO: validating network environment with pings # INFO: Using loss of 0.43% delay 19 ms reorder 96% 8% with delay 4ms on ns3eth4 # ns1 MPTCP -> ns1 (10.0.1.1:10000 ) MPTCP (duration 69ms) [ OK ] # ns1 MPTCP -> ns1 (10.0.1.1:10001 ) TCP (duration 28ms) [ OK ] # ns1 TCP -> ns1 (10.0.1.1:10002 ) MPTCP (duration 28ms) [ OK ] # ns1 MPTCP -> ns1 (dead:beef:1::1:10003) MPTCP (duration 70ms) [ OK ] # ns1 MPTCP -> ns1 (dead:beef:1::1:10004) TCP (duration 28ms) [ OK ] # ns1 TCP -> ns1 (dead:beef:1::1:10005) MPTCP (duration 29ms) [ OK ] # ns1 MPTCP -> ns2 (10.0.1.2:10006 ) MPTCP (duration 81ms) [ OK ] # ns1 MPTCP -> ns2 (dead:beef:1::2:10007) MPTCP (duration 48ms) [ OK ] # ns1 MPTCP -> ns2 (10.0.2.1:10008 ) MPTCP (duration 40ms) [ OK ] # ns1 MPTCP -> ns2 (dead:beef:2::1:10009) MPTCP (duration 47ms) [ OK ] # ns1 MPTCP -> ns3 (10.0.2.2:10010 ) MPTCP (duration 267ms) [ OK ] # ns1 MPTCP -> ns3 (dead:beef:2::2:10011) MPTCP (duration 1741ms) [ OK ] # ns1 MPTCP -> ns3 (10.0.3.2:10012 ) MPTCP (duration 226ms) [ OK ] # ns1 MPTCP -> ns3 (dead:beef:3::2:10013) MPTCP (duration 247ms) [ OK ] # ns1 MPTCP -> ns4 (10.0.3.1:10014 ) MPTCP (duration 889ms) [ OK ] # ns1 MPTCP -> ns4 (dead:beef:3::1:10015) MPTCP (duration 3348ms) [ OK ] # ns2 MPTCP -> ns1 (10.0.1.1:10016 ) MPTCP (duration 41ms) [ OK ] # ns2 MPTCP -> ns1 (dead:beef:1::1:10017) MPTCP (duration 46ms) [ OK ] # ns2 MPTCP -> ns3 (10.0.2.2:10018 ) MPTCP (duration 246ms) [ OK ] # ns2 MPTCP -> ns3 (dead:beef:2::2:10019) MPTCP (duration 246ms) [ OK ] # ns2 MPTCP -> ns3 (10.0.3.2:10020 ) MPTCP (duration 209ms) [ OK ] # ns2 MPTCP -> ns3 (dead:beef:3::2:10021) MPTCP (duration 247ms) [ OK ] # ns2 MPTCP -> ns4 (10.0.3.1:10022 ) MPTCP (duration 2255ms) [ OK ] # ns2 MPTCP -> ns4 (dead:beef:3::1:10023) MPTCP (duration 589ms) [ OK ] # ns3 MPTCP -> ns1 (10.0.1.1:10024 ) MPTCP (duration 207ms) [ OK ] # ns3 MPTCP -> ns1 (dead:beef:1::1:10025) MPTCP (duration 207ms) [ OK ] # ns3 MPTCP -> ns2 (10.0.1.2:10026 ) MPTCP (duration 189ms) [ OK ] # ns3 MPTCP -> ns2 (dead:beef:1::2:10027) MPTCP (duration 326ms) [ OK ] # ns3 MPTCP -> ns2 (10.0.2.1:10028 ) MPTCP (duration 189ms) [ OK ] # ns3 MPTCP -> ns2 (dead:beef:2::1:10029) MPTCP (duration 189ms) [ OK ] # ns3 MPTCP -> ns4 (10.0.3.1:10030 ) MPTCP (duration 54ms) [ OK ] # ns3 MPTCP -> ns4 (dead:beef:3::1:10031) MPTCP (duration 69ms) [ OK ] # ns4 MPTCP -> ns1 (10.0.1.1:10032 ) MPTCP (duration 190ms) [ OK ] # ns4 MPTCP -> ns1 (dead:beef:1::1:10033) MPTCP (duration 670ms) [ OK ] # ns4 MPTCP -> ns2 (10.0.1.2:10034 ) MPTCP (duration 297ms) [ OK ] # ns4 MPTCP -> ns2 (dead:beef:1::2:10035) MPTCP (duration 514ms) [ OK ] # ns4 MPTCP -> ns2 (10.0.2.1:10036 ) MPTCP (duration 209ms) [ OK ] # ns4 MPTCP -> ns2 (dead:beef:2::1:10037) MPTCP (duration 211ms) [ OK ] # ns4 MPTCP -> ns3 (10.0.2.2:10038 ) MPTCP (duration 43ms) [ OK ] # ns4 MPTCP -> ns3 (dead:beef:2::2:10039) MPTCP (duration 49ms) [ OK ] # ns4 MPTCP -> ns3 (10.0.3.2:10040 ) MPTCP (duration 44ms) [ OK ] # ns4 MPTCP -> ns3 (dead:beef:3::2:10041) MPTCP (duration 50ms) [ OK ] # INFO: with peek mode: saveWithPeek # ns1 MPTCP -> ns1 (10.0.1.1:10042 ) MPTCP (duration 68ms) [ OK ] # ns1 MPTCP -> ns1 (10.0.1.1:10043 ) TCP (duration 30ms) [ OK ] # ns1 TCP -> ns1 (10.0.1.1:10044 ) MPTCP (duration 29ms) [ OK ] # ns1 MPTCP -> ns1 (dead:beef:1::1:10045) MPTCP (duration 68ms) [ OK ] # ns1 MPTCP -> ns1 (dead:beef:1::1:10046) TCP (duration 31ms) [ OK ] # ns1 TCP -> ns1 (dead:beef:1::1:10047) MPTCP (duration 28ms) [ OK ] # INFO: with peek mode: saveAfterPeek # ns1 MPTCP -> ns1 (10.0.1.1:10048 ) MPTCP (duration 66ms) [ OK ] # ns1 MPTCP -> ns1 (10.0.1.1:10049 ) TCP (duration 31ms) [ OK ] # ns1 TCP -> ns1 (10.0.1.1:10050 ) MPTCP (duration 30ms) [ OK ] # ns1 MPTCP -> ns1 (dead:beef:1::1:10051) MPTCP (duration 68ms) [ OK ] # ns1 MPTCP -> ns1 (dead:beef:1::1:10052) TCP (duration 30ms) [ OK ] # ns1 TCP -> ns1 (dead:beef:1::1:10053) MPTCP (duration 30ms) [ OK ] # Time: 29 seconds ok 1 selftests: net/mptcp: mptcp_connect.sh # selftests: net/mptcp: pm_netlink.sh # defaults addr list [ OK ] # defaults limits [ OK ] # simple add/get addr [ OK ] # dump addrs [ OK ] # simple del addr [ OK ] # dump addrs after del [ OK ] # duplicate addr [ OK ] # id addr increment [ OK ] # hard addr limit [ OK ] # above hard addr limit [ OK ] # id limit [ OK ] # flush addrs [ OK ] # rcv addrs above hard limit [ OK ] # subflows above hard limit [ OK ] # set limits [ OK ] # set ids [ OK ] # wrap-around ids [ OK ] ok 2 selftests: net/mptcp: pm_netlink.sh # selftests: net/mptcp: mptcp_join.sh # Created /tmp/tmp.VfxfwYPDnG (size 1 KB) containing data sent by client # Created /tmp/tmp.hlfBNtDvU9 (size 1 KB) containing data sent by server # 01 no JOIN syn[ ok ] - synack[ ok ] - ack[ ok ] # 02 single subflow, limited by client syn[ ok ] - synack[ ok ] - ack[ ok ] # 03 single subflow, limited by server syn[ ok ] - synack[ ok ] - ack[ ok ] # 04 single subflow syn[ ok ] - synack[ ok ] - ack[ ok ] # 05 multiple subflows syn[ ok ] - synack[ ok ] - ack[ ok ] # 06 multiple subflows, limited by server syn[ ok ] - synack[ ok ] - ack[ ok ] # 07 single subflow, dev syn[ ok ] - synack[ ok ] - ack[ ok ] # 08 unused signal address syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 09 signal address syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 10 subflow and signal syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 11 multiple subflows and signal syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 12 signal addresses syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 13 signal invalid addresses syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # Created /tmp/tmp.VfxfwYPDnG (size 88960 KB) containing data sent by client # 14 multiple flows, signal, link failure syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 15 signal address, ADD_ADDR timeout syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 16 signal address, ADD_ADDR6 timeout syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 17 signal addresses, ADD_ADDR timeout syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 18 invalid address, ADD_ADDR timeout syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 19 remove single subflow syn[ ok ] - synack[ ok ] - ack[ ok ] # rm [ ok ] - sf [ ok ] # 20 remove multiple subflows syn[ ok ] - synack[ ok ] - ack[ ok ] # rm [ ok ] - sf [ ok ] # 21 remove single address syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # rm [ ok ] - sf [ ok ] # 22 remove subflow and signal syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # rm [ ok ] - sf [ ok ] # 23 remove subflows and signal syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # rm [ ok ] - sf [ ok ] # 24 remove addresses syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # rm [ ok ] - sf [ ok ] # 25 remove invalid addresses syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # rm [ ok ] - sf [ ok ] # 26 flush subflows and signal syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # rm [ ok ] - sf [ ok ] # 27 flush subflows syn[ ok ] - synack[ ok ] - ack[ ok ] # rm [ ok ] - sf [ ok ] # 28 flush addresses syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # rm [ ok ] - sf [ ok ] # 29 flush invalid addresses syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # rm [ ok ] - sf [ ok ] # 30 remove id 0 subflow syn[ ok ] - synack[ ok ] - ack[ ok ] # rm [ ok ] - sf [ ok ] # 31 remove id 0 address syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # rm [ ok ] - sf [ ok ] # 32 add single subflow syn[ ok ] - synack[ ok ] - ack[ ok ] # 33 add signal address syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 34 add multiple subflows syn[ ok ] - synack[ ok ] - ack[ ok ] # 35 add multiple subflows IPv6 syn[ ok ] - synack[ ok ] - ack[ ok ] # 36 add multiple addresses IPv6 syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 37 single subflow IPv6 syn[ ok ] - synack[ ok ] - ack[ ok ] # 38 unused signal address IPv6 syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 39 single address IPv6 syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 40 remove single address IPv6 syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # rm [ ok ] - sf [ ok ] # 41 remove subflow and signal IPv6 syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # rm [ ok ] - sf [ ok ] # 42 single subflow IPv4-mapped syn[ ok ] - synack[ ok ] - ack[ ok ] # 43 signal address IPv4-mapped syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 44 single subflow v4-map-v6 syn[ ok ] - synack[ ok ] - ack[ ok ] # 45 signal address v4-map-v6 syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 46 single subflow v6-map-v4 syn[ ok ] - synack[ ok ] - ack[ ok ] # 47 signal address v6-map-v4 syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 48 no JOIN with diff families v4-v6 syn[ ok ] - synack[ ok ] - ack[ ok ] # 49 no JOIN with diff families v4-v6-2 syn[ ok ] - synack[ ok ] - ack[ ok ] # 50 no JOIN with diff families v6-v4 syn[ ok ] - synack[ ok ] - ack[ ok ] # 51 single subflow, backup syn[ ok ] - synack[ ok ] - ack[ ok ] # ptx[ ok ] - prx [ ok ] # 52 single address, backup syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # ptx[ ok ] - prx [ ok ] # 53 signal address with port syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] - pt [ ok ] # syn[ ok ] - synack[ ok ] - ack[ ok ] # syn[ ok ] - ack [ ok ] # 54 subflow and signal with port syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] - pt [ ok ] # syn[ ok ] - synack[ ok ] - ack[ ok ] # syn[ ok ] - ack [ ok ] # 55 remove single address with port syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] - pt [ ok ] # syn[ ok ] - synack[ ok ] - ack[ ok ] # syn[ ok ] - ack [ ok ] # rm [ ok ] - sf [ ok ] # 56 remove subflow and signal with port syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] - pt [ ok ] # syn[ ok ] - synack[ ok ] - ack[ ok ] # syn[ ok ] - ack [ ok ] # rm [ ok ] - sf [ ok ] # 57 flush subflows and signal with port syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # rm [ ok ] - sf [ ok ] # 58 multiple addresses with port syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] - pt [ ok ] # syn[ ok ] - synack[ ok ] - ack[ ok ] # syn[ ok ] - ack [ ok ] # 59 multiple addresses with ports syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] - pt [ ok ] # syn[ ok ] - synack[ ok ] - ack[ ok ] # syn[ ok ] - ack [ ok ] # 60 single subflow with syn cookies syn[ ok ] - synack[ ok ] - ack[ ok ] # 61 multiple subflows with syn cookies syn[ ok ] - synack[ ok ] - ack[ ok ] # 62 subflows limited by server w cookies syn[ ok ] - synack[ ok ] - ack[ ok ] # 63 signal address with syn cookies syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 64 subflow and signal w cookies syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] # 65 subflows and signal w. cookies syn[ ok ] - synack[ ok ] - ack[ ok ] # add[ ok ] - echo [ ok ] ok 3 selftests: net/mptcp: mptcp_join.sh # selftests: net/mptcp: diag.sh # no msk on netns creation [ ok ] # after MPC handshake [ ok ] # ....chk remote_key [ ok ] # ....chk no fallback [ ok ] # check fallback [ ok ] # many msk socket present [ ok ] ok 4 selftests: net/mptcp: diag.sh # selftests: net/mptcp: simult_flows.sh # balanced bwidth 4573 max 5005 [ OK ] # balanced bwidth - reverse direction 4559 max 5005 [ OK ] # balanced bwidth with unbalanced delay 4543 max 5005 [ OK ] # balanced bwidth with unbalanced delay - reverse direction 4568 max 5005 [ OK ] # unbalanced bwidth 2934 max 3245 [ OK ] # unbalanced bwidth - reverse direction 2912 max 3245 [ OK ] # unbalanced bwidth with unbalanced delay 2935 max 3245 [ OK ] # unbalanced bwidth with unbalanced delay - reverse direction 2911 max 3245 [ OK ] # unbalanced bwidth with opposed, unbalanced delay 3020 max 3245 [ OK ] # unbalanced bwidth with opposed, unbalanced delay - reverse direction 2912 max 3245 [ OK ] ok 5 selftests: net/mptcp: simult_flows.sh # selftests: net/mptcp: mptcp_sockopt.sh # Created /tmp/tmp.k8XqT6eBv8 (size 1 KB) containing data sent by client # Created /tmp/tmp.79jNWqx0ey (size 1 KB) containing data sent by server # PASS: all packets had packet mark set ok 6 selftests: net/mptcp: mptcp_sockopt.sh