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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 Community Leader 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 Community Leader 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 Data Center is here!

G’day Bamboo customers, The wait is over! Bamboo Data Center edition you have been asking for is finally here! This self-managed enterprise offering of Bamboo has the resilience, reliability, and s...

534 views 1 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you