test suite reviews and discussions
 help / color / mirror / Atom feed
From: Sandeep Sandy <sandy3589@gmail.com>
To: dts@dpdk.org
Subject: Re: [dts] dts Digest, Vol 116, Issue 1
Date: Wed, 31 May 2017 18:02:25 +0530	[thread overview]
Message-ID: <CAFMhpyDNmuAZt_fD86-p7ezAkujitivSmx5p+FWycz9DyNEGjg@mail.gmail.com> (raw)
In-Reply-To: <mailman.5.1496224802.20731.dts@dpdk.org>

[-- Attachment #1: Type: text/plain, Size: 4192 bytes --]

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, <dts-request@dpdk.org> 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 <sandy3589@gmail.com>
> To: dts@dpdk.org
> Subject: [dts] Failing to parse configuration file
> Message-ID:
>         <CAFMhpyDO7tgOUQ32PDRd66hc_=8v8pdjoZa5o+ZV8otixYdjyA@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>
> 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>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> dts mailing list
> dts@dpdk.org
> http://dpdk.org/ml/listinfo/dts
>
> ------------------------------
>
> End of dts Digest, Vol 116, Issue 1
> ***********************************
>

[-- Attachment #2: Type: text/html, Size: 6328 bytes --]

       reply	other threads:[~2017-05-31 12:32 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 [this message]
2017-06-01  8:56   ` Liu, Yong

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=CAFMhpyDNmuAZt_fD86-p7ezAkujitivSmx5p+FWycz9DyNEGjg@mail.gmail.com \
    --to=sandy3589@gmail.com \
    --cc=dts@dpdk.org \
    /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).