Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

The build has failed to check out the source code Edited

Sometimes, Bamboo is throwing this weird error. Even when the connection to the repo is proper.

 

The build has failed to check out the source code: Plugin com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-bitbucket:bbCloud not available

 

Can someone assist me in this.

 

 

---Raj

1 answer

0 votes
Foong Atlassian Team May 17, 2018

Suspect that the remote agent fail to start successfully.

Is the problem only happens to Windows Remote Agent?

Sometimes, when Windows Remote Agent is restarted, the file somehow is still locked by the old process causing it fail to start up correctly. There will be error in the remote agent log during startup.

Try restarting the machine that have problem to release the locked files and then start the remote agent again.

Hi,

We have Mac remote agent and it fails sometimes. It picks up repo sometimes.

We felt really weird about this.

 

Would you kindly guide me in this.

 

---Raj

Foong Atlassian Team May 18, 2018

Does it fail with the same error or the Mac agent does not pick up any build sometimes?

If the Mac agent does not pick any build, the Mac machine might have entered Sleep Mode. Run the following command to check if it has entered Sleep Mode:

pmset -g log|grep -e " Sleep  " -e " Wake  " > sleep_log.txt

Sleep mode need to be removed from the Mac machine that host the agent.

Hi,

It fails with the same error message like this :

 

The build has failed to check out the source code: Plugin com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-bitbucket:bbCloud not available

 

Mac agent is always running via daemon process.

 

Mac machine has been caffeinated so it never sleeps.

 

---Raj

Foong Atlassian Team May 18, 2018

Is there any error in the remote agent log during startup?

Check what is the java version used in atlassian-bamboo-agent.log, ex:

INFO | jvm 1 | 2018/05/18 21:49:22 | 2018-05-18 21:49:22,099 INFO [WrapperSimpleAppMain] [AgentBootstrap] Starting Agent Bootstrap using Java 1.8.0_73 from Oracle Corporation. Default charset: UTF-8, file name encoding: UTF-8

 Bamboo version 5.10.0 - 6.5.0 need Java 1.8 to start remote agent.

It uses the proper Java version as you mentioned.

 

The error that I got is

 

INFO   | jvm 2    | 2018/05/21 01:12:17 | ERROR: Bundle com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-clover [18] Unable to get module class path. (java.lang.RuntimeException: Unable to open JAR file

Foong Atlassian Team May 24, 2018

From the error, it seems that some files are corrupted.

Try deleting the following directory and restart the agent:

  • /path/to/agent/home/caches
  • /path/to/agent/home/classpath

I did it. I seems, Bamboo agent is able to pick up the repo properly.

 

Thanks a lot !. It was indeed a great assistance.

 

Would you kindly tell me how to see the live logs of the agent on the terminal of Mac OSX. 

Something like ./bamboo-agent.sh console

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

251 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you