microsoft / azure-pipelines-tasks

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

Publish Code Coverage Results (Build Task) - Issue with TFS 2018 #11038

Closed jensheidrich-acn closed 5 years ago

jensheidrich-acn commented 5 years ago

Environment

Issue Description

We are using the Build Task "Publish Code Coverage Results" to upload Cobertura results.

Execution is failing with following issue: "API resource location 9b3e1ece-c6ab-4fbb-8167-8a32a0c92216 is not registered on https://tfs/collection/"

Investigation into agent worker log shows error at: GET request to https://tfs/collection/_apis/FeatureFlags/TestManagement.Server.EnablePublishToTcmServiceDirectlyFromTask failed. HTTP Status: NotFound

Executing the call manually results in: { "$id": "1", "innerException": null, "message": "TestManagement.Server.EnablePublishToTcmServiceDirectlyFromTask", "typeName": "Microsoft.TeamFoundation.Framework.Server.MissingFeatureException, Microsoft.TeamFoundation.Framework.Server", "typeKey": "MissingFeatureException", "errorCode": 0, "eventId": 3000 }

Changed behave determined at agent repository's history at: https://github.com/Microsoft/azure-pipelines-agent/pull/2064/files

(Sorry if the issue should be logged at the agent, but as it is only influencing this task I put it here.)

Troubleshooting (temporary "solution")

