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.10 [+12.10] # 12.10 [+0.00] Backup port # 12.10 [+0.00] ----------- # 13.98 [+1.88] TEST: Forwarding out of swp1 [ OK ] # 14.33 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 14.67 [+0.34] TEST: swp1 carrier off [ OK ] # 15.33 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 15.70 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 16.02 [+0.32] TEST: swp1 carrier on [ OK ] # 16.28 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 16.94 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 17.27 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 17.58 [+0.31] TEST: swp1 carrier off [ OK ] # 18.25 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 18.57 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 18.91 [+0.34] TEST: swp1 carrier on [ OK ] # 19.58 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 19.90 [+0.32] TEST: No forwarding out of vx0 [ OK ] # 20.14 [+0.24] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.81 [+0.67] TEST: Forwarding out of swp1 [ OK ] # 21.13 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 21.48 [+0.34] TEST: swp1 carrier off [ OK ] # 22.12 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 22.46 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 36.10 [+13.64] # 36.10 [+0.00] Backup nexthop ID # 36.10 [+0.00] ----------------- # 38.42 [+2.32] TEST: vx0 configured as backup port of swp1 [ OK ] # 39.07 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 39.44 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 39.76 [+0.32] TEST: swp1 carrier off [ OK ] # 40.41 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 40.76 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 41.14 [+0.38] TEST: No forwarding using backup nexthop ID [ OK ] # 41.55 [+0.41] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.93 [+0.38] TEST: swp1 carrier on [ OK ] # 42.19 [+0.26] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.84 [+0.65] TEST: Forwarding out of swp1 [ OK ] # 43.18 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 43.52 [+0.34] TEST: swp1 carrier off [ OK ] # 44.21 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 44.57 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 44.89 [+0.32] TEST: Forwarding using backup nexthop ID [ OK ] # 45.27 [+0.37] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.63 [+0.37] TEST: swp1 carrier on [ OK ] # 46.27 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 46.65 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 46.99 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 47.35 [+0.36] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.61 [+0.26] TEST: No backup nexthop ID configured for swp1 [ OK ] # 48.23 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 48.60 [+0.38] TEST: No forwarding out of vx0 [ OK ] # 48.94 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 49.28 [+0.34] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.61 [+0.34] TEST: swp1 carrier off [ OK ] # 50.20 [+0.59] TEST: No forwarding out of swp1 [ OK ] # 50.52 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 50.87 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 51.23 [+0.35] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.38 [+13.15] # 64.38 [+0.00] Backup nexthop ID - invalid IDs # 64.38 [+0.00] ------------------------------- # 66.63 [+2.25] TEST: vx0 configured as backup port of swp1 [ OK ] # 66.90 [+0.26] TEST: Valid nexthop as backup nexthop [ OK ] # 67.21 [+0.32] TEST: swp1 carrier off [ OK ] # 67.83 [+0.62] TEST: No forwarding out of swp1 [ OK ] # 68.19 [+0.35] TEST: Forwarding out of vx0 [ OK ] # 68.50 [+0.31] TEST: Forwarding using backup nexthop ID [ OK ] # 68.66 [+0.15] TEST: No Tx drop increase [ OK ] # 68.91 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 69.55 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 69.92 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 70.28 [+0.36] TEST: No forwarding using backup nexthop ID [ OK ] # 70.42 [+0.13] TEST: Tx drop increased [ OK ] # 70.83 [+0.41] TEST: Blackhole nexthop as backup nexthop [ OK ] # 71.44 [+0.61] TEST: No forwarding out of swp1 [ OK ] # 71.78 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 72.15 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 72.30 [+0.14] TEST: Tx drop increased [ OK ] # 72.56 [+0.26] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.19 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 73.52 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 73.86 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 74.01 [+0.15] TEST: Tx drop increased [ OK ] # 74.63 [+0.62] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.30 [+0.67] TEST: No forwarding out of swp1 [ OK ] # 75.66 [+0.36] TEST: Forwarding out of vx0 [ OK ] # 76.00 [+0.33] TEST: No forwarding using backup nexthop ID [ OK ] # 76.14 [+0.14] TEST: Tx drop increased [ OK ] # 89.38 [+13.23] # 89.38 [+0.00] Backup nexthop ID - ping # 89.38 [+0.00] ------------------------ # 93.57 [+4.19] TEST: Ping with backup nexthop ID [ OK ] # 99.03 [+5.46] TEST: Ping after disabling backup nexthop ID [ OK ] # 112.22 [+13.18] # 112.22 [+0.00] Backup nexthop ID - torture test # 112.22 [+0.00] -------------------------------- # 143.20 [+30.98] TEST: Torture test [ OK ] # 143.36 [+0.16] kill: sending signal to 23949 failed: No such process # 144.12 [+0.76] # 144.12 [+0.00] Tests passed: 83 # 144.12 [+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__->