Modernize code using latest C# features #1087
Build #20230821.6 had test failures
Details
- Failed: 196 (12.48%)
- Passed: 1,348 (85.86%)
- Other: 26 (1.66%)
- Total: 1,570
Annotations
Check failure on line 0 in XUnit
azure-pipelines / SourceLink PR
XUnit#L0
XUnit(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Tests failed: /home/vsts/work/1/s/artifacts/TestResults/Release/Microsoft.SourceLink.Git.IntegrationTests_net8.0_x64.html [net8.0|x64]
Check failure on line 0 in XUnit
azure-pipelines / SourceLink PR
XUnit#L0
XUnit(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Tests failed: /Users/runner/work/1/s/artifacts/TestResults/Release/Microsoft.SourceLink.Git.IntegrationTests_net8.0_x64.html [net8.0|x64]
Check failure on line 0 in XUnit
azure-pipelines / SourceLink PR
XUnit#L0
XUnit(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Tests failed: D:\a\1\s\artifacts\TestResults\Debug\Microsoft.Build.Tasks.Git.UnitTests_net472_x64.html [net472|x64]
Check failure on line 0 in XUnit
azure-pipelines / SourceLink PR
XUnit#L0
XUnit(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Tests failed: /home/vsts/work/1/s/artifacts/TestResults/Debug/Microsoft.SourceLink.Git.IntegrationTests_net8.0_x64.html [net8.0|x64]
azure-pipelines / SourceLink PR
Microsoft.Build.Tasks.Git.UnitTests.GitOperationsTests.GetSourceRoots_RepoWithCommitsWithSubmodules
Test failed
azure-pipelines / SourceLink PR
Microsoft.Build.Tasks.Git.UnitTests.GitOperationsTests.GetRepositoryUrl_NoOrigin
System.TypeInitializationException : The type initializer for 'Microsoft.Build.Tasks.Git.GitRepository' threw an exception.\r\n---- System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
at Microsoft.Build.Tasks.Git.GitRepository..ctor(GitEnvironment environment, GitConfig config, String gitDirectory, String commonDirectory, String workingDirectory, ImmutableArray`1 submodules, ImmutableArray`1 submoduleDiagnostics, GitIgnore ignore, String headCommitSha)
at Microsoft.Build.Tasks.Git.UnitTests.GitOperationsTests.CreateRepository(String workingDir, GitConfig config, String commitSha, ImmutableArray`1 submodules, GitIgnore ignore) in /_/src/Microsoft.Build.Tasks.Git.UnitTests/GitOperationsTests.cs:line 33
at Microsoft.Build.Tasks.Git.UnitTests.GitOperationsTests.GetRepositoryUrl_NoOrigin() in /_/src/Microsoft.Build.Tasks.Git.UnitTests/GitOperationsTests.cs:line 103
----- Inner Stack Trace -----
at System.Collections.Immutable.ImmutableArray`1.Add(T item)
at Microsoft.Build.Tasks.Git.GitRepository..cctor() in /_/src/Microsoft.Build.Tasks.Git/GitDataReader/GitRepository.cs:line 27
azure-pipelines / SourceLink PR
Microsoft.Build.Tasks.Git.UnitTests.GitOperationsTests.GetSourceRoots_RepoWithoutCommits
Test failed
azure-pipelines / SourceLink PR
Microsoft.Build.Tasks.Git.UnitTests.GitOperationsTests.GetSourceRoots_RelativeSubmodulePath
System.TypeInitializationException : The type initializer for 'Microsoft.Build.Tasks.Git.GitRepository' threw an exception.\r\n---- System.NullReferenceException : Object reference not set to an instance of an object.
Raw output
at Microsoft.Build.Tasks.Git.GitRepository..ctor(GitEnvironment environment, GitConfig config, String gitDirectory, String commonDirectory, String workingDirectory, ImmutableArray`1 submodules, ImmutableArray`1 submoduleDiagnostics, GitIgnore ignore, String headCommitSha)
at Microsoft.Build.Tasks.Git.UnitTests.GitOperationsTests.CreateRepository(String workingDir, GitConfig config, String commitSha, ImmutableArray`1 submodules, GitIgnore ignore) in /_/src/Microsoft.Build.Tasks.Git.UnitTests/GitOperationsTests.cs:line 33
at Microsoft.Build.Tasks.Git.UnitTests.GitOperationsTests.GetSourceRoots_RelativeSubmodulePath() in /_/src/Microsoft.Build.Tasks.Git.UnitTests/GitOperationsTests.cs:line 585
----- Inner Stack Trace -----
at System.Collections.Immutable.ImmutableArray`1.Add(T item)
at Microsoft.Build.Tasks.Git.GitRepository..cctor() in /_/src/Microsoft.Build.Tasks.Git/GitDataReader/GitRepository.cs:line 27