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 DETECTED CRASH, lowering timeout # 12.43 [+12.43] # 12.45 [+0.01] Backup port # 12.45 [+0.00] ----------- # 14.29 [+1.84] TEST: Forwarding out of swp1 [ OK ] # 14.63 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 14.97 [+0.34] TEST: swp1 carrier off [ OK ] # 15.62 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 15.95 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 16.27 [+0.31] TEST: swp1 carrier on [ OK ] # 16.53 [+0.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 17.18 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 17.50 [+0.33] TEST: No forwarding out of vx0 [ OK ] # 17.85 [+0.35] TEST: swp1 carrier off [ OK ] # 18.45 [+0.60] TEST: No forwarding out of swp1 [ OK ] # 18.76 [+0.31] TEST: Forwarding out of vx0 [ OK ] # 19.07 [+0.32] TEST: swp1 carrier on [ OK ] # 19.71 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 20.08 [+0.37] TEST: No forwarding out of vx0 [ OK ] # 20.30 [+0.22] TEST: vx0 not configured as backup port of swp1 [ OK ] # 20.92 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 21.26 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 21.57 [+0.30] TEST: swp1 carrier off [ OK ] # 22.21 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 22.56 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 35.93 [+13.38] # 35.94 [+0.00] Backup nexthop ID # 35.94 [+0.00] ----------------- # 38.21 [+2.27] TEST: vx0 configured as backup port of swp1 [ OK ] # 38.82 [+0.62] TEST: Forwarding out of swp1 [ OK ] # 39.18 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 39.51 [+0.33] TEST: swp1 carrier off [ OK ] # 40.16 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 40.50 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 40.82 [+0.32] TEST: No forwarding using backup nexthop ID [ OK ] # 41.15 [+0.33] TEST: Forwarding using VXLAN FDB entry [ OK ] # 41.50 [+0.35] TEST: swp1 carrier on [ OK ] # 41.78 [+0.28] TEST: nexthop ID 10 configured as backup nexthop ID of swp1 [ OK ] # 42.55 [+0.77] TEST: Forwarding out of swp1 [ OK ] # 42.91 [+0.36] TEST: No forwarding out of vx0 [ OK ] # 43.24 [+0.33] TEST: swp1 carrier off [ OK ] # 43.94 [+0.69] TEST: No forwarding out of swp1 [ OK ] # 44.26 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 44.61 [+0.34] TEST: Forwarding using backup nexthop ID [ OK ] # 44.94 [+0.33] TEST: No forwarding using VXLAN FDB entry [ OK ] # 45.27 [+0.33] TEST: swp1 carrier on [ OK ] # 45.90 [+0.63] TEST: Forwarding out of swp1 [ OK ] # 46.25 [+0.34] TEST: No forwarding out of vx0 [ OK ] # 46.62 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 46.97 [+0.35] TEST: No forwarding using VXLAN FDB entry [ OK ] # 47.20 [+0.23] TEST: No backup nexthop ID configured for swp1 [ OK ] # 47.84 [+0.64] TEST: Forwarding out of swp1 [ OK ] # 48.19 [+0.35] TEST: No forwarding out of vx0 [ OK ] # 48.54 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 48.86 [+0.32] TEST: No forwarding using VXLAN FDB entry [ OK ] # 49.22 [+0.36] TEST: swp1 carrier off [ OK ] # 50.41 [+1.18] TEST: No forwarding out of swp1 [ OK ] # 50.74 [+0.34] TEST: Forwarding out of vx0 [ OK ] # 51.08 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 51.44 [+0.36] TEST: Forwarding using VXLAN FDB entry [ OK ] # 64.88 [+13.44] # 64.88 [+0.00] Backup nexthop ID - invalid IDs # 64.88 [+0.00] ------------------------------- # 67.17 [+2.29] TEST: vx0 configured as backup port of swp1 [ OK ] # 67.44 [+0.27] TEST: Valid nexthop as backup nexthop [ OK ] # 67.80 [+0.36] TEST: swp1 carrier off [ OK ] # 68.46 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 68.83 [+0.37] TEST: Forwarding out of vx0 [ OK ] # 69.18 [+0.35] TEST: Forwarding using backup nexthop ID [ OK ] # 69.34 [+0.16] TEST: No Tx drop increase [ OK ] # 69.60 [+0.26] TEST: Non-existent nexthop as backup nexthop [ OK ] # 70.26 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 70.59 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 70.95 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 71.10 [+0.14] TEST: Tx drop increased [ OK ] # 71.48 [+0.38] TEST: Blackhole nexthop as backup nexthop [ OK ] # 72.12 [+0.64] TEST: No forwarding out of swp1 [ OK ] # 72.44 [+0.32] TEST: Forwarding out of vx0 [ OK ] # 72.81 [+0.37] TEST: No forwarding using backup nexthop ID [ OK ] # 72.94 [+0.13] TEST: Tx drop increased [ OK ] # 73.18 [+0.24] TEST: Non-group FDB nexthop as backup nexthop [ OK ] # 73.83 [+0.65] TEST: No forwarding out of swp1 [ OK ] # 74.16 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 74.51 [+0.35] TEST: No forwarding using backup nexthop ID [ OK ] # 74.65 [+0.14] TEST: Tx drop increased [ OK ] # 75.29 [+0.64] TEST: IPv6 address family nexthop as backup nexthop [ OK ] # 75.95 [+0.66] TEST: No forwarding out of swp1 [ OK ] # 76.27 [+0.33] TEST: Forwarding out of vx0 [ OK ] # 76.61 [+0.34] TEST: No forwarding using backup nexthop ID [ OK ] # 76.76 [+0.15] TEST: Tx drop increased [ OK ] # 90.28 [+13.52] # 90.28 [+0.00] Backup nexthop ID - ping # 90.28 [+0.00] ------------------------ # 94.48 [+4.20] TEST: Ping with backup nexthop ID [ OK ] # 99.93 [+5.45] TEST: Ping after disabling backup nexthop ID [ OK ] # 113.48 [+13.55] # 113.48 [+0.00] Backup nexthop ID - torture test # 113.48 [+0.00] -------------------------------- # 144.47 [+31.00] TEST: Torture test [ OK ] # 145.32 [+0.84] # 145.32 [+0.00] Tests passed: 83 # 145.32 [+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__->