We were able to get it running by installing old agent of version 2.146.0 (last without the above mentioned PR [Redirecting CC data to TFS/TCM depending on FF #2064])

elvisFabian commented 5 years ago

Same error here TFS On premise version: 16.131.28601.4 Agent.Version: 2.155.1

2019-08-01T20:32:28.8112305Z ##[debug]Evaluating condition for step: 'Publish code coverage - Cobertura'
2019-08-01T20:32:28.8113148Z ##[debug]Evaluating: succeeded()
2019-08-01T20:32:28.8113467Z ##[debug]Evaluating succeeded:
2019-08-01T20:32:28.8114005Z ##[debug]=> True
2019-08-01T20:32:28.8114510Z ##[debug]Result: True
2019-08-01T20:32:28.8114964Z ##[section]Starting: Publish code coverage - Cobertura
2019-08-01T20:32:28.8118800Z ==============================================================================
2019-08-01T20:32:28.8119279Z Task         : Publish Code Coverage Results
2019-08-01T20:32:28.8119499Z Description  : Publish Cobertura or JaCoCo code coverage results from a build
2019-08-01T20:32:28.8119688Z Version      : 1.131.0
2019-08-01T20:32:28.8119881Z Author       : Microsoft Corporation
2019-08-01T20:32:28.8120081Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkID=626485)
2019-08-01T20:32:28.8120283Z ==============================================================================
2019-08-01T20:32:28.9556202Z ##[debug]agent.TempDirectory=/vsts/agent/_work/_temp
2019-08-01T20:32:28.9586537Z ##[debug]loading inputs and endpoints
2019-08-01T20:32:28.9587765Z ##[debug]loading INPUT_CODECOVERAGETOOL
2019-08-01T20:32:28.9588902Z ##[debug]loading INPUT_SUMMARYFILELOCATION
2019-08-01T20:32:28.9589999Z ##[debug]loading INPUT_REPORTDIRECTORY
2019-08-01T20:32:28.9591093Z ##[debug]loading INPUT_FAILIFCOVERAGEEMPTY
2019-08-01T20:32:28.9592269Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2019-08-01T20:32:28.9593411Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2019-08-01T20:32:28.9791294Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2019-08-01T20:32:28.9794969Z ##[debug]loading SECRET_CONTAINER_USERNAME
2019-08-01T20:32:28.9796070Z ##[debug]loading SECRET_CONTAINER_PASSWORD
2019-08-01T20:32:28.9797276Z ##[debug]loading SECRET_CONTAINER_AUTHENTICATIONTOKEN
2019-08-01T20:32:28.9798457Z ##[debug]loaded 10
2019-08-01T20:32:28.9799557Z ##[debug]Agent.ProxyUrl=undefined
2019-08-01T20:32:28.9804991Z ##[debug]Agent.CAInfo=undefined
2019-08-01T20:32:28.9806158Z ##[debug]Agent.ClientCert=undefined
2019-08-01T20:32:28.9807381Z ##[debug]Agent.SkipCertValidation=undefined
2019-08-01T20:32:29.3216263Z ##[debug]check path : /vsts/agent/_work/_tasks/PublishCodeCoverageResults_2a7ebc54-c13e-490e-81a5-d7561ab7cd97/1.131.0/task.json
2019-08-01T20:32:29.3218885Z ##[debug]adding resource file: /vsts/agent/_work/_tasks/PublishCodeCoverageResults_2a7ebc54-c13e-490e-81a5-d7561ab7cd97/1.131.0/task.json
2019-08-01T20:32:29.3220497Z ##[debug]system.culture=en-US
2019-08-01T20:32:29.3254709Z ##[debug]codeCoverageTool=Cobertura
2019-08-01T20:32:29.3255512Z ##[debug]summaryFileLocation=/vsts/agent/_work/1/s/TestResults/codecoverage/coverage.cobertura.xml
2019-08-01T20:32:29.3256177Z ##[debug]reportDirectory=/vsts/agent/_work/1/s/TestResults/codecoverage/Report
2019-08-01T20:32:29.3256773Z ##[debug]additionalCodeCoverageFiles=null
2019-08-01T20:32:29.3257540Z ##[debug]failIfCoverageEmpty=false
2019-08-01T20:32:29.3258150Z ##[debug]System.DefaultWorkingDirectory=/vsts/agent/_work/1/s
2019-08-01T20:32:29.3346470Z Reading code coverage summary from '/vsts/agent/_work/1/s/TestResults/codecoverage/coverage.cobertura.xml'
2019-08-01T20:32:29.5815185Z ##[debug]Processed: ##vso[codecoverage.publish codecoveragetool=Cobertura;summaryfile=/vsts/agent/_work/1/s/TestResults/codecoverage/coverage.cobertura.xml;reportdirectory=/vsts/agent/_work/1/s/TestResults/codecoverage/Report;]
2019-08-01T20:32:29.5817195Z ##[section]Async Command Start: Publish code coverage
2019-08-01T20:32:29.5817539Z Publishing coverage summary data to TFS server.
2019-08-01T20:32:29.5817760Z  Lines- 33 of 61 covered.
2019-08-01T20:32:29.5817940Z  Branches- 1 of 6 covered.
2019-08-01T20:32:29.5818179Z ##[debug]Failed to get FF TestManagement.Server.EnablePublishToTcmServiceDirectlyFromTask Value. By default, publishing data to TCM.
2019-08-01T20:32:29.5818428Z ##[section]Async Command End: Publish code coverage
2019-08-01T20:32:29.6047600Z ##[error]API resource location 9b3e1ece-c6ab-4fbb-8167-8a32a0c92216 is not registered on http://alm.tjmt.jus.br/Desenvolvimento/.
2019-08-01T20:32:29.6070429Z ##[debug]Microsoft.VisualStudio.Services.WebApi.VssResourceNotFoundException: API resource location 9b3e1ece-c6ab-4fbb-8167-8a32a0c92216 is not registered on http://alm.tjmt.jus.br/Desenvolvimento/.
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.CreateRequestMessageAsync(HttpMethod method, IEnumerable`1 additionalHeaders, Guid locationId, Object routeValues, ApiResourceVersion version, HttpContent content, IEnumerable`1 queryParameters, Object userState, CancellationToken cancellationToken, String mediaType)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpMethod method, Guid locationId, Object routeValues, ApiResourceVersion version, HttpContent content, IEnumerable`1 queryParameters, Object userState, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.Services.TestResults.WebApi.TestResultsHttpClientBase.UpdateCodeCoverageSummaryAsync(CodeCoverageData coverageData, String project, Int32 buildId, Object userState, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.Services.Agent.Worker.CodeCoverage.CodeCoverageServer.PublishCoverageSummaryAsync(IAsyncCommandContext context, VssConnection connection, String project, Int32 buildId, IEnumerable`1 coverageData, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.Services.Agent.Worker.CodeCoverage.CodeCoveragePublisher.PublishCodeCoverageSummaryAsync(IAsyncCommandContext context, IEnumerable`1 coverageData, String project, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.Services.Agent.Worker.CodeCoverage.CodeCoverageCommandExtension.PublishCodeCoverageAsync(IExecutionContext executionContext, IAsyncCommandContext commandContext, ICodeCoveragePublisher codeCoveragePublisher, IEnumerable`1 coverageData, String project, Guid projectId, Int64 containerId, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.Services.Agent.Worker.AsyncCommandContext.WaitAsync()
   at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken)
2019-08-01T20:32:29.6075611Z ##[section]Finishing: Publish code coverage - Cobertura
elvisFabian commented 5 years ago

PublishCodeCoverageResults version: 1.131.0 I turned Agent.Version back to 2.140.0 to run the Publish Code Coverage Results task successfully.

2019-08-02T17:15:43.5039544Z ##[debug]Evaluating condition for step: 'Publish code coverage - Cobertura'
2019-08-02T17:15:43.5087890Z ##[debug]Evaluating: succeeded()
2019-08-02T17:15:43.5132389Z ##[debug]Evaluating succeeded:
2019-08-02T17:15:43.5190282Z ##[debug]=> True
2019-08-02T17:15:43.5235854Z ##[debug]Result: True
2019-08-02T17:15:43.5271557Z ##[section]Starting: Publish code coverage - Cobertura
2019-08-02T17:15:43.5461596Z ==============================================================================
2019-08-02T17:15:43.5484716Z Task         : Publish Code Coverage Results
2019-08-02T17:15:43.5507788Z Description  : Publish Cobertura or JaCoCo code coverage results from a build
2019-08-02T17:15:43.5530935Z Version      : 1.131.0
2019-08-02T17:15:43.5554184Z Author       : Microsoft Corporation
2019-08-02T17:15:43.5578115Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkID=626485)
2019-08-02T17:15:43.5601994Z ==============================================================================
2019-08-02T17:15:43.9069114Z ##[debug]agent.TempDirectory=/vsts/agent/_work/_temp
2019-08-02T17:15:43.9115335Z ##[debug]loading inputs and endpoints
2019-08-02T17:15:43.9161383Z ##[debug]loading INPUT_CODECOVERAGETOOL
2019-08-02T17:15:43.9204043Z ##[debug]loading INPUT_SUMMARYFILELOCATION
2019-08-02T17:15:43.9245159Z ##[debug]loading INPUT_REPORTDIRECTORY
2019-08-02T17:15:43.9284159Z ##[debug]loading INPUT_FAILIFCOVERAGEEMPTY
2019-08-02T17:15:43.9331804Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2019-08-02T17:15:43.9375371Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2019-08-02T17:15:43.9415086Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2019-08-02T17:15:43.9457932Z ##[debug]loading SECRET_CONTAINER_USERNAME
2019-08-02T17:15:43.9495035Z ##[debug]loading SECRET_CONTAINER_PASSWORD
2019-08-02T17:15:43.9532592Z ##[debug]loading SECRET_CONTAINER_AUTHENTICATIONTOKEN
2019-08-02T17:15:43.9571991Z ##[debug]loaded 10
2019-08-02T17:15:43.9610237Z ##[debug]Agent.ProxyUrl=undefined
2019-08-02T17:15:43.9647333Z ##[debug]Agent.CAInfo=undefined
2019-08-02T17:15:43.9684841Z ##[debug]Agent.ClientCert=undefined
2019-08-02T17:15:43.9725610Z ##[debug]Agent.SkipCertValidation=undefined
2019-08-02T17:15:44.1755553Z ##[debug]check path : /vsts/agent/_work/_tasks/PublishCodeCoverageResults_2a7ebc54-c13e-490e-81a5-d7561ab7cd97/1.131.0/task.json
2019-08-02T17:15:44.1799473Z ##[debug]adding resource file: /vsts/agent/_work/_tasks/PublishCodeCoverageResults_2a7ebc54-c13e-490e-81a5-d7561ab7cd97/1.131.0/task.json
2019-08-02T17:15:44.1840023Z ##[debug]system.culture=en-US
2019-08-02T17:15:44.1877161Z ##[debug]codeCoverageTool=Cobertura
2019-08-02T17:15:44.1914236Z ##[debug]summaryFileLocation=/vsts/agent/_work/1/s/TestResults/codecoverage/coverage.cobertura.xml
2019-08-02T17:15:44.1951441Z ##[debug]reportDirectory=/vsts/agent/_work/1/s/TestResults/codecoverage/Report
2019-08-02T17:15:44.1987805Z ##[debug]additionalCodeCoverageFiles=null
2019-08-02T17:15:44.2023383Z ##[debug]failIfCoverageEmpty=false
2019-08-02T17:15:44.2061344Z ##[debug]System.DefaultWorkingDirectory=/vsts/agent/_work/1/s
2019-08-02T17:15:44.2397658Z Reading code coverage summary from '/vsts/agent/_work/1/s/TestResults/codecoverage/coverage.cobertura.xml'
2019-08-02T17:15:44.3658016Z ##[debug]Processed: ##vso[codecoverage.publish codecoveragetool=Cobertura;summaryfile=/vsts/agent/_work/1/s/TestResults/codecoverage/coverage.cobertura.xml;reportdirectory=/vsts/agent/_work/1/s/TestResults/codecoverage/Report;]
2019-08-02T17:15:44.3719470Z ##[section]Async Command Start: Publish code coverage
2019-08-02T17:15:44.3745025Z Publishing coverage summary data to TFS server.
2019-08-02T17:15:44.3770712Z  Lines- 33 of 61 covered.
2019-08-02T17:15:44.3797105Z  Branches- 1 of 6 covered.
2019-08-02T17:15:44.8830603Z Modifying Cobertura Index file
2019-08-02T17:15:44.8854940Z Publishing code coverage files to TFS server.
2019-08-02T17:15:44.8883058Z Uploading 26 files
2019-08-02T17:15:44.8909120Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/index.htm' took 82 milliseconds to finish upload
2019-08-02T17:15:44.8939040Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/index.htm
2019-08-02T17:15:44.8965360Z ##[debug]File 'Code Coverage Report_107635/index.htm' will be uploaded in one chunk.
2019-08-02T17:15:44.8995889Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/index.htm'.
2019-08-02T17:15:44.9025204Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/index.htm', chunk '1' of '1'.
2019-08-02T17:15:44.9055203Z ##[debug]Start uploading file 'Code Coverage Report_107635/index.htm' to server, chunk '1'.
2019-08-02T17:15:44.9094458Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/index.htm', elapsed 38 (ms), response code 'Created'.
2019-08-02T17:15:44.9122174Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/icon_wrench.svg' took 67 milliseconds to finish upload
2019-08-02T17:15:44.9148778Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/icon_wrench.svg
2019-08-02T17:15:44.9174489Z ##[debug]File 'Code Coverage Report_107635/icon_wrench.svg' will be uploaded in one chunk.
2019-08-02T17:15:44.9201733Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/icon_wrench.svg'.
2019-08-02T17:15:44.9228180Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/icon_wrench.svg', chunk '1' of '1'.
2019-08-02T17:15:44.9254856Z ##[debug]Start uploading file 'Code Coverage Report_107635/icon_wrench.svg' to server, chunk '1'.
2019-08-02T17:15:44.9281668Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/icon_wrench.svg', elapsed 40 (ms), response code 'Created'.
2019-08-02T17:15:44.9309962Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/icon_up-dir.svg' took 38 milliseconds to finish upload
2019-08-02T17:15:44.9339238Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/icon_up-dir.svg
2019-08-02T17:15:44.9366255Z ##[debug]File 'Code Coverage Report_107635/icon_up-dir.svg' will be uploaded in one chunk.
2019-08-02T17:15:44.9393664Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/icon_up-dir.svg'.
2019-08-02T17:15:44.9421463Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/icon_up-dir.svg', chunk '1' of '1'.
2019-08-02T17:15:44.9448850Z ##[debug]Start uploading file 'Code Coverage Report_107635/icon_up-dir.svg' to server, chunk '1'.
2019-08-02T17:15:44.9476597Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/icon_up-dir.svg', elapsed 38 (ms), response code 'Created'.
2019-08-02T17:15:44.9506991Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/sistema_api.tjmt.jus.br_ErrorController.htm' took 39 milliseconds to finish upload
2019-08-02T17:15:44.9533327Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/sistema_api.tjmt.jus.br_ErrorController.htm
2019-08-02T17:15:44.9559900Z ##[debug]File 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_ErrorController.htm' will be uploaded in one chunk.
2019-08-02T17:15:44.9589295Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_ErrorController.htm'.
2019-08-02T17:15:44.9617562Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_ErrorController.htm', chunk '1' of '1'.
2019-08-02T17:15:44.9645487Z ##[debug]Start uploading file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_ErrorController.htm' to server, chunk '1'.
2019-08-02T17:15:44.9676551Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_ErrorController.htm', elapsed 39 (ms), response code 'Created'.
2019-08-02T17:15:44.9706241Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/sistema_api.tjmt.jus.br_BancoContext.htm' took 36 milliseconds to finish upload
2019-08-02T17:15:44.9733990Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/sistema_api.tjmt.jus.br_BancoContext.htm
2019-08-02T17:15:44.9760998Z ##[debug]File 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_BancoContext.htm' will be uploaded in one chunk.
2019-08-02T17:15:44.9789618Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_BancoContext.htm'.
2019-08-02T17:15:44.9819284Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_BancoContext.htm', chunk '1' of '1'.
2019-08-02T17:15:44.9848146Z ##[debug]Start uploading file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_BancoContext.htm' to server, chunk '1'.
2019-08-02T17:15:44.9882853Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_BancoContext.htm', elapsed 35 (ms), response code 'Created'.
2019-08-02T17:15:44.9913552Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/sistema_api.tjmt.jus.br_Program.htm' took 38 milliseconds to finish upload
2019-08-02T17:15:44.9940175Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/sistema_api.tjmt.jus.br_Program.htm
2019-08-02T17:15:44.9966423Z ##[debug]File 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_Program.htm' will be uploaded in one chunk.
2019-08-02T17:15:44.9994305Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_Program.htm'.
2019-08-02T17:15:45.0024985Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_Program.htm', chunk '1' of '1'.
2019-08-02T17:15:45.0055094Z ##[debug]Start uploading file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_Program.htm' to server, chunk '1'.
2019-08-02T17:15:45.0084215Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_Program.htm', elapsed 37 (ms), response code 'Created'.
2019-08-02T17:15:45.0113162Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/sistema_api.tjmt.jus.br.Core_CalculadoraDivisao.htm' took 36 milliseconds to finish upload
2019-08-02T17:15:45.0139571Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/sistema_api.tjmt.jus.br.Core_CalculadoraDivisao.htm
2019-08-02T17:15:45.0165810Z ##[debug]File 'Code Coverage Report_107635/sistema_api.tjmt.jus.br.Core_CalculadoraDivisao.htm' will be uploaded in one chunk.
2019-08-02T17:15:45.0206292Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br.Core_CalculadoraDivisao.htm'.
2019-08-02T17:15:45.0260953Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br.Core_CalculadoraDivisao.htm', chunk '1' of '1'.
2019-08-02T17:15:45.0306337Z ##[debug]Start uploading file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br.Core_CalculadoraDivisao.htm' to server, chunk '1'.
2019-08-02T17:15:45.0353795Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br.Core_CalculadoraDivisao.htm', elapsed 35 (ms), response code 'Created'.
2019-08-02T17:15:45.0399657Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/icon_search-plus.svg' took 38 milliseconds to finish upload
2019-08-02T17:15:45.0443708Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/icon_search-plus.svg
2019-08-02T17:15:45.0487501Z ##[debug]File 'Code Coverage Report_107635/icon_search-plus.svg' will be uploaded in one chunk.
2019-08-02T17:15:45.0531385Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/icon_search-plus.svg'.
2019-08-02T17:15:45.0575667Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/icon_search-plus.svg', chunk '1' of '1'.
2019-08-02T17:15:45.0622390Z ##[debug]Start uploading file 'Code Coverage Report_107635/icon_search-plus.svg' to server, chunk '1'.
2019-08-02T17:15:45.0668292Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/icon_search-plus.svg', elapsed 37 (ms), response code 'Created'.
2019-08-02T17:15:45.0714832Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/icon_cube.svg' took 32 milliseconds to finish upload
2019-08-02T17:15:45.0755899Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/icon_cube.svg
2019-08-02T17:15:45.0795890Z ##[debug]File 'Code Coverage Report_107635/icon_cube.svg' will be uploaded in one chunk.
2019-08-02T17:15:45.0839864Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/icon_cube.svg'.
2019-08-02T17:15:45.0883822Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/icon_cube.svg', chunk '1' of '1'.
2019-08-02T17:15:45.0928055Z ##[debug]Start uploading file 'Code Coverage Report_107635/icon_cube.svg' to server, chunk '1'.
2019-08-02T17:15:45.0972315Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/icon_cube.svg', elapsed 32 (ms), response code 'Created'.
2019-08-02T17:15:45.1017728Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/sistema_api.tjmt.jus.br_Tabela.htm' took 30 milliseconds to finish upload
2019-08-02T17:15:45.1059157Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/sistema_api.tjmt.jus.br_Tabela.htm
2019-08-02T17:15:45.1100214Z ##[debug]File 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_Tabela.htm' will be uploaded in one chunk.
2019-08-02T17:15:45.1144496Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_Tabela.htm'.
2019-08-02T17:15:45.1190019Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_Tabela.htm', chunk '1' of '1'.
2019-08-02T17:15:45.1234574Z ##[debug]Start uploading file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_Tabela.htm' to server, chunk '1'.
2019-08-02T17:15:45.1279718Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_Tabela.htm', elapsed 29 (ms), response code 'Created'.
2019-08-02T17:15:45.1325501Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/sistema_api.tjmt.jus.br.Core_HttpContentExtensions.htm' took 34 milliseconds to finish upload
2019-08-02T17:15:45.1367606Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/sistema_api.tjmt.jus.br.Core_HttpContentExtensions.htm
2019-08-02T17:15:45.1408666Z ##[debug]File 'Code Coverage Report_107635/sistema_api.tjmt.jus.br.Core_HttpContentExtensions.htm' will be uploaded in one chunk.
2019-08-02T17:15:45.1453539Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br.Core_HttpContentExtensions.htm'.
2019-08-02T17:15:45.1501288Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br.Core_HttpContentExtensions.htm', chunk '1' of '1'.
2019-08-02T17:15:45.1551431Z ##[debug]Start uploading file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br.Core_HttpContentExtensions.htm' to server, chunk '1'.
2019-08-02T17:15:45.1599417Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br.Core_HttpContentExtensions.htm', elapsed 33 (ms), response code 'Created'.
2019-08-02T17:15:45.1644809Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/icon_search-minus.svg' took 41 milliseconds to finish upload
2019-08-02T17:15:45.1689322Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/icon_search-minus.svg
2019-08-02T17:15:45.1732957Z ##[debug]File 'Code Coverage Report_107635/icon_search-minus.svg' will be uploaded in one chunk.
2019-08-02T17:15:45.1773621Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/icon_search-minus.svg'.
2019-08-02T17:15:45.1800986Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/icon_search-minus.svg', chunk '1' of '1'.
2019-08-02T17:15:45.1827496Z ##[debug]Start uploading file 'Code Coverage Report_107635/icon_search-minus.svg' to server, chunk '1'.
2019-08-02T17:15:45.1854400Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/icon_search-minus.svg', elapsed 41 (ms), response code 'Created'.
2019-08-02T17:15:45.1881226Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/summary.htm' took 91 milliseconds to finish upload
2019-08-02T17:15:45.1905905Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/summary.htm
2019-08-02T17:15:45.1930351Z ##[debug]File 'Code Coverage Report_107635/summary.htm' will be uploaded in one chunk.
2019-08-02T17:15:45.1956186Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/summary.htm'.
2019-08-02T17:15:45.1983733Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/summary.htm', chunk '1' of '1'.
2019-08-02T17:15:45.2010307Z ##[debug]Start uploading file 'Code Coverage Report_107635/summary.htm' to server, chunk '1'.
2019-08-02T17:15:45.2036544Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/summary.htm', elapsed 44 (ms), response code 'Created'.
2019-08-02T17:15:45.2063276Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/icon_minus.svg' took 30 milliseconds to finish upload
2019-08-02T17:15:45.2089664Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/icon_minus.svg
2019-08-02T17:15:45.2118160Z ##[debug]File 'Code Coverage Report_107635/icon_minus.svg' will be uploaded in one chunk.
2019-08-02T17:15:45.2146486Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/icon_minus.svg'.
2019-08-02T17:15:45.2173791Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/icon_minus.svg', chunk '1' of '1'.
2019-08-02T17:15:45.2200274Z ##[debug]Start uploading file 'Code Coverage Report_107635/icon_minus.svg' to server, chunk '1'.
2019-08-02T17:15:45.2226734Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/icon_minus.svg', elapsed 30 (ms), response code 'Created'.
2019-08-02T17:15:45.2254258Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/sistema_api.tjmt.jus.br_TabelaController.htm' took 29 milliseconds to finish upload
2019-08-02T17:15:45.2280777Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/sistema_api.tjmt.jus.br_TabelaController.htm
2019-08-02T17:15:45.2305569Z ##[debug]File 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_TabelaController.htm' will be uploaded in one chunk.
2019-08-02T17:15:45.2332218Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_TabelaController.htm'.
2019-08-02T17:15:45.2360103Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_TabelaController.htm', chunk '1' of '1'.
2019-08-02T17:15:45.2387940Z ##[debug]Start uploading file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_TabelaController.htm' to server, chunk '1'.
2019-08-02T17:15:45.2415000Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_TabelaController.htm', elapsed 28 (ms), response code 'Created'.
2019-08-02T17:15:45.2442037Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/index.html' took 30 milliseconds to finish upload
2019-08-02T17:15:45.2468471Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/index.html
2019-08-02T17:15:45.2493990Z ##[debug]File 'Code Coverage Report_107635/index.html' will be uploaded in one chunk.
2019-08-02T17:15:45.2520454Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/index.html'.
2019-08-02T17:15:45.2547283Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/index.html', chunk '1' of '1'.
2019-08-02T17:15:45.2574025Z ##[debug]Start uploading file 'Code Coverage Report_107635/index.html' to server, chunk '1'.
2019-08-02T17:15:45.2600892Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/index.html', elapsed 30 (ms), response code 'Created'.
2019-08-02T17:15:45.2629587Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/icon_info-circled.svg' took 33 milliseconds to finish upload
2019-08-02T17:15:45.2656906Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/icon_info-circled.svg
2019-08-02T17:15:45.2683168Z ##[debug]File 'Code Coverage Report_107635/icon_info-circled.svg' will be uploaded in one chunk.
2019-08-02T17:15:45.2709809Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/icon_info-circled.svg'.
2019-08-02T17:15:45.2737675Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/icon_info-circled.svg', chunk '1' of '1'.
2019-08-02T17:15:45.2764653Z ##[debug]Start uploading file 'Code Coverage Report_107635/icon_info-circled.svg' to server, chunk '1'.
2019-08-02T17:15:45.2792248Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/icon_info-circled.svg', elapsed 32 (ms), response code 'Created'.
2019-08-02T17:15:45.2819458Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/icon_fork.svg' took 36 milliseconds to finish upload
2019-08-02T17:15:45.2846114Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/icon_fork.svg
2019-08-02T17:15:45.2875973Z ##[debug]File 'Code Coverage Report_107635/icon_fork.svg' will be uploaded in one chunk.
2019-08-02T17:15:45.2903404Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/icon_fork.svg'.
2019-08-02T17:15:45.2931374Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/icon_fork.svg', chunk '1' of '1'.
2019-08-02T17:15:45.2958427Z ##[debug]Start uploading file 'Code Coverage Report_107635/icon_fork.svg' to server, chunk '1'.
2019-08-02T17:15:45.2985533Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/icon_fork.svg', elapsed 36 (ms), response code 'Created'.
2019-08-02T17:15:45.3014666Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/icon_up-dir_active.svg' took 29 milliseconds to finish upload
2019-08-02T17:15:45.3041243Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/icon_up-dir_active.svg
2019-08-02T17:15:45.3067438Z ##[debug]File 'Code Coverage Report_107635/icon_up-dir_active.svg' will be uploaded in one chunk.
2019-08-02T17:15:45.3093576Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/icon_up-dir_active.svg'.
2019-08-02T17:15:45.3120432Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/icon_up-dir_active.svg', chunk '1' of '1'.
2019-08-02T17:15:45.3149206Z ##[debug]Start uploading file 'Code Coverage Report_107635/icon_up-dir_active.svg' to server, chunk '1'.
2019-08-02T17:15:45.3176050Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/icon_up-dir_active.svg', elapsed 28 (ms), response code 'Created'.
2019-08-02T17:15:45.3203653Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/main.js' took 92 milliseconds to finish upload
2019-08-02T17:15:45.3228761Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/main.js
2019-08-02T17:15:45.3252923Z ##[debug]File 'Code Coverage Report_107635/main.js' will be uploaded in one chunk.
2019-08-02T17:15:45.3279735Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/main.js'.
2019-08-02T17:15:45.3305950Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/main.js', chunk '1' of '1'.
2019-08-02T17:15:45.3332366Z ##[debug]Start uploading file 'Code Coverage Report_107635/main.js' to server, chunk '1'.
2019-08-02T17:15:45.3359240Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/main.js', elapsed 50 (ms), response code 'Created'.
2019-08-02T17:15:45.3385730Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/class.js' took 47 milliseconds to finish upload
2019-08-02T17:15:45.3410438Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/class.js
2019-08-02T17:15:45.3435082Z ##[debug]File 'Code Coverage Report_107635/class.js' will be uploaded in one chunk.
2019-08-02T17:15:45.3461009Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/class.js'.
2019-08-02T17:15:45.3487981Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/class.js', chunk '1' of '1'.
2019-08-02T17:15:45.3514142Z ##[debug]Start uploading file 'Code Coverage Report_107635/class.js' to server, chunk '1'.
2019-08-02T17:15:45.3540445Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/class.js', elapsed 45 (ms), response code 'Created'.
2019-08-02T17:15:45.3567421Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/sistema_api.tjmt.jus.br_Calculadora.htm' took 86 milliseconds to finish upload
2019-08-02T17:15:45.3592446Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/sistema_api.tjmt.jus.br_Calculadora.htm
2019-08-02T17:15:45.3617126Z ##[debug]File 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_Calculadora.htm' will be uploaded in one chunk.
2019-08-02T17:15:45.3644711Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_Calculadora.htm'.
2019-08-02T17:15:45.3672410Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_Calculadora.htm', chunk '1' of '1'.
2019-08-02T17:15:45.3699286Z ##[debug]Start uploading file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_Calculadora.htm' to server, chunk '1'.
2019-08-02T17:15:45.3726139Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/sistema_api.tjmt.jus.br_Calculadora.htm', elapsed 86 (ms), response code 'Created'.
2019-08-02T17:15:45.3753003Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/report.css' took 94 milliseconds to finish upload
2019-08-02T17:15:45.3778386Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/report.css
2019-08-02T17:15:45.3804979Z ##[debug]File 'Code Coverage Report_107635/report.css' will be uploaded in one chunk.
2019-08-02T17:15:45.3831068Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/report.css'.
2019-08-02T17:15:45.3858154Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/report.css', chunk '1' of '1'.
2019-08-02T17:15:45.3884310Z ##[debug]Start uploading file 'Code Coverage Report_107635/report.css' to server, chunk '1'.
2019-08-02T17:15:45.3910677Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/report.css', elapsed 93 (ms), response code 'Created'.
2019-08-02T17:15:45.3937250Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/icon_plus.svg' took 58 milliseconds to finish upload
2019-08-02T17:15:45.3962600Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/icon_plus.svg
2019-08-02T17:15:45.3987339Z ##[debug]File 'Code Coverage Report_107635/icon_plus.svg' will be uploaded in one chunk.
2019-08-02T17:15:45.4013501Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/icon_plus.svg'.
2019-08-02T17:15:45.4040468Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/icon_plus.svg', chunk '1' of '1'.
2019-08-02T17:15:45.4066932Z ##[debug]Start uploading file 'Code Coverage Report_107635/icon_plus.svg' to server, chunk '1'.
2019-08-02T17:15:45.4093248Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/icon_plus.svg', elapsed 57 (ms), response code 'Created'.
2019-08-02T17:15:45.4120577Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/icon_down-dir_active.svg' took 58 milliseconds to finish upload
2019-08-02T17:15:45.4147933Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/icon_down-dir_active.svg
2019-08-02T17:15:45.4187535Z ##[debug]File 'Code Coverage Report_107635/icon_down-dir_active.svg' will be uploaded in one chunk.
2019-08-02T17:15:45.4227264Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/icon_down-dir_active.svg'.
2019-08-02T17:15:45.4258729Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/icon_down-dir_active.svg', chunk '1' of '1'.
2019-08-02T17:15:45.4286283Z ##[debug]Start uploading file 'Code Coverage Report_107635/icon_down-dir_active.svg' to server, chunk '1'.
2019-08-02T17:15:45.4312993Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/icon_down-dir_active.svg', elapsed 58 (ms), response code 'Created'.
2019-08-02T17:15:45.4340427Z ##[debug]File: '/vsts/agent/_work/1/s/TestResults/codecoverage/Report/summary107635/coverage.cobertura.xml' took 38 milliseconds to finish upload
2019-08-02T17:15:45.4365850Z ##[debug]Detail upload trace for file: Code Coverage Report_107635/summary107635/coverage.cobertura.xml
2019-08-02T17:15:45.4390488Z ##[debug]File 'Code Coverage Report_107635/summary107635/coverage.cobertura.xml' will be uploaded in one chunk.
2019-08-02T17:15:45.4417100Z ##[debug]Attempt '1' for uploading chunk '1' of file 'Code Coverage Report_107635/summary107635/coverage.cobertura.xml'.
2019-08-02T17:15:45.4443824Z ##[debug]Generate new HttpRequest for uploading file 'Code Coverage Report_107635/summary107635/coverage.cobertura.xml', chunk '1' of '1'.
2019-08-02T17:15:45.4471336Z ##[debug]Start uploading file 'Code Coverage Report_107635/summary107635/coverage.cobertura.xml' to server, chunk '1'.
2019-08-02T17:15:45.4498903Z ##[debug]Finished upload chunk '1' of file 'Code Coverage Report_107635/summary107635/coverage.cobertura.xml', elapsed 38 (ms), response code 'Created'.
2019-08-02T17:15:45.4523586Z File upload succeed.
2019-08-02T17:15:45.4547777Z Published '/vsts/agent/_work/1/s/TestResults/codecoverage/Report' as artifact 'Code Coverage Report_107635'
2019-08-02T17:15:45.4583658Z ##[section]Async Command End: Publish code coverage
2019-08-02T17:15:45.4642469Z ##[section]Finishing: Publish code coverage - Cobertura
cltshivash commented 5 years ago

Please use the agent version that is available with the TFS installation and not upgrade to the latest.

jensheidrich-acn commented 5 years ago

Is this really the final conclusion?

So we cannot benefit from any fixes of the agent? New versions are "incompatible" with TFS 2018? We need to stay on a version that was up-to-date when TFS was released? v.2.136.1 (Jul 5, 2018)

ftmazzone commented 5 years ago

If there is a security update needed for the last version compatible with TFS 2018, will there be a new agent version released ?