[Devel] [PATCH hci-8.2] selftests: openvswitch: flush the upcall listener's first line

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Mon Nov 23 07:39:49 MSK 2026


Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] selftests: openvswitch: Fixes tag cites wrong commit for
  unflushed print
--

commit 411f457bcae02af568f7387155563ab92377e39b
Author: Eva Kurchatova <eva.kurchatova at virtuozzo.com>

> selftests: openvswitch: flush the upcall listener's first line
>
> openvswitch.sh waits for "listening on upcall packet handler" in the
> output file of the ovs-dpctl.py upcall listener, but the line stays in
> the stdout buffer until a MISS upcall, printed with flush=True, flushes
> it. test_tunnel_metadata thus fails its 5 second wait unless some other
> packet reaches the listener first.
>
> Flush the line when it is printed.
>
> Fixes: 30d772a03582 ("selftests: openvswitch: add psample test")
>
> https://virtuozzo.atlassian.net/browse/VSTOR-156360
> Feature: fix selftests
>
> Signed-off-by: Eva Kurchatova <eva.kurchatova at virtuozzo.com>

[Severity: Low]
Does the Fixes: tag name the right commit? 30d772a03582 ("selftests: openvswitch: add psample test") did not touch this print. The unflushed print of "listening on upcall packet handler:" was added by 9feac87b673c ("selftests: openvswitch: add support for upcall testing"). Should the tag point at that commit instead?

Carry the trailer below into the next revision and Sashiko will not review this patch again.

Reviewed-by: Sashiko <no-reply at sashiko.virtuozzo.com>

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261123043443.1686524-1-eva.kurchatova@virtuozzo.com?part=1



More information about the Devel mailing list