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
814638 dotnet/runtime Build product Log #107772
813564 dotnet/runtime Build product Log #107734
812402 dotnet/runtime Build product Log #107772
811610 dotnet/runtime Build product Log #107965
811436 dotnet/runtime Build product Log #107957
810337 dotnet/runtime Build product Log #107810
809918 dotnet/runtime Build product Log #107478
808777 dotnet/runtime Build product Log #107772
808332 dotnet/runtime Build product Log #107772
808218 dotnet/runtime Build product Log #107810
807923 dotnet/runtime Build product Log #107772
807451 dotnet/runtime Build product Log #106599
807141 dotnet/runtime Build product Log #107773
806898 dotnet/runtime Build product Log #107478
804589 dotnet/runtime Build product Log #107576
804286 dotnet/runtime Build product Log #107576
804062 dotnet/runtime Build product Log #107639
803037 dotnet/runtime Build product Log #107580
802775 dotnet/runtime Build product Log #107580
801967 dotnet/runtime Build product Log #107478
801022 dotnet/runtime Build product Log #107499
800992 dotnet/runtime Build product Log #107499
800959 dotnet/runtime Build product Log #107499
800949 dotnet/runtime Build product Log #107499
800836 dotnet/runtime Build product Log #107027
800232 dotnet/runtime Build product Log #107478
797399 dotnet/runtime Build product Log #106922
796258 dotnet/runtime Build product Log #106922
795693 dotnet/runtime Build product Log #106922
793892 dotnet/runtime Build product Log #107185
792965 dotnet/runtime Build product Log #107156
791599 dotnet/runtime Build product Log #107107
791464 dotnet/runtime Build product Log #107101
789838 dotnet/runtime Build product Log #106922
789601 dotnet/runtime Build product Log #105875
788446 dotnet/runtime Build product Log #106922

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 7 36

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
@agocke agocke modified the milestones: 9.0.0, 10.0.0 Aug 22, 2024
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
Status: No status
Development

No branches or pull requests

5 participants