Skip to content

File upload failed even after retry #1916

Description

@jeffschwMSFT

Build

https://dev.azure.com/dnceng/internal/_build/results?buildId=2365835

Error:

Fail to upload '/mnt/vss/_work/1/a/IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Ref.9.0.0-preview.2.24080.4.symbols.nupkg' due to 'Bad Request'.
Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException: Bad Request
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponseAsync(HttpResponseMessage response, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.Services.FileContainer.Client.FileContainerHttpClient.UploadFileAsync(Int64 containerId, String itemPath, Stream fileStream, Byte[] contentId, Int64 fileLength, Boolean isGzipped, Guid scopeIdentifier, CancellationToken cancellationToken, Int32 chunkSize, Int32 chunkRetryTimes, Boolean uploadFirstChunk, Object userState)
   at Microsoft.VisualStudio.Services.FileContainer.Client.FileContainerHttpClient.UploadFileAsync(Int64 containerId, String itemPath, Stream fileStream, Guid scopeIdentifier, CancellationToken cancellationToken, Int32 chunkSize, Boolean uploadFirstChunk, Object userState, Boolean compressStream)
   at Microsoft.VisualStudio.Services.Agent.Worker.Build.FileContainerServer.UploadAsync(IAsyncCommandContext context, Int32 uploaderId, CancellationToken token) in /home/vsts/work/1/s/src/Agent.Worker/Build/FileContainerServer.cs:line 250
Detail upload trace for file that fail to upload: IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Ref.9.0.0-preview.2.24080.4.symbols.nupkg
Chunk '2' attempt '1' of file 'IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Ref.9.0.0-preview.2.24080.4.symbols.nupkg' fail to send request to server. Error: Microsoft.VisualStudio.Services.Common.VssServiceException: TF203009: The size of the file that you uploaded does not match the size that the client computer provided.
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponseAsync(HttpResponseMessage response, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.Services.FileContainer.Client.FileContainerHttpClient.UploadFileAsync(Int64 containerId, String itemPath, Stream fileStream, Byte[] contentId, Int64 fileLength, Boolean isGzipped, Guid scopeIdentifier, CancellationToken cancellationToken, Int32 chunkSize, Int32 chunkRetryTimes, Boolean uploadFirstChunk, Object userState).
##[error]File upload failed even after retry.

Build leg reported

No response

Pull Request

No response

Known issue core information

Fill out the known issue JSON section by following the step by step documentation on how to create a known issue

 {
    "ErrorMessage" : "##[error]File upload failed even after retry",
    "BuildRetry": false,
    "ExcludeConsoleLog": false
 }

@dotnet/dnceng

Release Note Category

  • Feature changes/additions
  • Bug fixes
  • Internal Infrastructure Improvements

Release Note Description

Additional information about the issue reported

No response

Report

Build Repository Step Name Console log Pull Request
1573475 dotnet/runtime Publish Build Assets Log dotnet/runtime#132915
1572494 dotnet/maui publish artifacts Log
1567378 dotnet/maui publish artifacts Log
1567073 dotnet/maui publish artifacts Log dotnet/maui#37746
1566789 dotnet/maui publish artifacts Log dotnet/maui#37803
1563708 dotnet/maui publish artifacts Log
1563135 dotnet/maui publish artifacts Log dotnet/maui#37729
1562343 dotnet/maui publish artifacts Log
1561232 dotnet/maui publish artifacts Log
1560719 dotnet/maui publish artifacts Log dotnet/maui#37676
1559310 dotnet/maui publish artifacts Log dotnet/maui#37642
1558663 dotnet/maui publish artifacts Log
1558287 dotnet/maui publish artifacts Log
1557212 dotnet/maui publish artifacts Log dotnet/maui#37575
1552812 dotnet/maui publish artifacts Log
1552539 dotnet/maui publish artifacts Log
1552099 dotnet/maui publish artifacts Log
1552070 dotnet/maui publish artifacts Log
1552102 dotnet/maui publish artifacts Log
1551775 dotnet/maui publish artifacts Log dotnet/maui#37382
1550405 dotnet/maui publish artifacts Log
1548422 dotnet/maui publish artifacts Log dotnet/maui#37278
1548256 dotnet/maui publish artifacts Log dotnet/maui#36212
1547353 dotnet/maui publish artifacts Log
1546612 dotnet/maui publish artifacts Log dotnet/maui#37252
1546359 dotnet/runtime Publish product build Log
1545956 dotnet/maui publish artifacts Log dotnet/maui#36212
1544433 dotnet/maui publish artifacts Log dotnet/maui#37182
1542485 dotnet/maui publish artifacts Log dotnet/maui#37143
1539633 dotnet/maui publish artifacts Log dotnet/maui#37091
1538355 dotnet/maui publish artifacts Log dotnet/maui#37069
1538235 dotnet/maui publish artifacts Log dotnet/maui#37046
1537300 dotnet/maui publish artifacts Log dotnet/maui#37035
1534217 dotnet/maui publish artifacts Log dotnet/maui#36935

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 5 34

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng/internal/_build/results?buildId=2365835
Error message validated: [##[error]File upload failed even after retry]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 2/7/2024 2:03:27 AM UTC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions