Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo npm install Takes more than 50 minutes

David Sun June 19, 2023

 

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?

Snipaste_2023-06-20_10-56-28.png

 

Snipaste_2023-06-20_10-51-31.png

1 answer

0 votes
David Sun June 19, 2023

 

 

 

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.2
simple 19-Jun-2023 14:07:45
simple 19-Jun-2023 14:07:45 Build working directory is /var/bamboo/bamboo-home/local-working-dir/TC-MPN206-BDLP
simple 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 checkout
simple 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-BDLP
simple 19-Jun-2023 14:07:47 Updating source code to revision: 60dc36f08709c878d6ca5ee3e8892b0af1e0df75
simple 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: 60dc36f08709c878d6ca5ee3e8892b0af1e0df75
simple 19-Jun-2023 14:07:49 Finished task 'Checkout Repository' with result: Success
simple 19-Jun-2023 14:07:49 Running pre-build action: VCS Version Collector
simple 19-Jun-2023 14:07:49 Running pre-build action: Artifactory Release Staging
simple 19-Jun-2023 14:07:49 Running pre-build action: Build Log Labeller Pre Build Action
simple 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\n
build 19-Jun-2023 14:07:49 tag and app_ver is zero, using ver.txt
simple 19-Jun-2023 14:07:49 Finished task 'Create Var File' with result: Success
simple 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 scope
simple 19-Jun-2023 14:07:49 Injected variable bamboo.inject.ver=2.0.37 in LOCAL scope
simple 19-Jun-2023 14:07:49 Injected variable bamboo.inject.branch=epic-crmcn-1 in LOCAL scope
simple 19-Jun-2023 14:07:49 Finished task 'Create Bamboo Vars from Var File' with result: Success
simple 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\n
command 19-Jun-2023 14:51:28 Request to stop 'TC-MPN206-BDLP-89' received from carlos.fang@lifebyte.io
error 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 response
simple 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 0
simple 19-Jun-2023 15:01:10 Finished task 'Install node modules' with result: Failed
simple 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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events