Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Intermittent container not found error in bitbucket runner

Edited

Hi

When running a self hosted bitbucket runner we intermittently get these errors in different stages:


Status 404: {"message":"No such container: ..."}

In this case it was in a single step using just the ssh-run image but sometimes we get the same error for other images. It's also happening on different runners.

Updating the runners often but the same errors still occurs in maybe 1 of 5 runs.

Runner version:

current: 1.413
ssh-run:0.4.1

BR

Niklas 

 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 20, 2023

Hi Niklas and welcome to the community!

1) Since you are using a pipe, I assume that the runner is a Linux Docker runner, is that correct?

2) Are you using one of the supported platforms for the host machine (as mentioned here)?

Linux with x64 architecture and a Linux kernel v4.0.0+. The runners have been tested on the following Linux distributions:

  • Ubuntu 22.04
  • Debian 11
  • Centos 7
  • Fedora 36
  • Oracle Linux 8.6
  • Amazon Linux 2

3) Are the minimum requirements met for this machine?

Minimum Requirements

Linux Docker

  • A 64-Bit Linux instance with at least 8GB of RAM as a host for the runner.
    • More RAM may be required for builds with 2x-Steps or build services.
  • Docker v19.03 and above

Kind regards,
Theodora

Hi Theodora and thank you for both the welcome and reply!

The platform is Ubuntu 22.04.1 LTS x86_64 with more than 200GB ram.

Docker version 20.10.21.

As previously stated it works most of the time but sometimes one step fails with the described error and we must retry that step.

BR
Niklas

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 22, 2023

Hi Niklas,

Thank you for the info! The next step would be to check the runner log for any additional errors. The log for Linux Docker Runners is located at

<runner_working_directory>/<runnerUuid>/runner.log

If you haven't changed the preconfigured command that starts the runner, the working directory should be /tmp and the log should be at

/tmp/b609961f-891e-c872-c36b-f3f2c315d186/runner.log

b609961f-891e-c872-c36b-f3f2c315d186 is the UUID of the runner, this should have the value of your own runner's UUID

If you check for entries at the date and time that particular step failed, are there any additional error messages (other than "No such container") that could give an indication as to what is going wrong?


I just noticed that your workspace is on a paid billing plan, so you can also create a ticket with the support team for further investigation. If we have an open support ticket, the engineer working on your ticket will be able to access additional logs for that step (that I am not able to access without a ticket), so the investigation should be faster. It would be helpful to provide the following info in the ticket:

  • The URL of a step that fails with this error (before you rerun it)
  • The runner log
  • Details about the minimum requirements that are met for your platform

You can create a ticket via https://support.atlassian.com/contact/#/, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product.

If you have any questions, please feel free to let me know!

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events