Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/81906/?format=api
https://patches.dpdk.org/api/patches/81906/?format=api", "web_url": "https://patches.dpdk.org/project/dts/patch/20201023081411.33229-4-yufengx.mo@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": "<20201023081411.33229-4-yufengx.mo@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20201023081411.33229-4-yufengx.mo@intel.com", "date": "2020-10-23T08:14:11", "name": "[V4,3/3] framework: check the python version", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "8da77d13abc245112d82a8f529e84855016a8e5b", "submitter": { "id": 1342, "url": "https://patches.dpdk.org/api/people/1342/?format=api", "name": "Yufen.Mo", "email": "yufengx.mo@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dts/patch/20201023081411.33229-4-yufengx.mo@intel.com/mbox/", "series": [ { "id": 13255, "url": "https://patches.dpdk.org/api/series/13255/?format=api", "web_url": "https://patches.dpdk.org/project/dts/list/?series=13255", "date": "2020-10-23T08:14:10", "name": "framework: check the python version", "version": 4, "mbox": "https://patches.dpdk.org/series/13255/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/81906/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/81906/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id C398DA04DE;\n\tFri, 23 Oct 2020 10:19:06 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id BB7C1A8F2;\n\tFri, 23 Oct 2020 10:19:05 +0200 (CEST)", "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by dpdk.org (Postfix) with ESMTP id AAD4CA8EB\n for <dts@dpdk.org>; Fri, 23 Oct 2020 10:19:02 +0200 (CEST)", "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Oct 2020 01:18:51 -0700", "from dpdk-moyufen06.sh.intel.com ([10.67.116.208])\n by orsmga005.jf.intel.com with ESMTP; 23 Oct 2020 01:18:50 -0700" ], "IronPort-SDR": [ "\n tuSM1S6bKPkkuzIMS7AuoSLyFX0gKpax4kxpbbj/tos2RnjN2On0EAy2SSneWitYd0sHQ523Ge\n Hby4FfjAX8Zw==", "\n z2Px5tdVI8cbLoeDMu59FD3oXCG6sQ0u5nOYj6e49nmn5/SYLeT8lT0lAlMBN40SaTTneh/xHB\n ZeBTDoH3Gz4A==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9782\"; a=\"146936535\"", "E=Sophos;i=\"5.77,407,1596524400\"; d=\"scan'208\";a=\"146936535\"", "E=Sophos;i=\"5.77,407,1596524400\"; d=\"scan'208\";a=\"534310587\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "yufengmx <yufengx.mo@intel.com>", "To": "dts@dpdk.org,\n\tlijuan.tu@intel.com,\n\tlihongx.ma@intel.com", "Cc": "yufengmx <yufengx.mo@intel.com>", "Date": "Fri, 23 Oct 2020 16:14:11 +0800", "Message-Id": "<20201023081411.33229-4-yufengx.mo@intel.com>", "X-Mailer": "git-send-email 2.21.0", "In-Reply-To": "<20201023081411.33229-1-yufengx.mo@intel.com>", "References": "<20201023081411.33229-1-yufengx.mo@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dts] [PATCH V4 3/3] framework: check the python version", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.15", "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", "Sender": "\"dts\" <dts-bounces@dpdk.org>" }, "content": "check the python version of tester. If the version is python2, print a warning message.\n\nSigned-off-by: yufengmx <yufengx.mo@intel.com>\n---\n framework/tester.py | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)", "diff": "diff --git a/framework/tester.py b/framework/tester.py\nindex ca179b2..482b0e4 100644\n--- a/framework/tester.py\n+++ b/framework/tester.py\n@@ -43,7 +43,8 @@ from crb import Crb\n from net_device import GetNicObj\n from etgen import IxiaPacketGenerator, SoftwarePacketGenerator\n import random\n-from utils import GREEN, convert_int2ip, convert_ip2int\n+from utils import (GREEN, convert_int2ip, convert_ip2int,\n+ check_crb_python_version)\n from exception import ParameterInvalidException\n from multiprocessing import Process\n from pktgen import getPacketGenerator\n@@ -66,6 +67,8 @@ class Tester(Crb):\n self.NAME = 'tester'\n self.scapy_session = None\n super(Tester, self).__init__(crb, serializer, self.NAME)\n+ # check the python version of tester\n+ check_crb_python_version(self)\n \n self.bgProcIsRunning = False\n self.duts = None\n", "prefixes": [ "V4", "3/3" ] }{ "id": 81906, "url": "