Builds are failing intermittently in Bamboo with code 128

Our organization has a bamboo server setup in Amazon EC2 environment and we are getting the below "HTTP request failed" error intermittently. Below is the screen shot of the error log

bamboo.PNG

Any help on this would be really appreciated.

1 answer

This widget could not be displayed.

The intermittent issue you are seeing might have been caused by network issues when git took long time to checkout the source code. Usually happens when network is crappy or the repo you are trying to clone is really big one. 

Possible solutions you should try:

1> Better to use ssh than https to checkout the source code from git.

     For more details on using ssh with git checkout : https://confluence.atlassian.com/display/BAMBOO/Git

2> Use shallow clones in checkout source task, ( if you don't need the tags it better to use shallow clones they are faster)

A snapshot on where : https://confluence.atlassian.com/display/BAMBOO/Bitbucket?focusedCommentId=600867102#comment-600867102

Use shallow clones

Allows Bamboo to perform shallow clones (i.e. history truncated to a specified number of revisions). This should increase the speed of the initial code checkouts, however if your build depends on the full repository history, we recommend that you do not use this option. Shallow clones are enabled by default.

3> set up linked source repositories 

Details : https://confluence.atlassian.com/display/BAMBOO/Linking+to+source+code+repositories

Specific to bit bucket : https://confluence.atlassian.com/display/BAMBOO/Bitbucket

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 6 hours ago in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

38 views 0 8
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you