From 29c4f405985893e7b3ec69823f853a28d7a73baf Mon Sep 17 00:00:00 2001 From: pmikus Date: Mon, 7 Aug 2023 08:10:54 +0000 Subject: fix(core): Disable core dbg analysis Signed-off-by: pmikus Change-Id: Ia85c4a48155c1e760120a61b39bacbb9de1ab673 (cherry picked from commit ffca8b8655c772fc6273702cae2151e7ac7a846d) --- resources/libraries/python/CoreDumpUtil.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/libraries/python/CoreDumpUtil.py b/resources/libraries/python/CoreDumpUtil.py index 97948ad28a..09a5e35254 100644 --- a/resources/libraries/python/CoreDumpUtil.py +++ b/resources/libraries/python/CoreDumpUtil.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2023 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: @@ -140,9 +140,10 @@ class CoreDumpUtil: if node[u"type"] == NodeType.DUT: command = ( f"for f in {Constants.CORE_DUMP_DIR}/*.core; do " - f"sudo gdb /usr/bin/vpp ${{f}} " - f"-ex 'source -v {Constants.REMOTE_FW_DIR}" - f"/resources/tools/scripts/gdb-commands' -ex quit; " + # Causing issues + #f"sudo gdb /usr/bin/vpp ${{f}} " + #f"-ex 'source -v {Constants.REMOTE_FW_DIR}" + #f"/resources/tools/scripts/gdb-commands' -ex quit; " f"sudo rm -f ${{f}}; done" ) try: -- cgit 1.2.3-korg