From: "Liu, Yong" <yong.liu@intel.com>
To: Sandeep Sandy <sandy3589@gmail.com>, dts@dpdk.org
Subject: Re: [dts] dts Digest, Vol 116, Issue 1
Date: Thu, 01 Jun 2017 16:56:09 +0800 [thread overview]
Message-ID: <592FD6A9.7030105@intel.com> (raw)
In-Reply-To: <CAFMhpyDNmuAZt_fD86-p7ezAkujitivSmx5p+FWycz9DyNEGjg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 6122 bytes --]
Hi Sandeep,
The execution files under folder "executions" are just reference, so
what we need is that create your own execution file under dts folder.
You can find basic usage of DTS from *http://www.dpdk.org/doc/dts/gsg/. *
For configuration files, the usages of them are not included in getting
started guide. I can just give a basic introduction here.
1) ports.cfg
When port detection mode is "cfg" in execution.cfg, DTS will
generate network topo mapping table based on this configuration file.
This configuration file just describe the connections between
tester and DUT.
2) execution.cfg
Configuration file for suite executions, describe which suites
will be run on which host.
One thing need to take care is that value of "crbs" should
match section name in ports.cfg and crbs.cfg.
3) crbs.cfg
Configuration file for DUT and Tester, included of their ip
addresses and login user name and password.
Thanks,
Marvin
On 05/31/2017 08:32 PM, Sandeep Sandy wrote:
> 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 <mailto:root@10.193.184.86>
> INFO: ssh root@10.193.184.86 <mailto:root@10.193.184.86>
> INFO: ssh root@10.193.186.216 <mailto:root@10.193.186.216>
> INFO: ssh root@10.193.186.216 <mailto: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, <dts-request@dpdk.org
> <mailto:dts-request@dpdk.org>> wrote:
>
> Send dts mailing list submissions to
> dts@dpdk.org <mailto:dts@dpdk.org>
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://dpdk.org/ml/listinfo/dts <http://dpdk.org/ml/listinfo/dts>
> or, via email, send a message with subject or body 'help' to
> dts-request@dpdk.org <mailto:dts-request@dpdk.org>
>
> You can reach the person managing the list at
> dts-owner@dpdk.org <mailto: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 <sandy3589@gmail.com <mailto:sandy3589@gmail.com>>
> To: dts@dpdk.org <mailto:dts@dpdk.org>
> Subject: [dts] Failing to parse configuration file
> Message-ID:
>
> <CAFMhpyDO7tgOUQ32PDRd66hc_=8v8pdjoZa5o+ZV8otixYdjyA@mail.gmail.com <mailto:8v8pdjoZa5o%2BZV8otixYdjyA@mail.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 <module>
> 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 <huilongx.xu@intel.com
> <mailto:huilongx.xu@intel.com>>
> Date: Tue May 23 14:31:03 2017 +0800
>
> Thanks
> Sandeep
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://dpdk.org/ml/archives/dts/attachments/20170531/25eaefaa/attachment-0001.html
> <http://dpdk.org/ml/archives/dts/attachments/20170531/25eaefaa/attachment-0001.html>>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> dts mailing list
> dts@dpdk.org <mailto:dts@dpdk.org>
> http://dpdk.org/ml/listinfo/dts <http://dpdk.org/ml/listinfo/dts>
>
> ------------------------------
>
> End of dts Digest, Vol 116, Issue 1
> ***********************************
>
>
[-- Attachment #2: Type: text/html, Size: 10425 bytes --]
prev parent reply other threads:[~2017-06-01 0:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.5.1496224802.20731.dts@dpdk.org>
2017-05-31 12:32 ` Sandeep Sandy
2017-06-01 8:56 ` Liu, Yong [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=592FD6A9.7030105@intel.com \
--to=yong.liu@intel.com \
--cc=dts@dpdk.org \
--cc=sandy3589@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).