.NetCore: Test - Failed to upload file *.trx
See original GitHub issueQuestion, Bug, or Feature?
Type: Bug
Enter Task Name: .NET Core. Command: test
Environment
-
Server - Azure Pipelines or TFS on-premises? Azure DevOps Services - Azure Pipelines
-
If using Azure Pipelines, provide the account name, team project name, build definition name/build number: account/org: bstglobal team project name: Horizon Build definition: hz-api-people #20200415.6 (new warning) #20200409.7 (no warning
-
Agent - Hosted or Private: Hosted
- If using Hosted agent, provide agent queue name: ubuntu-latest
Issue Description
.NetCore - test We are receiving a new warning over the weekend with no new code change. Seems that the hosted agent might be missing a file?
Task logs
logs attached logs_5189.zip
Error logs
##[warning]Failed to upload file _fv-az151_2020-04-14_17_38_33.trx to Blob , exception message System.DllNotFoundException: Unable to load shared library 'advapi32.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libadvapi32.dll: cannot open shared object file: No such file or directory at Microsoft.TeamFoundation.TestClient.PublishTestResults.TestLogStore._executeWithRetry(Func
1 action, Func1 actionWithRename, Func
1 actionOnSasExpiry, Boolean allowDuplicate, Boolean allowRetryOnNetworkingError, TelemetryTracker telemetryTracker)
at Microsoft.TeamFoundation.TestClient.PublishTestResults.TestLogStore.UploadInternalAsync(Guid projectId, TestLogScope scope, Int32 buildId, Int32 runId, String logFileSourcePath, Stream stream, String fileName, TestLogType logType, Int32 testResultId, Int32 testSubResultId, Dictionary2 metaData, TelemetryTracker telTracker, Boolean allowDuplicate, TestLogCompressionType logCompressionType, String originalFileContentType) Failed to upload run logs to LogStore, Trying to upload to FileService
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:9 (4 by maintainers)
Very similar issue here with the
PublishTestResults
task on the hosted ‘ubuntu 16.04’ and ‘macos-latest’ hosted vm images:The issue is still there for us in our pipelines, could you please share if anything we need to change on our side to get the fix. @shailesh-sk @bishal-pdMSFT