framework/project_dpdk: change timeout of extract dpdk package and build dpdk

Message ID 20220308092339.191735-1-chenyux.huang@intel.com (mailing list archive)
State Superseded
Headers
Series framework/project_dpdk: change timeout of extract dpdk package and build dpdk |

Commit Message

Huang, ChenyuX March 8, 2022, 9:23 a.m. UTC
  Signed-off-by: ChenYu Huang <chenyux.huang@intel.com>
---
 framework/project_dpdk.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Tu, Lijuan March 8, 2022, 2:56 p.m. UTC | #1
> -----Original Message-----
> From: Huang, ChenyuX <chenyux.huang@intel.com>
> Sent: 2022年3月8日 17:24
> To: dts@dpdk.org
> Cc: Tu, Lijuan <lijuan.tu@intel.com>; Sun, QingX <qingx.sun@intel.com>; Huang,
> ChenyuX <chenyux.huang@intel.com>
> Subject: [PATCH] framework/project_dpdk: change timeout of extract dpdk
> package and build dpdk
> 
> Signed-off-by: ChenYu Huang <chenyux.huang@intel.com>

Applied, thanks
  

Patch

diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py
index f6cf6aa6..5be27402 100644
--- a/framework/project_dpdk.py
+++ b/framework/project_dpdk.py
@@ -253,7 +253,7 @@  class DPDKdut(Dut):
         """
         Build DPDK source code on linux use meson
         """
-        build_time = 1200
+        build_time = 1800
         target_info = target.split('-')
         arch = target_info[0]
         machine = target_info[1]
@@ -365,7 +365,7 @@  class DPDKdut(Dut):
             # unpack dpdk
             out = self.send_expect("tar zxfm %s%s -C %s" %
                                    (dst_dir, self.package.split('/')[-1], p_dir),
-                                   "# ", 30, verify=True)
+                                   "# ", 60, verify=True)
             if out == -1:
                 raise ValueError("Extract dpdk package to %s failure,"
                                  "please check params -d"