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

Bamboo is still exporting

Exploitation BRS August 23, 2016

Hi,

I have some troubles with Bamboo 5.12.3.1 build 51215 : I configured scheduled backups :

Capture du 2016-08-24 10:00:33.png


And in my catalina.out :

2016-08-23 04:00:00,022 INFO [scheduler_Worker-3] [ServerLifecycleManagerImpl] Server state changed to 'PAUSING' from 'RUNNING'
2016-08-23 04:00:00,036 INFO [5-Server Lifecycle Manager:pool-11-thread-1] [ServerLifecycleManagerImpl] Server state changed to 'PAUSED' from 'PAUSING'
2016-08-23 04:00:00,141 INFO [scheduler_Worker-3] [XmlMigrator] Creating zip:/data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip
2016-08-23 04:00:00,235 INFO [scheduler_Worker-3] [XmlMigrator] Starting export of data...
2016-08-23 04:00:00,254 INFO [scheduler_Worker-3] [XmlMigrator] Writing xml to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/localUsers.xml
2016-08-23 04:00:00,313 INFO [scheduler_Worker-3] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.userdata.LocalUserMapper
2016-08-23 04:00:00,327 INFO [scheduler_Worker-3] [XmlMigrator] Finished writing to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/localUsers.xml
2016-08-23 04:00:00,383 INFO [scheduler_Worker-5] [BranchExpiryJob] web-fr-front-20 - Light feature - feature-Suivi-de-num??ro-de-Cheque-de-Banque branch has been removed from the VCS repo. Expiration will be based on stored data about latest commit (inactivity cleanup).
2016-08-23 04:00:00,396 WARN [scheduler_Worker-5] [BranchExpiryJob] Plan Branch WEB-LF2860 does not provide any meaningful date to base expiration on
2016-08-23 04:00:00,409 INFO [scheduler_Worker-3] [XmlMigrator] Writing xml to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/externalEntities.xml
2016-08-23 04:00:00,409 INFO [scheduler_Worker-3] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.userdata.ExternalEntityMapper
2016-08-23 04:00:00,422 INFO [scheduler_Worker-3] [XmlMigrator] Finished writing to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/externalEntities.xml
2016-08-23 04:00:00,432 INFO [scheduler_Worker-3] [XmlMigrator] Writing xml to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/localGroups.xml
2016-08-23 04:00:00,432 INFO [scheduler_Worker-3] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.userdata.LocalGroupMapper
2016-08-23 04:00:00,453 INFO [scheduler_Worker-3] [XmlMigrator] Finished writing to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/localGroups.xml
2016-08-23 04:00:00,465 INFO [scheduler_Worker-3] [XmlMigrator] Writing xml to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/propertyEntries.xml
2016-08-23 04:00:00,465 INFO [scheduler_Worker-3] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.userdata.PropertyEntryMapper
2016-08-23 04:00:00,476 INFO [scheduler_Worker-3] [XmlMigrator] Finished writing to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/propertyEntries.xml
2016-08-23 04:00:00,479 INFO [scheduler_Worker-3] [XmlMigrator] Writing xml to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/authors.xml
2016-08-23 04:00:00,479 INFO [scheduler_Worker-3] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.AuthorMapper
2016-08-23 04:00:00,493 INFO [scheduler_Worker-3] [XmlMigrator] Finished writing to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/authors.xml
2016-08-23 04:00:00,495 INFO [scheduler_Worker-3] [XmlMigrator] Writing xml to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/trustedApps.xml
2016-08-23 04:00:00,496 INFO [scheduler_Worker-3] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.TrustedApplicationsMapper
2016-08-23 04:00:00,499 INFO [scheduler_Worker-3] [XmlMigrator] Finished writing to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/trustedApps.xml
2016-08-23 04:00:00,509 INFO [scheduler_Worker-3] [XmlMigrator] Writing xml to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/labels.xml
2016-08-23 04:00:00,509 INFO [scheduler_Worker-3] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.LabelMapper
2016-08-23 04:00:00,514 INFO [scheduler_Worker-3] [XmlMigrator] Finished writing to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/labels.xml
2016-08-23 04:00:00,517 INFO [scheduler_Worker-3] [XmlMigrator] Writing xml to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/scripts.xml
2016-08-23 04:00:00,517 INFO [scheduler_Worker-3] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.script.ScriptMapper
2016-08-23 04:00:00,520 INFO [scheduler_Worker-3] [XmlMigrator] Finished writing to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/scripts.xml
2016-08-23 04:00:00,526 INFO [scheduler_Worker-3] [XmlMigrator] Writing xml to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/images.xml
2016-08-23 04:00:00,526 INFO [scheduler_Worker-3] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.ElasticImageConfigurationMapper
2016-08-23 04:00:00,624 INFO [scheduler_Worker-3] [XmlMigrator] Finished writing to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/images.xml
2016-08-23 04:00:00,628 INFO [scheduler_Worker-3] [XmlMigrator] Writing xml to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/pipelines.xml
2016-08-23 04:00:00,628 INFO [scheduler_Worker-3] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.PipelineMapper
2016-08-23 04:00:00,639 WARN [sshd-SshClient[130d916e]-nio2-thread-4] [BambooTrustedKeyServerKeyVerifier] Server at stash.boursorama.com/83.231.216.241:7999 presented unverified RSA key: SHA256:yONpuNKCeCH/lfxLU+HkfGMLqLnYigd7ryLT0MXQ6cs
2016-08-23 04:00:00,651 INFO [scheduler_Worker-3] [XmlMigrator] Finished writing to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/pipelines.xml
2016-08-23 04:00:00,654 INFO [scheduler_Worker-3] [XmlMigrator] Writing xml to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/sharedCapabilities.xml
2016-08-23 04:00:00,655 INFO [scheduler_Worker-3] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.SharedCapabilityMapper
2016-08-23 04:00:00,662 INFO [scheduler_Worker-3] [XmlMigrator] Finished writing to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/sharedCapabilities.xml
2016-08-23 04:00:00,665 INFO [scheduler_Worker-3] [XmlMigrator] Writing xml to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/imservers.xml
2016-08-23 04:00:00,665 INFO [scheduler_Worker-3] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.InstantMessagingServerMapper
2016-08-23 04:00:00,669 INFO [scheduler_Worker-3] [XmlMigrator] Finished writing to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/imservers.xml
2016-08-23 04:00:00,673 INFO [scheduler_Worker-3] [XmlMigrator] Writing xml to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/mail-servers.xml
2016-08-23 04:00:00,673 INFO [scheduler_Worker-3] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.MailServerMapper
2016-08-23 04:00:00,673 INFO [scheduler_Worker-3] [XmlMigrator] Finished writing to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/mail-servers.xml
2016-08-23 04:00:00,677 INFO [scheduler_Worker-3] [XmlMigrator] Writing xml to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/elasticInstanceSchedules.xml
2016-08-23 04:00:00,677 INFO [scheduler_Worker-3] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.ElasticInstanceScheduleMapper
2016-08-23 04:00:00,681 INFO [scheduler_Worker-3] [XmlMigrator] Finished writing to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/elasticInstanceSchedules.xml
2016-08-23 04:00:00,685 INFO [scheduler_Worker-3] [XmlMigrator] Writing xml to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/variableContextBaselines.xml
2016-08-23 04:00:00,686 INFO [scheduler_Worker-3] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.variable.baseline.VariableContextBaselineMapper
2016-08-23 04:00:00,700 INFO [scheduler_Worker-3] [XmlMigrator] Finished writing to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/variableContextBaselines.xml
2016-08-23 04:00:00,704 INFO [scheduler_Worker-3] [XmlMigrator] Writing xml to file: /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip/db-export/projects.xml
2016-08-23 04:00:00,708 INFO [scheduler_Worker-3] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.ProjectMapper
2016-08-23 04:00:00,717 INFO [scheduler_Worker-3] [AbstractProjectMapper] Exporting project [Puppet]
2016-08-23 04:00:01,034 INFO [scheduler_Worker-3] [ProjectMapper] Exporting chains from project [Puppet]


