Last analysis failed bd952943-d1e1-490c-89cc-7ab8fdbfca36

Hello there,

I have a Sonar Cloud project that was auto scanning perfect fine for weeks, then about 2 weeks ago it stopped. I see in the UI that “Last Analysis failed”. When I click the link there, I get:

Last analysis failed Analysis ID “bd952943-d1e1-490c-89cc-7ab8fdbfca36”

The last analysis has failed. If it keeps on failing after several attempts, please contact us on Community forum and provide the following failing analysis ID: “bd952943-d1e1-490c-89cc-7ab8fdbfca36”.

So I am blindly following the instructions. I see no other logs to inspect. Can anyone direct me as to what may have gone wrong here or what I should be looking at on my end to further diagnose? Thanks a great deal in advance!

Hi,

Welcome to the community!

Can you give us the approximate date/timestamp of this error?

 
Thx,
Ann

The last clean analysis was on March 16th. The next commit on main after that was on or about March 19th. That commit should have generated a new analysis, so I can only assume the “last analysis failed” message was from that March 19th commit. I apologize as I do not know the time of day.

Thank you kindly.

Hi,

Thanks for that. I’ve flagged this for the folks with log access.

 
Ann

Hi @b-edwin-bianchi, welcome to the commuity!

The analysis failed with this error:

ERROR: Wildcards ** and * are not supported in "sonar.sources" and "sonar.tests" properties. "sonar.sources" and "sonar.tests" properties support only comma separated list of directories. Use "sonar.exclusions/sonar.inclusions" and "sonar.test.exclusions/sonar.test.inclusions" to further filter files in "sonar.sources" and "sonar.tests" respectively. Please refer to SonarCloud documentation for more details.

Could you have a look at the sonarcloud.properties file on your repository?
You’ll find some documentation here: Automatic analysis | SonarQube Cloud Documentation and here: Analysis Parameters | SonarQube Cloud Documentation

Claire

Outstanding! I saw a change to .sonarcloud.properties but it looks ok to me. I will pass this along to my team. Thank you so much.

In the future, is there any way I can analyze this kind of failure myself?

Thank you again.

Hi,

Sadly, not today. This is something we have in mind to improve in the future though.

Claire

1 Like