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

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:
Raise a Support Ticket
Share the Pipeline build URL from bitbucket.org
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:
Raise a Support Ticket
Share the Pipeline build URL from bitbucket.org
Attach any Pipelines Runner logs to the support ticket
Was this helpful?