ospfd: add validation in several places before accessing message bodies (backport #21303) #21495
Basic Tests summary
➡️ Jobs queued: 0/48
➡️ Jobs in progress: 0/48
✖️ Jobs Failure: 10/48
- AddressSanitizer Debian 12 amd64 Part 9 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN9D12AMD64-16272
🚫 zebra_inactive_vrf_and_ip_import_table.test_zebra_inactive_vrf_and_ip_import_tables test_zebra_inactive_vrf_and_ip_import_tables
AssertionError: --- Actual Route-map output
+++ Expected Route-map output
@@ -38,6 +38,29 @@
0
+(
+X
+
+m
+i
+l
+l
+i
+s
+e
+c
+o
+n
+d
+s
+
+t
+o
+t
+a
+l
+)
+
O
p
t
@@ -114,6 +137,29 @@
d
0
+
+(
+X
+
+m
+i
+l
+l
+i
+s
+e
+c
+o
+n
+d
+s
+
+t
+o
+t
+a
+l
+)
assert False
E AssertionError: --- Actual Route-map output
+++ Expected Route-map output
@@ -38,6 +38,29 @@
0
+(
+X
+
+m
+i
+l
+l
+i
+s
+e
+c
+o
+n
+d
+s
+
+t
+o
+t
+a
+l
+)
+
O
p
t
@@ -114,6 +137,29 @@
d
0
+
+(
+X
+
+m
+i
+l
+l
+i
+s
+e
+c
+o
+n
+d
+s
+
+t
+o
+t
+a
+l
+)
assert False
- TopoTests Debian 12 i386 Part 8 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO8D12I386-16272
🚫 bgp_gr_notification.test_bgp_gr_notification test_bgp_administrative_reset_gr
AssertionError: Failed to see retained stale routes on R1
assert Generated JSON diff error report:
> $->paths: expected has the following element at index 0 which is not present in output:
{
"stale": true,
"valid": true
}
Closest match in output is at index 0 with the following errors:
> $->paths[0]: expected has key 'stale' which is not present in output
E AssertionError: Failed to see retained stale routes on R1
assert Generated JSON diff error report:
> $->paths: expected has the following element at index 0 which is not present in output:
{
"stale": true,
"valid": true
}
Closest match in output is at index 0 with the following errors:
> $->paths[0]: expected has key 'stale' which is not present in output
- TopoTests Ubuntu 24.04 amd64 Part 8 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO8U2204AMD64-16272
🚫 ospf6_ecmp_inter_area.test_ospf6_ecmp_inter_area test_ecmp_inter_area
AssertionError: 'r1' wrong number of route nexthops
assert [1, 1, 1, 1, 2, 2, 3, 3, 3] == [1, 1, 1, 1, 2, 3, 3, 3, 3]
At index 5 diff: 2 != 3
Full diff:
[
1,
1,
1,
1,
2,
- 3,
? ^
+ 2,
? ^
3,
3,
3,
]
E AssertionError: 'r1' wrong number of route nexthops
assert [1, 1, 1, 1, 2, 2, 3, 3, 3] == [1, 1, 1, 1, 2, 3, 3, 3, 3]
At index 5 diff: 2 != 3
Full diff:
[
1,
1,
1,
1,
2,
- 3,
? ^
+ 2,
? ^
3,
3,
3,
]
- TopoTests Debian 12 i386 Part 2 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO2D12I386-16272
🚫 bgp_ipv6_ll_peering.test_bgp_ipv6_ll_peering test_bgp_explicit_ll_nht_after_clear
NameError: name 'step' is not defined
E NameError: name 'step' is not defined
- TopoTests Debian 12 i386 Part 9 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO9D12I386-16272
🚫 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 Ubuntu 24.04 amd64 Part 2 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO2U2204AMD64-16272
🚫 bgp_ipv6_ll_peering.test_bgp_ipv6_ll_peering test_bgp_explicit_ll_nht_after_clear
NameError: name 'step' is not defined
E NameError: name 'step' is not defined
- AddressSanitizer Debian 12 amd64 Part 2 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN2D12AMD64-16272
🚫 bgp_ipv6_ll_peering.test_bgp_ipv6_ll_peering test_bgp_explicit_ll_nht_after_clear
NameError: name 'step' is not defined
E NameError: name 'step' is not defined
- TopoTests Debian 12 arm8 Part 2 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO2D12ARM8-16272
🚫 bgp_ipv6_ll_peering.test_bgp_ipv6_ll_peering test_bgp_explicit_ll_nht_after_clear
NameError: name 'step' is not defined
E NameError: name 'step' is not defined
- TopoTests Debian 12 arm8 Part 9 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO9D12ARM8-16272
🚫 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 Ubuntu 24.04 amd64 Part 9 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO9U2204AMD64-16272
🚫 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: 38/48
-
TopoTests Debian 12 arm8 Part 1 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO1D12ARM8-16272
-
AddressSanitizer Debian 12 amd64 Part 4 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN4D12AMD64-16272
-
TopoTests Ubuntu 24.04 amd64 Part 6 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO6U2204AMD64-16272
-
TopoTests Debian 12 i386 Part 5 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO5D12I386-16272
-
TopoTests Debian 12 i386 Part 3 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO3D12I386-16272
-
IPv4 LDP Protocol on Debian 12 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-LDPIPV4-16272
-
AddressSanitizer Debian 12 amd64 Part 5 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN5D12AMD64-16272
-
AddressSanitizer Debian 12 amd64 Part 3 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN3D12AMD64-16272
-
TopoTests Debian 12 i386 Part 1 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO1D12I386-16272
-
TopoTests Debian 12 i386 Part 6 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO6D12I386-16272
-
AddressSanitizer Debian 12 amd64 Part 7 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN7D12AMD64-16272
-
AddressSanitizer Debian 12 amd64 Part 6 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN6D12AMD64-16272
-
TopoTests Ubuntu 24.04 amd64 Part 7 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO7U2204AMD64-16272
-
TopoTests Debian 12 i386 Part 7 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO7D12I386-16272
-
TopoTests Debian 12 arm8 Part 6 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO6D12ARM8-16272
-
TopoTests Ubuntu 24.04 amd64 Part 1 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO1U2204AMD64-16272
-
AddressSanitizer Debian 12 amd64 Part 8 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN8D12AMD64-16272
-
Static Analyzer (Clang) -> https://ci1.netdef.org/browse/FRR-PULLREQ3-STATICANALYZER-16272
-
TopoTests Debian 12 arm8 Part 7 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO7D12ARM8-16272
-
AddressSanitizer Debian 12 amd64 Part 1 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN1D12AMD64-16272
-
TopoTests Debian 12 arm8 Part 0 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO0D12ARM8-16272
-
TopoTests Debian 12 arm8 Part 5 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO5D12ARM8-16272
-
TopoTests Ubuntu 24.04 amd64 Part 0 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO0U2204AMD64-16272
-
IPv4 Protocols on Debian 12 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-IPV4-16272
-
Ubuntu 18.04 Deb Pkg Check -> https://ci1.netdef.org/browse/FRR-PULLREQ3-U18DEBPKG-16272
-
TopoTests Ubuntu 24.04 amd64 Part 5 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO5U2204AMD64-16272
-
Ubuntu 20.04 Deb Pkg Check -> https://ci1.netdef.org/browse/FRR-PULLREQ3-U20DEBPKG-16272
-
AddressSanitizer Debian 12 amd64 Part 0 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-ASAN0D12AMD64-16272
-
TopoTests Debian 12 arm8 Part 4 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO4D12ARM8-16272
-
TopoTests Ubuntu 24.04 amd64 Part 3 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO3U2204AMD64-16272
-
TopoTests Debian 12 i386 Part 0 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO0D12I386-16272
-
Debian 10 Deb Pkg Check -> https://ci1.netdef.org/browse/FRR-PULLREQ3-DEB10PKGCHK-16272
-
TopoTests Debian 12 arm8 Part 8 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO8D12ARM8-16272
-
TopoTests Debian 12 arm8 Part 3 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO3D12ARM8-16272
-
TopoTests Debian 12 i386 Part 4 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO4D12I386-16272
-
TopoTests Ubuntu 24.04 amd64 Part 4 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-TOPO4U2204AMD64-16272
-
IPv6 Protocols on Debian 12 -> https://ci1.netdef.org/browse/FRR-PULLREQ3-IPV6-16272
-
Debian 12 Deb Pkg Check -> https://ci1.netdef.org/browse/FRR-PULLREQ3-DEB12PKG-16272
Details at https://ci1.netdef.org/browse/FRR-PULLREQ3-16272.