test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V2 2/5] fix TestSuite unit_tests_mbuf
@ 2016-09-22  2:45 xu,gang
  2016-09-22  2:45 ` [dts] [PATCH V2 3/5] fix TestSuite unit_tests_ringpmd xu,gang
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: xu,gang @ 2016-09-22  2:45 UTC (permalink / raw)
  To: dts; +Cc: xu,gang

it have use more time for run on FreeBSD

Signed-off-by: xu,gang <gangx.xu@intel.com>
---
 tests/TestSuite_unit_tests_mbuf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_unit_tests_mbuf.py b/tests/TestSuite_unit_tests_mbuf.py
index c4dfaab..9493139 100644
--- a/tests/TestSuite_unit_tests_mbuf.py
+++ b/tests/TestSuite_unit_tests_mbuf.py
@@ -71,7 +71,7 @@ class TestUnitTestsMbuf(TestCase):
         """
 
         self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>.*>", 60)
-        out = self.dut.send_expect("mbuf_autotest", "RTE>>", 60)
+        out = self.dut.send_expect("mbuf_autotest", "RTE>>", 180)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
 
-- 
1.9.3

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

* [dts] [PATCH V2 3/5] fix TestSuite unit_tests_ringpmd
  2016-09-22  2:45 [dts] [PATCH V2 2/5] fix TestSuite unit_tests_mbuf xu,gang
@ 2016-09-22  2:45 ` xu,gang
  2016-09-22  8:13   ` Liu, Yong
  2016-09-22  2:45 ` [dts] [PATCH V2 4/5] fix TestSuite coremask xu,gang
  2016-09-22  8:16 ` [dts] [PATCH V2 2/5] fix TestSuite unit_tests_mbuf Liu, Yong
  2 siblings, 1 reply; 8+ messages in thread
From: xu,gang @ 2016-09-22  2:45 UTC (permalink / raw)
  To: dts; +Cc: xu,gang

it have use more time for run on FreeBSD

Signed-off-by: xu,gang <gangx.xu@intel.com>
---
 tests/TestSuite_unit_tests_ringpmd.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_unit_tests_ringpmd.py b/tests/TestSuite_unit_tests_ringpmd.py
index 2c83bcd..05305ff 100644
--- a/tests/TestSuite_unit_tests_ringpmd.py
+++ b/tests/TestSuite_unit_tests_ringpmd.py
@@ -71,12 +71,12 @@ class TestUnitTestsRingPmd(TestCase):
         """
         dev_str = "--vdev=eth_ring0 --vdev=eth_ring1"
 
-        self.dut.send_expect("./%s/app/test -n 1 -c ffff" % self.target, "R.*T.*E.*>.*>", 10)
+        self.dut.send_expect("./%s/app/test -n 1 -c ffff" % self.target, "R.*T.*E.*>.*>", 60)
         out = self.dut.send_expect("ring_pmd_autotest", "RTE>>", 120)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Default no eth_ring devices Test failed")
 
-        self.dut.send_expect("./%s/app/test -n 1 -c ffff %s" % (self.target, dev_str), "R.*T.*E.*>.*>", 10)
+        self.dut.send_expect("./%s/app/test -n 1 -c ffff %s" % (self.target, dev_str), "R.*T.*E.*>.*>", 60)
         out = self.dut.send_expect("ring_pmd_autotest", "RTE>>", 120)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Two eth_ring devices test failed")
-- 
1.9.3

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

* [dts] [PATCH V2 4/5] fix TestSuite coremask
  2016-09-22  2:45 [dts] [PATCH V2 2/5] fix TestSuite unit_tests_mbuf xu,gang
  2016-09-22  2:45 ` [dts] [PATCH V2 3/5] fix TestSuite unit_tests_ringpmd xu,gang
@ 2016-09-22  2:45 ` xu,gang
  2016-09-22  8:29   ` Liu, Yong
  2016-09-22  8:16 ` [dts] [PATCH V2 2/5] fix TestSuite unit_tests_mbuf Liu, Yong
  2 siblings, 1 reply; 8+ messages in thread
From: xu,gang @ 2016-09-22  2:45 UTC (permalink / raw)
  To: dts; +Cc: xu,gang

on FreeBSD this command output is divided into standard errors and the standard output
copy standard error to standard output import out file, check all them

Signed-off-by: xu,gang <gangx.xu@intel.com>
---
 tests/TestSuite_coremask.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_coremask.py b/tests/TestSuite_coremask.py
index 9fd039d..2458d8f 100644
--- a/tests/TestSuite_coremask.py
+++ b/tests/TestSuite_coremask.py
@@ -104,7 +104,7 @@ class TestCoremask(TestCase):
         Check coremask parsing for more cores than available.
         """
 
-        command_line = """./%s/app/test -c %s -n %d --log-level 8|tee out"""
+        command_line = """./%s/app/test -c %s -n %d --log-level 8 2 > &1 |tee out"""
 
         # Default big coremask value 128
         big_coremask_size = 128
-- 
1.9.3

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

* Re: [dts] [PATCH V2 3/5] fix TestSuite unit_tests_ringpmd
  2016-09-22  2:45 ` [dts] [PATCH V2 3/5] fix TestSuite unit_tests_ringpmd xu,gang
