Error about locked architecture_graphs....pb files win Azure DevOps Pipelines since 03-03-2026

Since March 3rd we have been getting errors in our Azure DevOps Pipelines with SonarQube scans. There are architecture_graphs….pb files that are locked and cannot be removed by SonarQube when running the analysis.

We use self-hosted agents and Microsoft hosted agents.

This is the error on the selfhosted agents on a Windows Server 2022.

##[error]ERROR: Failed to delete temp folder
##[error]java.nio.file.FileSystemException: D:\[Redacted SelfHostedAgent]\_work\397\.sonarqube\out\.sonar\.sonartmp\architecture_graphs6018381077981158318.pb: The process cannot access the file because it is being used by another process

This is the error on a Microsoft hosted Windows 2025 agent.

##[error]13:18:04.040 ERROR: Failed to delete temp folder
##[error]java.nio.file.FileSystemException: C:\a\_work\9\.sonarqube\out\.sonar\.sonartmp\architecture_graphs8015529215648093421.pb: The process cannot access the file because it is being used by another process

Hi,

We encounter the exact same issue since the 2026-03-03 on a Windows Server 2019 hosted agent.

Hi,

We’ve seen another error that doesn’t interfere with analysis. Does this error interfere or is it just noisy?

 
Thx,
Ann

I assume this is the same as ERROR: Failed to delete temp folder for dependency-files.tar.xz

2 Likes

For most teams, using the Azure DevOps SonarCloudAnalyze@3 task, it is just noisy. The analysis does continue.
For a few teams that use Nuke/Pulumi it made the pipeline fail on the error, but they have now changed the pipeline to ignore these errors as a workaround.

1 Like

Hi @nv010,

Thanks for confirmation. This is flagged for the team.

 
Ann

1 Like

Hi Nathan, Maxime,

We have posted an update that resolves the issue. Can you please confirm the fix on your side.

Thanks,
Paul

2 Likes