Error while using Octopus metadata plugin in Bamboo

Hi Team,

I have been trying to use the Octopus metadata plugin in Bamboo to get and display the commit ids in octopus release dashboard, I am simply using this plugin by providing the package id, version number and octopus server details only, after running the build it is failing with below error, I have gone through the below link but I could not find any pre-requisites from Bamboo end to use this plugin, please let me know the detailed configuration and pre-requisites to use this plugin and send the required data from build server to octopus, I have seen below video stating how we can go back to bamboo from Octopus by using commit message in release note, I want to navigate from Octopus to Bamboo build job through commit number.

Please share any video on this configuration.

simple 20-May-2019 10:51:44 Starting task ‘Metadata’ of type ‘com.octopus.bamboo:task.octopusmetadata’
error 20-May-2019 10:51:44 Error processing comment messages
error 20-May-2019 10:51:44 com.atlassian.spring.container.ComponentNotFoundException: Failed to find component: No bean named ‘administrationConfiguration’ available
error 20-May-2019 10:51:44 at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:79)
error 20-May-2019 10:51:44 at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)
error 20-May-2019 10:51:44 at com.octopus.bamboo.plugins.task.octopusmetadata.OctopusMetadataTask.getAdministrationConfiguration(OctopusMetadataTask.java:52)
error 20-May-2019 10:51:44 at com.octopus.bamboo.plugins.task.octopusmetadata.OctopusMetadataTask.execute(OctopusMetadataTask.java:156)
error 20-May-2019 10:51:44 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:319)
error 20-May-2019 10:51:44 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:252)
error 20-May-2019 10:51:44 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:319)
error 20-May-2019 10:51:44 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:112)
error 20-May-2019 10:51:44 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73)
error 20-May-2019 10:51:44 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:203)
error 20-May-2019 10:51:44 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:175)
error 20-May-2019 10:51:44 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:129)
error 20-May-2019 10:51:44 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185)
error 20-May-2019 10:51:44 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:123)
error 20-May-2019 10:51:44 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:126)
error 20-May-2019 10:51:44 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
error 20-May-2019 10:51:44 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
error 20-May-2019 10:51:44 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
error 20-May-2019 10:51:44 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
error 20-May-2019 10:51:44 at java.lang.Thread.run(Thread.java:748)
error 20-May-2019 10:51:44 Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named ‘administrationConfiguration’ available
error 20-May-2019 10:51:44 at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:685)
error 20-May-2019 10:51:44 at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1210)
error 20-May-2019 10:51:44 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
error 20-May-2019 10:51:44 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:273)
error 20-May-2019 10:51:44 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
error 20-May-2019 10:51:44 at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:75)
error 20-May-2019 10:51:44 … 19 more
error 20-May-2019 10:51:45 Error occurred while running Task ‘Metadata(14)’ of type com.octopus.bamboo:task.octopusmetadata.
error 20-May-2019 10:51:45 java.lang.NullPointerException
error 20-May-2019 10:51:45 at com.atlassian.bamboo.task.QuarantineTaskResultProcessor.recalculateTaskState(QuarantineTaskResultProcessor.java:23)
error 20-May-2019 10:51:45 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:326)
error 20-May-2019 10:51:45 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:112)
error 20-May-2019 10:51:45 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73)
error 20-May-2019 10:51:45 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:203)
error 20-May-2019 10:51:45 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:175)
error 20-May-2019 10:51:45 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:129)
error 20-May-2019 10:51:45 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185)
error 20-May-2019 10:51:45 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:123)
error 20-May-2019 10:51:45 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:126)
error 20-May-2019 10:51:45 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
error 20-May-2019 10:51:45 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
error 20-May-2019 10:51:45 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
error 20-May-2019 10:51:45 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
error 20-May-2019 10:51:45

Regards,
Satish

Hi Satish,

Thanks for getting in touch.

Can you tell me if you’re using a remote agent to run your build?

We’ve identified an issue where this error would happen on a remote agent and we’re working on a fix for this at the moment.

Thank you and best regards,
Henrik

Hi Henrik,

Yes, I am running my Bamboo agent on remote host, in this case this plugin will work only agent running on Bamboo server only, when you are going to fix this remote agent issue with this plugin, is there any workaround till you fix the issue.

Regards,
Satish

Hi Satish,

It should only be the package metadata step that requires the local agent, our other steps should work fine on a remote agent.

I’ve raised a GitHub issue that you can follow for progress. We’re working on a fix for it at the moment and will ship an updated version of the plugin as soon as we can.

My apologies for the inconvenience caused by this issue.

Thank you and best regards,
Henrik

Hi Henrik,

Thanks for your info, hope we will get this new version plugin ASAP:smiley:

Regards,
Satish

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.