And that's it. Bamboo stay in "still exporting" mode, I can't do anything.

But when I'm restarting Bamboo :

2016-08-23 08:32:40,769 INFO [ActiveMQ ShutdownHook] [BrokerService] Apache ActiveMQ 5.13.0 (bamboo, ID:tool-cimaster01-p01.dc02-39996-1471851427384-0:1) is shutdown
de.schlichtherle.truezip.fs.FsSyncWarningException: zip:file:/data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip!/
        at de.schlichtherle.truezip.fs.FsResourceController.waitIdle(FsResourceController.java:92)
        at de.schlichtherle.truezip.fs.FsResourceController.sync(FsResourceController.java:74)
        at de.schlichtherle.truezip.fs.FsCacheController.sync(FsCacheController.java:217)
        at de.schlichtherle.truezip.fs.FsSyncController.sync(FsSyncController.java:232)
        at de.schlichtherle.truezip.fs.FsLockController$1Sync.call(FsLockController.java:235)
        at de.schlichtherle.truezip.fs.FsLockController$1Sync.call(FsLockController.java:232)
        at de.schlichtherle.truezip.fs.FsLockController.locked(FsLockController.java:328)
        at de.schlichtherle.truezip.fs.FsLockController.writeLocked(FsLockController.java:268)
        at de.schlichtherle.truezip.fs.FsLockController.sync(FsLockController.java:240)
        at de.schlichtherle.truezip.fs.archive.zip.KeyController.sync(KeyController.java:128)
        at de.schlichtherle.truezip.fs.FsDecoratingController.sync(FsDecoratingController.java:131)
        at de.schlichtherle.truezip.fs.FsFalsePositiveArchiveController.sync(FsFalsePositiveArchiveController.java:480)
        at de.schlichtherle.truezip.fs.FsManager.sync(FsManager.java:105)
        at de.schlichtherle.truezip.fs.FsDefaultManager.sync(FsDefaultManager.java:190)
        at de.schlichtherle.truezip.fs.FsSyncShutdownHook$Hook.run(FsSyncShutdownHook.java:93)
