You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What version of Bamboo are you running?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.