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 Linux Debug) failed Jan 16, 2026 in 13m 29s

Build Linux Debug 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 Linux Debug)

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 /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/Do9lw/MSTestProject -p:MSBuildTreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/DotnetTest_Should_Execute_Tests-44.binlog"' failed.

StandardOutput:
Telemetry is: Disabled
  Determining projects to restore...
  All projects are up-to-date for restore.
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/cfSha/.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'". [/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/Do9lw/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 Linux Debug)

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 /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/12FJI/MSTestProject -p:MSBuildTreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/DotnetTest_Should_Execute_Tests-48.binlog"' failed.

StandardOutput:
Telemetry is: Disabled
  Determining projects to restore...
  All projects are up-to-date for restore.
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/cfSha/.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'". [/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/12FJI/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 Linux Debug)

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 /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/lbvLy/MSTestSdk -p:MSBuildTreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/RunTests_With_VSTest-118.binlog"' failed.

StandardOutput:
Telemetry is: Disabled
  Determining projects to restore...
  All projects are up-to-date for restore.
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/cfSha/.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'". [/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/lbvLy/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 Linux Debug)

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 /mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/Gj2bZ/MSTestSdk -p:MSBuildTreatWarningsAsErrors=true -p:SuppressNETCoreSdkPreviewMessage=true -bl:"/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/RunTests_With_VSTest-119.binlog"' failed.

StandardOutput:
Telemetry is: Disabled
  Determining projects to restore...
  All projects are up-to-date for restore.
/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/cfSha/.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'". [/mnt/vss/_work/1/s/artifacts/tmp/Debug/testsuite/Gj2bZ/MSTestSdk/MSTestSdk.csproj]
StandardError:

Check failure on line 5695 in Build log

See this annotation in the file changed.

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

Build log #L5695

Bash exited with code '2'.