Caused by: de.schlichtherle.truezip.fs.FsResourceOpenException: Thread-local / total number of open I/O resources (streams, channels etc): 0 / 1
        at de.schlichtherle.truezip.fs.FsResourceController.waitIdle(FsResourceController.java:112)
        at de.schlichtherle.truezip.fs.FsResourceController.waitIdle(FsResourceController.java:88)
        ... 14 more
2016-08-23 08:32:40,795 INFO [localhost-startStop-2] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher destroyed
2016-08-23 08:32:40,816 INFO [localhost-startStop-2] [QuartzScheduler] Scheduler scheduler_$_NON_CLUSTERED paused.
2016-08-23 08:32:42,172 ERROR [scheduler_Worker-3] [AbstractResultSummaryMapper] Could not export com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl@d6541e57
com.ctc.wstx.exc.WstxIOException: null
        at com.ctc.wstx.sw.TypedStreamWriter.writeTypedElement(TypedStreamWriter.java:200)
        at com.ctc.wstx.sw.TypedStreamWriter.writeLong(TypedStreamWriter.java:93)
        at org.codehaus.staxmate.out.SMOutputContext.writeValue(SMOutputContext.java:833)
        at org.codehaus.staxmate.out.SMOutputContainer.addValue(SMOutputContainer.java:343)
        at com.atlassian.bamboo.migration.MapperUtil.exportDefaults(MapperUtil.java:113)
        at com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl.exportProperties(BambooStAXMappingHelperAbstractImpl.java:80)
        at com.atlassian.bamboo.migration.stream.AbstractResultSummaryMapper.exportProperties(AbstractResultSummaryMapper.java:157)
        at com.atlassian.bamboo.migration.stream.BuildResultSummaryMapper.exportProperties(BuildResultSummaryMapper.java:50)
        at com.atlassian.bamboo.migration.stream.BuildResultSummaryMapper.exportProperties(BuildResultSummaryMapper.java:22)
        at com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl.exportXml(BambooStAXMappingHelperAbstractImpl.java:112)
        at com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl.exportXml(BambooStAXMappingHelperAbstractImpl.java:95)
        at com.atlassian.bamboo.migration.stream.AbstractResultSummaryMapper.access$000(AbstractResultSummaryMapper.java:53)
        at com.atlassian.bamboo.migration.stream.AbstractResultSummaryMapper$2.accept(AbstractResultSummaryMapper.java:399)
        at com.atlassian.bamboo.migration.stream.AbstractResultSummaryMapper$2.accept(AbstractResultSummaryMapper.java:389)
        at com.atlassian.bamboo.resultsummary.BuildResultsSummaryHibernateDao$38.nextScrollableResult(BuildResultsSummaryHibernateDao.java:1632)
        at org.springframework.orm.hibernate.ScrollHibernateCallback.doInHibernate(ScrollHibernateCallback.java:54)
        at org.springframework.orm.hibernate.ScrollHibernateCallback.doInHibernate(ScrollHibernateCallback.java:12)
        at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
        at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:341)
        at com.atlassian.bamboo.resultsummary.BuildResultsSummaryHibernateDao.scrollResultSummaries(BuildResultsSummaryHibernateDao.java:1598)
        at com.atlassian.bamboo.migration.stream.AbstractResultSummaryMapper.exportListXml(AbstractResultSummaryMapper.java:388)
        at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:154)
        at com.atlassian.bamboo.migration.stream.JobMapper.exportProperties(JobMapper.java:98)
        at com.atlassian.bamboo.migration.stream.JobMapper.exportProperties(JobMapper.java:36)
        at com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl.exportXml(BambooStAXMappingHelperAbstractImpl.java:112)
        at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:176)
        at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:154)
        at com.atlassian.bamboo.migration.stream.ProjectMapper.exportProperties(ProjectMapper.java:97)
        at com.atlassian.bamboo.migration.stream.ProjectMapper.exportProperties(ProjectMapper.java:32)
        at com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl.exportXml(BambooStAXMappingHelperAbstractImpl.java:112)
        at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:176)
        at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:154)
        at com.atlassian.bamboo.migration.stream.AbstractProjectMapper.exportData(AbstractProjectMapper.java:162)
        at com.atlassian.bamboo.migration.XmlMigrator.exportToStream(XmlMigrator.java:557)
        at com.atlassian.bamboo.migration.XmlMigrator.exportXml(XmlMigrator.java:489)
        at com.atlassian.bamboo.migration.XmlMigrator$$FastClassBySpringCGLIB$$b6578fc7.invoke(<generated>)
        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:708)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:644)
        at com.atlassian.bamboo.migration.XmlMigrator$$EnhancerBySpringCGLIB$$2b944535.exportXml(<generated>)
        at com.atlassian.bamboo.migration.ImportExportManagerImpl.bambooExport(ImportExportManagerImpl.java:99)
        at com.atlassian.bamboo.configuration.ScheduledBackupJob.execute(ScheduledBackupJob.java:75)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
        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 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
