Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2218342/?format=api
{ "id": 2218342, "url": "http://patchwork.ozlabs.org/api/patches/2218342/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ovn/patch/20260401040948.949006-1-ihar.hrachyshka@gmail.com/", "project": { "id": 68, "url": "http://patchwork.ozlabs.org/api/projects/68/?format=api", "name": "Open Virtual Network development", "link_name": "ovn", "list_id": "ovs-dev.openvswitch.org", "list_email": "ovs-dev@openvswitch.org", "web_url": "http://openvswitch.org/", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260401040948.949006-1-ihar.hrachyshka@gmail.com>", "list_archive_url": null, "date": "2026-04-01T04:09:48", "name": "[ovs-dev] tests: Stabilize localnet_learn_fdb packet-in count.", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "9b73fb01cd4679d1f91cd453d834ce8fac9347af", "submitter": { "id": 78460, "url": "http://patchwork.ozlabs.org/api/people/78460/?format=api", "name": "Ihar Hrachyshka", "email": "ihar.hrachyshka@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/ovn/patch/20260401040948.949006-1-ihar.hrachyshka@gmail.com/mbox/", "series": [ { "id": 498271, "url": "http://patchwork.ozlabs.org/api/series/498271/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ovn/list/?series=498271", "date": "2026-04-01T04:09:48", "name": "[ovs-dev] tests: Stabilize localnet_learn_fdb packet-in count.", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498271/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2218342/comments/", "check": "success", "checks": "http://patchwork.ozlabs.org/api/patches/2218342/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<ovs-dev-bounces@openvswitch.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "dev@openvswitch.org" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "ovs-dev@lists.linuxfoundation.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=Sn0AFzMc;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=140.211.166.133; helo=smtp2.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org)", "smtp2.osuosl.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key,\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=Sn0AFzMc", "smtp1.osuosl.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "smtp1.osuosl.org;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.a=rsa-sha256 header.s=20251104 header.b=Sn0AFzMc" ], "Received": [ "from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fls331vz2z1yCp\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 01 Apr 2026 15:10:22 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby smtp2.osuosl.org (Postfix) with ESMTP id EA20840745;\n\tWed, 1 Apr 2026 04:10:20 +0000 (UTC)", "from smtp2.osuosl.org ([127.0.0.1])\n by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id Vf9uxUTjGd7Z; Wed, 1 Apr 2026 04:10:20 +0000 (UTC)", "from lists.linuxfoundation.org (lf-lists.osuosl.org\n [IPv6:2605:bc80:3010:104::8cd3:938])\n\tby smtp2.osuosl.org (Postfix) with ESMTPS id F1F6840729;\n\tWed, 1 Apr 2026 04:10:19 +0000 (UTC)", "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id B74FEC0070;\n\tWed, 1 Apr 2026 04:10:19 +0000 (UTC)", "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 70768C003D\n for <dev@openvswitch.org>; Wed, 1 Apr 2026 04:10:18 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 6EDFF812E0\n for <dev@openvswitch.org>; Wed, 1 Apr 2026 04:10:18 +0000 (UTC)", "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id 54n4XcvkYgmB for <dev@openvswitch.org>;\n Wed, 1 Apr 2026 04:10:17 +0000 (UTC)", "from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com\n [IPv6:2607:f8b0:4864:20::1132])\n by smtp1.osuosl.org (Postfix) with ESMTPS id A6A5E8123F\n for <dev@openvswitch.org>; Wed, 1 Apr 2026 04:10:17 +0000 (UTC)", "by mail-yw1-x1132.google.com with SMTP id\n 00721157ae682-7986e538decso32117027b3.1\n for <dev@openvswitch.org>; Tue, 31 Mar 2026 21:10:17 -0700 (PDT)", "from frame ([172.73.181.216]) by smtp.gmail.com with ESMTPSA id\n 00721157ae682-79cba76dd1bsm57549567b3.44.2026.03.31.21.10.15\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 31 Mar 2026 21:10:15 -0700 (PDT)" ], "X-Virus-Scanned": [ "amavis at osuosl.org", "amavis at osuosl.org" ], "X-Comment": "SPF check N/A for local connections -\n client-ip=2605:bc80:3010:104::8cd3:938; helo=lists.linuxfoundation.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN> ", "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 smtp2.osuosl.org F1F6840729", "OpenDKIM Filter v2.11.0 smtp1.osuosl.org A6A5E8123F" ], "Received-SPF": "Pass (mailfrom) identity=mailfrom;\n client-ip=2607:f8b0:4864:20::1132; helo=mail-yw1-x1132.google.com;\n envelope-from=ihar.hrachyshka@gmail.com; receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org A6A5E8123F", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1775016616; x=1775621416; darn=openvswitch.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=ISQthvJ4G/M9JNi21MUsGPjlamY/svNmwLvGjCTZu1o=;\n b=Sn0AFzMcG3hucSDnqy/RlB4pgO0sksvt+8QnMUAYpUoRkpeW6ZtUBT0ZOCyhKrlJ+X\n Q9bMjx836GaGysunra6pEWQeLab5/nVd11VzxsrXgQLtL0ayFeeTvDwstfhIs6erUALk\n BO7PXLoEkdYMuw0qpwmlxVxH8Eb/W8VngrsY7yQfppxBRii37rbv07vwgnkrTCVYZbVX\n N/m2hSUINnSrkxIAKFcyJ2IJ6jrxBqsyDexKSyaxCsAHKsk5BSy5uivRUA1Z7s2LJmjr\n sv6+MIYot83PSqCzv1Aj3uS9x3MP7Klh0emwO9vkcmr0vymchzGrCfYgTq8D29b9dmx9\n Clsg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775016616; x=1775621416;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=ISQthvJ4G/M9JNi21MUsGPjlamY/svNmwLvGjCTZu1o=;\n b=iCM6xZSjso+3ESBXRGmH+yZ/ijFKL5/dVATUFjyEyeDlfCkD+/i9WXGC0TlcAuYqmq\n ConK9oAlprpPQZ5kBoudI++NiUmu/aSBb5iuUqvRC6wYVsgbvV3LVcch3S71XReEfga1\n v1ZlOdJ9FcOjfGtoqAs7x1TOIaXl6O4f5P//X3S5MH+7FlXoahPX5t9L35/KPWZ/fpvx\n wg2TKwq9tgt0cWN8AvOO2Jh8rBXpCH9h5XT1ulLX9YNyRxQhCpKN1NFd6xiBLhu7LwVC\n C8hzbwhyDjpGbYeYf5KtaGaUUHdeHz0UVQFlpE/eeeHv2pfMjdwEdnKMxEqOyqIVBCQ8\n +NvQ==", "X-Gm-Message-State": "AOJu0YwBHvJLbDfaNTyxzDoZTJ0t5IULkwicGxEGSuzkV1eLAYoEerx1\n NR2sYzJbIE/EVdDLHx5SgwtDNWzi9KX+2Y4zmh1xJ5BTXNsiJC/dNpCrjPZSMA==", "X-Gm-Gg": "ATEYQzxlbYKGI27WjqUgRS4Fkz4Dv+D46Bv4TM+koVmul+62BX0eP7NX8WSZEVp/x4w\n Eg88FYxPGj4oPvvcjiyfnng0Bh8WKrHAnubh+360UWRQTYKue5DFcrSCLneqIgyeDEnpJR8JuMh\n AEuBaGKVMYtPXygq/BAufGAylAxwLCDmz3X8+4Cflb7iUa+EPV6exKhzM7etBtRp7+SviVjnB6+\n sXPrzdBRm+gblaePw3v9Hbeo+u8t5r5HTTuAQGKiojgqwU8PHTQiw3DDLNX/WD8aulYvZy0TTtm\n 6jKU3fcSeyIOtYqE+FtbWBPg7e+42ywLIj3skqWfcS/ZfwCeOOYhM7g/Ksc3a2d3DmgTGQ8Dx8c\n BXP3cTfYEnQeSmAiPrf+UM+iRWwhDZl5k47X30I/ZROug8yCeCH7YrtcexZeWoXjdyb4ODGOKac\n 1/FSY4d4SDF/hI1Cgj4lrdrvw=", "X-Received": "by 2002:a05:690c:6e81:b0:79e:b3aa:b304 with SMTP id\n 00721157ae682-7a2100c4ef7mr23764057b3.19.1775016616026;\n Tue, 31 Mar 2026 21:10:16 -0700 (PDT)", "From": "Ihar Hrachyshka <ihar.hrachyshka@gmail.com>", "To": "dev@openvswitch.org", "Date": "Wed, 1 Apr 2026 00:09:48 -0400", "Message-ID": "<20260401040948.949006-1-ihar.hrachyshka@gmail.com>", "X-Mailer": "git-send-email 2.53.0", "MIME-Version": "1.0", "Subject": "[ovs-dev] [PATCH ovn] tests: Stabilize localnet_learn_fdb packet-in\n count.", "X-BeenThere": "ovs-dev@openvswitch.org", "X-Mailman-Version": "2.1.30", "Precedence": "list", "List-Id": "<ovs-dev.openvswitch.org>", "List-Unsubscribe": "<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>", "List-Archive": "<http://mail.openvswitch.org/pipermail/ovs-dev/>", "List-Post": "<mailto:ovs-dev@openvswitch.org>", "List-Help": "<mailto:ovs-dev-request@openvswitch.org?subject=help>", "List-Subscribe": "<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n <mailto:ovs-dev-request@openvswitch.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "ovs-dev-bounces@openvswitch.org", "Sender": "\"dev\" <ovs-dev-bounces@openvswitch.org>" }, "content": "The localnet_learn_fdb test expects hv1 to accumulate exactly five\nPACKET_IN2 messages after the 14/24 and 15/25 race scenarios. In\nflaky runs, the earlier 14/24 phase sometimes leaves hv1 with an extra\nsrc14 miss because the ARP 14 -> 24 request is injected before hv1 has\ninstalled the lookup_fdb flows for 00:00:00:00:10:14. That shifts the\ncumulative count from 5 to 6 even though the later 15/25 phase behaves\nthe same way in passing runs.\n\nSynchronize the 10:14 learn before entering the 14/24 race by waiting\nfor the FDB row and both hv1/hv2 lookup_fdb flows. Keep the exact hv1\ncount check, and update the nearby comment to explain why hv1 is stable\nhere while hv2 remains timing-dependent.\n\nFixes: 584eae5e12fd (\"tests: Fix flaky \"pod to pod with localnet_learn_fdb\".\")\nSigned-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>\n---\n tests/ovn.at | 15 +++++++++++++++\n 1 file changed, 15 insertions(+)", "diff": "diff --git a/tests/ovn.at b/tests/ovn.at\nindex f0d4b1dd3..75d71cb3d 100644\n--- a/tests/ovn.at\n+++ b/tests/ovn.at\n@@ -39975,6 +39975,14 @@ check_flow_count() {\n OVS_WAIT_UNTIL([test $count = $(as $hv ovs-ofctl dump-flows br-int table=OFTABLE_LOOKUP_FDB | grep -v \"NXST_FLOW reply\" | wc -l)])\n }\n \n+wait_for_lookup_fdb_flow() {\n+ local hv=$1\n+ local mac=$2\n+ local count=$3\n+ echo \"Waiting for $count lookup_fdb flows for $mac on $hv\"\n+ OVS_WAIT_UNTIL([test $count = $(as $hv ovs-ofctl dump-flows br-int table=OFTABLE_LOOKUP_FDB | grep -c \"dl_src=${mac}\")])\n+}\n+\n # Sending packet in both direction. Should create FDB entries for vifs\n # No localnet_learn_fdb yet\n AS_BOX([$(date +%H:%M:%S.%03N) vif11 <=> vif21])\n@@ -40064,6 +40072,10 @@ as hv2 ovn-appctl vlog/set jsonrpc:dbg\n \n send_packet hv1 14 99\n ensure_controller_run hv1\n+ensure_controller_run hv2\n+wait_column \"$vif14_key\" fdb port_key mac='\"00:00:00:00:10:14\"'\n+wait_for_lookup_fdb_flow hv1 00:00:00:00:10:14 2\n+wait_for_lookup_fdb_flow hv2 00:00:00:00:10:14 2\n \n for i in 1 2 3; do\n wait_for_packets hv1 vif1${i}\n@@ -40147,6 +40159,9 @@ AT_CHECK([test 5 = `cat hv1/ovs-vswitchd.log | grep NXT_PACKET_IN2 | wc -l`])\n # (4) FDB => hv2 ovn, (5) flows => hv2 ovs.\n # If packet is received by hv2 ovs before (5), there will be a PACKET_IN2.\n # If packet is only received by hv2 ovs after (5), there will be no PACKET_IN2.\n+# hv1 is checked here after synchronizing the earlier 10:14 learn and lookup_fdb\n+# flow installation on both hv1 and hv2, so the cumulative PACKET_IN2 count on\n+# hv1 is expected to be stable.\n \n AS_BOX([$(date +%H:%M:%S.%03N) Packet from external])\n arp_req=$(fmt_pkt \"Ether(dst='00:00:00:00:10:50', src='00:00:00:00:10:40')/ARP(op=2, pdst='192.168.10.50', psrc='192.168.10.40')\")\n", "prefixes": [ "ovs-dev" ] }