Environment builds taking a long time to complete

Billy Sharpe May 11, 2023

Hello all,

I created Bamboo job that was running fine for months. It would take about 5 minutes to complete because I was loading python packages through a virtual environment, so it was taking a while to download them. 

I have not made any changes to the build or python script, but it's now taking hours to complete. I ensured the data size was the same, but it's still taking hours. 

 

(I have 4 agents which are able to build it, and they all have the same issue)

Where do I begin investigating this issue? 


1 answer

1 accepted

1 vote
Answer accepted
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 11, 2023

Hello @Billy Sharpe

Welcome to Atlassian Community!

To troubleshoot "mysterious builds" you would ideally:

  1. Log into the Bamboo Agent that runs the build
  2. "su" to the Bamboo user account
  3. Go to the <bamboo-agent-home>/xml-data/build-dir/<PROJ-PLAN-JOB> directory
  4. Run that slow Job commands manually and analyse their output

Following these steps will allow you to observe how the build behaves when outside of the Bamboo scope. When running the Job tasks manually, you may have to declare certain variables or properties by hand depending on how your Plan is constructed.

Cheers,

Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful-- 

Billy Sharpe May 12, 2023

Hello! @Eduardo Alvarenga 

Thanks for the tip. I failed to mention that our servers are windows, not Linux. Sorry :(

Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 14, 2023

Hey @Billy Sharpe

Thanks for the follow-up. The operating system will not matter in this case. Could you follow the equivalent steps on Windows to understand what's wrong with the build? The "su" part will be the equivalent of opening a session as another user or using "runas".

Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful-- 

Like Steffen Opel _Utoolity_ likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events