DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] test: fix broken "make test"
@ 2019-02-11 18:38 Rami Rosen
  2019-02-12  9:36 ` Ferruh Yigit
  0 siblings, 1 reply; 5+ messages in thread
From: Rami Rosen @ 2019-02-11 18:38 UTC (permalink / raw)
  To: dev; +Cc: naga.sureshx.somarowthu, reshma.pattan, Rami Rosen

This patch fixes a broken build; when running
make test
we get the following error:
...
Traceback (most recent call last):
  File "/work/src/dpdk-19.02/test/test/autotest.py", line 49, in <module>
    num_fails = runner.run_all_tests()
  File "/work/src/dpdk-19.02/test/test/autotest_runner.py", line 345, in
run_all_tests
    self.parallel_tests)
  File "/work/src/dpdk-19.02/test/test/autotest_runner.py", line 264, in
__filter_test
    test_cmd = test["Command"]
KeyError: 'Command'
...
The reason is that the pdump autotest entry uses "Comamnd"
instead of "Command"; this patch fixes it.

Bugzilla ID: 205
Fixes: 086eb64db39e ("test/pdump: add unit test for pdump library")
Signed-off-by: Rami Rosen <ramirose@gmail.com>
---
 test/test/autotest_data.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test/autotest_data.py b/test/test/autotest_data.py
index 948a625b5..5f87bb94d 100644
--- a/test/test/autotest_data.py
+++ b/test/test/autotest_data.py
@@ -508,7 +508,7 @@
     },
     {
         "Name":    "Pdump autotest",
-        "Comamnd": "pdump_autotest",
+        "Command": "pdump_autotest",
         "Func":    default_autotest,
         "Report":  None,
     },
-- 
2.19.2

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] test: fix broken "make test"
  2019-02-11 18:38 [dpdk-dev] [PATCH] test: fix broken "make test" Rami Rosen
@ 2019-02-12  9:36 ` Ferruh Yigit
  2019-02-12  9:59   ` David Marchand
  2019-02-12 11:24   ` Thomas Monjalon
  0 siblings, 2 replies; 5+ messages in thread
From: Ferruh Yigit @ 2019-02-12  9:36 UTC (permalink / raw)
  To: Rami Rosen, dev; +Cc: naga.sureshx.somarowthu, reshma.pattan, dpdk-stable

On 2/11/2019 6:38 PM, Rami Rosen wrote:
> This patch fixes a broken build; when running
> make test
> we get the following error:
> ...
> Traceback (most recent call last):
>   File "/work/src/dpdk-19.02/test/test/autotest.py", line 49, in <module>
>     num_fails = runner.run_all_tests()
>   File "/work/src/dpdk-19.02/test/test/autotest_runner.py", line 345, in
> run_all_tests
>     self.parallel_tests)
>   File "/work/src/dpdk-19.02/test/test/autotest_runner.py", line 264, in
> __filter_test
>     test_cmd = test["Command"]
> KeyError: 'Command'
> ...
> The reason is that the pdump autotest entry uses "Comamnd"
> instead of "Command"; this patch fixes it.
> 
> Bugzilla ID: 205
> Fixes: 086eb64db39e ("test/pdump: add unit test for pdump library")
> Signed-off-by: Rami Rosen <ramirose@gmail.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>

Good catch! But it seems 19.02 released autotest broken, so this needs to be
backported to 19.02:

Cc: stable@dpdk.org


