Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1524518/?format=api
{ "id": 1524518, "url": "http://patchwork.ozlabs.org/api/patches/1524518/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ovn/patch/20210903192748.1408062-3-frode.nordahl@canonical.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": "<20210903192748.1408062-3-frode.nordahl@canonical.com>", "list_archive_url": null, "date": "2021-09-03T19:27:41", "name": "[ovs-dev,v4,2/9] tests: Stop using non-existent requested-chassis", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "8701bf11a0e69b0ab9e4865a57a77ce7d32d4eef", "submitter": { "id": 77851, "url": "http://patchwork.ozlabs.org/api/people/77851/?format=api", "name": "Frode Nordahl", "email": "frode.nordahl@canonical.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/ovn/patch/20210903192748.1408062-3-frode.nordahl@canonical.com/mbox/", "series": [ { "id": 260950, "url": "http://patchwork.ozlabs.org/api/series/260950/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ovn/list/?series=260950", "date": "2021-09-03T19:27:42", "name": "Introduce infrastructure for plugging providers", "version": 4, "mbox": "http://patchwork.ozlabs.org/series/260950/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1524518/comments/", "check": "fail", "checks": "http://patchwork.ozlabs.org/api/patches/1524518/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@bilbo.ozlabs.org", "ovs-dev@lists.linuxfoundation.org" ], "Authentication-Results": [ "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20210705 header.b=oYcwgRQG;\n\tdkim-atps=neutral", "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=<UNKNOWN>)", "smtp2.osuosl.org (amavisd-new);\n dkim=pass (2048-bit key) header.d=canonical.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 RSA-PSS (4096 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4H1SW75X5Zz9sCD\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 4 Sep 2021 05:28:03 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 840BD426EE;\n\tFri, 3 Sep 2021 19:28:01 +0000 (UTC)", "from smtp4.osuosl.org ([127.0.0.1])\n\tby localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 93G6h4U9ELNS; Fri, 3 Sep 2021 19:27:59 +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 F3E8E426EC;\n\tFri, 3 Sep 2021 19:27:58 +0000 (UTC)", "from lf-lists.osuosl.org (localhost [127.0.0.1])\n\tby lists.linuxfoundation.org (Postfix) with ESMTP id 95D94C0028;\n\tFri, 3 Sep 2021 19:27:56 +0000 (UTC)", "from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133])\n by lists.linuxfoundation.org (Postfix) with ESMTP id 58318C000E\n for <dev@openvswitch.org>; Fri, 3 Sep 2021 19:27:54 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id B94834027D\n for <dev@openvswitch.org>; Fri, 3 Sep 2021 19:27:53 +0000 (UTC)", "from smtp2.osuosl.org ([127.0.0.1])\n by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id t898mHAflpxh for <dev@openvswitch.org>;\n Fri, 3 Sep 2021 19:27:52 +0000 (UTC)", "from smtp-relay-canonical-1.canonical.com\n (smtp-relay-canonical-1.canonical.com [185.125.188.121])\n by smtp2.osuosl.org (Postfix) with ESMTPS id A66C74070E\n for <dev@openvswitch.org>; Fri, 3 Sep 2021 19:27:52 +0000 (UTC)", "from frode-threadripper.. (1.general.frode.uk.vpn [10.172.193.250])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id B2A9B401A1;\n Fri, 3 Sep 2021 19:27:49 +0000 (UTC)" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.8.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20210705; t=1630697269;\n bh=fPwJn5/TF25PMr/cW1eQsgGFwM82CilyyWuBLLmBmVE=;\n h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n MIME-Version;\n b=oYcwgRQGfji+k3XlU9gUg1CJM22vBaasrsnLUnlUIW0EG1F/zhpADBAUOCPGxF8cI\n WYE8Bykyh9ZnuTMEerXLSIP7QExIxszqbzuw7u+Q6dSIaKTEAd7UktDDXg9MDfaNZt\n 4mOjgMiZ0f9UroerUrMuj+fC8EeJXLkhFMBFjBLsogRln7eCzpMVsijCev1LiGb9ay\n KxXf+IN7bkmlgvKuyjvL1cqHReAK3AoAdDsjbq0sHSipiRxehiYSNJbYGAOcOynZVu\n Qjng6S77p3n8x/qhTpx3Vw+VS2Mg7BnoTJpkKMFaGf+yVZ/lDV+/n5M/YfyUM7FniB\n O9dhTMl0mr1Iw==", "From": "Frode Nordahl <frode.nordahl@canonical.com>", "To": "dev@openvswitch.org", "Date": "Fri, 3 Sep 2021 21:27:41 +0200", "Message-Id": "<20210903192748.1408062-3-frode.nordahl@canonical.com>", "X-Mailer": "git-send-email 2.32.0", "In-Reply-To": "<20210903192748.1408062-1-frode.nordahl@canonical.com>", "References": "<20210903192748.1408062-1-frode.nordahl@canonical.com>", "MIME-Version": "1.0", "Subject": "[ovs-dev] [PATCH ovn v4 2/9] tests: Stop using non-existent\n\trequested-chassis", "X-BeenThere": "ovs-dev@openvswitch.org", "X-Mailman-Version": "2.1.15", "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": "A couple of tests refers to non-existent chassis to validate that\nthe ovn-controller would release ports that otherwise was destined\nfor it when requested-chassis points somewhere else.\n\nWith upcoming changes to have the ovn-controller use the new\nPort_Binding:requested_chassis column maintained by northd instead\nof processing the options itself, referring to a non-existant\nchassis will no longer work as the tests expect.\n\nWith this patch we instead add a throw-away chassis to the\nsimulation and point the requested-chassis option at that chassis.\n\nSigned-off-by: Frode Nordahl <frode.nordahl@canonical.com>\n---\n tests/ovn.at | 13 +++++++++++--\n 1 file changed, 11 insertions(+), 2 deletions(-)", "diff": "diff --git a/tests/ovn.at b/tests/ovn.at\nindex 5104a6895..2914018e8 100644\n--- a/tests/ovn.at\n+++ b/tests/ovn.at\n@@ -9434,6 +9434,11 @@ ovn-nbctl lsp-add bar bar3 \\\n # Create two hypervisor and create OVS ports corresponding to logical ports.\n net_add n1\n \n+sim_add hv-foo\n+as hv-foo\n+ovs-vsctl add-br br-phys\n+ovn_attach n1 br-phys 192.168.0.253\n+\n sim_add hv1\n as hv1\n ovs-vsctl add-br br-phys\n@@ -9603,7 +9608,7 @@ as hv1 ovs-appctl netdev-dummy/receive vm1 $packet\n OVN_CHECK_PACKETS([hv1/vm1-tx.pcap], [expected1])\n \n # Test binding of parent and container ports.\n-ovn-nbctl lsp-set-options vm1 requested-chassis=foo\n+ovn-nbctl lsp-set-options vm1 requested-chassis=hv-foo\n \n OVS_WAIT_UNTIL([test xdown = x$(ovn-nbctl lsp-get-up vm1)])\n OVS_WAIT_UNTIL([test xdown = x$(ovn-nbctl lsp-get-up foo1)])\n@@ -13454,6 +13459,10 @@ ovn-nbctl ls-add ls0\n ovn-nbctl lsp-add ls0 lsp0\n \n net_add n1\n+sim_add hv-foo\n+as hv-foo\n+ovs-vsctl add-br br-phys\n+ovn_attach n1 br-phys 192.168.0.10\n sim_add hv1\n as hv1\n ovs-vsctl add-br br-phys\n@@ -13473,7 +13482,7 @@ wait_column \"$hv1_uuid\" Port_Binding chassis logical_port=lsp0\n AT_CHECK([as hv1 ovs-ofctl dump-flows br-int table=0 | grep in_port=1], [0], [ignore])\n AT_CHECK([as hv1 ovs-ofctl dump-flows br-int table=65 | grep actions=output:1], [0], [ignore])\n \n-check ovn-nbctl --wait=hv lsp-set-options lsp0 requested-chassis=non-existant-chassis\n+check ovn-nbctl --wait=hv lsp-set-options lsp0 requested-chassis=hv-foo\n OVS_WAIT_UNTIL([test 1 = $(grep -c \"Releasing lport lsp0 from this chassis\" hv1/ovn-controller.log)])\n check ovn-nbctl --wait=hv sync\n wait_column '' Port_Binding chasssi logical_port=lsp0\n", "prefixes": [ "ovs-dev", "v4", "2/9" ] }