JetBrains / TeamCity.SonarQubePlugin

A plugin for TeamCity server allowing you to configure and run SonarQube analysis from the CI
Apache License 2.0
53 stars 31 forks source link

Scanner reports that reports doesn't contain coverage. #53

Closed Jefiozie closed 6 years ago

Jefiozie commented 6 years ago

Hi,

We just upgraded our Sonar runner plugin to 2017.1-18 and for some reason it is providing us the following error: WARNING: WARN: The Code Coverage report doesn't contain any coverage data for the included files.

Looking at the file i just see results in the browser (see screenshot)

image

Any help how I can figure out what the reason off this problem is? Teamcity version: TeamCity Enterprise 2018.1.1 (build 58406)

Thanks!

[14:14:02][Step 11/11] INFO: Sensor C# Tests Coverage Report Import [csharp]
[14:14:02][Step 11/11] INFO: Aggregating the HTML reports from T:\BuildAgent\work\61075e55c36fdeba\.\coverage.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\1.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\10.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\11.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\12.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\13.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\14.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\15.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\16.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\17.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\18.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\19.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\2.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\20.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\21.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\22.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\23.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\24.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\25.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\26.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\27.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\276.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\277.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\278.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\279.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\28.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\280.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\281.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\282.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\283.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\284.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\285.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\286.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\287.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\288.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\289.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\29.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\290.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\291.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\3.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\30.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\31.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\32.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\33.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\34.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\35.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\36.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\37.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\38.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\39.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\4.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\40.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\41.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\42.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\43.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\44.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\45.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\46.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\47.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\48.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\49.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\5.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\50.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\51.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\52.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\53.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\54.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\55.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\56.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\57.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\58.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\59.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\6.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\60.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\61.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\62.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\63.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\64.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\65.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\66.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\67.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\7.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\8.html
[14:14:02][Step 11/11] INFO: Parsing the dotCover report T:\BuildAgent\work\61075e55c36fdeba\.\coverage\src\9.html
[14:14:02][Step 11/11] INFO: Adding this code coverage report to the cache for later reuse: T:\BuildAgent\work\61075e55c36fdeba\.\coverage.html
[14:14:02][Step 11/11] WARNING: WARN: The Code Coverage report doesn't contain any coverage data for the included files. For troubleshooting hints, please refer to https://docs.sonarqube.org/x/CoBh
Linfar commented 6 years ago

Did it work before upgrade? What version did you have? Also please send me a build log for this build (andrey.titov@jetbrains.com)

Jefiozie commented 6 years ago

Made a mistake we used the SonarC# tool and not this plugin.

Thanks for the response, closing it as it no issue for this plugin.