Skip to content

[main] Update dependencies from dotnet/arcade#5682

Merged
dotnet-maestro[bot] merged 14 commits intomainfrom
darc-main-4d43b799-a696-4d1d-b4a7-2ceefe4f33e0
Sep 26, 2024
Merged

[main] Update dependencies from dotnet/arcade#5682
dotnet-maestro[bot] merged 14 commits intomainfrom
darc-main-4d43b799-a696-4d1d-b4a7-2ceefe4f33e0

Conversation

@dotnet-maestro
Copy link
Copy Markdown
Contributor

@dotnet-maestro dotnet-maestro bot commented Sep 11, 2024

This pull request updates the following dependencies

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

  • Subscription: 99b8b1c1-ded8-4084-554e-08dbbf92ebfa
  • Build: 20240916.2
  • Date Produced: September 16, 2024 6:20:31 PM UTC
  • Commit: 04b9022eba9c184a8036328af513c22e6949e8b6
  • Branch: refs/heads/release/9.0
Microsoft Reviewers: Open in CodeFlow

…909.6

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.XliffTasks , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.24453.1 -> To Version 9.0.0-beta.24459.6
@ghost ghost added the area-codeflow for labeling automated codeflow. intentionally a different color! label Sep 11, 2024
Fix `Multiple top-level headings in the same document [Context: "# Development notes"]`. PR opened upstream - dotnet/arcade#15082 .
dotnet-maestro bot and others added 2 commits September 16, 2024 13:05
…913.2

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.XliffTasks , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.24459.6 -> To Version 9.0.0-beta.24463.2
@eerhardt
Copy link
Copy Markdown
Member

@radical - it looks like the template tests are failing in both the windows and linux legs.

dotnet-maestro bot and others added 2 commits September 17, 2024 17:41
…916.2

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.XliffTasks , Microsoft.DotNet.XUnitExtensions
 From Version 9.0.0-beta.24463.2 -> To Version 9.0.0-beta.24466.2
@radical radical requested a review from eerhardt as a code owner September 18, 2024 01:10
Comment on lines +130 to +133
// Avoid using the msbuild terminal logger, so the output can be read
// in the tests
EnvVars["VsTestUseMSBuildOutput"] = "false";
EnvVars["MSBUILDENSURESTDOUTFORTASKPROCESSES"] = "1";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@baronfel @rainersigwald - should this just happen automatically in CI?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

dotnet test should be doing this for you if you use an invocation of it that requires this flag: https://github.com/dotnet/sdk/blob/176e8ca72f5b9111649c49ca43a71d1dd9904bd0/src/Cli/dotnet/commands/dotnet-test/Program.cs#L61

In general MSBuild should not allow worker nodes to stomp all over the central nodes' stdout, VSTest is doing a bad here.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The reason I'm adding this here is to avoid the terminal logger. The first one didn't seem to be enough. Do I need to explicitly set _MSBUILDTLENABLED=0?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@nohwnd can you advise here?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Since rc1 (IIRC) the dotnet test output is tied to the terminal logger status. When Terminal Logger is off the new output is also off. MSBUILDTLENABLED=0 or -tl:false should be enough to disable the new output.

@radical
Copy link
Copy Markdown
Member

radical commented Sep 26, 2024

@microsoft-github-policy-service rerun

EnvVars["DEBUG_SESSION_PORT"] = "";
// Avoid using the msbuild terminal logger, so the output can be read
// in the tests
EnvVars["_MSBUILDTLENABLED"] = "0";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

  1. Why is this start with an underscore?
  2. Do we need to set both this and VsTest? I thought VS test gets turned off when msbuild is turned off.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

  1. Why is this start with an underscore?

I'm not sure. Maybe the msbuild team intends this to be a private, and temporary knob.

  1. Do we need to set both this and VsTest? I thought VS test gets turned off when msbuild is turned off.

Looks like this might fixed in newer SDKs - https://github.com/microsoft/vstest/blob/4f16fc041b85e102c7ee783ed4124d733d067c74/src/Microsoft.TestPlatform.Build/Microsoft.TestPlatform.targets#L32-L33

This is what I have in 9.0.100-preview.7.24407.12:

  <Target Name="VSTest" DependsOnTargets="ShowInfoMessageIfProjectHasNoIsTestProjectProperty">
    <!-- Unloggable colorized output (cf. https://github.com/microsoft/vstest/issues/680) -->
    <CallTarget Targets="_VSTestConsole" Condition="!$(VsTestUseMSBuildOutput) OR $(MSBUILDENSURESTDOUTFORTASKPROCESSES) == '1'" />
    <!-- Proper MSBuild integration, but no custom colorization -->
    <CallTarget Targets="_VSTestMSBuild" Condition="$(VsTestUseMSBuildOutput)" />
  </Target>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe the msbuild team intends this to be a private, and temporary knob.

Yes and it's also an output of MSBuild not an input, so I don't think I understand what's happening here.

@radical
Copy link
Copy Markdown
Member

radical commented Sep 26, 2024

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@dotnet-maestro dotnet-maestro bot merged commit cd68766 into main Sep 26, 2024
@dotnet-maestro dotnet-maestro bot deleted the darc-main-4d43b799-a696-4d1d-b4a7-2ceefe4f33e0 branch September 26, 2024 20:44
@github-actions github-actions bot locked and limited conversation to collaborators Oct 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-codeflow for labeling automated codeflow. intentionally a different color!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants