self hosted Docker image- Miss matching runner

Nalini Kumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 20, 2023

Hello,

 

I am new to new to this. We have Linux box with self hosted docker container registry along with bitbucket.

 

Getting below error when running bitbucket pipeline. 

 

Runner matching labels:
- linux
- self.hosted

Runner name: xyzzyc

Runner labels: self.hosted, linux
Runner version:
7
current: 1.274
8
latest: 1.476
The version of this runner is outdated. Upgrade to the latest version (1.476).
12
13
Build teardown<1s
1
Searching for files matching artifact pattern artifact_store_paths
2
3
Searching for files matching artifact pattern environment_name
4
5
Searching for files matching artifact pattern environment_node
6
7
Searching for files matching artifact pattern **_output_**.xml
8
9
Searching for test report files in directories named [test-reports, TestResults, test-results, surefire-reports, failsafe-reports] down to a depth of 4
10
Finished scanning for test reports. Found 0 test report files.
11
Merged test suites, total number tests is 0, with 0 failures and 0 errors.
12
13

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 22, 2023

Hello @Nalini Kumar and thank you for reaching out to Community!

The error shown in the logs is because the runner's image you have locally is outdated, and a newer version is available to be downloaded. In this case, to update the runner's image you can run the following command on your machine : 

docker image pull docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-runner:1

This should update it to the latest version available currently. 

After updating it, in order for the change to take effect, you will need to delete the current runner container and start it again. The below command can be used to remove a runner's container : 

docker container rm -f runner-<UUID>

where you need to replace the UUID with your runner's name.

After removing the container, you can start the runner again using the command you were given when you created the runner. In case you don't have that command saved, you can create a new runner in the UI and it will provide you with a fresh pre-configured docker command.

Let me know in case you have any questions.

Thank you, @Nalini Kumar !

Patrik S

Nalini Kumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 22, 2023

thank you and will try it.

Like Patrik S likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events