Thomas,
What do you think adding autotest into DPDK community lab testing? I will bring
the the suggestion in next meeting.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] test: fix broken "make test"
  2019-02-12  9:36 ` Ferruh Yigit
@ 2019-02-12  9:59   ` David Marchand
  2019-02-12 11:24   ` Thomas Monjalon
  1 sibling, 0 replies; 5+ messages in thread
From: David Marchand @ 2019-02-12  9:59 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: Rami Rosen, dev, naga.sureshx.somarowthu, reshma.pattan

On Tue, Feb 12, 2019 at 10:36 AM Ferruh Yigit <ferruh.yigit@intel.com>
wrote:

> Good catch! But it seems 19.02 released autotest broken, so this needs to
> be
> backported to 19.02:
>
> Cc: stable@dpdk.org
>
>
> Thomas,
> What do you think adding autotest into DPDK community lab testing? I will
> bring
> the the suggestion in next meeting.
>

+1.

-- 
David Marchand

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] test: fix broken "make test"
  2019-02-12  9:36 ` Ferruh Yigit
  2019-02-12  9:59   ` David Marchand
@ 2019-02-12 11:24   ` Thomas Monjalon
  2019-02-12 17:52     ` Ferruh Yigit
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas Monjalon @ 2019-02-12 11:24 UTC (permalink / raw)
  To: Ferruh Yigit, Rami Rosen
  Cc: dev, naga.sureshx.somarowthu, reshma.pattan, dpdk-stable

12/02/2019 10:36, Ferruh Yigit:
> On 2/11/2019 6:38 PM, Rami Rosen wrote:
> > This patch fixes a broken build; when running
> > make test
> > we get the following error:
> > ...
> > Traceback (most recent call last):
> >   File "/work/src/dpdk-19.02/test/test/autotest.py", line 49, in <module>
> >     num_fails = runner.run_all_tests()
> >   File "/work/src/dpdk-19.02/test/test/autotest_runner.py", line 345, in
> > run_all_tests
> >     self.parallel_tests)
> >   File "/work/src/dpdk-19.02/test/test/autotest_runner.py", line 264, in
> > __filter_test
> >     test_cmd = test["Command"]
> > KeyError: 'Command'
> > ...
> > The reason is that the pdump autotest entry uses "Comamnd"
> > instead of "Command"; this patch fixes it.
> > 
> > Bugzilla ID: 205
> > Fixes: 086eb64db39e ("test/pdump: add unit test for pdump library")
> > Signed-off-by: Rami Rosen <ramirose@gmail.com>
> 
> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
> 
> Good catch! But it seems 19.02 released autotest broken, so this needs to be
> backported to 19.02:
> 
> Cc: stable@dpdk.org

Applied, thanks


> Thomas,
> What do you think adding autotest into DPDK community lab testing? I will bring
> the the suggestion in next meeting.

Yes, sure.
It has already been discussed but no task was created:
	https://bugs.dpdk.org/buglist.cgi?product=lab
Let's follow-up in next meeting.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [dpdk-dev] [PATCH] test: fix broken "make test"
  2019-02-12 11:24   ` Thomas Monjalon
@ 2019-02-12 17:52     ` Ferruh Yigit
  0 siblings, 0 replies; 5+ messages in thread
From: Ferruh Yigit @ 2019-02-12 17:52 UTC (permalink / raw)
  To: Thomas Monjalon, Rami Rosen
  Cc: dev, naga.sureshx.somarowthu, reshma.pattan, dpdk-stable

On 2/12/2019 11:24 AM, Thomas Monjalon wrote:
> 12/02/2019 10:36, Ferruh Yigit:
>> On 2/11/2019 6:38 PM, Rami Rosen wrote:
>>> This patch fixes a broken build; when running
>>> make test
>>> we get the following error:
>>> ...
>>> Traceback (most recent call last):
>>>   File "/work/src/dpdk-19.02/test/test/autotest.py", line 49, in <module>
>>>     num_fails = runner.run_all_tests()
>>>   File "/work/src/dpdk-19.02/test/test/autotest_runner.py", line 345, in
>>> run_all_tests
>>>     self.parallel_tests)
>>>   File "/work/src/dpdk-19.02/test/test/autotest_runner.py", line 264, in
>>> __filter_test
>>>     test_cmd = test["Command"]
>>> KeyError: 'Command'
>>> ...
>>> The reason is that the pdump autotest entry uses "Comamnd"
>>> instead of "Command"; this patch fixes it.
>>>
>>> Bugzilla ID: 205
>>> Fixes: 086eb64db39e ("test/pdump: add unit test for pdump library")
>>> Signed-off-by: Rami Rosen <ramirose@gmail.com>
>>
>> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
>>
>> Good catch! But it seems 19.02 released autotest broken, so this needs to be
>> backported to 19.02:
>>
>> Cc: stable@dpdk.org
> 
> Applied, thanks
> 
> 
>> Thomas,
>> What do you think adding autotest into DPDK community lab testing? I will bring
>> the the suggestion in next meeting.
> 
> Yes, sure.
> It has already been discussed but no task was created:
> 	https://bugs.dpdk.org/buglist.cgi?product=lab
> Let's follow-up in next meeting.

It has been discussed again, and following task created for lab:
https://bugs.dpdk.org/show_bug.cgi?id=212

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-02-12 17:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-11 18:38 [dpdk-dev] [PATCH] test: fix broken "make test" Rami Rosen
2019-02-12  9:36 ` Ferruh Yigit
2019-02-12  9:59   ` David Marchand
2019-02-12 11:24   ` Thomas Monjalon
2019-02-12 17:52     ` Ferruh Yigit

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).