Skip to content

More updates

a72dfc0
Select commit
Loading
Failed to load commit list.
Open

Test in release mode #6204

More updates
a72dfc0
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx failed Aug 4, 2025 in 44m 25s

Build #20250804.4 had test failures

Details

Tests

  • Failed: 35 (0.08%)
  • Passed: 40,813 (98.43%)
  • Other: 618 (1.49%)
  • Total: 41,466
Code coverage

  • 177262 of 269337 blocks covered (65.81%)
  • 120958 of 185775 lines covered (65.11%)

Annotations

Check failure on line 343 in test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs#L343

test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs(343,1): error : 
Expected invocation on the mock once, but was 0 times: fu => fu.CopyFileOverwrite(It.Is<string>(s => s.Contains(sourceFile)), "D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\Out\MSTestAdapter.PlatformServices.UnitTests.exe", null)

Performed invocations:

   Mock<FileUtility:4> (fu):

      FileUtility.DoesDirectoryExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\Out")
      FileUtility.DoesFileExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\MSTestAdapter.PlatformServices.UnitTests.exe")
      FileUtility.DoesDirectoryExist("c:\temp")
      FileUtility.AddFilesFromDirectory("c:\temp", Func<string, bool>, False)

Check failure on line 397 in test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs#L397

test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs(397,1): error : 
Expected invocation on the mock once, but was 0 times: fu => fu.CopyFileOverwrite(It.Is<string>(s => s.Contains(dependencyFile)), "D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\Out\dependency.dll", null)

Performed invocations:

   Mock<FileUtility:5> (fu):

      FileUtility.DoesDirectoryExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\Out")
      FileUtility.DoesFileExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\MSTestAdapter.PlatformServices.UnitTests.exe")
      FileUtility.DoesDirectoryExist("c:\temp")
      FileUtility.AddFilesFromDirectory("c:\temp", Func<string, bool>, False)

Check failure on line 343 in test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs#L343

test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs(343,1): error : 
Expected invocation on the mock once, but was 0 times: fu => fu.CopyFileOverwrite(It.Is<string>(s => s.Contains(sourceFile)), "D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\netcoreapp3.1\Out\MSTestAdapter.PlatformServices.UnitTests.exe", null)

Performed invocations:

   Mock<FileUtility:4> (fu):

      FileUtility.DoesDirectoryExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\netcoreapp3.1\Out")
      FileUtility.DoesFileExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\netcoreapp3.1\MSTestAdapter.PlatformServices.UnitTests.dll")
      FileUtility.DoesDirectoryExist("c:\temp")
      FileUtility.AddFilesFromDirectory("c:\temp", Func<string, bool>, False)

Check failure on line 397 in test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs#L397

test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs(397,1): error : 
Expected invocation on the mock once, but was 0 times: fu => fu.CopyFileOverwrite(It.Is<string>(s => s.Contains(dependencyFile)), "D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\netcoreapp3.1\Out\dependency.dll", null)

Performed invocations:

   Mock<FileUtility:5> (fu):

      FileUtility.DoesDirectoryExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\netcoreapp3.1\Out")
      FileUtility.DoesFileExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\netcoreapp3.1\MSTestAdapter.PlatformServices.UnitTests.dll")
      FileUtility.DoesDirectoryExist("c:\temp")
      FileUtility.AddFilesFromDirectory("c:\temp", Func<string, bool>, False)

Check failure on line 1 in MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldDeployPdbWithSourceIfPdbFileIsPresentInSourceDirectory

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldDeployPdbWithSourceIfPdbFileIsPresentInSourceDirectory

Expected invocation on the mock once, but was 0 times: fu => fu.CopyFileOverwrite(It.Is<string>(s => s.Contains(sourceFile)), "D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net6.0-windows10.0.18362.0\Out\MSTestAdapter.PlatformServices.UnitTests.exe", null)

Performed invocations:

   Mock<FileUtility:4> (fu):

      FileUtility.DoesDirectoryExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net6.0-windows10.0.18362.0\Out")
      FileUtility.DoesFileExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net6.0-windows10.0.18362.0\MSTestAdapter.PlatformServices.UnitTests.dll")
      FileUtility.DoesDirectoryExist("c:\temp")
      FileUtility.AddFilesFromDirectory("c:\temp", Func<string, bool>, False)
Raw output
   at Moq.Mock.Verify(Mock mock, LambdaExpression expression, Times times, String failMessage) in C:\projects\moq4\src\Moq\Mock.cs:line 330
   at Moq.Mock`1.Verify[TResult](Expression`1 expression, Func`1 times) in C:\projects\moq4\src\Moq\Mock`1.cs:line 840
   at MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldDeployPdbWithSourceIfPdbFileIsPresentInSourceDirectory() in /_/test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs:line 343

