Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allure for Bamboo v. 1.15.0 compatibility issue with Bamboo v 8.2.5 #288

Open
Manjunatha-ns opened this issue Mar 27, 2023 · 2 comments
Open

Comments

@Manjunatha-ns
Copy link

Hi ,

we are using bamboo v 8.2.5 and recently i upgraded Allure for Bamboo from v.1.14.0 to v.1.15.0, all agents are started reporting the below error, now I have downgraded back to v.1.14.0 and agents are running fine

ERROR :
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executableBuildAgent' defined in class path resource [applicationContextRemoteAgentStartupCore.xml]: Invocation of init method failed; nested exception is com.atlassian.bamboo.exception.StartupException: Mission critical plugins did not start: com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-git:gitv2, com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-bitbucket:bbCloud, com.atlassian.bamboo.plugins.stash.atlassian-bamboo-plugin-stash:bbserver

Caused by: com.atlassian.bamboo.exception.StartupException: Mission critical plugins did not start: com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-git:gitv2, com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-bitbucket:bbCloud, com.atlassian.bamboo.plugins.stash.atlassian-bamboo-plugin-stash:bbserver
at com.atlassian.bamboo.utils.startup.PluginSystemStartupUtils.verifyBundledPluginsAvailability(PluginSystemStartupUtils.java:47)

@focbenz
Copy link

focbenz commented Jul 7, 2023

We are affected as well during and could only start Bamboo Server 8.2.7 suddenly with the same issue.
Raising the log level in Bamboo Serverfor plugins to debug surprisingly helped to work around that race condition.
(ignoring the ERRORs in the log when starting.)

The only newer version of Allure Report for Bamboo verion 1.16.1 seems to only have "DC Support" and does not mention any other bug fixes.

So Atlassian basically reminds the creators of the "Allure for Bamboo" / "Allure Report for Bamboo" plugin to v2 update to the Spring scanner library

This knowledge base entry is for Confluence but also goes for Bamboo:
https://confluence.atlassian.com/confkb/plugins-failing-to-start-due-to-plugin-has-an-extra-copy-of-atlassian-spring-scanner-annotation-classes-959299076.html

@focbenz
Copy link

focbenz commented Nov 21, 2023

For compatibility reasons with our 9,2.7 Bamboo Server installation a fix to remove the problematic spring-scanner dependency was created and a pull request for upstream is available:
https://github.com/FOCONIS/allure-bamboo/pull/1/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants