Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

What could cause a step to fail without any apparent reason?

I have a PR pipeline that has a single step that runs a bunch of unit tests. This step started failing without any apparent reason i.e. no tests failed or had errors and the pipeline itself is not reporting any errors. What could cause this?

This is at the bottom of the "build teardown" log


2 answers

As it turned out, the script that was running the tests was returning a non-zero exit code because of an error. The error just got overlooked in a sea of log output that otherwise looked completely normal.

0 votes

Hi @Gunnar Þór Pálsson  and welcome to the community!

We'll need more info to figure out why a certain step fails, like

  • the command that fails
  • the output of this command
  • are there any errors/messages in the column left to the Pipelines log for this build

If you want to share the Pipelines log file of such a failed build, after removing any sensitive/private info, I can take a look.

Alternatively, you can open a ticket with the support team (the support ticket will be visible only to you and Atlassian staff). With a support ticket open, the support team will be able to access the build and assist you.

You can open a ticket via In "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product. Please make sure to also give the URL of the build that fails.

Please feel free to let me know if you have any questions.

Kind regards,

Thank you for your response. I've submitted a ticket.

Like Theodora Boudale likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

159 views 2 4
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