microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.5k stars 2.61k forks source link

[BUG]: PublishCodeCoverageResults@2 does not work with BuildQualityChecks, but PublishCodeCoverageResults@1 does. #18787

Open Pentadome opened 1 year ago

Pentadome commented 1 year ago

Task name

PublishCodeCoverageResults

Task version

2

Environment type (Please select at least one enviroment where you face this issue)

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

3.224.1

Operation system

Windows_NT 10.0.22621

Task log

- task: DotNetCoreCLI@2
  displayName: 'Test'
  retryCountOnTaskFailure: 1
  inputs:
    command: 'test'
    arguments: '--configuration Debug --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=cobertura'
    publishTestResults: true
    projects: 'redacted' # update with your test project directory

- task: PublishCodeCoverageResults@2
  displayName: 'Publish code coverage report'
  inputs:
    summaryFileLocation: '$(Agent.TempDirectory)/**/coverage.cobertura.xml'
    failIfCoverageEmpty: true
2023-08-07T14:41:46.1539976Z ##[section]Starting: Publish code coverage report
2023-08-07T14:41:46.1616883Z ==============================================================================
2023-08-07T14:41:46.1616931Z Task         : Publish code coverage results v2
2023-08-07T14:41:46.1616959Z Description  : Publish any of the code coverage results from a build
2023-08-07T14:41:46.1616992Z Version      : 2.225.0
2023-08-07T14:41:46.1617012Z Author       : Microsoft Corporation
2023-08-07T14:41:46.1617042Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/test/publish-code-coverage-results
2023-08-07T14:41:46.1617183Z ==============================================================================
2023-08-07T14:41:46.2640201Z Found 14 result(s) matching pattern: C:\agents\0\_work\_temp/**/coverage.cobertura.xml
2023-08-07T14:41:46.2642318Z C:\agents\0\_work\_temp\19c3d570-5b56-4742-8089-cf1601682be7\coverage.cobertura.xml
2023-08-07T14:41:46.2642691Z C:\agents\0\_work\_temp\25802808-83c2-4ecc-a6d9-08a123d1c54f\coverage.cobertura.xml
2023-08-07T14:41:46.2643061Z C:\agents\0\_work\_temp\28175055-ad34-4e56-a07a-00649e720d19\coverage.cobertura.xml
2023-08-07T14:41:46.2643460Z C:\agents\0\_work\_temp\5aea411b-fce2-45e1-913c-377a9a2fc2fe\coverage.cobertura.xml
2023-08-07T14:41:46.2643812Z C:\agents\0\_work\_temp\5ca08b6b-4982-4d78-987c-07ca9bf15456\coverage.cobertura.xml
2023-08-07T14:41:46.2644162Z C:\agents\0\_work\_temp\797d5959-9409-4437-b78c-fa880fce5fa4\coverage.cobertura.xml
2023-08-07T14:41:46.2644508Z C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_10\In\DESKTOP-MPD2QQU\coverage.cobertura.xml
2023-08-07T14:41:46.2645452Z C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_11\In\DESKTOP-MPD2QQU\coverage.cobertura.xml
2023-08-07T14:41:46.2645972Z C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_28\In\DESKTOP-MPD2QQU\coverage.cobertura.xml
2023-08-07T14:41:46.2646849Z C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_29\In\DESKTOP-MPD2QQU\coverage.cobertura.xml
2023-08-07T14:41:46.2647243Z C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_32\In\DESKTOP-MPD2QQU\coverage.cobertura.xml
2023-08-07T14:41:46.2647580Z C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_33\In\DESKTOP-MPD2QQU\coverage.cobertura.xml
2023-08-07T14:41:46.2647940Z C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_39\In\DESKTOP-MPD2QQU\coverage.cobertura.xml
2023-08-07T14:41:46.2648317Z C:\agents\0\_work\_temp\d77af1be-464b-4c2d-8ad7-f1fba62f6a3c\coverage.cobertura.xml
2023-08-07T14:41:46.2680482Z [command]"C:\agents\0\_work\_tasks\PublishCodeCoverageResults_2a7ebc54-c13e-490e-81a5-d7561ab7cd97\2.225.0\node_modules\coveragepublisher\CoveragePublisher\CoveragePublisher.Console.exe" C:\agents\0\_work\_temp\19c3d570-5b56-4742-8089-cf1601682be7\coverage.cobertura.xml C:\agents\0\_work\_temp\25802808-83c2-4ecc-a6d9-08a123d1c54f\coverage.cobertura.xml C:\agents\0\_work\_temp\28175055-ad34-4e56-a07a-00649e720d19\coverage.cobertura.xml C:\agents\0\_work\_temp\5aea411b-fce2-45e1-913c-377a9a2fc2fe\coverage.cobertura.xml C:\agents\0\_work\_temp\5ca08b6b-4982-4d78-987c-07ca9bf15456\coverage.cobertura.xml C:\agents\0\_work\_temp\797d5959-9409-4437-b78c-fa880fce5fa4\coverage.cobertura.xml C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_10\In\DESKTOP-MPD2QQU\coverage.cobertura.xml C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_11\In\DESKTOP-MPD2QQU\coverage.cobertura.xml C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_28\In\DESKTOP-MPD2QQU\coverage.cobertura.xml C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_29\In\DESKTOP-MPD2QQU\coverage.cobertura.xml C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_32\In\DESKTOP-MPD2QQU\coverage.cobertura.xml C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_33\In\DESKTOP-MPD2QQU\coverage.cobertura.xml C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_39\In\DESKTOP-MPD2QQU\coverage.cobertura.xml C:\agents\0\_work\_temp\d77af1be-464b-4c2d-8ad7-f1fba62f6a3c\coverage.cobertura.xml --reportDirectory C:\agents\0\_work\_temp\081b0957-87e8-47f3-8cef-a5e67a567fba
2023-08-07T14:41:46.7220262Z 2023-08-07T16:41:46: Loading report 'C:\agents\0\_work\_temp\19c3d570-5b56-4742-8089-cf1601682be7\coverage.cobertura.xml' 1/14 in memory
2023-08-07T14:41:47.0210091Z 2023-08-07T16:41:47: Preprocessing report
2023-08-07T14:41:47.0340411Z 2023-08-07T16:41:47: Initiating parser for Cobertura
2023-08-07T14:41:47.0414773Z 2023-08-07T16:41:47: Current Assembly: redacted
2023-08-07T14:41:47.0878708Z 2023-08-07T16:41:47: Current Assembly: redacted
2023-08-07T14:41:47.0948104Z 2023-08-07T16:41:47: Current Assembly: redacted
2023-08-07T14:41:47.1159217Z 2023-08-07T16:41:47: Current Assembly: redacted
2023-08-07T14:41:47.1167156Z 2023-08-07T16:41:47: Finished parsing 'C:\agents\0\_work\_temp\19c3d570-5b56-4742-8089-cf1601682be7\coverage.cobertura.xml' 1/14
2023-08-07T14:41:47.1167379Z 2023-08-07T16:41:47: Loading report 'C:\agents\0\_work\_temp\25802808-83c2-4ecc-a6d9-08a123d1c54f\coverage.cobertura.xml' 2/14 in memory
2023-08-07T14:41:47.1167559Z 2023-08-07T16:41:47: Starting merging result 1
2023-08-07T14:41:47.1173024Z 2023-08-07T16:41:47: Finished merging result 1
2023-08-07T14:41:47.4135497Z 2023-08-07T16:41:47: Preprocessing report
2023-08-07T14:41:47.4240755Z 2023-08-07T16:41:47: Initiating parser for Cobertura
2023-08-07T14:41:47.4264222Z 2023-08-07T16:41:47: Current Assembly: redacted
2023-08-07T14:41:47.4952405Z 2023-08-07T16:41:47: Current Assembly: redacted
2023-08-07T14:41:47.5017955Z 2023-08-07T16:41:47: Current Assembly: redacted
2023-08-07T14:41:47.5247787Z 2023-08-07T16:41:47: Current Assembly: redacted
2023-08-07T14:41:47.5248058Z 2023-08-07T16:41:47: Current Assembly: redacted
2023-08-07T14:41:47.5250168Z 2023-08-07T16:41:47: Finished parsing 'C:\agents\0\_work\_temp\25802808-83c2-4ecc-a6d9-08a123d1c54f\coverage.cobertura.xml' 2/14
2023-08-07T14:41:47.5250380Z 2023-08-07T16:41:47: Loading report 'C:\agents\0\_work\_temp\28175055-ad34-4e56-a07a-00649e720d19\coverage.cobertura.xml' 3/14 in memory
2023-08-07T14:41:47.5250572Z 2023-08-07T16:41:47: Starting merging result 2
2023-08-07T14:41:47.5389690Z 2023-08-07T16:41:47: Finished merging result 2
2023-08-07T14:41:47.6502829Z 2023-08-07T16:41:47: Preprocessing report
2023-08-07T14:41:47.6535329Z 2023-08-07T16:41:47: Initiating parser for Cobertura
2023-08-07T14:41:47.6541697Z 2023-08-07T16:41:47: Current Assembly: redacted
2023-08-07T14:41:47.6906020Z 2023-08-07T16:41:47: Current Assembly: redacted
2023-08-07T14:41:47.6907125Z 2023-08-07T16:41:47: Current Assembly: redacted
2023-08-07T14:41:47.6909951Z 2023-08-07T16:41:47: Finished parsing 'C:\agents\0\_work\_temp\28175055-ad34-4e56-a07a-00649e720d19\coverage.cobertura.xml' 3/14
2023-08-07T14:41:47.6910270Z 2023-08-07T16:41:47: Loading report 'C:\agents\0\_work\_temp\5aea411b-fce2-45e1-913c-377a9a2fc2fe\coverage.cobertura.xml' 4/14 in memory
2023-08-07T14:41:47.6910439Z 2023-08-07T16:41:47: Starting merging result 3
2023-08-07T14:41:47.6998377Z 2023-08-07T16:41:47: Finished merging result 3
2023-08-07T14:41:47.8299493Z 2023-08-07T16:41:47: Preprocessing report
2023-08-07T14:41:47.8349844Z 2023-08-07T16:41:47: Initiating parser for Cobertura
2023-08-07T14:41:47.8359183Z 2023-08-07T16:41:47: Current Assembly: redacted
2023-08-07T14:41:47.9009869Z 2023-08-07T16:41:47: Current Assembly: redacted
2023-08-07T14:41:47.9010579Z 2023-08-07T16:41:47: Finished parsing 'C:\agents\0\_work\_temp\5aea411b-fce2-45e1-913c-377a9a2fc2fe\coverage.cobertura.xml' 4/14
2023-08-07T14:41:47.9010778Z 2023-08-07T16:41:47: Loading report 'C:\agents\0\_work\_temp\5ca08b6b-4982-4d78-987c-07ca9bf15456\coverage.cobertura.xml' 5/14 in memory
2023-08-07T14:41:47.9010905Z 2023-08-07T16:41:47: Starting merging result 4
2023-08-07T14:41:47.9087797Z 2023-08-07T16:41:47: Finished merging result 4
2023-08-07T14:41:47.9637944Z 2023-08-07T16:41:47: Preprocessing report
2023-08-07T14:41:47.9658461Z 2023-08-07T16:41:47: Initiating parser for Cobertura
2023-08-07T14:41:47.9664760Z 2023-08-07T16:41:47: Current Assembly: redacted
2023-08-07T14:41:48.0050209Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.0051654Z 2023-08-07T16:41:48: Finished parsing 'C:\agents\0\_work\_temp\5ca08b6b-4982-4d78-987c-07ca9bf15456\coverage.cobertura.xml' 5/14
2023-08-07T14:41:48.0051805Z 2023-08-07T16:41:48: Starting merging result 5
2023-08-07T14:41:48.0051988Z 2023-08-07T16:41:48: Loading report 'C:\agents\0\_work\_temp\797d5959-9409-4437-b78c-fa880fce5fa4\coverage.cobertura.xml' 6/14 in memory
2023-08-07T14:41:48.0126328Z 2023-08-07T16:41:48: Finished merging result 5
2023-08-07T14:41:48.0631620Z 2023-08-07T16:41:48: Preprocessing report
2023-08-07T14:41:48.0712096Z 2023-08-07T16:41:48: Initiating parser for Cobertura
2023-08-07T14:41:48.0728531Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.1025778Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.1214012Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.1214407Z 2023-08-07T16:41:48: Finished parsing 'C:\agents\0\_work\_temp\797d5959-9409-4437-b78c-fa880fce5fa4\coverage.cobertura.xml' 6/14
2023-08-07T14:41:48.1214652Z 2023-08-07T16:41:48: Loading report 'C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_10\In\DESKTOP-MPD2QQU\coverage.cobertura.xml' 7/14 in memory
2023-08-07T14:41:48.1214843Z 2023-08-07T16:41:48: Starting merging result 6
2023-08-07T14:41:48.1298610Z 2023-08-07T16:41:48: Finished merging result 6
2023-08-07T14:41:48.1877123Z 2023-08-07T16:41:48: Preprocessing report
2023-08-07T14:41:48.1940272Z 2023-08-07T16:41:48: Initiating parser for Cobertura
2023-08-07T14:41:48.1950137Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.2446252Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.2446662Z 2023-08-07T16:41:48: Finished parsing 'C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_10\In\DESKTOP-MPD2QQU\coverage.cobertura.xml' 7/14
2023-08-07T14:41:48.2447046Z 2023-08-07T16:41:48: Loading report 'C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_11\In\DESKTOP-MPD2QQU\coverage.cobertura.xml' 8/14 in memory
2023-08-07T14:41:48.2447274Z 2023-08-07T16:41:48: Starting merging result 7
2023-08-07T14:41:48.2547326Z 2023-08-07T16:41:48: Finished merging result 7
2023-08-07T14:41:48.3060516Z 2023-08-07T16:41:48: Preprocessing report
2023-08-07T14:41:48.3101103Z 2023-08-07T16:41:48: Initiating parser for Cobertura
2023-08-07T14:41:48.3109293Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.3579826Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.3580105Z 2023-08-07T16:41:48: Finished parsing 'C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_11\In\DESKTOP-MPD2QQU\coverage.cobertura.xml' 8/14
2023-08-07T14:41:48.3580314Z 2023-08-07T16:41:48: Loading report 'C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_28\In\DESKTOP-MPD2QQU\coverage.cobertura.xml' 9/14 in memory
2023-08-07T14:41:48.3580456Z 2023-08-07T16:41:48: Starting merging result 8
2023-08-07T14:41:48.3652538Z 2023-08-07T16:41:48: Finished merging result 8
2023-08-07T14:41:48.3966320Z 2023-08-07T16:41:48: Preprocessing report
2023-08-07T14:41:48.3991659Z 2023-08-07T16:41:48: Initiating parser for Cobertura
2023-08-07T14:41:48.3997210Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.4334203Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.4334753Z 2023-08-07T16:41:48: Finished parsing 'C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_28\In\DESKTOP-MPD2QQU\coverage.cobertura.xml' 9/14
2023-08-07T14:41:48.4335034Z 2023-08-07T16:41:48: Loading report 'C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_29\In\DESKTOP-MPD2QQU\coverage.cobertura.xml' 10/14 in memory
2023-08-07T14:41:48.4335186Z 2023-08-07T16:41:48: Starting merging result 9
2023-08-07T14:41:48.4405679Z 2023-08-07T16:41:48: Finished merging result 9
2023-08-07T14:41:48.5076983Z 2023-08-07T16:41:48: Preprocessing report
2023-08-07T14:41:48.5115272Z 2023-08-07T16:41:48: Initiating parser for Cobertura
2023-08-07T14:41:48.5123094Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.5384181Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.5559478Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.5559679Z 2023-08-07T16:41:48: Starting merging result 10
2023-08-07T14:41:48.5560025Z 2023-08-07T16:41:48: Finished parsing 'C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_29\In\DESKTOP-MPD2QQU\coverage.cobertura.xml' 10/14
2023-08-07T14:41:48.5560224Z 2023-08-07T16:41:48: Loading report 'C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_32\In\DESKTOP-MPD2QQU\coverage.cobertura.xml' 11/14 in memory
2023-08-07T14:41:48.5622330Z 2023-08-07T16:41:48: Finished merging result 10
2023-08-07T14:41:48.6275831Z 2023-08-07T16:41:48: Preprocessing report
2023-08-07T14:41:48.6379559Z 2023-08-07T16:41:48: Initiating parser for Cobertura
2023-08-07T14:41:48.6404586Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.6707373Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.6764161Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.7006370Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.7006677Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.7007050Z 2023-08-07T16:41:48: Finished parsing 'C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_32\In\DESKTOP-MPD2QQU\coverage.cobertura.xml' 11/14
2023-08-07T14:41:48.7007396Z 2023-08-07T16:41:48: Loading report 'C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_33\In\DESKTOP-MPD2QQU\coverage.cobertura.xml' 12/14 in memory
2023-08-07T14:41:48.7007631Z 2023-08-07T16:41:48: Starting merging result 11
2023-08-07T14:41:48.7104816Z 2023-08-07T16:41:48: Finished merging result 11
2023-08-07T14:41:48.8181449Z 2023-08-07T16:41:48: Preprocessing report
2023-08-07T14:41:48.8313121Z 2023-08-07T16:41:48: Initiating parser for Cobertura
2023-08-07T14:41:48.8412355Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.8699763Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.8754627Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.8946610Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:48.8948745Z 2023-08-07T16:41:48: Finished parsing 'C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_33\In\DESKTOP-MPD2QQU\coverage.cobertura.xml' 12/14
2023-08-07T14:41:48.8948998Z 2023-08-07T16:41:48: Loading report 'C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_39\In\DESKTOP-MPD2QQU\coverage.cobertura.xml' 13/14 in memory
2023-08-07T14:41:48.8949129Z 2023-08-07T16:41:48: Starting merging result 12
2023-08-07T14:41:48.9022200Z 2023-08-07T16:41:48: Finished merging result 12
2023-08-07T14:41:48.9355293Z 2023-08-07T16:41:48: Preprocessing report
2023-08-07T14:41:48.9382511Z 2023-08-07T16:41:48: Initiating parser for Cobertura
2023-08-07T14:41:48.9388170Z 2023-08-07T16:41:48: Current Assembly: redacted
2023-08-07T14:41:49.0079818Z 2023-08-07T16:41:49: Current Assembly: redacted
2023-08-07T14:41:49.0080624Z 2023-08-07T16:41:49: Current Assembly: redacted
2023-08-07T14:41:49.0081261Z 2023-08-07T16:41:49: Finished parsing 'C:\agents\0\_work\_temp\Agent0_DESKTOP-MPD2QQU_2023-08-07_16_41_39\In\DESKTOP-MPD2QQU\coverage.cobertura.xml' 13/14
2023-08-07T14:41:49.0081458Z 2023-08-07T16:41:49: Loading report 'C:\agents\0\_work\_temp\d77af1be-464b-4c2d-8ad7-f1fba62f6a3c\coverage.cobertura.xml' 14/14 in memory
2023-08-07T14:41:49.0081592Z 2023-08-07T16:41:49: Starting merging result 13
2023-08-07T14:41:49.0134712Z 2023-08-07T16:41:49: Finished merging result 13
2023-08-07T14:41:49.0502078Z 2023-08-07T16:41:49: Preprocessing report
2023-08-07T14:41:49.0523455Z 2023-08-07T16:41:49: Initiating parser for Cobertura
2023-08-07T14:41:49.0528790Z 2023-08-07T16:41:49: Current Assembly: redacted
2023-08-07T14:41:49.0869166Z 2023-08-07T16:41:49: Current Assembly: redacted
2023-08-07T14:41:49.0869647Z 2023-08-07T16:41:49: Finished parsing 'C:\agents\0\_work\_temp\d77af1be-464b-4c2d-8ad7-f1fba62f6a3c\coverage.cobertura.xml' 14/14
2023-08-07T14:41:49.0869825Z 2023-08-07T16:41:49: Starting merging result 14
2023-08-07T14:41:49.0870090Z 2023-08-07T16:41:49: Parsing of 14 files completed
2023-08-07T14:41:49.0922750Z 2023-08-07T16:41:49: Finished merging result 14
2023-08-07T14:41:49.1064951Z 2023-08-07T16:41:49: Initializing report builders for report types: HtmlInline_AzurePipelines
2023-08-07T14:41:49.1085095Z 2023-08-07T16:41:49: Analyzing 701 classes
2023-08-07T14:41:49.1087156Z 2023-08-07T16:41:49: Creating report 1/701 (Assembly: redacted, Class: redacted)
....
....
2023-08-07T14:41:54.4564818Z Publishing file coverage data.
2023-08-07T14:41:54.8096466Z Publishing code coverage HTML report.
2023-08-07T14:41:54.8139728Z Uploading 704 files.
2023-08-07T14:41:59.8194861Z Total file: 704 ---- Processed file: 468 (66%).
2023-08-07T14:42:03.0883663Z File upload succeed.
2023-08-07T14:42:03.1327201Z Published 'C:\agents\0\_work\_temp\081b0957-87e8-47f3-8cef-a5e67a567fba' as artifact 'Code Coverage Report_17759'.
2023-08-07T14:42:03.1853465Z ##[section]Finishing: Publish code coverage report

