Failing analysis ID: "48d4a7f6-48dd-4d6d-ba57-0a36fe923261"

not sure what information I can share, but we seem to fail setting up an autoscan for .net code. The information we get is very limited, after some different testing we now get:

Last analysis failed Analysis ID “AZCXnGK1H6ZSasRjSsZh”

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: “AZCXnGK1H6ZSasRjSsZh”.

So this analysis ID changed from 48d4a7f6-48dd-4d6d-ba57-0a36fe923261 to AZCXnGK1H6ZSasRjSsZh.

we were triggered by the anouncement on .net auto scan options as per Automatic analysis & SonarCloud

  • GitHub
  • dotnet

Hi René,

This is the error we see for both analysis IDs:

File mediaworkflowmanager/syncer.cs can’t be indexed twice. Please check that inclusion/exclusion patterns produce disjoint sets for main and test files

Please let us know if you need further assistance.

Thanks Csaba

Hi

Following settngs have been made:

sonar.sources = .

sonar.inclusions = mediaimporter//*,mediaworkflowmanager//*

The file syncer.cs appears only once in the repo.

It is not clear to me why this error appears and what I should configure to avoid the error.

image001.png

Hi

As an experiment we modified the sonarcloud file in our repo to this:

sonar.sources = .

sonar.tests = null

sonar.inclusions = mediaimporter//*,mediaworkflowmanager//*

But we still see an error, now with the ID 9b174e3c-b691-4e5e-bd94-c5b57ed8c704

Is there any way for us to find useful logs rather than such obscure error codes?

Hello @r-moonen,

Is your project open source so I can take a look at it while I investigate the issue?
If not, would you be able to provide a small reproducer for this issue?

It would help me a lot to identify the problem.

Thank you,