@ 2016-09-22  8:13   ` Liu, Yong
  0 siblings, 0 replies; 8+ messages in thread
From: Liu, Yong @ 2016-09-22  8:13 UTC (permalink / raw)
  To: Xu, GangX, dts; +Cc: Xu, GangX

Gang, please add some information like below. This will help us get to known that how much time for dpdk application startup on FreeBSD.

OS:  FreeBSD10.1
CPU: E5-2699 v3 @ 2.30GHz
NIC: 2 * XL710 10G
App test startup: XX seconds

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xu,gang
> Sent: Thursday, September 22, 2016 10:46 AM
> To: dts@dpdk.org
> Cc: Xu, GangX
> Subject: [dts] [PATCH V2 3/5] fix TestSuite unit_tests_ringpmd
> 
> it have use more time for run on FreeBSD
> 
> Signed-off-by: xu,gang <gangx.xu@intel.com>
> ---
>  tests/TestSuite_unit_tests_ringpmd.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_unit_tests_ringpmd.py
> b/tests/TestSuite_unit_tests_ringpmd.py
> index 2c83bcd..05305ff 100644
> --- a/tests/TestSuite_unit_tests_ringpmd.py
> +++ b/tests/TestSuite_unit_tests_ringpmd.py
> @@ -71,12 +71,12 @@ class TestUnitTestsRingPmd(TestCase):
>          """
>          dev_str = "--vdev=eth_ring0 --vdev=eth_ring1"
> 
> -        self.dut.send_expect("./%s/app/test -n 1 -c ffff" % self.target,
> "R.*T.*E.*>.*>", 10)
> +        self.dut.send_expect("./%s/app/test -n 1 -c ffff" % self.target,
> "R.*T.*E.*>.*>", 60)
>          out = self.dut.send_expect("ring_pmd_autotest", "RTE>>", 120)
>          self.dut.send_expect("quit", "# ")
>          self.verify("Test OK" in out, "Default no eth_ring devices Test
> failed")
> 
> -        self.dut.send_expect("./%s/app/test -n 1 -c ffff %s" %
> (self.target, dev_str), "R.*T.*E.*>.*>", 10)
> +        self.dut.send_expect("./%s/app/test -n 1 -c ffff %s" %
> (self.target, dev_str), "R.*T.*E.*>.*>", 60)
>          out = self.dut.send_expect("ring_pmd_autotest", "RTE>>", 120)
>          self.dut.send_expect("quit", "# ")
>          self.verify("Test OK" in out, "Two eth_ring devices test failed")
> --
> 1.9.3

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

* Re: [dts] [PATCH V2 2/5] fix TestSuite unit_tests_mbuf
  2016-09-22  2:45 [dts] [PATCH V2 2/5] fix TestSuite unit_tests_mbuf xu,gang
  2016-09-22  2:45 ` [dts] [PATCH V2 3/5] fix TestSuite unit_tests_ringpmd xu,gang
  2016-09-22  2:45 ` [dts] [PATCH V2 4/5] fix TestSuite coremask xu,gang
@ 2016-09-22  8:16 ` Liu, Yong
  2 siblings, 0 replies; 8+ messages in thread
From: Liu, Yong @ 2016-09-22  8:16 UTC (permalink / raw)
  To: Xu, GangX, dts; +Cc: Xu, GangX

Gang, do you known what exhausted much long time on FreeBSD. It only takes few seconds on my system and maybe one potential issue.

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xu,gang
> Sent: Thursday, September 22, 2016 10:46 AM
> To: dts@dpdk.org
> Cc: Xu, GangX
> Subject: [dts] [PATCH V2 2/5] fix TestSuite unit_tests_mbuf
> 
> it have use more time for run on FreeBSD
> 
> Signed-off-by: xu,gang <gangx.xu@intel.com>
> ---
>  tests/TestSuite_unit_tests_mbuf.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_unit_tests_mbuf.py
> b/tests/TestSuite_unit_tests_mbuf.py
> index c4dfaab..9493139 100644
> --- a/tests/TestSuite_unit_tests_mbuf.py
> +++ b/tests/TestSuite_unit_tests_mbuf.py
> @@ -71,7 +71,7 @@ class TestUnitTestsMbuf(TestCase):
>          """
> 
>          self.dut.send_expect("./app/test/test -n 1 -c ffff",
> "R.*T.*E.*>.*>", 60)
> -        out = self.dut.send_expect("mbuf_autotest", "RTE>>", 60)
> +        out = self.dut.send_expect("mbuf_autotest", "RTE>>", 180)
>          self.dut.send_expect("quit", "# ")
>          self.verify("Test OK" in out, "Test failed")
> 
> --
> 1.9.3

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

* Re: [dts] [PATCH V2 4/5] fix TestSuite coremask
  2016-09-22  2:45 ` [dts] [PATCH V2 4/5] fix TestSuite coremask xu,gang
@ 2016-09-22  8:29   ` Liu, Yong
  0 siblings, 0 replies; 8+ messages in thread
From: Liu, Yong @ 2016-09-22  8:29 UTC (permalink / raw)
  To: xu,gang, dts

Thanks applied.

On 09/22/2016 10:45 AM, xu,gang wrote:
> on FreeBSD this command output is divided into standard errors and the standard output
> copy standard error to standard output import out file, check all them
>
> Signed-off-by: xu,gang <gangx.xu@intel.com>
> ---
>   tests/TestSuite_coremask.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_coremask.py b/tests/TestSuite_coremask.py
> index 9fd039d..2458d8f 100644
> --- a/tests/TestSuite_coremask.py
> +++ b/tests/TestSuite_coremask.py
> @@ -104,7 +104,7 @@ class TestCoremask(TestCase):
>           Check coremask parsing for more cores than available.
>           """
>   
> -        command_line = """./%s/app/test -c %s -n %d --log-level 8|tee out"""
> +        command_line = """./%s/app/test -c %s -n %d --log-level 8 2 > &1 |tee out"""
>   
>           # Default big coremask value 128
>           big_coremask_size = 128

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