Relevant log output

2023-08-07T14:42:03.1864877Z ##[section]Starting: Check build quality
2023-08-07T14:42:03.1949466Z ==============================================================================
2023-08-07T14:42:03.1949553Z Task         : Build Quality Checks
2023-08-07T14:42:03.1949600Z Description  : Breaks a build based on quality metrics like number of warnings or code coverage.
2023-08-07T14:42:03.1949663Z Version      : 9.0.1
2023-08-07T14:42:03.1949694Z Author       : Microsoft
2023-08-07T14:42:03.1949755Z Help         : [[Docs]](https://github.com/MicrosoftPremier/VstsExtensions/blob/master/BuildQualityChecks/en-US/overview.md)
2023-08-07T14:42:03.1949844Z ==============================================================================
2023-08-07T14:42:03.6857161Z Using IdentifierJobResolver
2023-08-07T14:42:03.7490781Z Validating build warnings policy...
2023-08-07T14:42:03.7946180Z Running task warnings analysis...
2023-08-07T14:42:03.7949887Z Counting warnings from tasks:
2023-08-07T14:42:03.7950217Z   - Build
2023-08-07T14:42:03.7960761Z Waiting for log information of task 'Build'...
2023-08-07T14:42:04.0430246Z      Running detailed task log analysis...
2023-08-07T14:42:04.0671418Z      Total warnings: redacted, Selected warnings: redacted
2023-08-07T14:42:04.0674099Z Overall total warnings: redacted
2023-08-07T14:42:04.0674430Z Overall selected warnings: redacted
2023-08-07T14:42:04.2609855Z Found baseline build with ID 17754.
2023-08-07T14:42:04.3783082Z Running task warnings analysis...
2023-08-07T14:42:04.3784304Z Counting warnings from tasks:
2023-08-07T14:42:04.3784624Z   - Build
2023-08-07T14:42:04.3941905Z Waiting for log information of task 'Build'...
2023-08-07T14:42:04.6596716Z      Running detailed task log analysis...
2023-08-07T14:42:04.6769374Z      Total warnings: redacted, Selected warnings: redacted
2023-08-07T14:42:04.6773432Z Overall total warnings: redacted
2023-08-07T14:42:04.6773567Z Overall selected warnings: redacted
2023-08-07T14:42:04.6779340Z [SUCCESS] Warnings policy passed with redacted warning(s).
2023-08-07T14:42:04.6958104Z Statistics generation took 17.596ms
2023-08-07T14:42:04.6962453Z Validating code coverage policy...
2023-08-07T14:42:07.6223095Z Waiting for code coverage data...
2023-08-07T14:42:09.8652981Z Waiting for code coverage data...
2023-08-07T14:42:12.1619232Z Waiting for code coverage data...
2023-08-07T14:42:14.4380675Z Waiting for code coverage data...
2023-08-07T14:42:16.8068340Z Waiting for code coverage data...
2023-08-07T14:42:19.0653810Z Waiting for code coverage data...
2023-08-07T14:42:21.3726879Z Waiting for code coverage data...
2023-08-07T14:42:23.6702470Z Waiting for code coverage data...
2023-08-07T14:42:26.0248403Z Waiting for code coverage data...
2023-08-07T14:42:28.2947314Z Waiting for code coverage data...
2023-08-07T14:42:30.6504256Z Waiting for code coverage data...
2023-08-07T14:42:32.8563577Z Waiting for code coverage data...
2023-08-07T14:42:35.1457897Z Waiting for code coverage data...
2023-08-07T14:42:37.4244729Z Waiting for code coverage data...
2023-08-07T14:42:39.6829159Z Waiting for code coverage data...
2023-08-07T14:42:41.9316690Z Waiting for code coverage data...
2023-08-07T14:42:44.1828687Z Waiting for code coverage data...
2023-08-07T14:42:46.4555795Z Waiting for code coverage data...
2023-08-07T14:42:48.7353683Z Waiting for code coverage data...
2023-08-07T14:42:51.0463124Z Waiting for code coverage data...
2023-08-07T14:42:53.3093706Z Waiting for code coverage data...
2023-08-07T14:42:55.5742325Z Waiting for code coverage data...
2023-08-07T14:42:58.0033826Z Waiting for code coverage data...
2023-08-07T14:43:00.2392298Z Waiting for code coverage data...
2023-08-07T14:43:02.6348807Z Waiting for code coverage data...
2023-08-07T14:43:04.9209559Z Waiting for code coverage data...
2023-08-07T14:43:07.1874834Z Waiting for code coverage data...
2023-08-07T14:43:09.6163624Z Waiting for code coverage data...
2023-08-07T14:43:11.9451259Z Waiting for code coverage data...
2023-08-07T14:43:14.1997762Z Waiting for code coverage data...
2023-08-07T14:43:16.4804690Z Waiting for code coverage data...
2023-08-07T14:43:18.8104094Z Waiting for code coverage data...
2023-08-07T14:43:21.0507877Z Waiting for code coverage data...
2023-08-07T14:43:23.3545163Z Waiting for code coverage data...
2023-08-07T14:43:25.7170919Z Waiting for code coverage data...
2023-08-07T14:43:28.0580542Z Waiting for code coverage data...
2023-08-07T14:43:30.2854119Z Waiting for code coverage data...
2023-08-07T14:43:32.6357265Z Waiting for code coverage data...
2023-08-07T14:43:35.0680872Z Waiting for code coverage data...
2023-08-07T14:43:37.7941706Z Waiting for code coverage data...
2023-08-07T14:43:40.0450200Z Waiting for code coverage data...
2023-08-07T14:43:42.3194382Z Waiting for code coverage data...
2023-08-07T14:43:44.7885676Z Waiting for code coverage data...
2023-08-07T14:43:47.0618249Z Waiting for code coverage data...
2023-08-07T14:43:49.3382706Z Waiting for code coverage data...
2023-08-07T14:43:51.5883690Z Waiting for code coverage data...
2023-08-07T14:43:53.8885060Z Waiting for code coverage data...
2023-08-07T14:43:56.1628738Z Waiting for code coverage data...
2023-08-07T14:43:58.4269514Z Waiting for code coverage data...
2023-08-07T14:44:00.6791344Z Waiting for code coverage data...
2023-08-07T14:44:02.9593333Z Waiting for code coverage data...
2023-08-07T14:44:05.2592373Z Waiting for code coverage data...
2023-08-07T14:44:07.6162520Z Waiting for code coverage data...
2023-08-07T14:44:10.0855807Z Waiting for code coverage data...
2023-08-07T14:44:12.3724710Z Waiting for code coverage data...
2023-08-07T14:44:14.6139816Z Waiting for code coverage data...
2023-08-07T14:44:16.9137727Z Waiting for code coverage data...
2023-08-07T14:44:19.1852261Z Waiting for code coverage data...
2023-08-07T14:44:21.4677089Z Waiting for code coverage data...
2023-08-07T14:44:23.7370061Z Waiting for code coverage data...
2023-08-07T14:44:25.9755252Z Waiting for code coverage data...
2023-08-07T14:44:28.2803516Z Waiting for code coverage data...
2023-08-07T14:44:30.5552938Z Waiting for code coverage data...
2023-08-07T14:44:32.8950367Z Waiting for code coverage data...
2023-08-07T14:44:35.2547220Z Waiting for code coverage data...
2023-08-07T14:44:37.5311549Z Waiting for code coverage data...
2023-08-07T14:44:39.8551039Z Waiting for code coverage data...
2023-08-07T14:44:42.1618209Z Waiting for code coverage data...
2023-08-07T14:44:44.4160313Z Waiting for code coverage data...
2023-08-07T14:44:46.7517381Z Waiting for code coverage data...
2023-08-07T14:44:49.0177028Z Waiting for code coverage data...
2023-08-07T14:44:51.2576108Z Waiting for code coverage data...
2023-08-07T14:44:53.5348229Z Waiting for code coverage data...
2023-08-07T14:44:55.8272543Z Waiting for code coverage data...
2023-08-07T14:44:58.1359619Z Waiting for code coverage data...
2023-08-07T14:45:00.5166509Z Waiting for code coverage data...
2023-08-07T14:45:02.7998992Z Waiting for code coverage data...
2023-08-07T14:45:05.0367336Z Waiting for code coverage data...
2023-08-07T14:45:07.3740419Z Waiting for code coverage data...
2023-08-07T14:45:09.6400465Z Waiting for code coverage data...
2023-08-07T14:45:11.8496550Z Waiting for code coverage data...
2023-08-07T14:45:14.0977148Z Waiting for code coverage data...
2023-08-07T14:45:16.3859158Z Waiting for code coverage data...
2023-08-07T14:45:18.6271495Z Waiting for code coverage data...
2023-08-07T14:45:20.9391316Z Waiting for code coverage data...
2023-08-07T14:45:23.4501555Z Waiting for code coverage data...
2023-08-07T14:45:25.7863587Z Waiting for code coverage data...
2023-08-07T14:45:28.1306644Z Waiting for code coverage data...
2023-08-07T14:45:30.4398734Z Waiting for code coverage data...
2023-08-07T14:45:32.6669523Z Waiting for code coverage data...
2023-08-07T14:45:34.8763388Z Waiting for code coverage data...
2023-08-07T14:45:37.1639535Z Waiting for code coverage data...
2023-08-07T14:45:39.4113895Z Waiting for code coverage data...
2023-08-07T14:45:41.6485244Z Waiting for code coverage data...
2023-08-07T14:45:43.9189984Z Waiting for code coverage data...
2023-08-07T14:45:46.2064179Z Waiting for code coverage data...
2023-08-07T14:45:48.4308809Z Waiting for code coverage data...
2023-08-07T14:45:50.7727323Z Waiting for code coverage data...
2023-08-07T14:45:53.1813841Z Waiting for code coverage data...
2023-08-07T14:45:55.5071672Z Waiting for code coverage data...
2023-08-07T14:45:57.7758980Z Waiting for code coverage data...
2023-08-07T14:46:00.0878012Z Waiting for code coverage data...
2023-08-07T14:46:02.3323403Z Waiting for code coverage data...
2023-08-07T14:46:04.5945846Z Waiting for code coverage data...
2023-08-07T14:46:06.8073198Z Waiting for code coverage data...
2023-08-07T14:46:09.0870383Z Waiting for code coverage data...
2023-08-07T14:46:11.3251605Z Waiting for code coverage data...
2023-08-07T14:46:13.5863195Z Waiting for code coverage data...
2023-08-07T14:46:15.9058528Z Waiting for code coverage data...
2023-08-07T14:46:18.1354569Z Waiting for code coverage data...
2023-08-07T14:46:20.3741419Z Waiting for code coverage data...
2023-08-07T14:46:22.6234871Z Waiting for code coverage data...
2023-08-07T14:46:25.0059537Z Waiting for code coverage data...
2023-08-07T14:46:27.2036960Z Waiting for code coverage data...
2023-08-07T14:46:29.4743862Z Waiting for code coverage data...
2023-08-07T14:46:31.7188866Z Waiting for code coverage data...
2023-08-07T14:46:34.0518382Z Waiting for code coverage data...
2023-08-07T14:46:36.2584263Z Waiting for code coverage data...
2023-08-07T14:46:38.4978269Z Waiting for code coverage data...
2023-08-07T14:46:40.8219809Z Waiting for code coverage data...
2023-08-07T14:46:43.0746701Z Waiting for code coverage data...
2023-08-07T14:46:45.3311174Z Waiting for code coverage data...
2023-08-07T14:46:47.5558826Z Waiting for code coverage data...
2023-08-07T14:46:49.9119126Z Waiting for code coverage data...
2023-08-07T14:46:52.2304819Z Waiting for code coverage data...
2023-08-07T14:46:54.6329237Z Waiting for code coverage data...
2023-08-07T14:46:56.8395391Z Waiting for code coverage data...
2023-08-07T14:46:59.1082880Z Waiting for code coverage data...
2023-08-07T14:47:01.5622721Z Waiting for code coverage data...
2023-08-07T14:47:03.8249689Z Waiting for code coverage data...
2023-08-07T14:47:06.1304048Z Waiting for code coverage data...
2023-08-07T14:47:08.4866195Z Waiting for code coverage data...
2023-08-07T14:47:10.7526628Z Waiting for code coverage data...
2023-08-07T14:47:13.0033837Z Waiting for code coverage data...
2023-08-07T14:47:15.3717590Z Waiting for code coverage data...
2023-08-07T14:47:17.6382026Z Waiting for code coverage data...
2023-08-07T14:47:19.8980100Z Waiting for code coverage data...
2023-08-07T14:47:22.1748821Z Waiting for code coverage data...
2023-08-07T14:47:24.6982350Z Waiting for code coverage data...
2023-08-07T14:47:26.9231827Z Waiting for code coverage data...
2023-08-07T14:47:29.2419663Z Waiting for code coverage data...
2023-08-07T14:47:31.4815851Z Waiting for code coverage data...
2023-08-07T14:47:33.8806268Z Waiting for code coverage data...
2023-08-07T14:47:36.1204444Z Waiting for code coverage data...
2023-08-07T14:47:38.4217015Z Waiting for code coverage data...
2023-08-07T14:47:40.7680164Z Waiting for code coverage data...
2023-08-07T14:47:43.0965358Z Waiting for code coverage data...
2023-08-07T14:47:45.3881907Z Waiting for code coverage data...
2023-08-07T14:47:47.6504195Z Waiting for code coverage data...
2023-08-07T14:47:49.9312251Z Waiting for code coverage data...
2023-08-07T14:47:52.3446514Z Waiting for code coverage data...
2023-08-07T14:47:54.6666083Z Waiting for code coverage data...
2023-08-07T14:47:57.0189233Z Waiting for code coverage data...
2023-08-07T14:47:59.3072516Z Waiting for code coverage data...
2023-08-07T14:48:01.6001007Z Waiting for code coverage data...
2023-08-07T14:48:03.8362022Z Waiting for code coverage data...
2023-08-07T14:48:06.0909507Z Waiting for code coverage data...
2023-08-07T14:48:08.3157106Z Waiting for code coverage data...
2023-08-07T14:48:10.6675649Z Waiting for code coverage data...
2023-08-07T14:48:13.0052157Z Waiting for code coverage data...
2023-08-07T14:48:15.2917882Z Waiting for code coverage data...
2023-08-07T14:48:17.6617935Z Waiting for code coverage data...
2023-08-07T14:48:20.0187897Z Waiting for code coverage data...
2023-08-07T14:48:22.2639428Z Waiting for code coverage data...
2023-08-07T14:48:24.5114660Z Waiting for code coverage data...
2023-08-07T14:48:26.9225358Z Waiting for code coverage data...
2023-08-07T14:48:29.1743525Z Waiting for code coverage data...
2023-08-07T14:48:31.4192909Z Waiting for code coverage data...
2023-08-07T14:48:33.7118213Z Waiting for code coverage data...
2023-08-07T14:48:35.9663028Z Waiting for code coverage data...
2023-08-07T14:48:38.2159183Z Waiting for code coverage data...
2023-08-07T14:48:40.6108293Z Waiting for code coverage data...
2023-08-07T14:48:42.9032414Z Waiting for code coverage data...
2023-08-07T14:48:45.2223233Z Waiting for code coverage data...
2023-08-07T14:48:47.5905280Z Waiting for code coverage data...
2023-08-07T14:48:49.8531604Z Waiting for code coverage data...
2023-08-07T14:48:52.1468283Z Waiting for code coverage data...
2023-08-07T14:48:54.4746528Z Waiting for code coverage data...
2023-08-07T14:48:56.9973306Z Waiting for code coverage data...
2023-08-07T14:48:59.3817427Z Waiting for code coverage data...
2023-08-07T14:49:01.6189729Z Waiting for code coverage data...
2023-08-07T14:49:04.0516425Z Waiting for code coverage data...
2023-08-07T14:49:06.3256402Z Waiting for code coverage data...
2023-08-07T14:49:08.5895654Z Waiting for code coverage data...
2023-08-07T14:49:11.0218767Z Waiting for code coverage data...
2023-08-07T14:49:13.2554234Z Waiting for code coverage data...
2023-08-07T14:49:15.5498025Z Waiting for code coverage data...
2023-08-07T14:49:17.8179584Z Waiting for code coverage data...
2023-08-07T14:49:20.1044232Z Waiting for code coverage data...
2023-08-07T14:49:22.3837365Z Waiting for code coverage data...
2023-08-07T14:49:24.7232529Z Waiting for code coverage data...
2023-08-07T14:49:27.0444571Z Waiting for code coverage data...
2023-08-07T14:49:29.5749374Z Waiting for code coverage data...
2023-08-07T14:49:31.8007345Z Waiting for code coverage data...
2023-08-07T14:49:34.0126820Z Waiting for code coverage data...
2023-08-07T14:49:36.2845698Z Waiting for code coverage data...
2023-08-07T14:49:38.5696124Z Waiting for code coverage data...
2023-08-07T14:49:40.9021365Z Waiting for code coverage data...
2023-08-07T14:49:43.1720191Z Waiting for code coverage data...
2023-08-07T14:49:45.4683830Z Waiting for code coverage data...
2023-08-07T14:49:47.7903186Z Waiting for code coverage data...
2023-08-07T14:49:50.2333012Z Waiting for code coverage data...
2023-08-07T14:49:52.4828275Z Waiting for code coverage data...
2023-08-07T14:49:54.7207325Z Waiting for code coverage data...
2023-08-07T14:49:57.1714357Z Waiting for code coverage data...
2023-08-07T14:49:59.5871960Z Waiting for code coverage data...
2023-08-07T14:50:01.8527430Z Waiting for code coverage data...
2023-08-07T14:50:04.0626167Z Waiting for code coverage data...
2023-08-07T14:50:06.3802755Z Waiting for code coverage data...
2023-08-07T14:50:08.6454943Z Waiting for code coverage data...
2023-08-07T14:50:10.9264197Z Waiting for code coverage data...
2023-08-07T14:50:13.2236007Z Waiting for code coverage data...
2023-08-07T14:50:15.4721567Z Waiting for code coverage data...
2023-08-07T14:50:17.8245422Z Waiting for code coverage data...
2023-08-07T14:50:20.0989249Z Waiting for code coverage data...
2023-08-07T14:50:22.4327659Z Waiting for code coverage data...
2023-08-07T14:50:24.7235585Z Waiting for code coverage data...
2023-08-07T14:50:26.9712774Z Waiting for code coverage data...
2023-08-07T14:50:29.2700425Z Waiting for code coverage data...
2023-08-07T14:50:31.7188336Z Waiting for code coverage data...
2023-08-07T14:50:33.9917214Z Waiting for code coverage data...
2023-08-07T14:50:36.2499045Z Waiting for code coverage data...
2023-08-07T14:50:38.5438307Z Waiting for code coverage data...
2023-08-07T14:50:40.8602490Z Waiting for code coverage data...
2023-08-07T14:50:43.0889530Z Waiting for code coverage data...
2023-08-07T14:50:45.3262544Z Waiting for code coverage data...
2023-08-07T14:50:47.6492596Z Waiting for code coverage data...
2023-08-07T14:50:50.0971965Z Waiting for code coverage data...
2023-08-07T14:50:52.4051873Z Waiting for code coverage data...
2023-08-07T14:50:54.6518697Z Waiting for code coverage data...
2023-08-07T14:50:57.0059648Z Waiting for code coverage data...
2023-08-07T14:50:59.2839872Z Waiting for code coverage data...
2023-08-07T14:51:01.5450732Z Waiting for code coverage data...
2023-08-07T14:51:03.8159474Z Waiting for code coverage data...
2023-08-07T14:51:06.0983664Z Waiting for code coverage data...
2023-08-07T14:51:08.5016523Z Waiting for code coverage data...
2023-08-07T14:51:10.7944901Z Waiting for code coverage data...
2023-08-07T14:51:13.0032960Z Waiting for code coverage data...
2023-08-07T14:51:15.5327045Z Waiting for code coverage data...
2023-08-07T14:51:17.8044119Z Waiting for code coverage data...
2023-08-07T14:51:20.4401847Z Waiting for code coverage data...
2023-08-07T14:51:22.7915087Z Waiting for code coverage data...
2023-08-07T14:51:25.1140276Z Waiting for code coverage data...
2023-08-07T14:51:27.4222769Z Waiting for code coverage data...
2023-08-07T14:51:29.6883350Z Waiting for code coverage data...
2023-08-07T14:51:32.0980123Z Waiting for code coverage data...
2023-08-07T14:51:34.5506241Z Waiting for code coverage data...
2023-08-07T14:51:36.8115717Z Waiting for code coverage data...
2023-08-07T14:51:39.1274616Z Waiting for code coverage data...
2023-08-07T14:51:41.4282041Z Waiting for code coverage data...
2023-08-07T14:51:43.6464711Z Waiting for code coverage data...
2023-08-07T14:51:45.9541616Z Waiting for code coverage data...
2023-08-07T14:51:48.4455556Z Waiting for code coverage data...
2023-08-07T14:51:50.6929167Z Waiting for code coverage data...
2023-08-07T14:51:53.1154417Z Waiting for code coverage data...
2023-08-07T14:51:55.7315802Z Waiting for code coverage data...
2023-08-07T14:51:57.9758041Z Waiting for code coverage data...
2023-08-07T14:52:00.2490035Z Waiting for code coverage data...
2023-08-07T14:52:02.5217219Z Waiting for code coverage data...
2023-08-07T14:52:04.9372415Z Waiting for code coverage data...
2023-08-07T14:52:05.1480107Z [WARNING] Unable to get code coverage data within the maximum wait time.
2023-08-07T14:52:05.1481020Z ##[warning]Unable to get code coverage data within the maximum wait time.
2023-08-07T14:52:05.1493599Z Total blocks: 0
2023-08-07T14:52:05.1493736Z Covered blocks: 0
2023-08-07T14:52:05.1493827Z Code Coverage (%): 0
2023-08-07T14:52:05.2047911Z Found baseline build with ID 17754.
2023-08-07T14:52:05.5924302Z Successfully read code coverage data from build.
2023-08-07T14:52:05.5931079Z Total blocks: 0
2023-08-07T14:52:05.5931163Z Covered blocks: 0
2023-08-07T14:52:05.5931214Z Code Coverage (%): 0
2023-08-07T14:52:05.5939122Z [SUCCESS] Code coverage policy passed with 0% (0/0 blocks).
2023-08-07T14:52:05.7947459Z ##[section]Finishing: Check build quality

Aditional info

No response

ReneSchumacher commented 1 year ago

Same issue is described at MicrosoftPremier/VstsExtensions#223. Reason is that the coverage job in Azure DevOps is only started after the pipeline has finished, so coverage APIs don't return any value (see here for better explanation).

github-actions[bot] commented 7 months ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

ReneSchumacher commented 7 months ago

The issue was fixed by PG and can be closed.