{"id":2227410,"url":"http://patchwork.ozlabs.org/api/patches/2227410/?format=json","web_url":"http://patchwork.ozlabs.org/project/ovn/patch/20260423163514.2057547-1-martin.kalcok@gmail.com/","project":{"id":68,"url":"http://patchwork.ozlabs.org/api/projects/68/?format=json","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":"<20260423163514.2057547-1-martin.kalcok@gmail.com>","list_archive_url":null,"date":"2026-04-23T16:34:36","name":"[ovs-dev] tests: Replace \"unsupported protocol\" test.","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"ad58aeb1723598ccb3f8f9a5890886bd43f6f013","submitter":{"id":92638,"url":"http://patchwork.ozlabs.org/api/people/92638/?format=json","name":"Martin Kalčok","email":"martin.kalcok@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/ovn/patch/20260423163514.2057547-1-martin.kalcok@gmail.com/mbox/","series":[{"id":501218,"url":"http://patchwork.ozlabs.org/api/series/501218/?format=json","web_url":"http://patchwork.ozlabs.org/project/ovn/list/?series=501218","date":"2026-04-23T16:34:36","name":"[ovs-dev] tests: Replace \"unsupported protocol\" test.","version":1,"mbox":"http://patchwork.ozlabs.org/series/501218/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2227410/comments/","check":"success","checks":"http://patchwork.ozlabs.org/api/patches/2227410/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=avkhVJCr;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org\n (client-ip=140.211.166.137; helo=smtp4.osuosl.org;\n envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org)","smtp4.osuosl.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key)\n header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104\n header.b=avkhVJCr","smtp4.osuosl.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com"],"Received":["from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\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 4g1hXm2JkXz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 02:35:36 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 5380F410A1;\n\tThu, 23 Apr 2026 16:35:34 +0000 (UTC)","from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id G2AUL-OAANmF; Thu, 23 Apr 2026 16:35:33 +0000 (UTC)","from lists.linuxfoundation.org (lf-lists.osuosl.org\n [IPv6:2605:bc80:3010:104::8cd3:938])\n\tby smtp4.osuosl.org (Postfix) with ESMTPS id 4408440FBC;\n\tThu, 23 Apr 2026 16:35:33 +0000 (UTC)","from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id 20B4AC058E;\n\tThu, 23 Apr 2026 16:35:33 +0000 (UTC)","from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n by lists.linuxfoundation.org (Postfix) with ESMTP id EB1F0C058D\n for <dev@openvswitch.org>; Thu, 23 Apr 2026 16:35:31 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id D1AD240FB8\n for <dev@openvswitch.org>; Thu, 23 Apr 2026 16:35:31 +0000 (UTC)","from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id F57yb5cDoVVy for <dev@openvswitch.org>;\n Thu, 23 Apr 2026 16:35:31 +0000 (UTC)","from mail-wr1-x435.google.com (mail-wr1-x435.google.com\n [IPv6:2a00:1450:4864:20::435])\n by smtp4.osuosl.org (Postfix) with ESMTPS id ACA1940FBC\n for <dev@openvswitch.org>; Thu, 23 Apr 2026 16:35:30 +0000 (UTC)","by mail-wr1-x435.google.com with SMTP id\n ffacd0b85a97d-43d7badbd7dso3415316f8f.2\n for <dev@openvswitch.org>; Thu, 23 Apr 2026 09:35:30 -0700 (PDT)","from omen ([2a01:c846:1a40:8a00:6753:89dd:23d2:37ff])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43fe4cb1176sm55634754f8f.3.2026.04.23.09.35.27\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 23 Apr 2026 09:35:27 -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 smtp4.osuosl.org 4408440FBC","OpenDKIM Filter v2.11.0 smtp4.osuosl.org ACA1940FBC"],"Received-SPF":"Pass (mailfrom) identity=mailfrom;\n client-ip=2a00:1450:4864:20::435; helo=mail-wr1-x435.google.com;\n envelope-from=martin.kalcok@gmail.com; receiver=<UNKNOWN>","DMARC-Filter":"OpenDMARC Filter v1.4.2 smtp4.osuosl.org ACA1940FBC","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776962128; x=1777566928; 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=YZMytyWmVHWYk+nQObWL2wCNrysg90MrPHtjWlEfF+A=;\n b=avkhVJCrFjDTDm0FFdsabyRhgCnm5osujHEybVhiz3rh65KFZrQ9+XY7hZzVcqRT1X\n pr/HPSUwFC7KalAZhp/5vSoav+sl/wfkXG7PnkZF4iH0iSXqCEniO9FWVW7u8A18VusI\n nL6zmODl/W3/UK1N0Lczq2tFOEEwQKK+UHDI1c2BX5sj/ZSgcpRh7VIRO2xwZN2ZuVr5\n p/meihBAQkflSPKffig/hbNQmNYIGMM69l+MzBAEpqb3XNG0Yl4ldx3XwBWySNMPJqsL\n snVHqbFHxKlMIVKvKJr7dwoD5WtPLFTPqombG7DLbG+apVCsgweEComKf0b7UF1uqoAP\n FQOQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776962128; x=1777566928;\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=YZMytyWmVHWYk+nQObWL2wCNrysg90MrPHtjWlEfF+A=;\n b=nGOW/egzDvZxMTQzICsVhvqb/EYoAkh1zaU3R8g2VxTBdKtXJmlyaN6xSiL8IqFMnS\n O3os/mP4e6xHrLsO3n6bvOcjCz/WMuC4aX6cGPBfr4N+e7ndKYBMGqnu2rWiKfSnkDTg\n l9/+XnokyxCDz+wazSr2Tt1waRffSPMP1wXXH1hbKULvSNTiHyr33dwrdXlmcQPr/V6y\n BGFmTjgh6tOCd7tBDiNA+fKnrziJ4n80aiwZRBP2ktEv3ExM6trpEvGMJcdl/wD0ODkq\n R3Kc0UZVnYzNgc3rYxQ4P+4Qu5FcKOG/B1dJCRgX8rTVlD0R1M6v7xS8ApqIDJ5kZ36N\n 9vzQ==","X-Forwarded-Encrypted":"i=1;\n AFNElJ+dURQ3vwLelSKHqRj/wSECU96q2NTKZM115QHD+e3iEASh8xIzNiKeGcSFAmnUAljXMJg=@openvswitch.org","X-Gm-Message-State":"AOJu0YwQQ5os7TIMF2G74F+HrMQOreg4kIqt/amIeBgpEZJ939Uco4Jx\n vL4dM8g9vFs/nhPFl5euBpXGFBl8AbPoEuAcD5dUWGEPGTz6JrTfm2hE","X-Gm-Gg":"AeBDiesWfPr3tjWi8Jc+aypUjtLlDz7Hmp+ZC24CI52jOBSPN55R8H8aON7ooTWu7oJ\n k4/E5ohXYaeayq8I/5yo/nmiSQlGx51vL0YJVrzNEbJpV4y0wsrcOqaqIojUv9Tf/E7HNM6XnHK\n H+1x3tlb8Fo2R6rSXwDw16nQDrdgbGtVEvZ9Hz4GOvYG4MmpsXxmUG4JZm9wUlzdyWoUqsJ/anB\n qDTglvZna+TQtZsLxz0eSmNP0xAVn/1ZL9bneIO2jF6IESMI8b6rFRSYp2JbAQ/en0AsocedsON\n uLYYwnqps7azg8uU5TwUKBmeQhJKm4CatZcE/ydOmUENw7Qo9R0Im+7TQfp2/k+VSEzo2L29Nrs\n /lzco4gB2/rvw0VZwZgFn16/DW+dZLMryezD6EQdPeLa8jjbL7fcrX6Du8oMDeJBWNxQUpBFVpa\n Vio+cyYj+O0HpUu/FYRDYoZ3Ovc+ZLmxNQ","X-Received":"by 2002:a05:6000:2909:b0:43f:e22d:e624 with SMTP id\n ffacd0b85a97d-43fe3db3cb2mr40814817f8f.1.1776962128222;\n Thu, 23 Apr 2026 09:35:28 -0700 (PDT)","From":"Martin Kalcok <martin.kalcok@gmail.com>","To":"mmichels@redhat.com,\n\tdev@openvswitch.org","Date":"Thu, 23 Apr 2026 18:34:36 +0200","Message-ID":"<20260423163514.2057547-1-martin.kalcok@gmail.com>","X-Mailer":"git-send-email 2.51.2","MIME-Version":"1.0","Subject":"[ovs-dev] [PATCH ovn] tests: Replace \"unsupported protocol\" test.","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":"Commit 985551d \"northd: Don't recognize UDP packets as health check responses.\"\n[0] fixed an issue that caused UDP packets to be delivered to the\ncontroller in response to the health check probe. It also introduced a\nstandalone test for this use case.\nHowever, the same behavior can be tested by existing\n\"Load balancer health checks with LRP IP\" tests. These tests generated\n\"unsupported protocol\" warning in logs before the introduction of the\nfix [0], but the message was explicitly ignored.\nNow that the fix [0], is applied, the warning message can be removed\nfrom \"ignored warnings\" list, essentially accomplishing the same thing\nas the standalone test.\n\n[0] https://github.com/ovn-org/ovn/commit/985551d482694e39d51ed290a4607f71e5b65be8\n\nSigned-off-by: Martin Kalcok <martin.kalcok@gmail.com>\n---\n tests/system-ovn.at | 93 +--------------------------------------------\n 1 file changed, 2 insertions(+), 91 deletions(-)","diff":"diff --git a/tests/system-ovn.at b/tests/system-ovn.at\nindex 582ed194b..203f2d315 100644\n--- a/tests/system-ovn.at\n+++ b/tests/system-ovn.at\n@@ -4616,8 +4616,7 @@ OVN_CLEANUP_NORTHD\n as\n OVS_TRAFFIC_VSWITCHD_STOP([\"/failed to query port patch-.*/d\n /connection dropped.*/d\n-/Service monitor not found.*/d\n-/handle service check: Unsupported protocol*/d\"])\n+/Service monitor not found.*/d\"])\n \n AT_CLEANUP\n ])\n@@ -4816,8 +4815,7 @@ OVN_CLEANUP_NORTHD\n as\n OVS_TRAFFIC_VSWITCHD_STOP([\"/failed to query port patch-.*/d\n /connection dropped.*/d\n-/Service monitor not found.*/d\n-/handle service check: Unsupported protocol*/d\"])\n+/Service monitor not found.*/d\"])\n \n AT_CLEANUP\n ])\n@@ -21497,93 +21495,6 @@ OVS_TRAFFIC_VSWITCHD_STOP([\"/failed to query port patch-.*/d\n AT_CLEANUP\n ])\n \n-OVN_FOR_EACH_NORTHD([\n-AT_SETUP([Unsupported protocol message])\n-AT_SKIP_IF([test $HAVE_NC = no])\n-\n-ovn_start\n-OVS_TRAFFIC_VSWITCHD_START()\n-ADD_BR([br-int])\n-\n-# Set external-ids in br-int needed for ovn-controller.\n-check ovs-vsctl \\\n-        -- set Open_vSwitch . external-ids:system-id=hv1 \\\n-        -- set Open_vSwitch . external-ids:ovn-remote=unix:$ovs_base/ovn-sb/ovn-sb.sock \\\n-        -- set Open_vSwitch . external-ids:ovn-encap-type=geneve \\\n-        -- set Open_vSwitch . external-ids:ovn-encap-ip=169.0.0.1 \\\n-        -- set bridge br-int fail-mode=secure other-config:disable-in-band=true\n-\n-# Start ovn-controller.\n-start_daemon ovn-controller\n-\n-check ovn-nbctl ls-add ls1\n-check ovn-nbctl lsp-add ls1 ls1p1\n-check ovn-nbctl lsp-set-addresses ls1p1 \"00:00:00:01:01:01 192.168.1.1\"\n-check ovn-nbctl lsp-add ls1 ls1p2\n-check ovn-nbctl lsp-set-addresses ls1p2 \"00:00:00:01:01:02 192.168.1.2\"\n-\n-check ovn-nbctl lr-add lr1\n-check ovn-nbctl lrp-add lr1 lr1-ls1 00:00:00:00:00:01 192.168.1.254/24\n-check ovn-nbctl lsp-add ls1 ls1-lr1\n-check ovn-nbctl lsp-set-addresses ls1-lr1 \"00:00:00:00:00:01 192.168.1.254\"\n-check ovn-nbctl lsp-set-type ls1-lr1 router\n-check ovn-nbctl lsp-set-options ls1-lr1 router-port=lr1-ls1\n-\n-check ovn-nbctl lrp-add lr1 lr1-ls2 00:00:00:00:00:02 192.168.2.254/24\n-\n-check ovn-nbctl ls-add ls2\n-check ovn-nbctl lsp-add ls2 ls2-lr1\n-check ovn-nbctl lsp-set-addresses ls2-lr1 \"00:00:00:00:00:02 192.168.2.254\"\n-check ovn-nbctl lsp-set-type ls2-lr1 router\n-check ovn-nbctl lsp-set-options ls2-lr1 router-port=lr1-ls2\n-\n-check ovn-nbctl lsp-add ls2 ls2p1\n-check ovn-nbctl lsp-set-addresses ls2p1 \"00:00:00:01:02:01 192.168.2.1\"\n-\n-ADD_NAMESPACES(ls1p1)\n-ADD_VETH(ls1p1, ls1p1, br-int, \"192.168.1.1/24\", \"00:00:00:01:01:01\",\n-         \"192.168.1.254\")\n-\n-ADD_NAMESPACES(ls2p1)\n-ADD_VETH(ls2p1, ls2p1, br-int, \"192.168.2.1/24\", \"00:00:00:01:02:01\",\n-         \"192.168.2.254\")\n-\n-ADD_NAMESPACES(ls1p2)\n-ADD_VETH(ls1p2, ls1p2, br-int, \"192.168.1.2/24\", \"00:00:00:01:01:02\",\n-         \"192.168.1.254\")\n-\n-check ovn-nbctl lb-add lb0 192.168.5.1:12345 192.168.1.1:12345,192.168.1.2:12345\n-check ovn-nbctl ls-lb-add ls1 lb0\n-check ovn-nbctl lr-lb-add lr1 lb0\n-lb_uuid=$(fetch_column nb:Load_Balancer _uuid name=lb0)\n-check ovn-nbctl set Load_Balancer $lb_uuid protocol=udp\n-check ovn-nbctl --wait=hv set Logical_Router lr1 options:chassis=\"hv1\"\n-\n-wait_for_ports_up ls1p1 ls1p2 ls2p1\n-\n-NETNS_DAEMONIZE([ls1p1], [nc -l 12345 --udp -k --sh-exec ls], [nc1.pid])\n-NETNS_DAEMONIZE([ls1p2], [nc -l 12345 --udp -k --sh-exec ls], [nc2.pid])\n-\n-hc_uuid=$(ovn-nbctl --id=@hc create Load_Balancer_Health_Check vip=\"192.168.5.1\\:12345\" -- \\\n-          add Load_Balancer $lb_uuid health_check @hc)\n-check ovn-nbctl set Load_Balancer_Health_Check $hc_uuid options:timeout=20 options:success_count=3 options:failure_count=3\n-check ovn-nbctl --wait=sb set load_balancer $lb_uuid ip_port_mappings:192.168.1.1=ls1p1:192.168.1.254\n-\n-NS_EXEC([ls2p1], [nc --udp 192.168.5.1 12345 <<< h])\n-\n-# It may not seem like we're actually testing anything in this test.\n-# If there is a warning or error in the ovn-controller log about\n-# an unsupported health check protocol, it will cause a test failure\n-# when we stop ovn-controller.\n-OVN_CLEANUP_CONTROLLER([hv1])\n-OVN_CLEANUP_NORTHD\n-\n-as\n-OVS_TRAFFIC_VSWITCHD_STOP([\"/failed to query port patch-.*/d\n-/connection dropped.*/d\"])\n-AT_CLEANUP\n-])\n-\n OVN_FOR_EACH_NORTHD([\n AT_SETUP([Load balancer health checks - service monitor source MAC matching])\n AT_SKIP_IF([test $HAVE_NC = no])\n","prefixes":["ovs-dev"]}