Caused by: de.schlichtherle.truezip.io.OutputClosedException
Caused by: de.schlichtherle.truezip.io.OutputClosedException
        at de.schlichtherle.truezip.io.DisconnectingOutputStream.checkOpen(DisconnectingOutputStream.java:35)
        at de.schlichtherle.truezip.io.DisconnectingOutputStream.write(DisconnectingOutputStream.java:46)
        at de.schlichtherle.truezip.io.LockOutputStream.write(LockOutputStream.java:63)
        at de.schlichtherle.truezip.io.DecoratingOutputStream.write(DecoratingOutputStream.java:54)
        at de.schlichtherle.truezip.io.DecoratingOutputStream.write(DecoratingOutputStream.java:54)
        at de.schlichtherle.truezip.io.DecoratingOutputStream.write(DecoratingOutputStream.java:54)
        at de.schlichtherle.truezip.io.DecoratingOutputStream.write(DecoratingOutputStream.java:54)
        at de.schlichtherle.truezip.io.DecoratingOutputStream.write(DecoratingOutputStream.java:54)
        at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:100)
        at com.ctc.wstx.sw.RestrictedCharsAwareBufferingXmlWriter.flush(RestrictedCharsAwareBufferingXmlWriter.java:233)
        at com.ctc.wstx.sw.RestrictedCharsAwareBufferingXmlWriter.writeTypedElement(RestrictedCharsAwareBufferingXmlWriter.java:1176)
        at com.ctc.wstx.sw.TypedStreamWriter.writeTypedElement(TypedStreamWriter.java:195)
        ... 52 more
2016-08-23 08:32:42,175 ERROR [scheduler_Worker-3] [XmlMigrator] Problems occurred while exporting
com.atlassian.bamboo.migration.stream.MapperExportException: com.ctc.wstx.exc.WstxIOException: null
        at com.atlassian.bamboo.migration.stream.AbstractResultSummaryMapper$2.accept(AbstractResultSummaryMapper.java:410)
        at com.atlassian.bamboo.migration.stream.AbstractResultSummaryMapper$2.accept(AbstractResultSummaryMapper.java:389)
        at com.atlassian.bamboo.resultsummary.BuildResultsSummaryHibernateDao$38.nextScrollableResult(BuildResultsSummaryHibernateDao.java:1632)
        at org.springframework.orm.hibernate.ScrollHibernateCallback.doInHibernate(ScrollHibernateCallback.java:54)
        at org.springframework.orm.hibernate.ScrollHibernateCallback.doInHibernate(ScrollHibernateCallback.java:12)
        at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
        at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:341)
        at com.atlassian.bamboo.resultsummary.BuildResultsSummaryHibernateDao.scrollResultSummaries(BuildResultsSummaryHibernateDao.java:1598)
        at com.atlassian.bamboo.migration.stream.AbstractResultSummaryMapper.exportListXml(AbstractResultSummaryMapper.java:388)
        at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:154)
        at com.atlassian.bamboo.migration.stream.JobMapper.exportProperties(JobMapper.java:98)
        at com.atlassian.bamboo.migration.stream.JobMapper.exportProperties(JobMapper.java:36)
        at com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl.exportXml(BambooStAXMappingHelperAbstractImpl.java:112)
        at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:176)
        at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:154)
        at com.atlassian.bamboo.migration.stream.ProjectMapper.exportProperties(ProjectMapper.java:97)
        at com.atlassian.bamboo.migration.stream.ProjectMapper.exportProperties(ProjectMapper.java:32)
        at com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl.exportXml(BambooStAXMappingHelperAbstractImpl.java:112)
        at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:176)
        at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:154)
        at com.atlassian.bamboo.migration.stream.AbstractProjectMapper.exportData(AbstractProjectMapper.java:162)
        at com.atlassian.bamboo.migration.XmlMigrator.exportToStream(XmlMigrator.java:557)
        at com.atlassian.bamboo.migration.XmlMigrator.exportXml(XmlMigrator.java:489)
        at com.atlassian.bamboo.migration.XmlMigrator$$FastClassBySpringCGLIB$$b6578fc7.invoke(<generated>)
        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:708)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:644)
        at com.atlassian.bamboo.migration.XmlMigrator$$EnhancerBySpringCGLIB$$2b944535.exportXml(<generated>)
        at com.atlassian.bamboo.migration.ImportExportManagerImpl.bambooExport(ImportExportManagerImpl.java:99)
        at com.atlassian.bamboo.configuration.ScheduledBackupJob.execute(ScheduledBackupJob.java:75)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
        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 org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
