Revert "SQUAD : Adding a memory footprint gathering script launched from ci"
This reverts commit b605c6ce6e5e150e8f0eb7a22286381863955a47.
Reason for revert:
python3 tf-m-ci-scripts/memory_footprint.py /home/buildslave/workspace/tf-m-build-config/trusted-firmware-m/ AN521_GNUARM_PSA_2_Debug_BL2_NS_MEDIUM Default,CoreIPC,CoreIPCTfmLevel2 ****
Traceback (most recent call last):
File "tf-m-ci-scripts/memory_footprint.py", line 207, in <module>
config = identify_config(CI_CONFIG)
File "tf-m-ci-scripts/memory_footprint.py", line 138, in identify_config
arguments = get_config(CI_CONFIG)
File "tf-m-ci-scripts/memory_footprint.py", line 115, in get_config
match_dict = m.groupdict()
AttributeError: 'NoneType' object has no attribute 'groupdict'
Change-Id: I6ad9ae8dc30298ee9622c4438a2a8f84bcf0ce0e
diff --git a/jenkins/build-config.jpl b/jenkins/build-config.jpl
index 665f939..21e7ea0 100644
--- a/jenkins/build-config.jpl
+++ b/jenkins/build-config.jpl
@@ -1,6 +1,6 @@
#!/usr/bin/env groovy
//-------------------------------------------------------------------------------
-// Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
+// Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
//
// SPDX-License-Identifier: BSD-3-Clause
//
@@ -100,16 +100,6 @@
stage("Post") {
archiveArtifacts 'trusted-firmware-m/build/bin/**'
archiveArtifacts 'trusted-firmware-m/build/install/interface/**'
- if (env.SQUAD_CONFIGURATIONS != ""){
- //Creating a folder to store memory footprint artifacts and launching the memory footprint script.
- sh "mkdir tf-m-ci-scripts/Memory_footprint/"
- withCredentials([string(credentialsId: 'QA_REPORTS_TOKEN', variable: 'TOKEN')]) {
- sh(script: "python3 tf-m-ci-scripts/memory_footprint.py ${env.WORKSPACE}/trusted-firmware-m/ ${env.CONFIG_NAME} \'${env.SQUAD_CONFIGURATIONS}\' ${TOKEN}", returnStdout: true)
- }
- if (fileExists('tf-m-ci-scripts/Memory_footprint/filesize.json')) {
- archiveArtifacts 'tf-m-ci-scripts/Memory_footprint/filesize.json'
- }
- }
}
} catch (Exception e) {
manager.buildFailure()