On 11/24/26 12:07 AM, Rosemarie O'Riorden wrote:
> It's helpful to know if a binary is compiled with or without sanitizers.
> So append " ASAN" and/or " UBSAN" to the binary version when OVN was
> configured with either sanitizer.
> 
> Example compiled with both sanitizers:
>   $ ovn-controller --version
>   ovn-controller 26.09.90 ASAN UBSAN
> 
> Or just one:
>   $ ovn-northd --version
>   ovn-northd 26.09.90 UBSAN
> 
> This can be tested with the following command, and removing and adding
> the sanitizers:
>   $ printf \
>     '#include "include/ovn/version.h"\nOVN_PACKAGE_VERSION_DISPLAY\n' |
>     gcc -fsanitize=address,undefined -E - | tail -n 1
> 
> A new macro, OVN_PACKAGE_VERSION_DISPLAY, had to be created because
> otherwise northd_internal_version would be affected. And the test [0]
> was edited to make sure that the internal version never has spaces in
> it, and therefore is not being generated by the new macro which is only
> for --version.
> 
> And as you can see, the internal version is unchanged:
>   $ ovn-sbctl get SB_Global . options:northd_internal_version
>   "26.09.90-21.13.0-81.16"
> 
> Also, --with-version-suffix does not interfere. The sanitizer suffixes
> always follow the entire version string.
> 
> Also reformat the version suffix comment in acinclude.m4 to be in line
> with the other functions. And add quotes around shell variable in [0].
> 
> [0] "check ovn-northd and ovn-controller version pinning"
> 
> Signed-off-by: Rosemarie O'Riorden <[email protected]>
> ---

Recheck-request: github-robot-_Build_and_Test

Unfortunate flake:

15
--- /dev/null   2026-11-24 00:20:31.267440793 +0000
+++
/workspace/ovn-tmp/tests/system-dpdk-testsuite.dir/at-groups/201/stdout
2026-11-24 00:22:47.140050495 +0000
@@ -0,0 +1,20 @@
+2026-11-24T00:22:47Z|00019|timeval|WARN|Unreasonably long 1007ms poll
interval (5ms user, 10ms system)
+2026-11-24T00:22:47Z|00020|timeval|WARN|faults: 1081 minor, 0 major
+2026-11-24T00:22:47Z|00021|timeval|WARN|context switches: 3 voluntary,
3 involuntary
+2026-11-24T00:22:47Z|00022|coverage|INFO|Event coverage, avg rate over
last: 5 seconds, last minute, last hour,  hash=38e65a38:
+2026-11-24T00:22:47Z|00023|coverage|INFO|bridge_reconfigure
0.0/sec     0.000/sec        0.0000/sec   total: 1
+2026-11-24T00:22:47Z|00024|coverage|INFO|cmap_expand
0.0/sec     0.000/sec        0.0000/sec   total: 10
+2026-11-24T00:22:47Z|00025|coverage|INFO|miniflow_malloc
0.0/sec     0.000/sec        0.0000/sec   total: 8
+2026-11-24T00:22:47Z|00026|coverage|INFO|hmap_pathological
0.0/sec     0.000/sec        0.0000/sec   total: 1
+2026-11-24T00:22:47Z|00027|coverage|INFO|hmap_expand
0.0/sec     0.000/sec        0.0000/sec   total: 704
+2026-11-24T00:22:47Z|00028|coverage|INFO|txn_unchanged
0.0/sec     0.000/sec        0.0000/sec   total: 1
+2026-11-24T00:22:47Z|00029|coverage|INFO|txn_incomplete
0.0/sec     0.000/sec        0.0000/sec   total: 2
+2026-11-24T00:22:47Z|00030|coverage|INFO|poll_create_node
0.0/sec     0.000/sec        0.0000/sec   total: 56
+2026-11-24T00:22:47Z|00031|coverage|INFO|seq_change
0.0/sec     0.000/sec        0.0000/sec   total: 41
+2026-11-24T00:22:47Z|00032|coverage|INFO|pstream_open
0.0/sec     0.000/sec        0.0000/sec   total: 1
+2026-11-24T00:22:47Z|00033|coverage|INFO|stream_open
0.0/sec     0.000/sec        0.0000/sec   total: 1
+2026-11-24T00:22:47Z|00034|coverage|INFO|util_xalloc
0.0/sec     0.000/sec        0.0000/sec   total: 9518
+2026-11-24T00:22:47Z|00035|coverage|INFO|netlink_received
0.0/sec     0.000/sec        0.0000/sec   total: 40
+2026-11-24T00:22:47Z|00036|coverage|INFO|netlink_sent
0.0/sec     0.000/sec        0.0000/sec   total: 36
+2026-11-24T00:22:47Z|00037|coverage|INFO|route_table_dump
0.0/sec     0.000/sec        0.0000/sec   total: 1
+2026-11-24T00:22:47Z|00038|coverage|INFO|172 events never hit
201. system-ovn.at:14335: 201. Routing protocol redirect - DGP --
parallelization=yes -- ovn_monitor_all=no (system-ovn.at:14335): FAILED
(system-ovn.at:14335)

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to