Skip to content

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

@jkotas

Description

@jkotas
  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
1178615 dotnet/runtime Build product Log #119432
1177738 dotnet/runtime Build product Log #119432
1176876 dotnet/runtime Build product Log #119432
1176008 dotnet/runtime Build product Log #120732
1175777 dotnet/runtime Build product Log #119996
1175392 dotnet/runtime Build product Log #120732
1175315 dotnet/runtime Build product Log #120623
1174797 dotnet/runtime Build product Log #120623
1174795 dotnet/runtime Build product Log #120431
1174671 dotnet/runtime Build product Log #119432
1174476 dotnet/runtime Build product Log #119432
1173730 dotnet/runtime Build product Log #118570
1173277 dotnet/runtime Build product Log #120670
1173155 dotnet/runtime Build product Log #119432
1172973 dotnet/runtime Build product Log #120673
1172609 dotnet/runtime Build product Log #120663
1172593 dotnet/runtime Build product Log #120660
1172554 dotnet/runtime Build product Log #118577
1171539 dotnet/runtime Build product Log #120636
1170787 dotnet/runtime Build product Log #119432
1170634 dotnet/runtime Build product Log #119432
1169766 dotnet/runtime Build product Log #119432
1169718 dotnet/runtime Build product Log
1169654 dotnet/runtime Build product Log #120454
1169636 dotnet/runtime Build product Log #119432
1169451 dotnet/runtime Build product Log #119432
1167923 dotnet/runtime Build product Log #120454
1167491 dotnet/runtime Build product Log #119432
1167542 dotnet/runtime Build product Log #120454
1167148 dotnet/runtime Build product Log #120454
1167015 dotnet/runtime Build product Log #120454
1167011 dotnet/runtime Build product Log #119432
1166931 dotnet/runtime Build product Log #120439
1166909 dotnet/runtime Build product Log #120454
1165837 dotnet/runtime Build product Log #120306
1165828 dotnet/runtime Build product Log #120306
1165795 dotnet/runtime Build product Log #120306
1165756 dotnet/runtime Build product Log #120306
1164306 dotnet/runtime Build product Log #119432
1162838 dotnet/runtime Build product Log #119432
1162335 dotnet/runtime Build product Log #119432
1161678 dotnet/runtime Build product Log #120213
1161142 dotnet/runtime Build product Log #120234
1161118 dotnet/runtime Build product Log #120234
1160530 dotnet/runtime Build product Log #120141
1160211 dotnet/runtime Build product Log #120099
1159071 dotnet/runtime Build product Log #120141
1158665 dotnet/runtime Build product Log #119432
1158531 dotnet/runtime Build product Log #119432
1157900 dotnet/runtime Build product Log #119432
1155977 dotnet/runtime Build product Log #119988
1155269 dotnet/runtime Build product Log #119957
1155152 dotnet/runtime Build product Log #119957
1154990 dotnet/runtime Build product Log #119957
1154887 dotnet/runtime Build product Log #119951
1154391 dotnet/runtime Build product Log
1154259 dotnet/runtime Build product Log #119432
1152308 dotnet/runtime Build product Log #119432
1152066 dotnet/runtime Build product Log #117429
1151920 dotnet/runtime Build product Log #117429

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 19 60

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions