Skip to content

Use deterministic <asm>_<tfm>_<arch> default for report and log file names - #8971

Merged
Amaury Levé (Evangelink) merged 5 commits into
microsoft:mainfrom
Evangelink:dev/amauryleve/default-report-names
Jun 10, 2026
Merged

Amaury Levé (Evangelink) merged 5 commits into
microsoft:mainfrom
Evangelink:dev/amauryleve/default-report-names

Address PR review: regenerate JUnit xlf, derive arch token from Runti…

a14dbab
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx (Build Windows Debug) failed Jun 10, 2026 in 45m 31s

Build Windows 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 Windows 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 ("net462") [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: D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\dYBYG\WithoutTelemetry\bin\Release\net462\TelemetryTest.exe --diagnostic
====================
ExitCode: 8
====================
StandardOutput:
Microsoft.Testing.Platform v2.3.0-ci (UTC 6/10/2026) [x64 - net48]
Diagnostic file (level 'Trace' with async flush): D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\dYBYG\WithoutTelemetry\bin\Release\net462\TestResults\TelemetryTest_net462_x64_260610115559727.diag
Test run summary: Zero tests ran - D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\dYBYG\WithoutTelemetry\bin\Release\net462\TelemetryTest.exe (net462|x64)
  total: 0
  failed: 0
  succeeded: 0
  skipped: 0
  duration: 75ms
====================
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 Windows 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: D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\dYBYG\WithoutTelemetry\bin\Release\net10.0\TelemetryTest.exe --diagnostic
====================
ExitCode: 8
====================
StandardOutput:
Microsoft.Testing.Platform v2.3.0-ci (UTC 06/10/2026) [win-x64 - net10.0]
Diagnostic file (level 'Trace' with async flush): D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\dYBYG\WithoutTelemetry\bin\Release\net10.0\TestResults\TelemetryTest_net10.0_x64_260610115559754.diag
Test run summary: Zero tests ran - D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\dYBYG\WithoutTelemetry\bin\Release\net10.0\TelemetryTest.dll (net10.0|x64)
  total: 0
  failed: 0
  succeeded: 0
  skipped: 0
  duration: 94ms
====================
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 Windows 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 ("net462") [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: D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\wMVpQ\WithTelemetry\bin\Release\net462\TelemetryTest.exe --diagnostic
====================
ExitCode: 8
====================
StandardOutput:
Microsoft.Testing.Platform v2.3.0-ci (UTC 6/10/2026) [x64 - net48]
Diagnostic file (level 'Trace' with async flush): D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\wMVpQ\WithTelemetry\bin\Release\net462\TestResults\TelemetryTest_net462_x64_260610115559924.diag
Test run summary: Zero tests ran - D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\wMVpQ\WithTelemetry\bin\Release\net462\TelemetryTest.exe (net462|x64)
  total: 0
  failed: 0
  succeeded: 0
  skipped: 0
  duration: 84ms
====================
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 Windows 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: D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\wMVpQ\WithTelemetry\bin\Release\net10.0\TelemetryTest.exe --diagnostic
====================
ExitCode: 8
====================
StandardOutput:
Microsoft.Testing.Platform v2.3.0-ci (UTC 06/10/2026) [win-x64 - net10.0]
Diagnostic file (level 'Trace' with async flush): D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\wMVpQ\WithTelemetry\bin\Release\net10.0\TestResults\TelemetryTest_net10.0_x64_260610115600001.diag
Test run summary: Zero tests ran - D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\wMVpQ\WithTelemetry\bin\Release\net10.0\TelemetryTest.dll (net10.0|x64)
  total: 0
  failed: 0
  succeeded: 0
  skipped: 0
  duration: 72ms
====================
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 Windows 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 ("net462") [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: D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\wMVpQ\WithTelemetry\bin\Release\net462\TelemetryTest.exe --diagnostic
====================
ExitCode: 8
====================
StandardOutput:
Microsoft.Testing.Platform v2.3.0-ci (UTC 6/10/2026) [x64 - net48]
Diagnostic file (level 'Trace' with async flush): D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\wMVpQ\WithTelemetry\bin\Release\net462\TestResults\TelemetryTest_net462_x64_260610115600645.diag
Test run summary: Zero tests ran - D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\wMVpQ\WithTelemetry\bin\Release\net462\TelemetryTest.exe (net462|x64)
  total: 0
  failed: 0
  succeeded: 0
  skipped: 0
  duration: 62ms
====================
StandardError:


actual: false

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