Skip to content

Conversation

dotnet-maestro[bot]
Copy link
Contributor

@dotnet-maestro dotnet-maestro bot commented Jul 21, 2021

This pull request updates the following dependencies

Coherency Updates

The following updates ensure that dependencies with a CoherentParentDependency
attribute were produced in a build used as input to the parent dependency's build.
See Dependency Description Format

  • Coherency Updates:
    • Microsoft.NETCore.App.Ref: from 6.0.0-preview.7.21368.2 to 6.0.0-preview.7.21371.11 (parent: Microsoft.Dotnet.Sdk.Internal)

From https://github.com/dotnet/installer

  • Subscription: 95703ce6-24e6-46ee-08a4-08d948adff43
  • Build: 20210722.19
  • Date Produced: 7/22/2021 11:48 PM
  • Commit: 456900dd18975ff48c3152248428a7c07e81c4ee
  • Branch: refs/heads/release/6.0.1xx-preview7

…210721.2

Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.100-preview.7.21369.5 -> To Version 6.0.100-preview.7.21371.2

Dependency coherency updates

Microsoft.NETCore.App.Ref
 From Version 6.0.0-preview.7.21368.2 -> To Version 6.0.0-preview.7.21370.18 (parent: Microsoft.Dotnet.Sdk.Internal
Copy link
Member

@jonathanpeppers jonathanpeppers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, yeah this is busted. Looks like you can't install "abstract" workloads anymore:

Running: /Users/builder/Library/Android/dotnet/dotnet "workload" "install" "microsoft-net-runtime-android" "--skip-manifest-update" "--verbosity" "diag"
stderr | Workload with id microsoft-net-runtime-android is not recognized.

…210721.16

Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.100-preview.7.21369.5 -> To Version 6.0.100-preview.7.21371.16

Dependency coherency updates

Microsoft.NETCore.App.Ref
 From Version 6.0.0-preview.7.21368.2 -> To Version 6.0.0-preview.7.21370.18 (parent: Microsoft.Dotnet.Sdk.Internal
@jonpryor
Copy link
Contributor

@jonathanpeppers : why's it trying to install the microsoft-net-runtime-android workload when you renamed it to android and android-aot in 600e993?

@jonathanpeppers
Copy link
Member

why's it trying to install the microsoft-net-runtime-android workload when you renamed it to android and android-aot in 600e993?

@jonpryor we install that workload by itself so we can build against the header files it contains:

https://github.com/xamarin/xamarin-android/blob/c1a2ee70214e86757541b5759c9ed54941bd4680/build-tools/xaprepare/xaprepare/Steps/Step_InstallDotNetPreview.cs#L54-L58

It turns out, it was a bug that we were able to install microsoft-net-runtime-android directly in the first place. Abstract workloads aren't supposed to be user visible at all--so you shouldn't be able to install them.

I know what to do here to fix it. I think we can go back to using the @(PackageDownload) item group to download the packs we need.

jonathanpeppers added a commit to jonathanpeppers/xamarin-android that referenced this pull request Jul 22, 2021
Context: dotnet#6112 (review)

The .NET Preview 7 bump is failing with:

    Running: /Users/builder/Library/Android/dotnet/dotnet "workload" "install" "microsoft-net-runtime-android" "--skip-manifest-update" "--verbosity" "diag"
    stderr | Workload with id microsoft-net-runtime-android is not recognized.

However, it was a bug in the `dotnet workload install` command that we
were even able to install this workload in the first place! The
concept behind "abstract" workloads is they are not user visible in
any way. They're meant to be an implementation detail.

In 0150bbb, I setup `xaprepare` to install
`microsoft-net-runtime-android`, but we don't actually even need to do
this. We can simply update the `sdk-manifest` for this pack, so the
version matches `$(DotNetRuntimePacksVersion)`.

`microsoft-net-runtime-android` will get installed later during the
`ExtractWorkloadPacks` target:

https://github.com/xamarin/xamarin-android/blob/c1a2ee70214e86757541b5759c9ed54941bd4680/build-tools/create-packs/Directory.Build.targets#L119-L122

Since `android` and `android-aot` extend
`microsoft-net-runtime-android`, this step will install it.
Context: #6112 (review)

The .NET Preview 7 bump is failing with:

    Running: /Users/builder/Library/Android/dotnet/dotnet "workload" "install" "microsoft-net-runtime-android" "--skip-manifest-update" "--verbosity" "diag"
    stderr | Workload with id microsoft-net-runtime-android is not recognized.

However, it was a bug in the `dotnet workload install` command that we
were even able to install this workload in the first place! The
concept behind "abstract" workloads is they are not user visible in
any way. They're meant to be an implementation detail.

In 0150bbb, I setup `xaprepare` to install
`microsoft-net-runtime-android`, but we don't actually even need to do
this. We can simply update the `sdk-manifest` for this pack, so the
version matches `$(DotNetRuntimePacksVersion)`.

`microsoft-net-runtime-android` will get installed later during the
`ExtractWorkloadPacks` target:

https://github.com/xamarin/xamarin-android/blob/c1a2ee70214e86757541b5759c9ed54941bd4680/build-tools/create-packs/Directory.Build.targets#L119-L122

Since `android` and `android-aot` extend
`microsoft-net-runtime-android`, this step will install it.
@dotnet-maestro dotnet-maestro bot requested a review from grendello as a code owner July 22, 2021 20:22
jonpryor pushed a commit that referenced this pull request Jul 22, 2021
Context: #6112 (review)

The .NET Preview 7 bump is failing with:

	Running: /Users/builder/Library/Android/dotnet/dotnet "workload" "install" "microsoft-net-runtime-android" "--skip-manifest-update" "--verbosity" "diag"
	stderr | Workload with id microsoft-net-runtime-android is not recognized.

However, it was a bug in the `dotnet workload install` command that
allowed us to even install this workload in the first place!
The concept concept behind "abstract" workloads is they are not user
visible in any way; they're meant to be an implementation detail.

In commit 0150bbb, I setup `xaprepare` to install the
`microsoft-net-runtime-android` workload, but we don't actually even
need to do this.  We can simply update the `sdk-manifest` for this
pack, so that the version matches `$(DotNetRuntimePacksVersion)`.

The `microsoft-net-runtime-android` workload will get installed later
during the `ExtractWorkloadPacks` target, as part of installing the
`android` or `android-aot` workloads:

https://github.com/xamarin/xamarin-android/blob/c1a2ee70214e86757541b5759c9ed54941bd4680/build-tools/create-packs/Directory.Build.targets#L119-L122

Since `android` and `android-aot` extend
`microsoft-net-runtime-android`, this step will install it.
jonpryor pushed a commit that referenced this pull request Jul 22, 2021
Context: #6112 (review)

The .NET Preview 7 bump is failing with:

	Running: /Users/builder/Library/Android/dotnet/dotnet "workload" "install" "microsoft-net-runtime-android" "--skip-manifest-update" "--verbosity" "diag"
	stderr | Workload with id microsoft-net-runtime-android is not recognized.

However, it was a bug in the `dotnet workload install` command that
allowed us to even install this workload in the first place!
The concept concept behind "abstract" workloads is they are not user
visible in any way; they're meant to be an implementation detail.

In commit 0150bbb, I setup `xaprepare` to install the
`microsoft-net-runtime-android` workload, but we don't actually even
need to do this.  We can simply update the `sdk-manifest` for this
pack, so that the version matches `$(DotNetRuntimePacksVersion)`.

The `microsoft-net-runtime-android` workload will get installed later
during the `ExtractWorkloadPacks` target, as part of installing the
`android` or `android-aot` workloads:

https://github.com/xamarin/xamarin-android/blob/c1a2ee70214e86757541b5759c9ed54941bd4680/build-tools/create-packs/Directory.Build.targets#L119-L122

Since `android` and `android-aot` extend
`microsoft-net-runtime-android`, this step will install it.
jonpryor and others added 3 commits July 22, 2021 18:52
…210722.19

Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.100-preview.7.21369.5 -> To Version 6.0.100-preview.7.21372.19

Dependency coherency updates

Microsoft.NETCore.App.Ref
 From Version 6.0.0-preview.7.21368.2 -> To Version 6.0.0-preview.7.21371.11 (parent: Microsoft.Dotnet.Sdk.Internal
@dotnet-maestro dotnet-maestro bot requested a review from dellis1972 as a code owner July 23, 2021 12:04
Clean doesn't actually delete directories, no need to test for this.
jonathanpeppers added a commit to jonathanpeppers/xamarin-android that referenced this pull request Jul 23, 2021
Context: dotnet#6112

The .NET 6 Preview 7 bump had a test failure:

    CleanBasicBindingLibrary("class-parse")
    obj/Release should have no directories.
    Expected: <empty>
    But was:  < "/Users/runner/work/1/s/bin/TestRelease/temp/CleanBasicBindingLibraryclass-parse/obj/Release/refint" >

`refint` is a new directory, see:

* dotnet/sdk@e424c0e
* https://github.com/dotnet/msbuild/blob/9e576281e638d60701ca34411e2483bed01e35c7/src/Tasks/Microsoft.Common.CurrentVersion.targets#L397

Clean doesn't actually delete directories, no need to test for this.

The test already is checking if any files exist, and that should be
sufficient.
jonathanpeppers added a commit that referenced this pull request Jul 23, 2021
Context: #6112

The .NET 6 Preview 7 bump had a test failure:

    CleanBasicBindingLibrary("class-parse")
    obj/Release should have no directories.
    Expected: <empty>
    But was:  < "/Users/runner/work/1/s/bin/TestRelease/temp/CleanBasicBindingLibraryclass-parse/obj/Release/refint" >

`refint` is a new directory, see:

* dotnet/sdk@e424c0e
* https://github.com/dotnet/msbuild/blob/9e576281e638d60701ca34411e2483bed01e35c7/src/Tasks/Microsoft.Common.CurrentVersion.targets#L397

Clean doesn't actually delete directories, no need to test for this.

The test already is checking if any files exist, and that should be
sufficient.
jonathanpeppers added a commit that referenced this pull request Jul 23, 2021
Context: #6112

The .NET 6 Preview 7 bump had a test failure:

    CleanBasicBindingLibrary("class-parse")
    obj/Release should have no directories.
    Expected: <empty>
    But was:  < "/Users/runner/work/1/s/bin/TestRelease/temp/CleanBasicBindingLibraryclass-parse/obj/Release/refint" >

`refint` is a new directory, see:

* dotnet/sdk@e424c0e
* https://github.com/dotnet/msbuild/blob/9e576281e638d60701ca34411e2483bed01e35c7/src/Tasks/Microsoft.Common.CurrentVersion.targets#L397

Clean doesn't actually delete directories, no need to test for this.

The test already is checking if any files exist, and that should be
sufficient.
Copy link
Member

@jonathanpeppers jonathanpeppers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going to merge, I don't think we need to rerun the one failed "legacy" test stage.

@jonathanpeppers jonathanpeppers changed the title [release/6.0.1xx-preview7] Update dependencies from dotnet/installer Bump to dotnet/installer/release/6.0.1xx-preview7@456900d 6.0.100-preview.7.21372.19 Jul 23, 2021
@jonathanpeppers jonathanpeppers merged commit 49aa721 into release/6.0.1xx-preview7 Jul 23, 2021
@jonathanpeppers jonathanpeppers deleted the darc-release/6.0.1xx-preview7-ff84318d-a321-4876-af8f-b24f537c5e6e branch July 23, 2021 20:21
jonpryor pushed a commit to jonpryor/xamarin-android that referenced this pull request Aug 25, 2021
…net#6114)

Context: dotnet#6112 (review)

The .NET Preview 7 bump is failing with:

	Running: /Users/builder/Library/Android/dotnet/dotnet "workload" "install" "microsoft-net-runtime-android" "--skip-manifest-update" "--verbosity" "diag"
	stderr | Workload with id microsoft-net-runtime-android is not recognized.

However, it was a bug in the `dotnet workload install` command that
allowed us to even install this workload in the first place!
The concept concept behind "abstract" workloads is they are not user
visible in any way; they're meant to be an implementation detail.

In commit 0150bbb, I setup `xaprepare` to install the
`microsoft-net-runtime-android` workload, but we don't actually even
need to do this.  We can simply update the `sdk-manifest` for this
pack, so that the version matches `$(DotNetRuntimePacksVersion)`.

The `microsoft-net-runtime-android` workload will get installed later
during the `ExtractWorkloadPacks` target, as part of installing the
`android` or `android-aot` workloads:

https://github.com/xamarin/xamarin-android/blob/c1a2ee70214e86757541b5759c9ed54941bd4680/build-tools/create-packs/Directory.Build.targets#L119-L122

Since `android` and `android-aot` extend
`microsoft-net-runtime-android`, this step will install it.
jonpryor pushed a commit to jonpryor/xamarin-android that referenced this pull request Aug 25, 2021
)

Context: dotnet#6112

The .NET 6 Preview 7 bump had a test failure:

    CleanBasicBindingLibrary("class-parse")
    obj/Release should have no directories.
    Expected: <empty>
    But was:  < "/Users/runner/work/1/s/bin/TestRelease/temp/CleanBasicBindingLibraryclass-parse/obj/Release/refint" >

`refint` is a new directory, see:

* dotnet/sdk@e424c0e
* https://github.com/dotnet/msbuild/blob/9e576281e638d60701ca34411e2483bed01e35c7/src/Tasks/Microsoft.Common.CurrentVersion.targets#L397

Clean doesn't actually delete directories, no need to test for this.

The test already is checking if any files exist, and that should be
sufficient.
jonpryor pushed a commit that referenced this pull request Aug 26, 2021
Context: #6112 (review)

The .NET Preview 7 bump is failing with:

	Running: /Users/builder/Library/Android/dotnet/dotnet "workload" "install" "microsoft-net-runtime-android" "--skip-manifest-update" "--verbosity" "diag"
	stderr | Workload with id microsoft-net-runtime-android is not recognized.

However, it was a bug in the `dotnet workload install` command that
allowed us to even install this workload in the first place!
The concept concept behind "abstract" workloads is they are not user
visible in any way; they're meant to be an implementation detail.

In commit 0150bbb, I setup `xaprepare` to install the
`microsoft-net-runtime-android` workload, but we don't actually even
need to do this.  We can simply update the `sdk-manifest` for this
pack, so that the version matches `$(DotNetRuntimePacksVersion)`.

The `microsoft-net-runtime-android` workload will get installed later
during the `ExtractWorkloadPacks` target, as part of installing the
`android` or `android-aot` workloads:

https://github.com/xamarin/xamarin-android/blob/c1a2ee70214e86757541b5759c9ed54941bd4680/build-tools/create-packs/Directory.Build.targets#L119-L122

Since `android` and `android-aot` extend
`microsoft-net-runtime-android`, this step will install it.
jonpryor pushed a commit that referenced this pull request Aug 26, 2021
Context: #6112

The .NET 6 Preview 7 bump had a test failure:

    CleanBasicBindingLibrary("class-parse")
    obj/Release should have no directories.
    Expected: <empty>
    But was:  < "/Users/runner/work/1/s/bin/TestRelease/temp/CleanBasicBindingLibraryclass-parse/obj/Release/refint" >

`refint` is a new directory, see:

* dotnet/sdk@e424c0e
* https://github.com/dotnet/msbuild/blob/9e576281e638d60701ca34411e2483bed01e35c7/src/Tasks/Microsoft.Common.CurrentVersion.targets#L397

Clean doesn't actually delete directories, no need to test for this.

The test already is checking if any files exist, and that should be
sufficient.
@github-actions github-actions bot locked and limited conversation to collaborators Jan 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants