TFS 2018 Prepare analysis on SonarQube Task Fails after upgrade to Developer Edition 8.9.2

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    TFS 2018 Update 3.2,
    TFS SonarQube Extension 4.23,
    Developer Edition 8.9.2

  • what are you trying to achieve
    Build on TFS 2018, fails Prepare analysis on SonarQube Task Fails after upgrade to 8.9.2

2021-10-05T13:02:27.8517506Z ##[debug]Evaluating condition for step: 'Prepare analysis on SonarQube'
2021-10-05T13:02:27.8518814Z ##[debug]Evaluating: succeeded()
2021-10-05T13:02:27.8519064Z ##[debug]Evaluating succeeded:
2021-10-05T13:02:27.8519372Z ##[debug]=> True
2021-10-05T13:02:27.8519867Z ##[debug]Result: True
2021-10-05T13:02:27.8520331Z ##[section]Starting: Prepare analysis on SonarQube
2021-10-05T13:02:27.8526008Z ==============================================================================
2021-10-05T13:02:27.8526195Z Task         : Prepare Analysis Configuration
2021-10-05T13:02:27.8526334Z Description  : Prepare SonarQube analysis configuration
2021-10-05T13:02:27.8526481Z Version      : 4.23.0
2021-10-05T13:02:27.8526597Z Author       : sonarsource
2021-10-05T13:02:27.8526762Z Help         : Version: 4.23.0. [More Information](http://redirect.sonarsource.com/doc/install-configure-scanner-tfs-ts.html)
2021-10-05T13:02:27.8526958Z ==============================================================================
2021-10-05T13:02:27.8565592Z ##[error]A supported task execution handler was not found. The task does not carry an implementation that is compatible with your current operating system 'Windows'. Contact the task author for more details.
2021-10-05T13:02:27.8585397Z ##[debug]System.Exception: A supported task execution handler was not found. The task does not carry an implementation that is compatible with your current operating system 'Windows'. Contact the task author for more details.
   at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.<RunAsync>d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.<RunStepAsync>d__1.MoveNext()
2021-10-05T13:02:27.8587571Z ##[section]Finishing: Prepare analysis on SonarQube
  • what have you tried so far to achieve this
    Upgraded from 8.9.0 to 8.9.2,
    Uninstalled/Installed TFS SonarQube Extension 4.23

  • Screenshots:

Hi @guba200 welcome to the community.

You have a set of workarounds for that available here

HTH and sorry for the incovenience.
Mickaël

Nice. Thanks. I chose the Build Agent Upgrade > 2.144.0 option and all is working now. I now have upgraded:

  • SonarQube to Dev Edition from 8.9.0 to 8.9.2
  • TFS Sonar Qube Extension from 4.22 to 4.23
  • TFS Build Agents from 2.136.1 to 2.192.0

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.