test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] project_dpdk: Increase timeout for single thread build
@ 2019-08-21 12:59 pvukkisala
  2019-09-04  3:25 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: pvukkisala @ 2019-08-21 12:59 UTC (permalink / raw)
  To: dts; +Cc: avijay, fmasood, Phanendra Vukkisala

From: Phanendra Vukkisala <pvukkisala@marvell.com>

Single thread build take more time than multi thread, so increasing timeout

Signed-off-by: Phanendra Vukkisala <pvukkisala@marvell.com>
---
 framework/project_dpdk.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py
index a88f5dc..f75a4b9 100644
--- a/framework/project_dpdk.py
+++ b/framework/project_dpdk.py
@@ -229,7 +229,7 @@ class DPDKdut(Dut):
         if("Error" in out or "No rule to make" in out):
             self.logger.error("ERROR - try without '-j'")
             # if Error try to execute make without -j option
-            out = self.send_expect("make install T=%s %s" % (target, extra_options), "# ", 120)
+            out = self.send_expect("make install T=%s %s" % (target, extra_options), "# ", build_time*4)
 
         assert ("Error" not in out), "Compilation error..."
         assert ("No rule to make" not in out), "No rule to make error..."
-- 
1.7.9.5


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

* Re: [dts] [PATCH] project_dpdk: Increase timeout for single thread build
  2019-08-21 12:59 [dts] [PATCH] project_dpdk: Increase timeout for single thread build pvukkisala
@ 2019-09-04  3:25 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-09-04  3:25 UTC (permalink / raw)
  To: pvukkisala, dts; +Cc: avijay, fmasood

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of
> pvukkisala@marvell.com
> Sent: Wednesday, August 21, 2019 9:00 PM
> To: dts@dpdk.org
> Cc: avijay@marvell.com; fmasood@marvell.com; Phanendra Vukkisala
> <pvukkisala@marvell.com>
> Subject: [dts] [PATCH] project_dpdk: Increase timeout for single thread build
> 
> From: Phanendra Vukkisala <pvukkisala@marvell.com>
> 
> Single thread build take more time than multi thread, so increasing timeout
> 
> Signed-off-by: Phanendra Vukkisala <pvukkisala@marvell.com>
> ---
>  framework/project_dpdk.py |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py index
> a88f5dc..f75a4b9 100644
> --- a/framework/project_dpdk.py
> +++ b/framework/project_dpdk.py
> @@ -229,7 +229,7 @@ class DPDKdut(Dut):
>          if("Error" in out or "No rule to make" in out):
>              self.logger.error("ERROR - try without '-j'")
>              # if Error try to execute make without -j option
> -            out = self.send_expect("make install T=%s %s" % (target,
> extra_options), "# ", 120)
> +            out = self.send_expect("make install T=%s %s" % (target,
> + extra_options), "# ", build_time*4)
> 
>          assert ("Error" not in out), "Compilation error..."
>          assert ("No rule to make" not in out), "No rule to make error..."
> --
> 1.7.9.5


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

end of thread, other threads:[~2019-09-04  3:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-21 12:59 [dts] [PATCH] project_dpdk: Increase timeout for single thread build pvukkisala
2019-09-04  3:25 ` Tu, Lijuan

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