Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent build failure in AfterSourceBuild: "Could not write state file" #76488

Open
jkotas opened this issue Oct 1, 2022 · 2 comments
Open
Labels
area-Infrastructure Known Build Error Use this to report build issues in the .NET Helix tab
Milestone

Comments

@jkotas
Copy link
Member

jkotas commented Oct 1, 2022

  Building intermediate nupkg, and supplemental nupkgs for runtime, ILCompiler, Crossgen2Pack...
/__w/1/s/.dotnet/sdk/7.0.100-preview.7.22377.5/Microsoft.Common.CurrentVersion.targets(2318,5): error MSB3101: Could not write state file "/__w/1/s/artifacts/obj/SourceBuildIntermediate/Release/netstandard2.0/SourceBuildIntermediate.proj.AssemblyReference.cache". The file '/__w/1/s/artifacts/obj/SourceBuildIntermediate/Release/netstandard2.0/SourceBuildIntermediate.proj.AssemblyReference.cache' already exists. [/__w/1/s/artifacts/obj/ArcadeGeneratedProjects/SourceBuildIntermediate/SourceBuildIntermediate.proj]
##[error].dotnet/sdk/7.0.100-preview.7.22377.5/Microsoft.Common.CurrentVersion.targets(2318,5): error MSB3101: (NETCORE_ENGINEERING_TELEMETRY=AfterSourceBuild) Could not write state file "/__w/1/s/artifacts/obj/SourceBuildIntermediate/Release/netstandard2.0/SourceBuildIntermediate.proj.AssemblyReference.cache". The file '/__w/1/s/artifacts/obj/SourceBuildIntermediate/Release/netstandard2.0/SourceBuildIntermediate.proj.AssemblyReference.cache' already exists.
/__w/1/s/.dotnet/sdk/7.0.100-preview.7.22377.5/Microsoft.Common.CurrentVersion.targets(2318,5): error MSB3101: Could not write state file "/__w/1/s/artifacts/obj/SourceBuildIntermediate/Release/netstandard2.0/SourceBuildIntermediate.proj.AssemblyReference.cache". The file '/__w/1/s/artifacts/obj/SourceBuildIntermediate/Release/netstandard2.0/SourceBuildIntermediate.proj.AssemblyReference.cache' already exists. [/__w/1/s/artifacts/obj/ArcadeGeneratedProjects/SourceBuildIntermediate/SourceBuildIntermediate.proj]
##[error].dotnet/sdk/7.0.100-preview.7.22377.5/Microsoft.Common.CurrentVersion.targets(2318,5): error MSB3101: (NETCORE_ENGINEERING_TELEMETRY=AfterSourceBuild) Could not write state file "/__w/1/s/artifacts/obj/SourceBuildIntermediate/Release/netstandard2.0/SourceBuildIntermediate.proj.AssemblyReference.cache". The file '/__w/1/s/artifacts/obj/SourceBuildIntermediate/Release/netstandard2.0/SourceBuildIntermediate.proj.AssemblyReference.cache' already exists.
 {
    "ErrorMessage" : "Could not write state file",
    "BuildRetry": true
 }

Full log: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_apis/build/builds/37592/logs/106
Hit in: #76463

Report

Build Definition Step Name Console log Pull Request
695870 dotnet/runtime Build product Log #102379
695356 dotnet/runtime Build product Log #102977
694977 dotnet/runtime Build product Log #102956
692865 dotnet/runtime Build product Log #102770
691389 dotnet/runtime Build product Log #102770
691174 dotnet/runtime Build product Log #102795
690601 dotnet/runtime Build product Log #102795
685675 dotnet/runtime Build product Log #102379
681426 dotnet/runtime Build product Log #102379
679360 dotnet/runtime Build product Log #102379
677715 dotnet/runtime Build product Log #102249
676584 dotnet/runtime Build product Log #101531
671821 dotnet/runtime Build product Log #102094
668004 dotnet/runtime Build product Log #101972
667462 dotnet/runtime Build product Log #101740
667151 dotnet/runtime Build product Log #101740
666366 dotnet/runtime Build product Log #101899

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 7 17

