Skip to content

Prototype: phased shutdown for MTP (#5345)#8580

Draft
Evangelink wants to merge 5 commits into
mainfrom
dev/amauryleve/mtp-phased-shutdown
Draft

Prototype: phased shutdown for MTP (#5345)#8580
Evangelink wants to merge 5 commits into
mainfrom
dev/amauryleve/mtp-phased-shutdown

Address phased shutdown lifecycle feedback

44052b6
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx (Build Linux Debug) failed Jun 11, 2026 in 17m 9s

Build Linux Debug failed

Annotations

Check failure on line 87 in test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Linux Debug)

test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs#L87

test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs(87,1): error : Telemetry_WhenEnableTelemetryIsFalse_WithTestApplicationOptions_TelemetryIsDisabled ("net10.0") [net11.0]
Assertion failed. Expected condition to be true.
Expression 'AssertOutputMatchesRegex' failed for member 'AssertDiagnosticReportAsync' at line 42 of file '/_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/TelemetryDisabledTests.cs'. Output of the test host is:
Command: /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/Vn54K/WithoutTelemetry/bin/Release/net10.0/TelemetryTest --diagnostic
====================
ExitCode: 8
====================
StandardOutput:
Microsoft.Testing.Platform v2.3.0-ci (UTC 06/11/2026) [linux-x64 - net10.0]
Diagnostic file (level 'Trace' with async flush): /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/Vn54K/WithoutTelemetry/bin/Release/net10.0/TestResults/TelemetryTest_net10.0_x64_260611081156864.diag
Test run summary: Zero tests ran - /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/Vn54K/WithoutTelemetry/bin/Release/net10.0/TelemetryTest.dll (net10.0|x64)
  total: 0
  failed: 0
  succeeded: 0
  skipped: 0
  duration: 146ms
====================
StandardError:


actual: false

Assert.IsTrue(Regex.IsMatch(testHostResult.StandardOutput, pattern))

Check failure on line 87 in test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Linux Debug)

test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs#L87

test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs(87,1): error : Telemetry_ByDefault_TelemetryIsEnabled ("net10.0") [net11.0]
Assertion failed. Expected condition to be true.
Expression 'AssertOutputMatchesRegex' failed for member 'AssertDiagnosticReportAsync' at line 100 of file '/_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/TelemetryTests.cs'. Output of the test host is:
Command: /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/B7B5c/WithTelemetry/bin/Release/net10.0/TelemetryTest --diagnostic
====================
ExitCode: 8
====================
StandardOutput:
Microsoft.Testing.Platform v2.3.0-ci (UTC 06/11/2026) [linux-x64 - net10.0]
Diagnostic file (level 'Trace' with async flush): /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/B7B5c/WithTelemetry/bin/Release/net10.0/TestResults/TelemetryTest_net10.0_x64_260611081158175.diag
Test run summary: Zero tests ran - /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/B7B5c/WithTelemetry/bin/Release/net10.0/TelemetryTest.dll (net10.0|x64)
  total: 0
  failed: 0
  succeeded: 0
  skipped: 0
  duration: 202ms
====================
StandardError:


actual: false

Assert.IsTrue(Regex.IsMatch(testHostResult.StandardOutput, pattern))

Check failure on line 87 in test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Linux Debug)

test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs#L87

test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs(87,1): error : Telemetry_WhenOptingOutTelemetry_With_DOTNET_CLI_EnvironmentVariable_TelemetryIsDisabled ("net10.0") [net11.0]
Assertion failed. Expected condition to be true.
Expression 'AssertOutputMatchesRegex' failed for member 'AssertDiagnosticReportAsync' at line 100 of file '/_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/TelemetryTests.cs'. Output of the test host is:
Command: /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/B7B5c/WithTelemetry/bin/Release/net10.0/TelemetryTest --diagnostic
====================
ExitCode: 8
====================
StandardOutput:
Microsoft.Testing.Platform v2.3.0-ci (UTC 06/11/2026) [linux-x64 - net10.0]
Diagnostic file (level 'Trace' with async flush): /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/B7B5c/WithTelemetry/bin/Release/net10.0/TestResults/TelemetryTest_net10.0_x64_260611081158101.diag
Test run summary: Zero tests ran - /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/B7B5c/WithTelemetry/bin/Release/net10.0/TelemetryTest.dll (net10.0|x64)
  total: 0
  failed: 0
  succeeded: 0
  skipped: 0
  duration: 216ms
====================
StandardError:


actual: false

Assert.IsTrue(Regex.IsMatch(testHostResult.StandardOutput, pattern))

Check failure on line 87 in test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Linux Debug)

test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs#L87

test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs(87,1): error : Telemetry_WhenOptingOutTelemetry_WithEnvironmentVariable_TelemetryIsDisabled ("net10.0") [net11.0]
Assertion failed. Expected condition to be true.
Expression 'AssertOutputMatchesRegex' failed for member 'AssertDiagnosticReportAsync' at line 100 of file '/_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/TelemetryTests.cs'. Output of the test host is:
Command: /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/B7B5c/WithTelemetry/bin/Release/net10.0/TelemetryTest --diagnostic
====================
ExitCode: 8
====================
StandardOutput:
Microsoft.Testing.Platform v2.3.0-ci (UTC 06/11/2026) [linux-x64 - net10.0]
Diagnostic file (level 'Trace' with async flush): /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/B7B5c/WithTelemetry/bin/Release/net10.0/TestResults/TelemetryTest_net10.0_x64_260611081158048.diag
Test run summary: Zero tests ran - /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/B7B5c/WithTelemetry/bin/Release/net10.0/TelemetryTest.dll (net10.0|x64)
  total: 0
  failed: 0
  succeeded: 0
  skipped: 0
  duration: 283ms
====================
StandardError:


actual: false

Assert.IsTrue(Regex.IsMatch(testHostResult.StandardOutput, pattern))

Check failure on line 170 in test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Linux Debug)

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs#L170

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs(170,1): error : JUnitReport_WithMSTestRetryAttribute_EmitsFinalOutcomePerTest [net11.0]
Class Initialization method MSTest.Acceptance.IntegrationTests.JUnitReportRetryAttributeTests.ClassInitialize threw exception. System.InvalidOperationException: Command 'dotnet build /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/1YDtA/MSTestJUnitReportRetry -c Release -p:MSBuildTreatWarningsAsErrors=true -p:TreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/MSTestJUnitReportRetry-142.binlog"' failed.

StandardOutput:
Telemetry is: Disabled
  Determining projects to restore...
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/1YDtA/MSTestJUnitReportRetry/MSTestJUnitReportRetry.csproj : error NU1102: Unable to find package Microsoft.Testing.Platform with version (>= 2.3.0-preview.26308.7)
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/1YDtA/MSTestJUnitReportRetry/MSTestJUnitReportRetry.csproj : error NU1102:   - Found 55 version(s) in dotnet-public [ Nearest version: 2.2.3 ]
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/1YDtA/MSTestJUnitReportRetry/MSTestJUnitReportRetry.csproj : error NU1102:   - Found 1 version(s) in local-shipping [ Nearest version: 2.3.0-ci ]
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/1YDtA/MSTestJUnitReportRetry/MSTestJUnitReportRetry.csproj : error NU1102:   - Found 0 version(s) in local-nonshipping
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/1YDtA/MSTestJUnitReportRetry/MSTestJUnitReportRetry.csproj : error NU1102:   - Found 0 version(s) in local-tmp-packages
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/1YDtA/MSTestJUnitReportRetry/MSTestJUnitReportRetry.csproj : error NU1102:   - Found 0 version(s) in dotnet10
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/1YDtA/MSTestJUnitReportRetry/MSTestJUnitReportRetry.csproj : error NU1102:   - Found 0 version(s) in dotnet11
  Failed to restore /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/1YDtA/MSTestJUnitReportRetry/MSTestJUnitReportRetry.csproj (in 507 ms).
Build FAILED.
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/1YDtA/MSTestJUnitReportRetry/MSTestJUnitReportRetry.csproj : error NU1102: Unable to find package Microsoft.Testing.Platform with version (>= 2.3.0-preview.26308.7)
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/1YDtA/MSTestJUnitReportRetry/MSTestJUnitReportRetry.csproj : error NU1102:   - Found 55 version(s) in dotnet-public [ Nearest version: 2.2.3 ]
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/1YDtA/MSTestJUnitReportRetry/MSTestJUnitReportRetry.csproj : error NU1102:   - Found 1 version(s) in local-shipping [ Nearest version: 2.3.0-ci ]
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/1YDtA/MSTestJUnitReportRetry/MSTestJUnitReportRetry.csproj : error NU1102:   - Found 0 version(s) in local-nonshipping
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/1YDtA/MSTestJUnitReportRetry/MSTestJUnitReportRetry.csproj : error NU1102:   - Found 0 version(s) in local-tmp-packages
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/1YDtA/MSTestJUnitReportRetry/MSTestJUnitReportRetry.csproj : error NU1102:   - Found 0 version(s) in dotnet10
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/1YDtA/MSTestJUnitReportRetry/MSTestJUnitReportRetry.csproj : error NU1102:   - Found 0 version(s) in dotnet11
    0 Warning(s)
    1 Error(s)
Time Elapsed 00:00:01.29
StandardError:
.