We're getting an intermittent fault from all our build agents when they are triggered into a build. It seems to be an issue connecting to BitBucket to check out the source code. Bamboo reports the following error:
WARN [0-BAM::IRISH2-SLV01.corp.wibble.com::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Error occurred while executing the build for IRISH - IRISH - feature-INFIRISH-505-doctool-ambiguous-links-to-swagger - Default Job #2 (IRISH-IRISH141-JOB1-2)
com.atlassian.bamboo.repository.RepositoryException: Plugin com.atlassian.bamboo.plugins.stash.atlassian-bamboo-plugin-stash:bbserver not available
at com.atlassian.bamboo.v2.build.task.CheckoutDirectoriesSnapshotHelper.<init>(CheckoutDirectoriesSnapshotHelper.java:157)
at com.atlassian.bamboo.v2.build.task.InitializeBuild.prepareWorkingDirectory(InitializeBuild.java:98)
at com.atlassian.bamboo.v2.build.task.InitializeBuild.doCall(InitializeBuild.java:79)
at com.atlassian.bamboo.v2.build.task.InitializeBuild.call(InitializeBuild.java:55)
at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:216)
at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139)
at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130)
at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:221)
at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129)
at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:138)
at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51)
at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
at java.lang.Thread.run(Unknown Source)
Manually rebuilding sometimes fixes the issue, and some builds start succesfully anyway.
Any advice would be much appreciated.
Hi Branden,
The version of Java is 1.8 which I believe is supported. The fault is intermittent, Git clone works fine on the agent machine.
I have however, uninstalled and reinstalled the build agents and haven't seen the problem again today.
Regards, Brian.
Thanks for letting me know. If this does re-occur let us know and we'll go from there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brian,
Here are some things you should check:
It could be that the Remote Agent is running a non-supported version of Java. Per Checkout task fails with "bbserver not available" in build log the resolution is as follows:
Reinstall the remote agent by following the below steps.
Run the same build in the same Remote agent. In addition can you let me know if this is connected via an Application link?
Try that and let me know the end result.
Cheers,
Branden
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.