ADO ubuntu-latest issue

Need some help, maybe you can advise something on next issue:

  • Sonar Version: Enterprise Edition Version 9.3 (build 51899)
  • Since 15th of Feb in Azure DevOps, Sonar Publish step is failing with next errors only in ubuntu-latest agents. On windows agents - it works fine.

ADO Step:

  • task: SonarQubePublish@5
    pollingTimeoutSec: ‘300’

Task failed with status FAILED, Error message: Index 70 out of bounds for length 69
(Visit failed for Component {key=*****-key:home/vsts/work/1/s/src/****.cs:
BRANCH:devops/sonar-publish-issue,type=FILE} located *****

The problem is that same commit was worked perfectly fine and then same commit started to fail on Sonar publish step, on our side nothing was changed.
We would prefer to continue use ubuntu agents, but due to this error its not possible.
Any ideas how to fix it?


Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

9.3 → 9.9

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes for 7.9 to 8.9, as well as the LTS to LTS release upgrade notes for 8.9 to 9.9 helpful. If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.