The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket Pipeline Runner crashes when there's no internet connection

Stijn van Kampen
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!
January 11, 2024

So when I start up a Linux Shell runner without a working internet connection, it just throws a lot of Java exceptions. Took me a while to figure out that my internet connection was not working, because there wasn't any notification it was "OFFLINE", just a lot of Java exceptions.

 

Not really a question, this just seems to be a bug in the Bitbucket Pipelines selfhosted runner.

 

Log (note: when it reports as "OFFLINE" I manually cancelled the runner because it wasn't working properly):

https://pastebin.com/RvJDSAyW

 

Update: Similar thing happens when you try to start it with the runner disable in Bitbucket settings:

https://pastebin.com/iCwYNnU9

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 12, 2024

Hi Stijn!

Thank you for the feedback.

Starting a disabled runner indeed does not return a message that is meaningful to the user. The first log you provided includes the message 'Temporary failure in name resolution' which indicates an issue with the host machine or DNS, but it is buried among the exceptions.

I went ahead and created a request in our issue tracker to improve the errors returned on runner failure (you can add your vote to it to express your interest):

Please feel free to reach out if you have any questions.

Kind regards,
Theodora

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events