Skip to content

Add device tests android - #7216

Closed
Rui Marinho (rmarinho) wants to merge 24 commits into
microsoft:mainfrom
rmarinho:add-device-tests-android
Closed

Add device tests android#7216
Rui Marinho (rmarinho) wants to merge 24 commits into
microsoft:mainfrom
rmarinho:add-device-tests-android

Add a way to install the workloads and use net11

38857de
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx (Build MacOS Release) failed Jan 16, 2026 in 17m 20s

Build MacOS Release failed

Annotations

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

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build MacOS Release)

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

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs(188,1): error : [DotnetTest_Should_Execute_Tests ("net10.0",Debug)] Test method MSTest.Acceptance.IntegrationTests.DotnetTestCliTests.DotnetTest_Should_Execute_Tests threw exception:
System.InvalidOperationException: Command 'dotnet test -m:1 -nodeReuse:false /Users/runner/work/1/s/artifacts/tmp/Release/testsuite/eJ9sk/MSTestProject -p:MSBuildTreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/DotnetTest_Should_Execute_Tests-43.binlog"' failed.

StandardOutput:
Telemetry is: Disabled
  Determining projects to restore...
  All projects are up-to-date for restore.
/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/WxfHN/.packages/microsoft.testing.platform.msbuild/2.1.0-ci/buildMultiTargeting/Microsoft.Testing.Platform.MSBuild.targets(262,29): error MSB4092: An unexpected token "android" was found at character position 30 in condition "'$(TargetFramework.Contains('android'))' == 'true' OR '$(TargetFramework.Contains('ios'))' == 'true'". [/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/eJ9sk/MSTestProject/MSTestProject.csproj]
StandardError:

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

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build MacOS Release)

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

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs(188,1): error : [DotnetTest_Should_Execute_Tests ("net10.0",Release)] Test method MSTest.Acceptance.IntegrationTests.DotnetTestCliTests.DotnetTest_Should_Execute_Tests threw exception:
System.InvalidOperationException: Command 'dotnet test -m:1 -nodeReuse:false /Users/runner/work/1/s/artifacts/tmp/Release/testsuite/bt3It/MSTestProject -p:MSBuildTreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/DotnetTest_Should_Execute_Tests-44.binlog"' failed.

StandardOutput:
Telemetry is: Disabled
  Determining projects to restore...
  All projects are up-to-date for restore.
/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/WxfHN/.packages/microsoft.testing.platform.msbuild/2.1.0-ci/buildMultiTargeting/Microsoft.Testing.Platform.MSBuild.targets(262,29): error MSB4092: An unexpected token "android" was found at character position 30 in condition "'$(TargetFramework.Contains('android'))' == 'true' OR '$(TargetFramework.Contains('ios'))' == 'true'". [/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/bt3It/MSTestProject/MSTestProject.csproj]
StandardError:

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

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build MacOS Release)

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

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs(188,1): error : [RunTests_With_VSTest ("net10.0",Release)] Test method MSTest.Acceptance.IntegrationTests.SdkTests.RunTests_With_VSTest threw exception:
System.InvalidOperationException: Command 'dotnet test -c Release /Users/runner/work/1/s/artifacts/tmp/Release/testsuite/MAreJ/MSTestSdk -p:MSBuildTreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/RunTests_With_VSTest-117.binlog"' failed.

StandardOutput:
Telemetry is: Disabled
  Determining projects to restore...
  All projects are up-to-date for restore.
/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/WxfHN/.packages/microsoft.testing.platform.msbuild/2.1.0-ci/buildMultiTargeting/Microsoft.Testing.Platform.MSBuild.targets(262,29): error MSB4092: An unexpected token "android" was found at character position 30 in condition "'$(TargetFramework.Contains('android'))' == 'true' OR '$(TargetFramework.Contains('ios'))' == 'true'". [/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/MAreJ/MSTestSdk/MSTestSdk.csproj]
StandardError:

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

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build MacOS Release)

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

test/Utilities/Microsoft.Testing.TestInfrastructure/DotnetCli.cs(188,1): error : [RunTests_With_VSTest ("net10.0",Debug)] Test method MSTest.Acceptance.IntegrationTests.SdkTests.RunTests_With_VSTest threw exception:
System.InvalidOperationException: Command 'dotnet test -c Debug /Users/runner/work/1/s/artifacts/tmp/Release/testsuite/waxEc/MSTestSdk -p:MSBuildTreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/RunTests_With_VSTest-118.binlog"' failed.

StandardOutput:
Telemetry is: Disabled
  Determining projects to restore...
  All projects are up-to-date for restore.
/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/WxfHN/.packages/microsoft.testing.platform.msbuild/2.1.0-ci/buildMultiTargeting/Microsoft.Testing.Platform.MSBuild.targets(262,29): error MSB4092: An unexpected token "android" was found at character position 30 in condition "'$(TargetFramework.Contains('android'))' == 'true' OR '$(TargetFramework.Contains('ios'))' == 'true'". [/Users/runner/work/1/s/artifacts/tmp/Release/testsuite/waxEc/MSTestSdk/MSTestSdk.csproj]
StandardError:

Check failure on line 5696 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build MacOS Release)

Build log #L5696

Bash exited with code '2'.