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,359,923
Community Members
 
Community Events
168
Community Groups

Could not execute task '<task name>' no Plugin with key '<task key>' is installed

Edited

I am developing a custom Bamboo task plugin and having some issues with remote agent. When running the task with default/local agent executes successfully and the plugin results are as expected. When I run the task with remote agents, having a below error

Could not execute task 'task' no Plugin with key 'plugin' is installed.

Even i tried with the simple HelloWorld example using the below link there is also i am having the same error.

https://developer.atlassian.com/server/bamboo/introduction-to-writing-tasks/ 

Can you please help with this? please let me know if anything else is required from my side.

 

1 answer

0 votes
edwin Rising Star Dec 17, 2020

Hi @Arvind Ghodse ,

There are recommendations on how to fix this issue here:

Tasks do not run on agents due to Plugin availability errors 

Hi @edwin ,

thanks for your reply, i referred above solution as well but it did not helped me.

In my case there is only one entry for jvm, even i tried with new remote agent as well as restarting or disable/enable agent as well.

edwin Rising Star Dec 17, 2020

What version of Bamboo are you running?

Latest Bamboo Server version- 7.1.4

hi @edwin

Can you please help me with this? please let me know if anything else is required.

Thanks.

Hi,

I checked agent log, and found error in the log as below,

2021/01/05 10:39:03 | 2021-01-05 10:39:03,186 ERROR [AgentRunnerThread] [PluginEnabler] Unable to start the following plugins due to timeout while waiting for plugin to enable: com.temp.plugin.BambooPlugin
INFO | jvm 1 |

.

.

.

INFO | jvm 1 | 2021/01/05 10:43:01 | 2021-01-05 10:43:01,814 WARN [Spring DM Context Creation Timer] [DependencyWaiterApplicationContextExecutor] Timeout occurred before finding service dependencies for [NonValidatingOsgiBundleXmlApplicationContext(bundle=com.temp.plugin.BambooPlugin, config=osgibundle:/META-INF/spring/*.xml)]
INFO | jvm 1 | 2021/01/05 10:43:01 | 2021-01-05 10:43:01,817 ERROR [Spring DM Context Creation Timer] [OsgiPlugin] Plugin 'com.temp.plugin.BambooPlugin' never resolved service '&applicationProperties' with filter '(&(objectClass=com.atlassian.sal.api.ApplicationProperties)(objectClass=com.atlassian.sal.api.ApplicationProperties))'
INFO | jvm 1 | 2021/01/05 10:43:01 | 2021-01-05 10:43:01,818 ERROR [Spring DM Context Creation Timer] [OsgiPlugin] Unable to start the plugin container for plugin 'com.temp.plugin.BambooPlugin'
INFO | jvm 1 | 2021/01/05 10:43:01 | org.springframework.context.ApplicationContextException: Application context initialization for 'com.temp.plugin.BambooPlugin' has timed out waiting for (&(objectClass=com.atlassian.sal.api.ApplicationProperties)(objectClass=com.atlassian.sal.api.ApplicationProperties))
INFO | jvm 1 | 2021/01/05 10:43:01 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489)
INFO | jvm 1 | 2021/01/05 10:43:01 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54)
INFO | jvm 1 | 2021/01/05 10:43:01 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109)
INFO | jvm 1 | 2021/01/05 10:43:01 | at java.util.TimerThread.mainLoop(Unknown Source)
INFO | jvm 1 | 2021/01/05 10:43:01 | at java.util.TimerThread.run(Unknown Source)
INFO | jvm 1 | 2021/01/05 10:43:01 | 2021-01-05 10:43:01,831 ERROR [Spring DM Context Creation Timer] [ExtenderConfiguration] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.temp.plugin.BambooPlugin, config=osgibundle:/META-INF/spring/*.xml))
INFO | jvm 1 | 2021/01/05 10:43:01 | org.springframework.context.ApplicationContextException: Application context initialization for 'com.temp.plugin.BambooPlugin' has timed out waiting for (&(objectClass=com.atlassian.sal.api.ApplicationProperties)(objectClass=com.atlassian.sal.api.ApplicationProperties))
INFO | jvm 1 | 2021/01/05 10:43:01 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489)
INFO | jvm 1 | 2021/01/05 10:43:01 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54)
INFO | jvm 1 | 2021/01/05 10:43:01 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109)
INFO | jvm 1 | 2021/01/05 10:43:01 | at java.util.TimerThread.mainLoop(Unknown Source)
INFO | jvm 1 | 2021/01/05 10:43:01 | at java.util.TimerThread.run(Unknown Source)
INFO | jvm 1 | 2021/01/05 10:43:01 | 2021-01-05 10:43:01,831 ERROR [Spring DM Context Creation Timer] [DependencyWaiterApplicationContextExecutor] Unable to create application context for [com.temp.plugin.BambooPlugin], unsatisfied dependencies: Dependency on [(&(objectClass=com.atlassian.sal.api.ApplicationProperties)(objectClass=com.atlassian.sal.api.ApplicationProperties))] (from bean [&applicationProperties])
INFO | jvm 1 | 2021/01/05 10:43:01 | org.springframework.context.ApplicationContextException: Application context initialization for 'com.temp.plugin.BambooPlugin' has timed out waiting for (&(objectClass=com.atlassian.sal.api.ApplicationProperties)(objectClass=com.atlassian.sal.api.ApplicationProperties))
INFO | jvm 1 | 2021/01/05 10:43:01 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489)
INFO | jvm 1 | 2021/01/05 10:43:01 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54)
INFO | jvm 1 | 2021/01/05 10:43:01 | at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109)
INFO | jvm 1 | 2021/01/05 10:43:01 | at java.util.TimerThread.mainLoop(Unknown Source)
INFO | jvm 1 | 2021/01/05 10:43:01 | at java.util.TimerThread.run(Unknown Source)
INFO | jvm 1 | 2021/01/05 10:44:06 | 2021-01-05 10:44:06,624 INFO [0-BAM::arvindgh02::Agent:pool-3-thread-1] [BuildAgentControllerImpl] Agent 360450 checking build queue for executables...

 

But still does not found any resolution for this.

Can you please guide me to resolve this issue?

Is there anyone who can help me with this?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

304 views 0 7
Read article

Atlassian Community Events