Skip to content

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

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 Repository Step Name Console log Pull Request
1475715 dotnet/runtime Build product Log #129043
1476466 dotnet/runtime Build product Log #129267
1476460 dotnet/runtime Build product Log #129703
1476446 dotnet/runtime Build product Log #129019
1476427 dotnet/runtime Build product Log #129721
1476473 dotnet/runtime Build product Log #129502
1476405 dotnet/runtime Build product Log #129640
1476380 dotnet/runtime Build product Log #129345
1476366 dotnet/runtime Build product Log #129720
1476408 dotnet/runtime Build product Log #129502
1476399 dotnet/runtime Build product Log #129661
1476323 dotnet/runtime Build product Log #128776
1476327 dotnet/runtime Build product Log #129716
1476317 dotnet/runtime Build product Log #126367
1476375 dotnet/runtime Build product Log #129703
1476286 dotnet/runtime Build product Log #129396
1476282 dotnet/runtime Build product Log #129710
1476272 dotnet/runtime Build product Log #127502
1476248 dotnet/runtime Build product Log #125901
1476234 dotnet/runtime Build product Log #129717
1476223 dotnet/runtime Build product Log #129299
1476201 dotnet/runtime Build product Log #129690
1476137 dotnet/runtime Build product Log #129715
1476128 dotnet/runtime Build product Log #128304
1476119 dotnet/runtime Build product Log #129714
1476105 dotnet/runtime Build product Log #129713
1476109 dotnet/runtime Build product Log #129589
1476184 dotnet/runtime Build product Log #129716
1476093 dotnet/runtime Build product Log #129703
1476063 dotnet/runtime Build product Log #129708
1476067 dotnet/runtime Build product Log #129702
1476059 dotnet/runtime Build product Log #129710
1476049 dotnet/runtime Build product Log #129671
1476018 dotnet/runtime Build product Log #129632
1476002 dotnet/runtime Build product Log #129704
1475976 dotnet/runtime Build product Log #129345
1475931 dotnet/runtime Build product Log #129147
1475910 dotnet/runtime Build product Log #129673
1475786 dotnet/runtime Build product Log #125436
1475793 dotnet/runtime Build product Log #128950
1475749 dotnet/runtime Build product Log #129661
1475740 dotnet/runtime Build product Log #129530
1475734 dotnet/runtime Build product Log #128702
1475727 dotnet/runtime Build product Log #128384
1475712 dotnet/runtime Build product Log #129424
1475703 dotnet/runtime Build product Log #129570
1475671 dotnet/runtime Build product Log #129690
1475668 dotnet/runtime Build product Log #129701
1475652 dotnet/runtime Build product Log #129625
1475613 dotnet/runtime Build product Log #129662
1475622 dotnet/runtime Build product Log #129698
1475553 dotnet/runtime Build product Log #129661
1475573 dotnet/runtime Build product Log #128702
1475454 dotnet/runtime Build product Log #129624
1475420 dotnet/runtime Build product Log #129657
1475543 dotnet/runtime Build product Log #129690
1475405 dotnet/runtime Build product Log #129043
1475393 dotnet/runtime Build product Log #125901
1475294 dotnet/runtime Build product Log #129202
1475289 dotnet/runtime Build product Log #129447
1475273 dotnet/runtime Build product Log #129282
1475234 dotnet/runtime Build product Log #128862
1475221 dotnet/runtime Build product Log #129425
1475216 dotnet/runtime Build product Log #129570
1474874 dotnet/runtime Build product Log #129405
1460308 dotnet/runtime Build product Log #129083
1450274 dotnet/runtime Build product Log #129008
1450362 dotnet/runtime Build product Log #128788
1447417 dotnet/runtime Build product Log #127749
1446679 dotnet/runtime Build product Log #128788

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
40 65 70

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
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions