diff options
author | Vratko Polak <vrpolak@cisco.com> | 2024-12-12 15:21:25 +0100 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2024-12-12 15:21:25 +0100 |
commit | ad305f0a85d9867e14487bc194f45b5cb34b1bbf (patch) | |
tree | 75bb6afae4926d0be0f4770303ee112d96cca399 /resources | |
parent | bb02684ea2f6238122324be081f0f5b124522ffd (diff) |
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>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/libraries/python/DPDK/DPDKTools.py | 8 |
1 files changed, 4 insertions, 4 deletions
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 |