When building with this host(Default Agent), the build takes a long time, almost 50 minutes, and the other way around, building with lb-prod-hk-bamboo-agent-01 or lb-prod-hk-bamboo-agent-02 , about 10 minutes。
I suspect that there may be a problem with the environment configuration of this host (Default Agent), how do I troubleshoot this problem?
simple 19-Jun-2023 14:07:45 Build TMGM CRM - Member Portal New - epic-CRMCN-1 - Build docker #89 (TC-MPN206-BDLP-89) started building on agent Default Agent, bamboo version: 8.2.2simple 19-Jun-2023 14:07:45simple 19-Jun-2023 14:07:45 Build working directory is /var/bamboo/bamboo-home/local-working-dir/TC-MPN206-BDLPsimple 19-Jun-2023 14:07:45 Executing build TMGM CRM - Member Portal New - epic-CRMCN-1 - Build docker #89 (TC-MPN206-BDLP-89)simple 19-Jun-2023 14:07:45 Starting task 'Checkout Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'simple 19-Jun-2023 14:07:45 Build always requires a clean checkoutsimple 19-Jun-2023 14:07:45 Cleaning build directory '/var/bamboo/bamboo-home/local-working-dir/TC-MPN206-BDLP'simple 19-Jun-2023 14:07:47 Checking out into /var/bamboo/bamboo-home/local-working-dir/TC-MPN206-BDLPsimple 19-Jun-2023 14:07:47 Updating source code to revision: 60dc36f08709c878d6ca5ee3e8892b0af1e0df75simple 19-Jun-2023 14:07:47 Fetching 'refs/heads/epic/CRMCN-1' from 'https://github.com/lifebyte-systems/TMGM-CRM-Member-Frontend.git'.simple 19-Jun-2023 14:07:48 Checking out revision 60dc36f08709c878d6ca5ee3e8892b0af1e0df75.simple 19-Jun-2023 14:07:48 Creating local git repository in '/var/bamboo/bamboo-home/local-working-dir/TC-MPN206-BDLP/.git'.simple 19-Jun-2023 14:07:48 Cloning into '/var/bamboo/bamboo-home/local-working-dir/TC-MPN206-BDLP'...simple 19-Jun-2023 14:07:48 done.simple 19-Jun-2023 14:07:49 Branch 'epic/CRMCN-1' set up to track remote branch 'epic/CRMCN-1' from 'origin'.simple 19-Jun-2023 14:07:49 Switched to a new branch 'epic/CRMCN-1'simple 19-Jun-2023 14:07:49 Updated source code to revision: 60dc36f08709c878d6ca5ee3e8892b0af1e0df75simple 19-Jun-2023 14:07:49 Finished task 'Checkout Repository' with result: Successsimple 19-Jun-2023 14:07:49 Running pre-build action: VCS Version Collectorsimple 19-Jun-2023 14:07:49 Running pre-build action: Artifactory Release Stagingsimple 19-Jun-2023 14:07:49 Running pre-build action: Build Log Labeller Pre Build Actionsimple 19-Jun-2023 14:07:49 Starting task 'Create Var File' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'command 19-Jun-2023 14:07:49 Beginning to execute external process for build 'TMGM CRM - Member Portal New - epic-CRMCN-1 - Build docker #89 (TC-MPN206-BDLP-89)'\n ... running command line: \n/var/bamboo/bamboo-home/temp/TC-MPN206-BDLP-89-ScriptBuildTask-1450479058602925586.sh\n ... in: /var/bamboo/bamboo-home/local-working-dir/TC-MPN206-BDLP\nbuild 19-Jun-2023 14:07:49 tag and app_ver is zero, using ver.txtsimple 19-Jun-2023 14:07:49 Finished task 'Create Var File' with result: Successsimple 19-Jun-2023 14:07:49 Starting task 'Create Bamboo Vars from Var File' of type 'com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin:inject'simple 19-Jun-2023 14:07:49 Injected variable bamboo.inject.release=TMGM CRM Dev Channel in LOCAL scopesimple 19-Jun-2023 14:07:49 Injected variable bamboo.inject.ver=2.0.37 in LOCAL scopesimple 19-Jun-2023 14:07:49 Injected variable bamboo.inject.branch=epic-crmcn-1 in LOCAL scopesimple 19-Jun-2023 14:07:49 Finished task 'Create Bamboo Vars from Var File' with result: Successsimple 19-Jun-2023 14:07:49 Starting task 'Install node modules' of type 'com.atlassian.bamboo.plugins.bamboo-nodejs-plugin:task.builder.npm'command 19-Jun-2023 14:07:49 Beginning to execute external process for build 'TMGM CRM - Member Portal New - epic-CRMCN-1 - Build docker #89 (TC-MPN206-BDLP-89)'\n ... running command line: \n/usr/local/bin/node /usr/local/bin/npm install\n ... in: /var/bamboo/bamboo-home/local-working-dir/TC-MPN206-BDLP\ncommand 19-Jun-2023 14:51:28 Request to stop 'TC-MPN206-BDLP-89' received from carlos.fang@lifebyte.ioerror 19-Jun-2023 14:52:28 Build TC-MPN206-BDLP-89 had to be cancelled: agent had been requested to stop the build but sent no responsesimple 19-Jun-2023 15:01:10 Failing task since return code of [/usr/local/bin/node /usr/local/bin/npm install] was 224 while expected 0simple 19-Jun-2023 15:01:10 Finished task 'Install node modules' with result: Failedsimple 19-Jun-2023 15:01:10 Running post build plugin 'Artifact Copier'simple 19-Jun-2023 15:01:10 Running post build plugin 'Artifactory Release Management Staging'simple 19-Jun-2023 15:01:10 Running post build plugin 'Artifactory Build Info Copier'simple 19-Jun-2023 15:01:10 Running post build plugin 'Artifactory Gradle Properties Info Copier'simple 19-Jun-2023 15:01:10 Running post build plugin 'npm Cache Cleanup'simple 19-Jun-2023 15:01:10 Running post build plugin 'NCover Results Collector'simple 19-Jun-2023 15:01:10 Running post build plugin 'Build Results Label Collector'simple 19-Jun-2023 15:01:10 Running post build plugin 'Clover Results Collector'simple 19-Jun-2023 15:01:10 Running post build plugin 'Docker Container Cleanup'simple 19-Jun-2023 15:01:10 Finalising the build...simple 19-Jun-2023 15:01:10 Stopping timer.simple 19-Jun-2023 15:01:10 Build TC-MPN206-BDLP-89 completed.
It looks like you're new here. Sign in or register to get started.