Debian Patches

Status for openvswitch/3.7.0~git20260211.8c6ebf8-1~1.gbp9127d1

Patch Description Author Forwarded Bugs Origin Last update
tests-Make-routing-rules-checks-more-resilient.patch tests: Make routing rules checks more resilient. Tests including routing rule checks were failing on systems with
non-standard routing rules, causing issues when trying to run them on
some deployments.
These failures occurred because tests performed exact output matching
on the full output of 'ovs-appctl ovs/route/rule/show', which includes
both user-added and system-cached rules.
When the system has additional routing rules that meet certain criteria
(FR_ACT_TO_TBL action without unsupported selectors like fwmark, dport,
sport, ipproto, or tun_id), OVS caches them, as expected, causing
them to appear in the "Cached:" section of the output.
Tests that expect exact output fail when encountering these legitimate,
albeit unexpected, cached rules.
The following affected tests were modified to verify only the expected
behavior rather than requiring exact output matches:
- system-route.at (ovs-route - unsupported rules):
Captures full initial cache state before adding test rules, verifies that
the cache state remains unchanged after adding unsupported rules (keeping
the intent of the test).
- ovs-router.at:
For standard rule existence checks, changed from exact match to verifying
each expected rule exists independently.
For user rule verification, added filtering to show only "User:" rules,
ignoring "Cached:" system rules entirely.
- tunnel-push-pop.at (tunnel configuration with routing rules):
Added filter to output to show only "User:" rules when verifying routing
rule configuration.

diff --git a/tests/ovs-router.at b/tests/ovs-router.at
index b5282fd19..3358b0eee 100644
Matteo Perin <matteo.perin@canonical.com> yes vendor 2026-02-11
tests-Fix-sigpipe-race-condition-in-odp-tests.patch tests: Fix sigpipe race condition in odp tests. Tests
OVS datapath key parsing and formatting - valid forms
OVS datapath actions parsing and formatting - userdata overflow
sometimes failed with stderr output: "sed: couldn't write X
items to stdout: Broken pipe" and "cat: actions.txt: EPIPE:
Broken pipe".
This occurred due to a race condition where the python test script
(test-dpparse.py) would finish processing and close its stdin before
the pipeline (cat | sed | sed) completed writing all its output. When
this happened, both cat and sed received SIGPIPE and wrote error
messages to stderr, causing the AT_CHECK macro to fail the test.
The issue was more likely to manifest in build environments with
restricted resources.
Fixed by redirecting sed and cat stderr to /dev/null in both tests,
suppressing the harmless SIGPIPE error messages. The Python script
still validates all the data it needs, so no test coverage is lost.

diff --git a/tests/odp.at b/tests/odp.at
index 402b2386d..fac5d5860 100644
Matteo Perin <matteo.perin@canonical.com> yes vendor 2026-02-11

All known versions for source package 'openvswitch'

Links