make -C tools/testing/selftests TARGETS="net" TEST_PROGS=test_bridge_backuup_port.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net/lib' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_bridge_backup_port.sh # 12.29 [+12.29] # 12.29 [+0.00] Backup port # 12.29 [+0.00] ----------- # 13.64 [+1.36] TEST: Forwarding out of swp1 [ OK ] # 13.98 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 14.28 [+0.30] TEST: swp1 carrier off [ OK ] # 14.88 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 15.20 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 15.49 [+0.28] TEST: swp1 carrier on [ OK ] # 15.72 [+0.24] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.38 [+0.66] TEST: Forwarding out of swp1 [ OK ] # 16.70 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 17.03 [+0.32] TEST: swp1 carrier off [ OK ] # 17.63 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 17.95 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 18.26 [+0.31] TEST: swp1 carrier on [ OK ] # 18.90 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 19.25 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 19.56 [+0.30] TEST: swp1 administratively down [ OK ] # 20.16 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 20.47 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 20.78 [+0.31] TEST: swp1 administratively up [ OK ] # 21.38 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 21.71 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 21.91 [+0.21] TEST: vx0 not configured as backup port of swp1 [ OK ] # 22.54 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 22.90 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 23.20 [+0.31] TEST: swp1 carrier off [ OK ] # 23.76 [+0.55] TEST: No forwarding out of swp1 [ OK ] # 24.07 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 37.83 [+13.76] # 37.84 [+0.00] Backup nexthop ID # 37.84 [+0.00] ----------------- # 40.02 [+2.18] TEST: vx0 configured as backup port of swp1 [ OK ] # 40.63 [+0.61] TEST: Forwarding out of swp1 [ OK ] # 40.93 [+0.31] TEST: No forwarding out of vx0 [ OK ] # 41.25 [+0.31] TEST: swp1 carrier off [ OK ] # 41.86 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 42.21 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 42.53 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 42.87 [+0.34] TEST: Forwarding using VXLAN FDB entry [ OK ] # 43.19 [+0.32] TEST: swp1 carrier on [ OK ] # 43.43 [+0.24] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 44.04 [+0.60] TEST: Forwarding out of swp1 [ OK ] # 44.36 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 44.69 [+0.32] TEST: swp1 carrier off [ OK ] # 45.30 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 45.62 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 45.94 [+0.33] TEST: Forwarding using backup nexthop ID [ OK ] # 46.26 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 46.57 [+0.31] TEST: swp1 carrier on [ OK ] # 47.20 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 47.49 [+0.30] TEST: No forwarding out of vx0 [ OK ] # 47.81 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 48.16 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 48.41 [+0.25] TEST: No backup nexthop ID configured for swp1 [ OK ] # 49.02 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 49.37 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 49.71 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 50.02 [+0.31] TEST: No forwarding using VXLAN FDB entry [ OK ] # 50.35 [+0.34] TEST: swp1 carrier off [ OK ] # 51.00 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 51.32 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 51.67 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 51.99 [+0.32] TEST: Forwarding using VXLAN FDB entry [ OK ] # 65.08 [+13.09] # 65.08 [+0.00] Backup nexthop ID - invalid IDs # 65.09 [+0.00] ------------------------------- # 67.35 [+2.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.60 [+0.25] TEST: Valid nexthop as backup nexthop [ OK ] # 67.95 [+0.35] TEST: swp1 carrier off [ OK ] # 68.54 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 68.89 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 69.23 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 69.37 [+0.14] TEST: No Tx drop increase [ OK ] # 69.63 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.23 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 70.56 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 70.89 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 71.05 [+0.15] TEST: Tx drop increased [ OK ] # 71.38 [+0.34] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.03 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 72.39 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 72.74 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 72.87 [+0.13] TEST: Tx drop increased [ OK ] # 73.10 [+0.23] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.67 [+0.57] TEST: No forwarding out of swp1 [ OK ] # 74.02 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 74.33 [+0.31] TEST: No forwarding using backup nexthop ID [ OK ] # 74.50 [+0.17] TEST: Tx drop increased [ OK ] # 75.12 [+0.63] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.75 [+0.63] TEST: No forwarding out of swp1 [ OK ] # 76.05 [+0.29] TEST: Forwarding out of vx0 [ OK ] # 76.38 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 76.52 [+0.14] TEST: Tx drop increased [ OK ] # 89.67 [+13.15] # 89.67 [+0.00] Backup nexthop ID - ping # 89.67 [+0.00] ------------------------ # 93.70 [+4.03] TEST: Ping with backup nexthop ID [ OK ] # 99.19 [+5.49] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.32 [+13.13] # 112.32 [+0.00] Backup nexthop ID - torture test # 112.32 [+0.00] -------------------------------- # 143.31 [+30.99] TEST: Torture test [ OK ] # 144.24 [+0.93] # 144.24 [+0.00] Tests passed: 89 # 144.24 [+0.00] Tests failed: 0 ok 1 selftests: net: test_bridge_backup_port.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__-> echo scan > /sys/kernel/debug/kmemleak && cat /sys/kernel/debug/kmemleak xx__->