* Re: [dts] [PATCH V2 4/5] fix TestSuite coremask
  2016-09-21 10:18 ` [dts] [PATCH V2 4/5] fix TestSuite coremask xu,gang
@ 2016-09-22  1:04   ` Liu, Yong
  0 siblings, 0 replies; 8+ messages in thread
From: Liu, Yong @ 2016-09-22  1:04 UTC (permalink / raw)
  To: Xu, GangX, dts; +Cc: Xu, GangX

Hi gang, please add which kind of information moved to stderr in your comment.

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xu,gang
> Sent: Wednesday, September 21, 2016 6:19 PM
> To: dts@dpdk.org
> Cc: Xu, GangX
> Subject: [dts] [PATCH V2 4/5] fix TestSuite coremask
> 
> copy standard error to standard output,that wo can read in out file
> 
> Signed-off-by: xu,gang <gangx.xu@intel.com>
> ---
>  tests/TestSuite_coremask.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_coremask.py b/tests/TestSuite_coremask.py
> index 9fd039d..2458d8f 100644
> --- a/tests/TestSuite_coremask.py
> +++ b/tests/TestSuite_coremask.py
> @@ -104,7 +104,7 @@ class TestCoremask(TestCase):
>          Check coremask parsing for more cores than available.
>          """
> 
> -        command_line = """./%s/app/test -c %s -n %d --log-level 8|tee
> out"""
> +        command_line = """./%s/app/test -c %s -n %d --log-level 8 2 > &1
> |tee out"""
> 
>          # Default big coremask value 128
>          big_coremask_size = 128
> --
> 1.9.3

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

* [dts] [PATCH V2 4/5] fix TestSuite coremask
  2016-09-21 10:18 [dts] [PATCH V2 1/5] fix TestSuite ieee1588 xu,gang
@ 2016-09-21 10:18 ` xu,gang
  2016-09-22  1:04   ` Liu, Yong
  0 siblings, 1 reply; 8+ messages in thread
From: xu,gang @ 2016-09-21 10:18 UTC (permalink / raw)
  To: dts; +Cc: xu,gang

copy standard error to standard output,that wo can read in out file

Signed-off-by: xu,gang <gangx.xu@intel.com>
---
 tests/TestSuite_coremask.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_coremask.py b/tests/TestSuite_coremask.py
index 9fd039d..2458d8f 100644
--- a/tests/TestSuite_coremask.py
+++ b/tests/TestSuite_coremask.py
@@ -104,7 +104,7 @@ class TestCoremask(TestCase):
         Check coremask parsing for more cores than available.
         """
 
-        command_line = """./%s/app/test -c %s -n %d --log-level 8|tee out"""
+        command_line = """./%s/app/test -c %s -n %d --log-level 8 2 > &1 |tee out"""
 
         # Default big coremask value 128
         big_coremask_size = 128
-- 
1.9.3

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

end of thread, other threads:[~2016-09-22  8:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-22  2:45 [dts] [PATCH V2 2/5] fix TestSuite unit_tests_mbuf xu,gang
2016-09-22  2:45 ` [dts] [PATCH V2 3/5] fix TestSuite unit_tests_ringpmd xu,gang
2016-09-22  8:13   ` Liu, Yong
2016-09-22  2:45 ` [dts] [PATCH V2 4/5] fix TestSuite coremask xu,gang
2016-09-22  8:29   ` Liu, Yong
2016-09-22  8:16 ` [dts] [PATCH V2 2/5] fix TestSuite unit_tests_mbuf Liu, Yong
  -- strict thread matches above, loose matches on Subject: below --
2016-09-21 10:18 [dts] [PATCH V2 1/5] fix TestSuite ieee1588 xu,gang
2016-09-21 10:18 ` [dts] [PATCH V2 4/5] fix TestSuite coremask xu,gang
2016-09-22  1:04   ` Liu, Yong

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