Open jonathanpeppers opened 2 years ago
The above error didn't happen on a rerun, so this might be some weird, sporadic failure.
Installing workloads would try to write to these files if the manifests were being updated. So maybe there is something concurrent in the build that is installing workloads. Or maybe something went wrong with the installation process and the lock didn't get released.
@jonathanpeppers has this happened again more recently? Any luck tracking down if something else is triggering an install?
I haven't seen this in a while.
@mattleibow / @rmarinho have you seen this on dotnet/maui's CI?
Getting this on macOS
/usr/local/share/dotnet/sdk/7.0.100-preview.4.22252.9/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(179,5): error MSB4018: at System.IO.Strategies.OSFileStreamStrategy
dotnet --list-sdks
6.0.301 [/usr/local/share/dotnet/sdk]
7.0.100-preview.4.22252.9 [/usr/local/share/dotnet/sdk]
Not sure if it's related but I landed here googling the error output.
Describe the bug
This happened on the PR here. Bumping to .NET 6.0.200-preview.22053.5.
A build on macOS failed with:
I thought this was odd, as it doesn't seem like this file should be opened with write access? I might be misreading the error message.
To Reproduce
I think this is pretty random on dotnet/maui's CI. It does:
dotnet-install.sh
to a folder like./bin/dotnet/
The "Release" lane in the same build passed -- so going to retry and see if this problem goes away.
Exceptions (if any)
.binlog
file: Microsoft.Maui-mac-Debug-Build.binlog.zip/cc @dsplaisted