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

Deployment Error

Hi,

   We are using Bamboo and all is well until i think you upgraded your product (as can be seen in the change of the UI recently). There are no build errors but when we deploy with the same deployment plan which was working before it gives an error. Below is the difference of the logs that is working and not working.

Working:

simple 07-Jun-2020 04:11:56 Build working directory is /home/bamboo/xml-data/build-dir/14811138-14909446
simple 07-Jun-2020 04:11:56 Executing build Deployment of 'IntraLCA-1.1-232' on 'Development'
simple 07-Jun-2020 04:11:56 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask'
simple 07-Jun-2020 04:11:56 Cleaning working directory '/home/bamboo/xml-data/build-dir/14811138-14909446'
simple 07-Jun-2020 04:11:56 Finished task 'Clean working directory task' with result: Success
simple 07-Jun-2020 04:11:56 Starting task 'Download release contents' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'
simple 07-Jun-2020 04:11:56 Preparing to download plan result ILCA-ILCA0-232 artifact: Non required shared artifact: [IntraLCA-Immidee-Integration], pattern: [IntraLCA-Immidee-Integration.tar.gz]
simple 07-Jun-2020 04:11:56 Artifact [IntraLCA-Immidee-Integration] downloaded successfully in 9.274 ms to working directory
simple 07-Jun-2020 04:11:56 Preparing to download plan result ILCA-ILCA0-232 artifact: Non required shared artifact: [2fa.tar.gz], pattern: [2fa.tar.gz]
simple 07-Jun-2020 04:11:56 Artifact [2fa.tar.gz] downloaded successfully in 10.17 ms to working directory
simple 07-Jun-2020 04:11:56 Preparing to download plan result ILCA-ILCA0-232 artifact: Non required shared artifact: [App.jar], pattern: [App.jar]
simple 07-Jun-2020 04:11:56 Artifact [App.jar] downloaded successfully in 29.28 ms to working directory
simple 07-Jun-2020 04:11:56 Preparing to download plan result ILCA-ILCA0-232 artifact: Non required shared artifact: [LCAWidget], pattern: [LCAWidget.war] anchored at: [LCAWidget/target]
simple 07-Jun-2020 04:11:56 Artifact [LCAWidget] downloaded successfully in 61.44 ms to working directory
simple 07-Jun-2020 04:11:56 Preparing to download plan result ILCA-ILCA0-232 artifact: Non required shared artifact: [LcaWS], pattern: [LcaWS.war] anchored at: [LcaWS/target]
simple 07-Jun-2020 04:11:56 Artifact [LcaWS] downloaded successfully in 139.2 ms to working directory
simple 07-Jun-2020 04:11:56 Preparing to download plan result ILCA-ILCA0-232 artifact: Non required shared artifact: [automation scripts], pattern: [automation.tar.gz] anchored at: [BackendScripts]
simple 07-Jun-2020 04:11:56 Artifact [automation scripts] downloaded successfully in 42.19 ms to working directory
simple 07-Jun-2020 04:11:56 Preparing to download plan result ILCA-ILCA0-232 artifact: Non required shared artifact: [browser-launcher], pattern: [browser-launcher.war] anchored at: [browser-launcher/target]
simple 07-Jun-2020 04:11:56 Artifact [browser-launcher] downloaded successfully in 29.77 ms to working directory
simple 07-Jun-2020 04:11:56 Preparing to download plan result ILCA-ILCA0-232 artifact: Non required shared artifact: [emailTemplates], pattern: [emailTemplates.tar.gz] anchored at: [BackendScripts]
simple 07-Jun-2020 04:11:56 Artifact [emailTemplates] downloaded successfully in 2.239 ms to working directory
simple 07-Jun-2020 04:11:56 Preparing to download plan result ILCA-ILCA0-232 artifact: Non required shared artifact: [autoPosting scripts], pattern: [autoPosting.tar.gz] anchored at: [BackendScripts]
simple 07-Jun-2020 04:11:56 Artifact [autoPosting scripts] downloaded successfully in 1.381 ms to working directory
simple 07-Jun-2020 04:11:56 Preparing to download plan result ILCA-ILCA0-232 artifact: Non required shared artifact: [jasperMyReports], pattern: [jasperMyReports.tar.gz] anchored at: [BackendScripts]
simple 07-Jun-2020 04:11:56 Artifact [jasperMyReports] downloaded successfully in 4.135 ms to working directory
simple 07-Jun-2020 04:11:56 Preparing to download plan result ILCA-ILCA0-232 artifact: Non required shared artifact: [intralca-cron], pattern: [intralca-cron] anchored at: [BackendScripts]
simple 07-Jun-2020 04:11:56 Artifact [intralca-cron] downloaded successfully in 1.775 ms to working directory
simple 07-Jun-2020 04:11:56 Finished task 'Download release contents' with result: Success
simple 07-Jun-2020 04:11:56 Starting task 'Copy all artifacts to the target server' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask'

 

Not Working:

simple 07-Jun-2020 04:09:50 Build working directory is /home/bamboo/xml-data/build-dir/14811138-14909446
simple 07-Jun-2020 04:09:50 Executing build Deployment of 'IntraLCA-1.1-234' on 'Development'
simple 07-Jun-2020 04:09:50 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask'
simple 07-Jun-2020 04:09:50 Cleaning working directory '/home/bamboo/xml-data/build-dir/14811138-14909446'
simple 07-Jun-2020 04:09:50 Finished task 'Clean working directory task' with result: Success
simple 07-Jun-2020 04:09:50 Starting task 'Download release contents' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'
simple 07-Jun-2020 04:09:50 Preparing to download plan result ILCA-ILCA0-234 artifact: Non required shared artifact: [IntraLCA-Immidee-Integration], pattern: [IntraLCA-Immidee-Integration.tar.gz]
simple 07-Jun-2020 04:09:50 Artifact [IntraLCA-Immidee-Integration] downloaded successfully in 10.22 ms to working directory
simple 07-Jun-2020 04:09:50 Preparing to download plan result ILCA-ILCA0-234 artifact: Non required shared artifact: [2fa.tar.gz], pattern: [2fa.tar.gz]
simple 07-Jun-2020 04:09:50 Artifact [2fa.tar.gz] downloaded successfully in 9.835 ms to working directory
simple 07-Jun-2020 04:09:50 Preparing to download plan result ILCA-ILCA0-234 artifact: Non required shared artifact: [App.jar], pattern: [App.jar]
error 07-Jun-2020 04:09:50 Unable to download artifact Non required shared artifact: [App.jar], pattern: [App.jar]

 

Solutions we tried:

Tried to save each deployment task without change and it seems that when you save it takes forever (looks like its hanging).

 

image.png

 

Our problem is quite urgent as we cant continue with our projects.

 

Regards,
Mat Ordonio

1 answer

0 votes
Boris Van Hardeveld Marketplace Partner Jun 08, 2020

There is not a lot of information here. How was this Bamboo installation updated? From which version to which?

Could you please verify that the artefact file App.jar actually exists in the build folder of the build plan linked to this deployment? You should be able to find this at <bamboo-server-home>/xml-data/build-dir/<PLAN>-BUILD. If the artefact is not present you will need to re-run the build (or something else is wrong).

The deployment task spinner that keeps hanging might be related to this Chrome problem (which can be verified by making an actual change to the task or changing browser).

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...

500 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