From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id 36E2469FC for ; Wed, 11 Jan 2017 12:44:48 +0100 (CET) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id v0BBcjfY027961 for ; Wed, 11 Jan 2017 06:44:48 -0500 Received: from e23smtp05.au.ibm.com (e23smtp05.au.ibm.com [202.81.31.147]) by mx0a-001b2d01.pphosted.com with ESMTP id 27wkm013xt-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 11 Jan 2017 06:44:47 -0500 Received: from localhost by e23smtp05.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 11 Jan 2017 21:44:45 +1000 Received: from d23dlp01.au.ibm.com (202.81.31.203) by e23smtp05.au.ibm.com (202.81.31.211) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 11 Jan 2017 21:44:43 +1000 Received: from d23relay06.au.ibm.com (d23relay06.au.ibm.com [9.185.63.219]) by d23dlp01.au.ibm.com (Postfix) with ESMTP id A15B82CE8054 for ; Wed, 11 Jan 2017 22:44:42 +1100 (EST) Received: from d23av05.au.ibm.com (d23av05.au.ibm.com [9.190.234.119]) by d23relay06.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v0BBihuA51904538 for ; Wed, 11 Jan 2017 22:44:43 +1100 Received: from d23av05.au.ibm.com (localhost [127.0.0.1]) by d23av05.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id v0BBigNB030914 for ; Wed, 11 Jan 2017 22:44:42 +1100 Received: from chozha.in.ibm.com (chozha.in.ibm.com [9.193.81.135]) by d23av05.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id v0BBieUZ030905; Wed, 11 Jan 2017 22:44:41 +1100 From: Gowrishankar To: dts@dpdk.org Cc: Gowrishankar Muthukrishnan Date: Wed, 11 Jan 2017 17:14:40 +0530 X-Mailer: git-send-email 1.9.1 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 17011111-0016-0000-0000-0000020B9C66 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17011111-0017-0000-0000-00000637F2A8 Message-Id: <1484135080-25428-1-git-send-email-gowrishankar.m@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-01-11_10:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1701110166 Subject: [dts] [PATCH] framework: fix ping6 parameter to interface name for link local address X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2017 11:44:49 -0000 From: Gowrishankar Muthukrishnan Below patch adds scope identifier for link local address of remote ports while probing connecting port peers, instead of using -I option in ping6 command. This was to be broken atleast in Ubuntu 16.10 as DTS tester. Signed-off-by: Gowrishankar Muthukrishnan --- framework/tester.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/tester.py b/framework/tester.py index 4f54fcd..6a873e2 100644 --- a/framework/tester.py +++ b/framework/tester.py @@ -370,7 +370,7 @@ class Tester(Crb): if self.ports_info[localPort]['type'] == 'ixia': return self.ixia_packet_gen.send_ping6(self.ports_info[localPort]['pci'], mac, ipv6) else: - return self.send_expect("ping6 -w 5 -c 5 -A -I %s %s" % (self.ports_info[localPort]['intf'], ipv6), "# ", 10) + return self.send_expect("ping6 -w 5 -c 5 -A %s%%%s" % (ipv6, self.ports_info[localPort]['intf']), "# ", 10) def get_port_numa(self, port): """ -- 1.9.1