From ad305f0a85d9867e14487bc194f45b5cb34b1bbf Mon Sep 17 00:00:00 2001
From: Vratko Polak <vrpolak@cisco.com>
Date: Thu, 12 Dec 2024 15:21:25 +0100
Subject: fix(dpdk): Increase build timeout

DPDK 24.07 takes almost 50 minutes to build on 3n-snr,
DPDK 24.11 takes around 65 minutes,
so this increases the timeout to 90 minutes.

Change-Id: I90477d85bcc65410cce30d0862444924e65e0804
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
---
 resources/libraries/python/DPDK/DPDKTools.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'resources/libraries/python')

diff --git a/resources/libraries/python/DPDK/DPDKTools.py b/resources/libraries/python/DPDK/DPDKTools.py
index 83ddae8b4a..cf5f6fc79e 100644
--- a/resources/libraries/python/DPDK/DPDKTools.py
+++ b/resources/libraries/python/DPDK/DPDKTools.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Cisco and/or its affiliates.
+# Copyright (c) 2024 Cisco and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
@@ -100,8 +100,7 @@ class DPDKTools:
 
     @staticmethod
     def install_dpdk_framework(node):
-        """
-        Prepare the DPDK framework on the DUT node.
+        """Prepare the DPDK framework on the DUT node.
 
         :param node: Node from topology file.
         :type node: dict
@@ -110,7 +109,8 @@ class DPDKTools:
         command = f"{Constants.REMOTE_FW_DIR}/{Constants.RESOURCES_LIB_SH}" \
             f"/entry/install_dpdk.sh"
         message = u"Install the DPDK failed!"
-        exec_cmd_no_error(node, command, timeout=3600, message=message)
+        # One hour is not enough to build DPDK 24.11 on 3n-snr.
+        exec_cmd_no_error(node, command, timeout=5400, message=message)
         DPDKTools.get_dpdk_version(node)
 
     @staticmethod
-- 
cgit