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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,557,528
Community Members
 
Community Events
184
Community Groups

Bitbucket runner ERROR (Token failed verification: expired)

Edited
황다솔
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!
May 22, 2023

Runner image configuration

image:
repository: docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-runner
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "1"

Runner matching labels:
- {skip}
Runner name: xxx-ruuner-01
Runner UUID: {...}
Runner labels: {skip}

Runner version:
current: 1.466
latest: 1.470

 

Recently we move runners to EKS from EC2, however now our bitbucket pipelines we are getting the following errors:

[2023-05-23 05:05:19,384] Getting environment variables for step.
[2023-05-23 05:05:19,888] Getting all artifacts for step.
[2023-05-23 05:05:19,891] Getting SSH private key.
[2023-05-23 05:05:19,892] Getting known hosts.
[2023-05-23 05:05:20,227] SSH private key not found
[2023-05-23 05:05:20,231] Setting up directories.
[2023-05-23 05:05:20,231] Starting log uploader.
[2023-05-23 05:05:20,239] Removing container ...(skip)_clone
[2023-05-23 05:05:20,244] Removing container ...(skip)_build
[2023-05-23 05:05:20,252] Setting up step timeout: PT2H
[2023-05-23 05:05:20,252] Starting websocket listening to STEP_COMPLETED events.
[2023-05-23 05:05:20,253] Checking for step completion every PT30S seconds.
[2023-05-23 05:05:20,560] Updating step progress to PULLING_IMAGES.
[2023-05-23 05:05:20,886] Pulling image public.ecr.aws/o4g5y6x4/sox/atlassian/public/pipelines-dvcstools:prod-stable.
[2023-05-23 05:05:20,887] Looking for auth in config for image Image{name=public.ecr.aws/o4g5y6x4/sox/atlassian/public/pipelines-dvcstools:prod-stable, runAsUser=None, auth=None} and found auth null
[2023-05-23 05:05:21,240] Appending log line to main log.
[2023-05-23 05:05:22,428] Pulling image {Our private ECR}/bitbucket-pipeline:latest.
[2023-05-23 05:05:22,550] Pulling image public.ecr.aws/o4g5y6x4/sox/atlassian/public/pipelines-docker-daemon:v20.10.23-multiarch-prod-stable.
[2023-05-23 05:05:22,550] Looking for auth in config for image Image{name=public.ecr.aws/o4g5y6x4/sox/atlassian/public/pipelines-docker-daemon:v20.10.23-multiarch-prod-stable, runAsUser=None, auth=None} and found auth null
[2023-05-23 05:05:24,067] Pulling image public.ecr.aws/o4g5y6x4/sox/atlassian/public/pipelines-auth-proxy:prod-stable.
[2023-05-23 05:05:24,068] Looking for auth in config for image Image{name=public.ecr.aws/o4g5y6x4/sox/atlassian/public/pipelines-auth-proxy:prod-stable, runAsUser=None, auth=None} and found auth null
[2023-05-23 05:05:25,553] Pulling image k8s-docker.packages.atlassian.com/pause:3.8.
[2023-05-23 05:05:25,553] Looking for auth in config for image Image{name=k8s-docker.packages.atlassian.com/pause:3.8, runAsUser=None, auth=None} and found auth null
[2023-05-23 05:05:27,506] An error occurred whilst pulling image.

com.github.dockerjava.api.exception.InternalServerErrorException: Status 500: {"message":"unknown: Token failed verification: expired"}

at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:103)

at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:32)

at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)

at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)

at io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:280)

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)

at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)

at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)

at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)

at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436)

at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)

at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)

at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251)

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)

at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)

at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)

at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)

at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800)

at io.netty.channel.epoll.EpollDomainSocketChannel$EpollDomainUnsafe.epollInReady(EpollDomainSocketChannel.java:138)

at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:499)

at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:397)

at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)

at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)

at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)

at java.base/java.lang.Thread.run(Unknown Source)

 

Seems the issue is in the pulling image from docker. (k8s-docker.packages.atlassian.com/pause:3.8 or my private ecr image) Unsure what it is.

Other runners with the same settings are working, But only specific runner(mgmt-runner-05) is not working 

 

What's wrong with this runner?

 

 

0 answers

Suggest an answer

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

Atlassian Community Events