From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.161.179]) by dpdk.org (Postfix) with ESMTP id 0AB632BA3 for ; Wed, 31 May 2017 14:32:26 +0200 (CEST) Received: by mail-yw0-f179.google.com with SMTP id l14so5795522ywk.1 for ; Wed, 31 May 2017 05:32:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=iJPd1RHXly83B9lYnUIYdrqzwX0QriAmU0Yl5lQJbrE=; b=bt/OFQfnUMQNdgGi6KNrngsdY8UUCLW8s3c8UEBM9iJJ/9RTfnAevVvDXTnqJEUZT5 UZQUdFci7Y4l41xScUjA4SpyzRcBupJvsI3i5EnmtGWNvD3syYo1NzFPe3cOax+wfQJX 2eA7m5NVj4Fv46sMHM7leSv8lBnVfouPP1KlKl0oQ9hRJ7i9GIgdousoSHIyhR3JZ4yo 4vlR0SeCS6einVMj3n456N3i34vMe56CQmoX9wTu8TuWp1bdRU+4neE/VL1Xu9AunEw2 9KZAIHBWckNwZumonP4WYa3HjD49s8lgJUjn3a78IjeKi3+LVgmk6JMlG9S56fumh1Qm L0Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=iJPd1RHXly83B9lYnUIYdrqzwX0QriAmU0Yl5lQJbrE=; b=rJEwgTUDIitasLMCTsdHcWgVP4UqBgMcyq7qIFeUqhMnvd4EckKQ8eJSrgjkHcqOas 77/aWr0zRVKGeBLh4aaKxC0fLqAl2IGMCsq17GB/0kiyMZc3EHOxHvUQM0rF3rlu65Ez Wip/LgP9UHQ632z13DHfWYRiZAErD7i+/x60GNJjuwP0WvRWFvN1+Ekw6Yphs5A5ZApi oLh1eFbz+pI5jm9SWsBiRs0XslH2P1+kB/NdgbWZuA6ra30RYgV3PJpVUwFXul8Hqsc5 LuqgtSdw3jIM0Gm0yIdVs2AZCTI72kllemf13WhHbRlBaT+WUTWZAo6BxL7usMkZd5Js mwkA== X-Gm-Message-State: AODbwcD+SS+0ZywdaYdDiGAAqG37vP5sigQJce2rTuyo1hKbIAdH/H+v fh4+vLPyuV3DEdXhOgP+LPoIKOqfXNBL X-Received: by 10.129.118.9 with SMTP id r9mr18961767ywc.287.1496233946241; Wed, 31 May 2017 05:32:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.125.196 with HTTP; Wed, 31 May 2017 05:32:25 -0700 (PDT) In-Reply-To: References: From: Sandeep Sandy Date: Wed, 31 May 2017 18:02:25 +0530 Message-ID: To: dts@dpdk.org Content-Type: multipart/alternative; boundary="f403045ee9c4de38bb0550d11c6d" Subject: Re: [dts] dts Digest, Vol 116, Issue 1 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, 31 May 2017 12:32:27 -0000 --f403045ee9c4de38bb0550d11c6d Content-Type: text/plain; charset="UTF-8" Hi All, The issue disappeared when I used the following command to execute. . */dts --config-file executions/execution.cfg* The default value of command line argument obtains non existing blank file, which led me to the above error. diff --git a/framework/main.py b/framework/main.py index a018af0..5ced34e 100755 --- a/framework/main.py +++ b/framework/main.py @@ -73,9 +73,9 @@ def git_build_package(gitLabel, pkgName, depot="dep"): parser = argparse.ArgumentParser(description='DPDK test framework.') parser.add_argument('--config-file', - default='execution.cfg', - help='configuration file that describes the test ' + - 'cases, DUTs and targets') + default='execution.cfg', + help='configuration file that describes the test ' + + 'cases, DUTs and targets') [root@hobbes dts]# ./dts --config-file executions/execution.cfg duts ['10.193.186.216'] INFO: DUT 10.193.186.216 INFO: ssh root@10.193.184.86 INFO: ssh root@10.193.184.86 INFO: ssh root@10.193.186.216 INFO: ssh root@10.193.186.216 Do I need trigger the suit on tester machine?, please point me to the elaborated explanation of configuring: 1) ports.cfg 2) execution.cfg 3) crbs.cfg. On Wed, May 31, 2017 at 3:30 PM, wrote: > Send dts mailing list submissions to > dts@dpdk.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://dpdk.org/ml/listinfo/dts > or, via email, send a message with subject or body 'help' to > dts-request@dpdk.org > > You can reach the person managing the list at > dts-owner@dpdk.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of dts digest..." > > > Today's Topics: > > 1. Failing to parse configuration file (Sandeep Sandy) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 31 May 2017 11:21:01 +0530 > From: Sandeep Sandy > To: dts@dpdk.org > Subject: [dts] Failing to parse configuration file > Message-ID: > gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi All, > > I am a naive user, The* following error is encountered* on triggering the > test suite. > kindly help me, am i missing something ? > > -------------------------------------------------- > Traceback (most recent call last): > File "./main.py", line 159, in > args.debug, args.debugcase, args.commands) > File "/root/sandeep/DPDK/dts/framework/dts.py", line 481, in run_all > raise ConfigParseException(config_file) > exception.ConfigParseException: Faile to parse config file [execution.cfg] > ------------------------------------------------------ > > *snap of execution.cfg file:* > ----------------------------------------------------- > [root@hobbes dts]# cat executions/execution.cfg > [Execution1] > crbs=10.193.186.216 > drivername=igb_uio > test_suites=cmdline,hello_world,multiprocess,timer > targets=x86_64-native-linuxapp-gcc > parameters=nic_type=cfg:func=true > > [Execution2] > crbs=10.193.186.214 > drivername=igb_uio > test_suites=l2fwd,l3fwd,pmd > targets=x86_64-native-linuxapp-gcc > parameters=nic_type=niantic:perf=true > ------------------------------------------------------------- > > > *change set:*------------------------------------------ > commit 924c30b603b61aa99f9a452a3220b41a87c2b4d7 > Author: xu,huilong > Date: Tue May 23 14:31:03 2017 +0800 > > Thanks > Sandeep > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: 25eaefaa/attachment-0001.html> > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > dts mailing list > dts@dpdk.org > http://dpdk.org/ml/listinfo/dts > > ------------------------------ > > End of dts Digest, Vol 116, Issue 1 > *********************************** > --f403045ee9c4de38bb0550d11c6d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi All,