Caused by: com.ctc.wstx.exc.WstxIOException: null
        at com.ctc.wstx.sw.TypedStreamWriter.writeTypedElement(TypedStreamWriter.java:200)
        at com.ctc.wstx.sw.TypedStreamWriter.writeLong(TypedStreamWriter.java:93)
        at org.codehaus.staxmate.out.SMOutputContext.writeValue(SMOutputContext.java:833)
        at org.codehaus.staxmate.out.SMOutputContainer.addValue(SMOutputContainer.java:343)
        at com.atlassian.bamboo.migration.MapperUtil.exportDefaults(MapperUtil.java:113)
        at com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl.exportProperties(BambooStAXMappingHelperAbstractImpl.java:80)
        at com.atlassian.bamboo.migration.stream.AbstractResultSummaryMapper.exportProperties(AbstractResultSummaryMapper.java:157)
        at com.atlassian.bamboo.migration.stream.BuildResultSummaryMapper.exportProperties(BuildResultSummaryMapper.java:50)
        at com.atlassian.bamboo.migration.stream.BuildResultSummaryMapper.exportProperties(BuildResultSummaryMapper.java:22)
        at com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl.exportXml(BambooStAXMappingHelperAbstractImpl.java:112)
        at com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl.exportXml(BambooStAXMappingHelperAbstractImpl.java:95)
        at com.atlassian.bamboo.migration.stream.AbstractResultSummaryMapper.access$000(AbstractResultSummaryMapper.java:53)
        at com.atlassian.bamboo.migration.stream.AbstractResultSummaryMapper$2.accept(AbstractResultSummaryMapper.java:399)
        ... 40 more
Caused by: de.schlichtherle.truezip.io.OutputClosedException
        at de.schlichtherle.truezip.io.DisconnectingOutputStream.checkOpen(DisconnectingOutputStream.java:35)
        at de.schlichtherle.truezip.io.DisconnectingOutputStream.write(DisconnectingOutputStream.java:46)
        at de.schlichtherle.truezip.io.LockOutputStream.write(LockOutputStream.java:63)
        at de.schlichtherle.truezip.io.DecoratingOutputStream.write(DecoratingOutputStream.java:54)
        at de.schlichtherle.truezip.io.DecoratingOutputStream.write(DecoratingOutputStream.java:54)
        at de.schlichtherle.truezip.io.DecoratingOutputStream.write(DecoratingOutputStream.java:54)
        at de.schlichtherle.truezip.io.DecoratingOutputStream.write(DecoratingOutputStream.java:54)
        at de.schlichtherle.truezip.io.DecoratingOutputStream.write(DecoratingOutputStream.java:54)
        at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:100)
        at com.ctc.wstx.sw.RestrictedCharsAwareBufferingXmlWriter.flush(RestrictedCharsAwareBufferingXmlWriter.java:233)
        at com.ctc.wstx.sw.RestrictedCharsAwareBufferingXmlWriter.writeTypedElement(RestrictedCharsAwareBufferingXmlWriter.java:1176)
        at com.ctc.wstx.sw.TypedStreamWriter.writeTypedElement(TypedStreamWriter.java:195)
        ... 52 more
2016-08-23 08:32:42,175 INFO [scheduler_Worker-3] [XmlMigrator] Ensuring the the file has been unmounted
2016-08-23 08:32:42,175 INFO [scheduler_Worker-3] [XmlMigrator] Unmounted /data/sites/infra-all-ci-01/bamboo-home/backups/bamboo_backup_2016_08_23.zip
2016-08-23 08:32:42,175 INFO [scheduler_Worker-3] [XmlMigrator] Export completed. 4.545 h
2016-08-23 08:32:42,928 INFO [scheduler_Worker-3] [ServerLifecycleManagerImpl] Server state changed to 'RUNNING' from 'PAUSED'


What am I doing wrong ?

Debian 8.5 / 

[DC02] root@tool-cimaster01-p01.dc02 ~ # java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

 

Regards,

 

2 answers

0 votes
Jiří Wetter
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 3, 2019

Hi, did you solve this issue with support or it is wasting of time to contact them?

0 votes
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 23, 2016

Hi,

This looks like a problem that requires a more in-depth investigation, so I suggest you create a ticket at support.atlassian.com so we can help you diagnose and resolve this problem. When you open the ticket, please create a support zip in Bamboo and attach it to the ticket. Thanks!

Christian Glockner

Premier Support Engineer

Atlassian

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events