FIX: [CodeQL: SM02184] Server certificate validation disabled in VssUtil.cs #5068
Build #20241224.1 had test failures
Details
- Failed: 7 (0.06%)
- Passed: 12,171 (99.94%)
- Other: 0 (0.00%)
- Total: 12,178
- 52234 of 141999 blocks covered (36.78%)
- 35978 of 98266 lines covered (36.61%)
Annotations
Check failure on line 88 in Build log
azure-pipelines / azure-pipelines-agent.ci
Build log #L88
Error running credscan job: 1 of 1
Check failure on line 89 in Build log
azure-pipelines / azure-pipelines-agent.ci
Build log #L89
ToolLauncherNotFoundException: Could not successfully find the /mnt/vss/_work/_gdn/packages/nuget/Microsoft.Security.CredScan.Client.linux-x64.2.3.12.23/lib/net6.0/CredentialScanner tool launcher. Please ensure any dependent frameworks are installed.
Check failure on line 90 in Build log
azure-pipelines / azure-pipelines-agent.ci
Build log #L90
Win32Exception: An error occurred trying to start process '/mnt/vss/_work/_gdn/packages/nuget/Microsoft.Security.CredScan.Client.linux-x64.2.3.12.23/lib/net6.0/CredentialScanner' with working directory '/mnt/vss/_work/1'. Exec format error
Check failure on line 93 in Build log
azure-pipelines / azure-pipelines-agent.ci
Build log #L93
Error running tool 1 of 1: credscan
azure-pipelines / azure-pipelines-agent.ci
Microsoft.VisualStudio.Services.Agent.Tests.Listener.AgentL0.TestMachineProvisionerCLI
System.IO.IOException : The handle is invalid.
Raw output
at System.ConsolePal.SetConsoleOutputEncoding(Encoding enc)
at System.Console.set_OutputEncoding(Encoding value)
at Microsoft.VisualStudio.Services.Agent.Terminal.Initialize(IHostContext hostContext) in D:\a\_work\1\s\src\Microsoft.VisualStudio.Services.Agent\Terminal.cs:line 59
at Microsoft.VisualStudio.Services.Agent.Tests.TestHostContext.GetService[T]() in D:\a\_work\1\s\src\Test\L0\TestHostContext.cs:line 150
at Microsoft.VisualStudio.Services.Agent.Listener.Agent.Initialize(IHostContext hostContext) in D:\a\_work\1\s\src\Agent.Listener\Agent.cs:line 42
at Microsoft.VisualStudio.Services.Agent.Tests.Listener.AgentL0.TestMachineProvisionerCLI() in D:\a\_work\1\s\src\Test\L0\Listener\AgentL0.cs:line 250
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
azure-pipelines / azure-pipelines-agent.ci
Microsoft.VisualStudio.Services.Agent.Tests.Listener.Configuration.ConfigurationManagerL0.CanEnsureMachineGroupAgentConfigureOnPremScenario
System.IO.IOException : The handle is invalid.
Raw output
at System.ConsolePal.SetConsoleOutputEncoding(Encoding enc)
at System.Console.set_OutputEncoding(Encoding value)
at Microsoft.VisualStudio.Services.Agent.Terminal.Initialize(IHostContext hostContext) in D:\a\_work\1\s\src\Microsoft.VisualStudio.Services.Agent\Terminal.cs:line 59
at Microsoft.VisualStudio.Services.Agent.Tests.TestHostContext.GetService[T]() in D:\a\_work\1\s\src\Test\L0\TestHostContext.cs:line 150
at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.Initialize(IHostContext hostContext) in D:\a\_work\1\s\src\Agent.Listener\Configuration\ConfigurationManager.cs:line 52
at Microsoft.VisualStudio.Services.Agent.Tests.Listener.Configuration.ConfigurationManagerL0.CanEnsureMachineGroupAgentConfigureOnPremScenario() in D:\a\_work\1\s\src\Test\L0\Listener\Configuration\ConfigurationManagerL0.cs:line 361
--- End of stack trace from previous location ---
azure-pipelines / azure-pipelines-agent.ci
Microsoft.VisualStudio.Services.Agent.Tests.Listener.AgentL0.TestRunOnceHandleUpdateMessage
System.IO.IOException : The handle is invalid.
Raw output
at System.ConsolePal.SetConsoleOutputEncoding(Encoding enc)
at System.Console.set_OutputEncoding(Encoding value)
at Microsoft.VisualStudio.Services.Agent.Terminal.Initialize(IHostContext hostContext) in D:\a\_work\1\s\src\Microsoft.VisualStudio.Services.Agent\Terminal.cs:line 59
at Microsoft.VisualStudio.Services.Agent.Tests.TestHostContext.GetService[T]() in D:\a\_work\1\s\src\Test\L0\TestHostContext.cs:line 150
at Microsoft.VisualStudio.Services.Agent.Listener.Agent.Initialize(IHostContext hostContext) in D:\a\_work\1\s\src\Agent.Listener\Agent.cs:line 42
at Microsoft.VisualStudio.Services.Agent.Tests.Listener.AgentL0.TestRunOnceHandleUpdateMessage() in D:\a\_work\1\s\src\Test\L0\Listener\AgentL0.cs:line 517
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
azure-pipelines / azure-pipelines-agent.ci
Microsoft.VisualStudio.Services.Agent.Tests.Listener.Configuration.ConfigurationManagerL0.CanEnsureConfigure
System.IO.IOException : The handle is invalid.
Raw output
at System.ConsolePal.SetConsoleOutputEncoding(Encoding enc)
at System.Console.set_OutputEncoding(Encoding value)
at Microsoft.VisualStudio.Services.Agent.Terminal.Initialize(IHostContext hostContext) in D:\a\_work\1\s\src\Microsoft.VisualStudio.Services.Agent\Terminal.cs:line 59
at Microsoft.VisualStudio.Services.Agent.Tests.TestHostContext.GetService[T]() in D:\a\_work\1\s\src\Test\L0\TestHostContext.cs:line 150
at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.Initialize(IHostContext hostContext) in D:\a\_work\1\s\src\Agent.Listener\Configuration\ConfigurationManager.cs:line 52
at Microsoft.VisualStudio.Services.Agent.Tests.Listener.Configuration.ConfigurationManagerL0.CanEnsureConfigure() in D:\a\_work\1\s\src\Test\L0\Listener\Configuration\ConfigurationManagerL0.cs:line 175
--- End of stack trace from previous location ---