On Tue, Apr 09, 2024 at 10:24:09PM +0200, Ilya Maximets wrote:
> Without this change many unit tests are failing on systems with
> Python 3.12:
>
> +++ /tests/testsuite.dir/at-groups/2352/stdout
> @@ -1,3 +1,5 @@
> +/./interface-reconfigure:98: SyntaxWarning: invalid escape sequence '\s'
> + p = re.compile(".*\s%(MAC)s\s.*" % pifrec, re.IGNORECASE)
>
> Converting to a raw string to avoid the issue.
>
> This only affects OVS 2.17, support for XenServer was removed
> in OVS 3.0.
>
> Signed-off-by: Ilya Maximets <[email protected]>
Thanks Ilya,
I confirmed that on Fedora 41, which has Python 3.12.2,
the following tests fail without this patch and succeed with it.
Or more to the point, all tests pass with this patch applied.
2353: VLAN, non-bond ok
2354: Bond, non-VLAN ok
2355: VLAN on bond ok
2352: non-VLAN, non-bond ok
Acked-by: Simon Horman <[email protected]>
Tested-by: Simon Horman <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev