After starting "Export to Server" Bamboo is attempting to pause but it fails after 60 minutes
Problem
After starting "Export to Server" from Bamboo administration panel Bamboo is attempting to pause server but after 60 minutes it fails.
The following appears in the atlassian-bamboo.log
2017-01-23 08:34:01,639 ERROR [13-CloudExportServiceImpl.exportCloudInstance:pool-21-thread-1] [CloudExportServiceImpl] Cloud export failed
java.util.concurrent.CompletionException: java.lang.RuntimeException: com.atlassian.bamboo.migration.cloud.exception.CloudExportException: Unable to pause server
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1621)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51)
at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: com.atlassian.bamboo.migration.cloud.exception.CloudExportException: Unable to pause server
at com.google.common.base.Throwables.propagate(Throwables.java:160)
at com.atlassian.bamboo.migration.cloud.service.CloudExportServiceImpl.pauseServer(CloudExportServiceImpl.java:91)
at com.atlassian.bamboo.migration.cloud.service.CloudExportServiceImpl$$Lambda$657/8713239.run(Unknown Source)
at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1618)
... 7 more
Caused by: com.atlassian.bamboo.migration.cloud.exception.CloudExportException: Unable to pause server
... 10 more
Caused by: java.util.concurrent.TimeoutException
at java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1763)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1907)
at com.atlassian.bamboo.migration.cloud.service.CloudExportServiceImpl.pauseServer(CloudExportServiceImpl.java:83)
... 9 more
Cause
Most possible reason is that builds are still building or are hanging in the queue.
Resolution
Manually stop all the builds in the queue.
Last modified on Jan 31, 2017
Powered by Confluence and Scroll Viewport.