Known issue validation

Build: 🔎
Result validation: ⚠️ Validation could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: 🔎" line.

@jkotas jkotas added area-Infrastructure Known Build Error Use this to report build issues in the .NET Helix tab labels Oct 1, 2022
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Oct 1, 2022
@ghost
Copy link

ghost commented Oct 1, 2022

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

Issue Details
  Building intermediate nupkg, and supplemental nupkgs for runtime, ILCompiler, Crossgen2Pack...
/__w/1/s/.dotnet/sdk/7.0.100-preview.7.22377.5/Microsoft.Common.CurrentVersion.targets(2318,5): error MSB3101: Could not write state file "/__w/1/s/artifacts/obj/SourceBuildIntermediate/Release/netstandard2.0/SourceBuildIntermediate.proj.AssemblyReference.cache". The file '/__w/1/s/artifacts/obj/SourceBuildIntermediate/Release/netstandard2.0/SourceBuildIntermediate.proj.AssemblyReference.cache' already exists. [/__w/1/s/artifacts/obj/ArcadeGeneratedProjects/SourceBuildIntermediate/SourceBuildIntermediate.proj]
##[error].dotnet/sdk/7.0.100-preview.7.22377.5/Microsoft.Common.CurrentVersion.targets(2318,5): error MSB3101: (NETCORE_ENGINEERING_TELEMETRY=AfterSourceBuild) Could not write state file "/__w/1/s/artifacts/obj/SourceBuildIntermediate/Release/netstandard2.0/SourceBuildIntermediate.proj.AssemblyReference.cache". The file '/__w/1/s/artifacts/obj/SourceBuildIntermediate/Release/netstandard2.0/SourceBuildIntermediate.proj.AssemblyReference.cache' already exists.
/__w/1/s/.dotnet/sdk/7.0.100-preview.7.22377.5/Microsoft.Common.CurrentVersion.targets(2318,5): error MSB3101: Could not write state file "/__w/1/s/artifacts/obj/SourceBuildIntermediate/Release/netstandard2.0/SourceBuildIntermediate.proj.AssemblyReference.cache". The file '/__w/1/s/artifacts/obj/SourceBuildIntermediate/Release/netstandard2.0/SourceBuildIntermediate.proj.AssemblyReference.cache' already exists. [/__w/1/s/artifacts/obj/ArcadeGeneratedProjects/SourceBuildIntermediate/SourceBuildIntermediate.proj]
##[error].dotnet/sdk/7.0.100-preview.7.22377.5/Microsoft.Common.CurrentVersion.targets(2318,5): error MSB3101: (NETCORE_ENGINEERING_TELEMETRY=AfterSourceBuild) Could not write state file "/__w/1/s/artifacts/obj/SourceBuildIntermediate/Release/netstandard2.0/SourceBuildIntermediate.proj.AssemblyReference.cache". The file '/__w/1/s/artifacts/obj/SourceBuildIntermediate/Release/netstandard2.0/SourceBuildIntermediate.proj.AssemblyReference.cache' already exists.
 {
    "ErrorMessage" : "Could not write state file",
    "BuildRetry": false
 }

Full log: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_apis/build/builds/37592/logs/106
Hit in: #76463

Author: jkotas
Assignees: -
Labels:

area-Infrastructure, Known Build Error

Milestone: -

@ViktorHofer
Copy link
Member

cc @MichaelSimons regarding SourceBuildIntermediate.proj

@jeffschwMSFT jeffschwMSFT added this to the 8.0.0 milestone Oct 4, 2022
@jeffschwMSFT jeffschwMSFT removed the untriaged New issue has not been triaged by the area owner label Oct 4, 2022
@agocke agocke modified the milestones: 8.0.0, 9.0.0 Sep 18, 2023
@build-analysis build-analysis bot removed this from the 9.0.0 milestone Nov 15, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Nov 15, 2023
@akoeplinger akoeplinger added this to the 9.0.0 milestone Nov 24, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Infrastructure Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

No branches or pull requests

5 participants