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

NativeAOT branches are publishing runtime.*.native.System.IO.Ports packages #465

Closed
safern opened this issue Dec 15, 2020 · 2 comments
Closed
Assignees

Comments

@safern
Copy link
Member

safern commented Dec 15, 2020

The NativeAOT branches are publishing runtime.*.native.System.IO.Ports packages and the prerelease label is the same as dotnet/runtime master branch, so this is causing race conditions in between dotnet/runtime official builds and dotnet/runtimelab builds in these branches. Because of the way we calculate version suffixes which contain a prerelease label, the date and an iteration version, that iteration is based on the build number of the day for the producing pipeline. Since we have two different pipelines that produce the same asset and have the same prerelease label in Versions.props as dotnet/runtime, we can get clashing assets in our symbol blob storages.

D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20609.9\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : Item 'D:\a\1\a/BlobArtifacts/runtime.linux-x64.runtime.native.System.IO.Ports.6.0.0-alpha.1.20614.5.symbols.nupkg' already exists with different contents at 'assets/symbols/runtime.linux-x64.runtime.native.System.IO.Ports.6.0.0-alpha.1.20614.5.symbols.nupkg'

##[error].packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20609.9\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : (NETCORE_ENGINEERING_TELEMETRY=Publish) Item 'D:\a\1\a/BlobArtifacts/runtime.linux-x64.runtime.native.System.IO.Ports.6.0.0-alpha.1.20614.5.symbols.nupkg' already exists with different contents at 'assets/symbols/runtime.linux-x64.runtime.native.System.IO.Ports.6.0.0-alpha.1.20614.5.symbols.nupkg'

D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20609.9\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : Item 'D:\a\1\a/BlobArtifacts/runtime.osx-x64.runtime.native.System.IO.Ports.6.0.0-alpha.1.20614.5.symbols.nupkg' already exists with different contents at 'assets/symbols/runtime.osx-x64.runtime.native.System.IO.Ports.6.0.0-alpha.1.20614.5.symbols.nupkg'

##[error].packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20609.9\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : (NETCORE_ENGINEERING_TELEMETRY=Publish) Item 'D:\a\1\a/BlobArtifacts/runtime.osx-x64.runtime.native.System.IO.Ports.6.0.0-alpha.1.20614.5.symbols.nupkg' already exists with different contents at 'assets/symbols/runtime.osx-x64.runtime.native.System.IO.Ports.6.0.0-alpha.1.20614.5.symbols.nupkg'

@MattGal do we know if it is possible to create blob storages per DARC channel since dotnet/runtime and dotnet/runtimelab publish to different channels?

This could happen again if a new experiment doesn't disable packages from building from that branch and just produce the packages they need and don't update the prerelease label. We need to add an entry for the packages bits in the create experiment docs.

I don't think we should update the label for the NativeAOT experiments as they are supposed to just produce the ILCompiler package and this is the only source of that package.

cc: @ericstj @jkotas @MichalStrehovsky @joperezr

@AntonLapounov
Copy link
Member

@safern The issue seems resolved, should we close it?

@safern
Copy link
Member Author

safern commented Mar 8, 2021

Yup. Thanks!

@safern safern closed this as completed Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants