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

A small problem in Bamboo on 7.2.2 for Elastic agents

Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 1, 2021

Hi! 

 

Please, fix, the next small bug:

com.google.common.util.concurrent.UncheckedExecutionException: io.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NoSuchFieldError: ME_SOUTH_1
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2050)
	at com.google.common.cache.LocalCache.get(LocalCache.java:3952)
	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974)
	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4958)
	at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4964)
	at com.atlassian.bamboo.v2.build.agent.remote.RemoteBuildLoggerManager.getLogger(RemoteBuildLoggerManager.java:114)
	at com.atlassian.bamboo.v2.build.agent.remote.RemoteBuildLoggerManager.getLogger(RemoteBuildLoggerManager.java:98)
	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:119)
	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:110)
	at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
	at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
	at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
	at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
	at java.lang.Thread.run(Thread.java:745)
Caused by: io.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NoSuchFieldError: ME_SOUTH_1
	at io.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:156)
	at io.atlassian.util.concurrent.LazyReference.get(LazyReference.java:116)
	at io.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:95)
	at com.atlassian.bamboo.configuration.CachingAdministrationConfigurationAccessor.getAdministrationConfiguration(CachingAdministrationConfigurationAccessor.java:29)
	at com.atlassian.bamboo.v2.build.agent.remote.RemoteBuildLoggerManager$1.load(RemoteBuildLoggerManager.java:72)
	at com.atlassian.bamboo.v2.build.agent.remote.RemoteBuildLoggerManager$1.load(RemoteBuildLoggerManager.java:67)
	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3528)
	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2277)
	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2154)
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2044)
	... 13 more
Caused by: java.lang.NoSuchFieldError: ME_SOUTH_1
	at com.atlassian.aws.ec2.awssdk.RegionSupport.<clinit>(RegionSupport.java:38)
	at com.atlassian.aws.ec2.awssdk.AwsSupportConstants$Region.<init>(AwsSupportConstants.java:229)
	at com.atlassian.aws.ec2.awssdk.AwsSupportConstants$Region.<clinit>(AwsSupportConstants.java:187)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.lang.Class.getEnumConstantsShared(Class.java:3320)
	at java.lang.Class.enumConstantDirectory(Class.java:3341)
	at java.lang.Enum.valueOf(Enum.java:232)
 [root@bamboo bamboo]# ls -l atlassian-bamboo-7.2.2/atlassian-bamboo/WEB-INF/lib/aws*
-rw-r--r-- 1 bamboo tbeng 1032581 Jan 22 15:15 atlassian-bamboo-7.2.2/atlassian-bamboo/WEB-INF/lib/aws-java-sdk-codedeploy-1.11.642.jar
-rw-r--r-- 1 bamboo tbeng 973054 Jan 22 15:15 atlassian-bamboo-7.2.2/atlassian-bamboo/WEB-INF/lib/aws-java-sdk-core-1.11.642.jar
-rw-r--r-- 1 bamboo tbeng 5038569 Jan 22 15:15 atlassian-bamboo-7.2.2/atlassian-bamboo/WEB-INF/lib/aws-java-sdk-ec2-1.11.642.jar
-rw-r--r-- 1 bamboo tbeng 1371168 Jan 22 15:15 atlassian-bamboo-7.2.2/atlassian-bamboo/WEB-INF/lib/aws-java-sdk-iam-1.11.642.jar
-rw-r--r-- 1 bamboo tbeng 518417 Jan 22 15:15 atlassian-bamboo-7.2.2/atlassian-bamboo/WEB-INF/lib/aws-java-sdk-kms-1.11.642.jar
-rw-r--r-- 1 bamboo tbeng 1012584 Jan 22 15:15 atlassian-bamboo-7.2.2/atlassian-bamboo/WEB-INF/lib/aws-java-sdk-s3-1.11.642.jar

Please, help us. 

Also, it will be good update the libs 

https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk-s3

1 answer

1 accepted

1 vote
Answer accepted
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 2, 2021

When does it happen and what functionality does it block?

Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 2, 2021

it is related to the elastic agents. 

Those agents crashed with the next errors. 

At the moment, we do upgrade AMI images, let's see how it will work

Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 3, 2021

I know it was a problem with propagation of elastic agents files for 7.2.2 release, it should be solved already.

Like # people like this
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 3, 2021

Thanks, 

the problem fixed after upgrading the AMI agents

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events