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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,552,458
Community Members
 
Community Events
184
Community Groups

Environment builds taking a long time to complete

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

0 votes
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-- 

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-- 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events