vs2017-win2016On Windows, the PublishTestResults task generates the following warning:
No build level attachments to publish.
##[warning]Could not publish build level data. Object reference not set to an instance of an object.
Publishing test results to test run '1003152'.
TestResults To Publish 2, Test run id:1003152
Test results publishing 2, remaining: 0. Test run id: 1003152
Published Test Run : https://tfsprodcus3.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/public/_TestManagement/Runs#runId=1003152&_a=runCharts.
No warning is generated when the same task is run on Linux or Mac agents:
Publishing test results to test run '1003150'
Test results remaining: 2. Test run id: 1003150
Published Test Run : https://dev.azure.com/azure-sdk/public/_TestManagement/Runs#runId=1003150&_a=runCharts
HI,
We understand the issue and we are in process of fixing it. we will update the thread with release update.
having the same issue here.
@puagarwa same issue here. Can you please explain what the issue is?
having the same issue here too
2018-12-17T13:06:31.9351983Z ##[section]Starting: Publish Test Results **/ClientTest.xml
2018-12-17T13:06:31.9358250Z ==============================================================================
2018-12-17T13:06:31.9358384Z Task : Publish Test Results
2018-12-17T13:06:31.9358469Z Description : Publish Test Results to Azure Pipelines/TFS
2018-12-17T13:06:31.9358575Z Version : 2.144.4
2018-12-17T13:06:31.9358660Z Author : Microsoft Corporation
2018-12-17T13:06:31.9358741Z Help : [More Information](https://go.microsoft.com/fwlink/?LinkID=613742)
2018-12-17T13:06:31.9358844Z ==============================================================================
2018-12-17T13:07:12.3979358Z [command]F:\vstsagents\beta\_work\_tasks\PublishTestResults_0b0f01ed-7dde-43ff-9cbb-e48954daf9b1\2.144.4\modules\TestResultsPublisher.exe @F:\vstsagents\beta\_work\_temp\ab013440-01fc-11e9-a683-07e14eb1bf69.txt
2018-12-17T13:07:13.2454768Z Only single test suite found, parsing its information.
2018-12-17T13:07:13.2676049Z No build level attachments to publish.
2018-12-17T13:07:13.2691150Z ##[warning]Could not publish build level data. Object reference not set to an instance of an object.
2018-12-17T13:07:15.3309300Z Publishing test results to test run '1002122'.
2018-12-17T13:07:15.3363934Z TestResults To Publish 43, Test run id:1002122
2018-12-17T13:07:15.3494881Z Test results publishing 43, remaining: 0. Test run id: 1002122
2018-12-17T13:07:15.8301594Z Published Test Run : XXXX
2018-12-17T13:07:15.9549184Z ##[section]Finishing: Publish Test Results **/ClientTest.xml
same issue:
2018-12-17T19:09:38.0022458Z ##[section]Starting: Publish Test Results
2018-12-17T19:09:38.0026883Z ==============================================================================
2018-12-17T19:09:38.0026970Z Task : Publish Test Results
2018-12-17T19:09:38.0027047Z Description : Publish Test Results to Azure Pipelines/TFS
2018-12-17T19:09:38.0027101Z Version : 2.144.4
2018-12-17T19:09:38.0027171Z Author : Microsoft Corporation
2018-12-17T19:09:38.0027231Z Help : More Information
2018-12-17T19:09:38.0027314Z ==============================================================================
2018-12-17T19:09:38.2937760Z [command]D:\a_tasksPublishTestResults_0b0f01ed-7dde-43ff-9cbb-e48954daf9b1\2.144.4modules\TestResultsPublisher.exe @D:\a_temp\4c928520-022f-11e9-a963-a143e165663b.txt
2018-12-17T19:09:40.3309433Z No build level attachments to publish.
2018-12-17T19:09:40.4916142Z ##[warning]Could not publish build level data. Object reference not set to an instance of an object.
2018-12-17T19:09:45.1697674Z Publishing test results to test run '1009834'.
2018-12-17T19:09:45.1700291Z Publishing test results to test run '1009832'.
@youfoundkris basically , this is just warning and no impact on functionality, we just missed some null check for one of new feature. We have fixed it and its in process of deployment.
This has been deployed to production.
Most helpful comment
HI,
We understand the issue and we are in process of fixing it. we will update the thread with release update.