Check failure on line 1 in MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldNotDeployPdbFileOfAssemblyIfPdbFileIsNotPresentInAssemblyDirectory

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldNotDeployPdbFileOfAssemblyIfPdbFileIsNotPresentInAssemblyDirectory

Expected invocation on the mock once, but was 0 times: fu => fu.CopyFileOverwrite(It.Is<string>(s => s.Contains(dependencyFile)), "D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net6.0-windows10.0.18362.0\Out\dependency.dll", null)

Performed invocations:

   Mock<FileUtility:5> (fu):

      FileUtility.DoesDirectoryExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net6.0-windows10.0.18362.0\Out")
      FileUtility.DoesFileExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net6.0-windows10.0.18362.0\MSTestAdapter.PlatformServices.UnitTests.dll")
      FileUtility.DoesDirectoryExist("c:\temp")
      FileUtility.AddFilesFromDirectory("c:\temp", Func<string, bool>, False)
Raw output
   at Moq.Mock.Verify(Mock mock, LambdaExpression expression, Times times, String failMessage) in C:\projects\moq4\src\Moq\Mock.cs:line 330
   at Moq.Mock`1.Verify[TResult](Expression`1 expression, Func`1 times) in C:\projects\moq4\src\Moq\Mock`1.cs:line 840
   at MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldNotDeployPdbFileOfAssemblyIfPdbFileIsNotPresentInAssemblyDirectory() in /_/test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs:line 397

Check failure on line 1 in MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldDeployPdbWithSourceIfPdbFileIsPresentInSourceDirectory

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldDeployPdbWithSourceIfPdbFileIsPresentInSourceDirectory

Expected invocation on the mock once, but was 0 times: fu => fu.CopyFileOverwrite(It.Is<string>(s => s.Contains(sourceFile)), "D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\Out\MSTestAdapter.PlatformServices.UnitTests.exe", null)

Performed invocations:

   Mock<FileUtility:4> (fu):

      FileUtility.DoesDirectoryExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\Out")
      FileUtility.DoesFileExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\MSTestAdapter.PlatformServices.UnitTests.exe")
      FileUtility.DoesDirectoryExist("c:\temp")
      FileUtility.AddFilesFromDirectory("c:\temp", Func<string, bool>, False)
Raw output
   at Moq.Mock.Verify(Mock mock, LambdaExpression expression, Times times, String failMessage) in C:\projects\moq4\src\Moq\Mock.cs:line 330
   at Moq.Mock`1.Verify[TResult](Expression`1 expression, Func`1 times) in C:\projects\moq4\src\Moq\Mock`1.cs:line 841
   at MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldDeployPdbWithSourceIfPdbFileIsPresentInSourceDirectory() in /_/test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs:line 343

Check failure on line 1 in MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldNotDeployPdbFileOfAssemblyIfPdbFileIsNotPresentInAssemblyDirectory

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldNotDeployPdbFileOfAssemblyIfPdbFileIsNotPresentInAssemblyDirectory

Expected invocation on the mock once, but was 0 times: fu => fu.CopyFileOverwrite(It.Is<string>(s => s.Contains(dependencyFile)), "D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\Out\dependency.dll", null)

Performed invocations:

   Mock<FileUtility:5> (fu):

      FileUtility.DoesDirectoryExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\Out")
      FileUtility.DoesFileExist("D:\a\_work\1\s\artifacts\bin\MSTestAdapter.PlatformServices.UnitTests\Debug\net48\MSTestAdapter.PlatformServices.UnitTests.exe")
      FileUtility.DoesDirectoryExist("c:\temp")
      FileUtility.AddFilesFromDirectory("c:\temp", Func<string, bool>, False)
Raw output
   at Moq.Mock.Verify(Mock mock, LambdaExpression expression, Times times, String failMessage) in C:\projects\moq4\src\Moq\Mock.cs:line 330
   at Moq.Mock`1.Verify[TResult](Expression`1 expression, Func`1 times) in C:\projects\moq4\src\Moq\Mock`1.cs:line 841
   at MSTestAdapter.PlatformServices.UnitTests.Utilities.DeploymentUtilityTests.DeployShouldNotDeployPdbFileOfAssemblyIfPdbFileIsNotPresentInAssemblyDirectory() in /_/test/UnitTests/MSTestAdapter.PlatformServices.UnitTests/Utilities/DeploymentUtilityTests.cs:line 397