Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/121877/?format=api
https://patches.dpdk.org/api/patches/121877/?format=api", "web_url": "https://patches.dpdk.org/project/dts/patch/20230112075004.1325372-1-weix.ling@intel.com/", "project": { "id": 3, "url": "https://patches.dpdk.org/api/projects/3/?format=api", "name": "DTS", "link_name": "dts", "list_id": "dts.dpdk.org", "list_email": "dts@dpdk.org", "web_url": "", "scm_url": "git://dpdk.org/tools/dts", "webscm_url": "http://git.dpdk.org/tools/dts/", "list_archive_url": "https://inbox.dpdk.org/dts", "list_archive_url_format": "https://inbox.dpdk.org/dts/{}", "commit_url_format": "" }, "msgid": "<20230112075004.1325372-1-weix.ling@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20230112075004.1325372-1-weix.ling@intel.com", "date": "2023-01-12T07:50:04", "name": "[V1] tests/metrics: fix start wrong dpdk-proc-info path issue", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "9259c51fefb83de9e4a60222435ee0093679ffc3", "submitter": { "id": 1828, "url": "https://patches.dpdk.org/api/people/1828/?format=api", "name": "Ling, WeiX", "email": "weix.ling@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dts/patch/20230112075004.1325372-1-weix.ling@intel.com/mbox/", "series": [ { "id": 26493, "url": "https://patches.dpdk.org/api/series/26493/?format=api", "web_url": "https://patches.dpdk.org/project/dts/list/?series=26493", "date": "2023-01-12T07:50:04", "name": "[V1] tests/metrics: fix start wrong dpdk-proc-info path issue", "version": 1, "mbox": "https://patches.dpdk.org/series/26493/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/121877/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/121877/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dts-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 9C1BC423B4;\n\tThu, 12 Jan 2023 08:59:35 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 996CD40A7D;\n\tThu, 12 Jan 2023 08:59:35 +0100 (CET)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id 21AAA400EF\n for <dts@dpdk.org>; Thu, 12 Jan 2023 08:59:33 +0100 (CET)", "from orsmga003.jf.intel.com ([10.7.209.27])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Jan 2023 23:59:25 -0800", "from unknown (HELO localhost.localdomain) ([10.239.252.222])\n by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Jan 2023 23:59:24 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1673510374; x=1705046374;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=eblD3dJeC6rHjWO49HrMWjFcqMhxSNwFxM7hBKQVL4U=;\n b=C6yM5l8n76UGphkfy7cbs7dGMY73m1E6BEF914kkChwCKwWAROFjvPTH\n nVvq43aVTEGc2OqNqQj1QNjqFG7bcxbfkIGSl+8BXH8s5PXXGm5zgJsw6\n XyPm8ALUIh1pBDil18voSzA4Wdn9R7LjuU9uMiMVXKrbMXIciwFroQNIT\n 8dAm5xjjthM0eOTYqyzsvHOS4OR69ptMeAOXjzztD4JLzbdCMEZJ7IY7o\n +xXbbH/IxD0MJGOXIib7LDWkIijalG8uLuDXZ0P0ZrGmwqb2EohgikD9q\n C1dJAhBdEu0Rh7DdukGZ6AiSb2ucUEVhU9D9S5zSldvdLhlA6DKCXwohc w==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10586\"; a=\"325664167\"", "E=Sophos;i=\"5.96,319,1665471600\"; d=\"scan'208\";a=\"325664167\"", "E=McAfee;i=\"6500,9779,10586\"; a=\"607703659\"", "E=Sophos;i=\"5.96,319,1665471600\"; d=\"scan'208\";a=\"607703659\"" ], "From": "Wei Ling <weix.ling@intel.com>", "To": "dts@dpdk.org", "Cc": "Wei Ling <weix.ling@intel.com>", "Subject": "[dts][PATCH V1] tests/metrics: fix start wrong dpdk-proc-info path\n issue", "Date": "Thu, 12 Jan 2023 15:50:04 +0800", "Message-Id": "<20230112075004.1325372-1-weix.ling@intel.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "test suite reviews and discussions <dts.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dts/>", "List-Post": "<mailto:dts@dpdk.org>", "List-Help": "<mailto:dts-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>", "Errors-To": "dts-bounces@dpdk.org" }, "content": "When using self.dut.alt_session.send_expect() API to create new seesion,\nthe current directory is /root, not the DPDK base directory, so add\nswith to the DPDK base directory step before exectue the dpdk-proc-info\ncommand to start the dpdk-proc-info APP.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n tests/TestSuite_metrics.py | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/tests/TestSuite_metrics.py b/tests/TestSuite_metrics.py\nindex f3111ec6..d7262011 100644\n--- a/tests/TestSuite_metrics.py\n+++ b/tests/TestSuite_metrics.py\n@@ -42,6 +42,7 @@ class TestMetrics(TestCase):\n \n def d_a_con(self, cmd):\n _cmd = [cmd, \"# \", 10] if isinstance(cmd, str) else cmd\n+ self.dut.alt_session.send_expect(\"cd %s\" % self.dut.base_dir, \"# \", 10)\n output = self.dut.alt_session.send_expect(*_cmd)\n output2 = self.dut.alt_session.session.get_session_before(2)\n return output + os.linesep + output2\n", "prefixes": [ "V1" ] }{ "id": 121877, "url": "