On 4/10/24 18:17, Simon Horman wrote:
> 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 <i.maxim...@ovn.org>
> 
> 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 <ho...@ovn.org>
> Tested-by: Simon Horman <ho...@ovn.org>

Thanks, Simon!  Applied to branch-2.17.

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to