The issue disappeared = when I used the following command to execute.
=C2=A0=C2=A0=C2=A0 .= /dts --config-file executions/execution.cfg

The default= value of command line argument obtains non existing blank file, which led = me to the above error.

diff --git a/framework/main.py b/framework/ma= in.py
index a018af0..5ced34e 100755
--- a/framework/main.py
+++ b/= framework/main.py
@@ -73,9 +73,9 @@ def git_build_package(gitLabel, pkgN= ame, depot=3D"dep"):
=C2=A0parser =3D argparse.ArgumentParser(= description=3D'DPDK test framework.')
=C2=A0
=C2=A0parser.add= _argument('--config-file',
-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 default=3D'execution.cfg',
-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 help=3D'configuration file that describes the test ' +-=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 'cases, DUTs and targets'= ;)
+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 default=3D'execution.c= fg',
+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 help=3D'configur= ation file that describes the test ' +
+=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 'cases, DUTs and targets')

=

[root@hobbes dts]# ./dts --config-file executions/execution.c= fg
duts ['10.193.186.216']
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 INFO:
DUT 10.= 193.186.216
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 INFO: ssh root@10.193.184.86
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 INFO: ssh root@10.193.184.86
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 INFO: ssh root@10.193.186.216
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 INFO: ssh root@10.193.186.216


On Wed, May 31, 2017 at 3:30 PM, <= span dir=3D"ltr"><dts-request@dpdk.org> wrote:
Send dts mailing list submissions to
=C2=A0 =C2=A0 =C2=A0 =C2=A0 dts@dpdk.org

To subscribe or unsubscribe via the World Wide Web, visit
=C2=A0 =C2=A0 =C2=A0 =C2=A0
http://dpdk.org/ml/listinfo/dts<= br> or, via email, send a message with subject or body 'help' to
=C2=A0 =C2=A0 =C2=A0 =C2=A0 dts-req= uest@dpdk.org

You can reach the person managing the list at
=C2=A0 =C2=A0 =C2=A0 =C2=A0 dts-owner= @dpdk.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dts digest..."


Today's Topics:

=C2=A0 =C2=A01. Failing to parse configuration file (Sandeep Sandy)


-----------------------------------------------------------------= -----

Message: 1
Date: Wed, 31 May 2017 11:21:01 +0530
From: Sandeep Sandy <sandy3589@gm= ail.com>
To: dts@dpdk.org
Subject: [dts] Failing to parse configuration file
Message-ID:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <CAFMhpyDO7tgOUQ32PDRd66hc_=3D8v8pdjoZa5o+ZV8otixYdjy= A@mail.gmail.com>
Content-Type: text/plain; charset=3D"utf-8"

Hi All,

I am a naive user, The* following error is encountered* on triggering the test suite.
kindly help me, am i missing something ?

--------------------------------------------------
Traceback (most recent call last):
=C2=A0 File "./main.py", line 159, in <module>
=C2=A0 =C2=A0 args.debug, args.debugcase, args.commands)
=C2=A0 File "/root/sandeep/DPDK/dts/framework/dts.py", line = 481, in run_all
=C2=A0 =C2=A0 raise ConfigParseException(config_file)
exception.ConfigParseException: Faile to parse config file [execution.= cfg]
------------------------------------------------------

*snap of execution.cfg file:*
-----------------------------------------------------
[root@hobbes dts]# cat executions/execution.cfg
[Execution1]
crbs=3D10.193.186.216
drivername=3Digb_uio
test_suites=3Dcmdline,hello_world,multiprocess,timer
targets=3Dx86_64-native-linuxapp-gcc
parameters=3Dnic_type=3Dcfg:func=3Dtrue

[Execution2]
crbs=3D10.193.186.214
drivername=3Digb_uio
test_suites=3Dl2fwd,l3fwd,pmd
targets=3Dx86_64-native-linuxapp-gcc
parameters=3Dnic_type=3Dniantic:perf=3Dtrue
-------------------------------------------------------------


*change set:*------------------------------------------
commit 924c30b603b61aa99f9a452a3220b41a87c2b4d7
Author: xu,huilong <huilongx.xu= @intel.com>
Date:=C2=A0 =C2=A0Tue May 23 14:31:03 2017 +0800

Thanks
Sandeep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dp= dk.org/ml/archives/dts/attachments/20170531/25eaefaa/attachment-0= 001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
dts mailing list
dts@dpdk.org
http://dpdk.org/ml/listinfo/dts

------------------------------

End of dts Digest, Vol 116, Issue 1
***********************************

--f403045ee9c4de38bb0550d11c6d--