Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Bamboo plan is hanging

Hello, my plan that's been running fine for months now, is suddenly getting hung up. The only job this plan does it run a selenium test suite using maven. It's satrt up some chrome driver instances then gets stuck. 

1 answer

0 votes
Jeyanthan I Atlassian Team Jun 17, 2018

Hi Cheryl,

Can you access the build log? What does it say?

Also, did you try running the same selenium build operation outside Bamboo from the remote agent? If it hangs there as well, the issue is not on Bamboo side and you'll have to investigate what's happening on the selenium side.

If it hangs on the Bamboo side and you cannot access the build log, you may have to restart the service and start using this HungBuildKiller add-on as this plugin will kill the process if Bamboo detects a hung build, allowing the agent to pick a new job (this comes inbuilt in the latest versions)

Hi Jeyanthan,

 

Thanks for responding. The selenium tests are running fine from the eclipse ID. The problem occurs when running the from Bamboo. I've stopped and restarted both the server the application is on as well as the Bamboo application several times but I'm till getting the same "hung" issue. I've also increased the max mb in the bamboo config file as well as deleted and rebuild the entire Bamboo plan, but it didn't help. Here is a snippet of the logs. Any suggestions for resolving the hung issue that's occurring now?

 

 

15-Jun-2018 09:24:35.738 WARNING [bamboo.utix.net-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [C3P0PooledConnectionPoolManager[identityToken->2rxcp09w10565a1ik7oew|1330f9d4]-HelperThread-#1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:683)
15-Jun-2018 09:24:35.740 WARNING [bamboo.utix.net-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [C3P0PooledConnectionPoolManager[identityToken->2rxcp09w10565a1ik7oew|1330f9d4]-HelperThread-#2] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:683)
15-Jun-2018 09:24:35.741 SEVERE [bamboo.utix.net-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@519d465d]) and a value of type [org.hibernate.boot.registry.internal.StandardServiceRegistryImpl] (value [org.hibernate.boot.registry.internal.StandardServiceRegistryImpl@6af58d0]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
15-Jun-2018 09:24:35.741 SEVERE [bamboo.utix.net-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [java.lang.ThreadLocal.SuppliedThreadLocal] (value [java.lang.ThreadLocal$SuppliedThreadLocal@34b4b881]) and a value of type [com.atlassian.bamboo.utils.scopedcaches.ScopedCaches] (value [com.atlassian.bamboo.utils.scopedcaches.ScopedCaches@686a727c]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
15-Jun-2018 09:24:35.770 INFO [Thread-8] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-8085"]

Suggest an answer

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

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

223 views 4 6
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