Pipeline stuck at finding agent and cloning git repo Edited

My team and I are using the free plan of bitbucket and up till now have had no issues with the pipelines. Yesterday, I made a new commit and the pipeline was stuck on finding agent for about 10 minutes, so I left it for a while and checked back in half an hour. This time it was stuck on 'Cloning git repository', so I stopped it manually.

It seems that this has exhausted our 50 minutes of free build time, but the logs are empty, so I cannot be sure of what went wrong. Does the time it takes for a pipeline to find an agent / clone the git repo count towards the build time?

Also does anyone have any idea what might have caused this? Could it be a bug in the pipelines, or a misconfiguration on our part? The last thing I changed was trying to make the pipeline run different things per branch. Before that it worked fine.


Edit: According to this, https://status.bitbucket.org/incidents/p3cvx1q6x3mg, it looks lke they are investigating the issue. I hope we will get our 50 minutes restored.

2 answers

I have experienced a similar issue.

Starting today, none of my pipelines have been able to build. Before I killed each process, they had spent over an hour in the "starting" phase, never reaching the point of generating any logs.

My assumption is that the problem is originating on BitBucket's end.

Yes , am too facing a similar problem, where-in pipelines is not at all running.


Its stays stuck at Finding an agent.

0 votes
Joshua Tjhin Atlassian Team Jun 14, 2017

Apologies, we had a rough day yesterday where pipelines were not running (stuck in Starting Agent).

More info in the "past incidents" section of https://status.bitbucket.org/

The team will continue monitoring our systems carefully.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

662 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot