bgpd: Don't mark nexthop as changed if a set next-hop unchanged is applied (backport #21445) #21527
Basic Tests summary
➡️ Jobs queued: 0/48
➡️ Jobs in progress: 0/48
✖️ Jobs Failure: 8/48
- TopoTests Debian 12 i386 Part 3 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO3D12I386-16344
🚫 bgp_multiple_link_bandwidth_communities.test_bgp_multiple_link_bandwidth_communities test_bgp_multiple_link_bandwidth_communities
AssertionError: Failed
assert Generated JSON diff error report:
> $->192.168.100.101/32: expected has the following element at index 0 which is not present in output:
{
"protocol": "bgp",
"selected": true,
"destSelected": true,
"installed": true,
"internalNextHopNum": 2,
"internalNextHopActiveNum": 2,
"internalNextHopFibInstalledNum": 2,
"nexthops": [
{
"fib": true,
"ip": "10.0.0.2",
"active": true,
"weight": 255
},
{
"fib": true,
"ip": "10.0.0.3",
"active": true,
"weight": 255
}
]
}
Closest match in output is at index 0 with the following errors:
> $->192.168.100.101/32[0]: expected has key 'internalNextHopFibInstalledNum' which is not present in output
> $->192.168.100.101/32[0]->nexthops: expected has the following element at index 0 which is not present in output:
{
"fib": true,
"ip": "10.0.0.2",
"active": true,
"weight": 255
}
Closest match in output is at index 0 with the following errors:
> $->192.168.100.101/32[0]->nexthops[0]->weight: output has element with value '254' but in expected it has value '255'
> $->192.168.100.101/32[0]->nexthops: expected has the following element at index 1 which is not present in output:
{
"fib": true,
"ip": "10.0.0.3",
"active": true,
"weight": 255
}
Closest match in output is at index 1 with the following errors:
> $->192.168.100.101/32[0]->nexthops[1]->weight: output has element with value '254' but in expected it has value '255'
E AssertionError: Failed
assert Generated JSON diff error report:
> $->192.168.100.101/32: expected has the following element at index 0 which is not present in output:
{
"protocol": "bgp",
"selected": true,
"destSelected": true,
"installed": true,
"internalNextHopNum": 2,
"internalNextHopActiveNum": 2,
"internalNextHopFibInstalledNum": 2,
"nexthops": [
{
"fib": true,
"ip": "10.0.0.2",
"active": true,
"weight": 255
},
{
"fib": true,
"ip": "10.0.0.3",
"active": true,
"weight": 255
}
]
}
Closest match in output is at index 0 with the following errors:
> $->192.168.100.101/32[0]: expected has key 'internalNextHopFibInstalledNum' which is not present in output
> $->192.168.100.101/32[0]->nexthops: expected has the following element at index 0 which is not present in output:
{
"fib": true,
"ip": "10.0.0.2",
"active": true,
"weight": 255
}
Closest match in output is at index 0 with the following errors:
> $->192.168.100.101/32[0]->nexthops[0]->weight: output has element with value '254' but in expected it has value '255'
> $->192.168.100.101/32[0]->nexthops: expected has the following element at index 1 which is not present in output:
{
"fib": true,
"ip": "10.0.0.3",
"active": true,
"weight": 255
}
Closest match in output is at index 1 with the following errors:
> $->192.168.100.101/32[0]->nexthops[1]->weight: output has element with value '254' but in expected it has value '255'
-
AddressSanitizer Debian 12 amd64 Part 9 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN9D12AMD64-16344
-
TopoTests Ubuntu 24.04 amd64 Part 3 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO3U2204AMD64-16344
🚫 bgp_multiple_link_bandwidth_communities.test_bgp_multiple_link_bandwidth_communities test_bgp_multiple_link_bandwidth_communities
AssertionError: Failed
assert Generated JSON diff error report:
> $->192.168.100.101/32: expected has the following element at index 0 which is not present in output:
{
"protocol": "bgp",
"selected": true,
"destSelected": true,
"installed": true,
"internalNextHopNum": 2,
"internalNextHopActiveNum": 2,
"internalNextHopFibInstalledNum": 2,
"nexthops": [
{
"fib": true,
"ip": "10.0.0.2",
"active": true,
"weight": 255
},
{
"fib": true,
"ip": "10.0.0.3",
"active": true,
"weight": 255
}
]
}
Closest match in output is at index 0 with the following errors:
> $->192.168.100.101/32[0]: expected has key 'internalNextHopFibInstalledNum' which is not present in output
> $->192.168.100.101/32[0]->nexthops: expected has the following element at index 0 which is not present in output:
{
"fib": true,
"ip": "10.0.0.2",
"active": true,
"weight": 255
}
Closest match in output is at index 0 with the following errors:
> $->192.168.100.101/32[0]->nexthops[0]->weight: output has element with value '254' but in expected it has value '255'
> $->192.168.100.101/32[0]->nexthops: expected has the following element at index 1 which is not present in output:
{
"fib": true,
"ip": "10.0.0.3",
"active": true,
"weight": 255
}
Closest match in output is at index 1 with the following errors:
> $->192.168.100.101/32[0]->nexthops[1]->weight: output has element with value '254' but in expected it has value '255'
E AssertionError: Failed
assert Generated JSON diff error report:
> $->192.168.100.101/32: expected has the following element at index 0 which is not present in output:
{
"protocol": "bgp",
"selected": true,
"destSelected": true,
"installed": true,
"internalNextHopNum": 2,
"internalNextHopActiveNum": 2,
"internalNextHopFibInstalledNum": 2,
"nexthops": [
{
"fib": true,
"ip": "10.0.0.2",
"active": true,
"weight": 255
},
{
"fib": true,
"ip": "10.0.0.3",
"active": true,
"weight": 255
}
]
}
Closest match in output is at index 0 with the following errors:
> $->192.168.100.101/32[0]: expected has key 'internalNextHopFibInstalledNum' which is not present in output
> $->192.168.100.101/32[0]->nexthops: expected has the following element at index 0 which is not present in output:
{
"fib": true,
"ip": "10.0.0.2",
"active": true,
"weight": 255
}
Closest match in output is at index 0 with the following errors:
> $->192.168.100.101/32[0]->nexthops[0]->weight: output has element with value '254' but in expected it has value '255'
> $->192.168.100.101/32[0]->nexthops: expected has the following element at index 1 which is not present in output:
{
"fib": true,
"ip": "10.0.0.3",
"active": true,
"weight": 255
}
Closest match in output is at index 1 with the following errors:
> $->192.168.100.101/32[0]->nexthops[1]->weight: output has element with value '254' but in expected it has value '255'
- TopoTests Debian 12 arm8 Part 9 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO9D12ARM8-16344
🚫 two_layer_wucmp.test_two_layer_wuecmp test_partial_links_towards_spine1_down
AssertionError: Partial links towards spine1 down verification failed
assert False
E AssertionError: Partial links towards spine1 down verification failed
assert False
- AddressSanitizer Debian 12 amd64 Part 3 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN3D12AMD64-16344
🚫 bgp_multiple_link_bandwidth_communities.test_bgp_multiple_link_bandwidth_communities test_bgp_multiple_link_bandwidth_communities
AssertionError: Failed
assert Generated JSON diff error report:
> $->192.168.100.101/32: expected has the following element at index 0 which is not present in output:
{
"protocol": "bgp",
"selected": true,
"destSelected": true,
"installed": true,
"internalNextHopNum": 2,
"internalNextHopActiveNum": 2,
"internalNextHopFibInstalledNum": 2,
"nexthops": [
{
"fib": true,
"ip": "10.0.0.2",
"active": true,
"weight": 255
},
{
"fib": true,
"ip": "10.0.0.3",
"active": true,
"weight": 255
}
]
}
Closest match in output is at index 0 with the following errors:
> $->192.168.100.101/32[0]: expected has key 'internalNextHopFibInstalledNum' which is not present in output
> $->192.168.100.101/32[0]->nexthops: expected has the following element at index 0 which is not present in output:
{
"fib": true,
"ip": "10.0.0.2",
"active": true,
"weight": 255
}
Closest match in output is at index 0 with the following errors:
> $->192.168.100.101/32[0]->nexthops[0]->weight: output has element with value '254' but in expected it has value '255'
> $->192.168.100.101/32[0]->nexthops: expected has the following element at index 1 which is not present in output:
{
"fib": true,
"ip": "10.0.0.3",
"active": true,
"weight": 255
}
Closest match in output is at index 1 with the following errors:
> $->192.168.100.101/32[0]->nexthops[1]->weight: output has element with value '254' but in expected it has value '255'
E AssertionError: Failed
assert Generated JSON diff error report:
> $->192.168.100.101/32: expected has the following element at index 0 which is not present in output:
{
"protocol": "bgp",
"selected": true,
"destSelected": true,
"installed": true,
"internalNextHopNum": 2,
"internalNextHopActiveNum": 2,
"internalNextHopFibInstalledNum": 2,
"nexthops": [
{
"fib": true,
"ip": "10.0.0.2",
"active": true,
"weight": 255
},
{
"fib": true,
"ip": "10.0.0.3",
"active": true,
"weight": 255
}
]
}
Closest match in output is at index 0 with the following errors:
> $->192.168.100.101/32[0]: expected has key 'internalNextHopFibInstalledNum' which is not present in output
> $->192.168.100.101/32[0]->nexthops: expected has the following element at index 0 which is not present in output:
{
"fib": true,
"ip": "10.0.0.2",
"active": true,
"weight": 255
}
Closest match in output is at index 0 with the following errors:
> $->192.168.100.101/32[0]->nexthops[0]->weight: output has element with value '254' but in expected it has value '255'
> $->192.168.100.101/32[0]->nexthops: expected has the following element at index 1 which is not present in output:
{
"fib": true,
"ip": "10.0.0.3",
"active": true,
"weight": 255
}
Closest match in output is at index 1 with the following errors:
> $->192.168.100.101/32[0]->nexthops[1]->weight: output has element with value '254' but in expected it has value '255'
- TopoTests Ubuntu 24.04 amd64 Part 9 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO9U2204AMD64-16344
🚫 two_layer_wucmp.test_two_layer_wuecmp test_partial_links_towards_spine1_down
AssertionError: Partial links towards spine1 down verification failed
assert False
E AssertionError: Partial links towards spine1 down verification failed
assert False
- TopoTests Debian 12 arm8 Part 3 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO3D12ARM8-16344
🚫 bgp_multiple_link_bandwidth_communities.test_bgp_multiple_link_bandwidth_communities test_bgp_multiple_link_bandwidth_communities
AssertionError: Failed
assert Generated JSON diff error report:
> $->192.168.100.101/32: expected has the following element at index 0 which is not present in output:
{
"protocol": "bgp",
"selected": true,
"destSelected": true,
"installed": true,
"internalNextHopNum": 2,
"internalNextHopActiveNum": 2,
"internalNextHopFibInstalledNum": 2,
"nexthops": [
{
"fib": true,
"ip": "10.0.0.2",
"active": true,
"weight": 255
},
{
"fib": true,
"ip": "10.0.0.3",
"active": true,
"weight": 255
}
]
}
Closest match in output is at index 0 with the following errors:
> $->192.168.100.101/32[0]: expected has key 'internalNextHopFibInstalledNum' which is not present in output
> $->192.168.100.101/32[0]->nexthops: expected has the following element at index 0 which is not present in output:
{
"fib": true,
"ip": "10.0.0.2",
"active": true,
"weight": 255
}
Closest match in output is at index 0 with the following errors:
> $->192.168.100.101/32[0]->nexthops[0]->weight: output has element with value '254' but in expected it has value '255'
> $->192.168.100.101/32[0]->nexthops: expected has the following element at index 1 which is not present in output:
{
"fib": true,
"ip": "10.0.0.3",
"active": true,
"weight": 255
}
Closest match in output is at index 1 with the following errors:
> $->192.168.100.101/32[0]->nexthops[1]->weight: output has element with value '254' but in expected it has value '255'
E AssertionError: Failed
assert Generated JSON diff error report:
> $->192.168.100.101/32: expected has the following element at index 0 which is not present in output:
{
"protocol": "bgp",
"selected": true,
"destSelected": true,
"installed": true,
"internalNextHopNum": 2,
"internalNextHopActiveNum": 2,
"internalNextHopFibInstalledNum": 2,
"nexthops": [
{
"fib": true,
"ip": "10.0.0.2",
"active": true,
"weight": 255
},
{
"fib": true,
"ip": "10.0.0.3",
"active": true,
"weight": 255
}
]
}
Closest match in output is at index 0 with the following errors:
> $->192.168.100.101/32[0]: expected has key 'internalNextHopFibInstalledNum' which is not present in output
> $->192.168.100.101/32[0]->nexthops: expected has the following element at index 0 which is not present in output:
{
"fib": true,
"ip": "10.0.0.2",
"active": true,
"weight": 255
}
Closest match in output is at index 0 with the following errors:
> $->192.168.100.101/32[0]->nexthops[0]->weight: output has element with value '254' but in expected it has value '255'
> $->192.168.100.101/32[0]->nexthops: expected has the following element at index 1 which is not present in output:
{
"fib": true,
"ip": "10.0.0.3",
"active": true,
"weight": 255
}
Closest match in output is at index 1 with the following errors:
> $->192.168.100.101/32[0]->nexthops[1]->weight: output has element with value '254' but in expected it has value '255'
- TopoTests Debian 12 i386 Part 9 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO9D12I386-16344
🚫 two_layer_wucmp.test_two_layer_wuecmp test_partial_links_towards_spine1_down
AssertionError: Partial links towards spine1 down verification failed
assert False
E AssertionError: Partial links towards spine1 down verification failed
assert False
✔️ Jobs Success: 40/48
-
Debian 10 Deb Pkg Check -> https://ci1.netdef.org/browse/FRR-PULLREQ3-DEB10PKGCHK-16344
-
TopoTests Debian 12 arm8 Part 6 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO6D12ARM8-16344
-
IPv6 Protocols on Debian 12 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-IPV6-16344
-
TopoTests Ubuntu 24.04 amd64 Part 1 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO1U2204AMD64-16344
-
AddressSanitizer Debian 12 amd64 Part 8 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN8D12AMD64-16344
-
TopoTests Debian 12 i386 Part 8 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO8D12I386-16344
-
TopoTests Debian 12 arm8 Part 1 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO1D12ARM8-16344
-
TopoTests Debian 12 arm8 Part 4 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO4D12ARM8-16344
-
TopoTests Ubuntu 24.04 amd64 Part 6 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO6U2204AMD64-16344
-
AddressSanitizer Debian 12 amd64 Part 7 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN7D12AMD64-16344
-
TopoTests Debian 12 i386 Part 5 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO5D12I386-16344
-
AddressSanitizer Debian 12 amd64 Part 2 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN2D12AMD64-16344
-
IPv4 LDP Protocol on Debian 12 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-LDPIPV4-16344
-
TopoTests Ubuntu 24.04 amd64 Part 8 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO8U2204AMD64-16344
-
AddressSanitizer Debian 12 amd64 Part 5 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN5D12AMD64-16344
-
AddressSanitizer Debian 12 amd64 Part 1 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN1D12AMD64-16344
-
TopoTests Debian 12 i386 Part 1 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO1D12I386-16344
-
TopoTests Debian 12 i386 Part 6 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO6D12I386-16344
-
TopoTests Debian 12 arm8 Part 0 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO0D12ARM8-16344
-
AddressSanitizer Debian 12 amd64 Part 4 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN4D12AMD64-16344
-
TopoTests Ubuntu 24.04 amd64 Part 2 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO2U2204AMD64-16344
-
TopoTests Debian 12 i386 Part 2 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO2D12I386-16344
-
TopoTests Debian 12 arm8 Part 5 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO5D12ARM8-16344
-
AddressSanitizer Debian 12 amd64 Part 6 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN6D12AMD64-16344
-
TopoTests Ubuntu 24.04 amd64 Part 7 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO7U2204AMD64-16344
-
Ubuntu 18.04 Deb Pkg Check -> https://ci1.netdef.org/browse/FRR-PULLREQ3-U18DEBPKG-16344
-
TopoTests Debian 12 i386 Part 7 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO7D12I386-16344
-
Ubuntu 20.04 Deb Pkg Check -> https://ci1.netdef.org/browse/FRR-PULLREQ3-U20DEBPKG-16344
-
AddressSanitizer Debian 12 amd64 Part 0 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN0D12AMD64-16344
-
Static Analyzer (Clang) -> https://ci1.netdef.org/browse/FRR-PULLREQ3-STATICANALYZER-16344
-
TopoTests Debian 12 arm8 Part 7 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO7D12ARM8-16344
-
TopoTests Debian 12 i386 Part 0 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO0D12I386-16344
-
TopoTests Debian 12 arm8 Part 8 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO8D12ARM8-16344
-
TopoTests Ubuntu 24.04 amd64 Part 0 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO0U2204AMD64-16344
-
IPv4 Protocols on Debian 12 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-IPV4-16344
-
TopoTests Ubuntu 24.04 amd64 Part 5 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO5U2204AMD64-16344
-
TopoTests Debian 12 i386 Part 4 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO4D12I386-16344
-
TopoTests Ubuntu 24.04 amd64 Part 4 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO4U2204AMD64-16344
-
Debian 12 Deb Pkg Check -> https://ci1.netdef.org/browse/FRR-PULLREQ3-DEB12PKG-16344
-
TopoTests Debian 12 arm8 Part 2 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO2D12ARM8-16344
Details at https://ci1.netdef.org/browse/FRR-PULLREQ3-16344.