Pipeline build failed with "unexpected system error that may have left your step half-completed"

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

error message stating unexpected system error that may have left your step half-completed

Solution

Cause:

  • This is most commonly encountered with builds that utilise runners, the error message indicates that the Runner step container was evicted mid-build

Troubleshooting Steps:

When a step is evicted mid-build, the job retry process will try to restart it. Unfortunately, steps are idempotent - this means that Pipelines cannot retry things that were half completed automatically as it doesn't know where or how it failed, and requires user intervention to determine whether to retry.

You will need to re-run the build - does it complete this time?

YES

  • Continue to monitor your builds in case it becomes a frequent occurrence, in which case you will need to:

  1. Raise a Support Ticket

  2. Share the Pipeline build URL from bitbucket.org

  3. Attach any Pipelines Runner logs to the support ticket

NO

  • If the build is still not completing after re-running it, you will need to:

  1. Raise a Support Ticket

  2. Share the Pipeline build URL from bitbucket.org

  3. Attach any Pipelines Runner logs to the support ticket

Updated on March 26, 2025

Still need help?

The Atlassian Community is here for you.