$VsTestExePath variable not configured and VsTestPath not specified, attempting to find using vswhere.exe...
Using LocalAgent agent on localhost
Process: C:\ProgramData\BuildMaster\Temp\Service\ExtTemp\.core\WindowsSDK\package\vswhere.exe
Arguments: -products * -nologo -format xml -utf8 -latest -sort -requiresAny -requires Microsoft.VisualStudio.PackageGroup.TestTools.Core Microsoft.VisualStudio.Component.TestTools.BuildTools -find **\vstest.console.exe
Working directory: C:\ProgramData\BuildMaster\Temp\Service\ExtTemp\.core\WindowsSDK\package
Using VS test path: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe
Microsoft (R) Test Execution Command Line Tool Version 15.9.0
Copyright (c) Microsoft Corporation. All rights reserved.
Starting test execution, please wait...
Failed GetJobNames
Error Message:
Test method Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.GetJobNames threw exception:
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
Stack Trace:
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<CreateHttpClientAsync>d__9.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetAsync>d__10.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 80
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetJobNamesAsync>d__17.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 188
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.<>c__DisplayClass5_0.<<GetJobNames>b__0>d.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 63
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.GetJobNames() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 63
Failed GetBranchNames
Error Message:
Test method Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.GetBranchNames threw exception:
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
Stack Trace:
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<CreateHttpClientAsync>d__9.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetAsync>d__10.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 80
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetBranchNamesAsync>d__20.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 226
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.<>c__DisplayClass6_0.<<GetBranchNames>b__0>d.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 80
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.GetBranchNames() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 80
Failed GetBuildNumbers
Error Message:
Test method Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.GetBuildNumbers threw exception:
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
Stack Trace:
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<CreateHttpClientAsync>d__9.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetAsync>d__10.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 80
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetBuildNumbersAsync>d__19.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 210
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.<>c__DisplayClass7_1.<<GetBuildNumbers>b__0>d.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 101
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.GetBuildNumbers() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 101
Failed GetBuildNumbers_MultiBranchJobThrowsExceptionWithoutBranchParameter
Error Message:
Test method threw exception System.Net.Http.HttpRequestException, but exception System.InvalidOperationException was expected. Exception message: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
Stack Trace:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<CreateHttpClientAsync>d__9.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetAsync>d__10.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 80
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetBuildNumbersAsync>d__19.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 210
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.<>c__DisplayClass8_0.<<GetBuildNumbers_MultiBranchJobThrowsExceptionWithoutBranchParameter>b__0>d.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 122
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.GetBuildNumbers_MultiBranchJobThrowsExceptionWithoutBranchParameter() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 123
Failed GetSpecialBuildNumber
Error Message:
Test method Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.GetSpecialBuildNumber threw exception:
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
Stack Trace:
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<CreateHttpClientAsync>d__9.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetAsync>d__10.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 80
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetSpecialBuildNumberAsync>d__18.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 200
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.<>c__DisplayClass9_1.<<GetSpecialBuildNumber>b__0>d.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 135
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.GetSpecialBuildNumber() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 135
Failed GetSpecialBuildNumber_NoBuilds
Error Message:
Test method Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.GetSpecialBuildNumber_NoBuilds threw exception:
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
Stack Trace:
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<CreateHttpClientAsync>d__9.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetAsync>d__10.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 80
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetSpecialBuildNumberAsync>d__18.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 200
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.<>c__DisplayClass10_0.<<GetSpecialBuildNumber_NoBuilds>b__0>d.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 149
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.GetSpecialBuildNumber_NoBuilds() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 149
Failed GetBuildInfo
Error Message:
Test method Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.GetBuildInfo threw exception:
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
Stack Trace:
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<CreateHttpClientAsync>d__9.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetAsync>d__10.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 80
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetBuildInfoAsync>d__21.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 236
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.<>c__DisplayClass11_1.<<GetBuildInfo>b__0>d.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 164
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.GetBuildInfo() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 164
Failed GetBuildArtifacts
Error Message:
Test method Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.GetBuildArtifacts threw exception:
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
Stack Trace:
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<CreateHttpClientAsync>d__9.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetAsync>d__10.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 80
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetBuildArtifactsAsync>d__22.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 255
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.<>c__DisplayClass12_1.<<GetBuildArtifacts>b__0>d.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 184
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.GetBuildArtifacts() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 184
Failed DownloadArtifact
Error Message:
Test method Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.DownloadArtifact threw exception:
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
Stack Trace:
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<CreateHttpClientAsync>d__9.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<DownloadAsync>d__12.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 120
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.<>c__DisplayClass13_1.<<DownloadArtifact>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.DownloadArtifact() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 209
Failed DownloadSingleArtifact
Error Message:
Test method Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.DownloadSingleArtifact threw exception:
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
Stack Trace:
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<CreateHttpClientAsync>d__9.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetAsync>d__10.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 80
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetBuildArtifactsAsync>d__22.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 255
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.<>c__DisplayClass14_1.<<DownloadSingleArtifact>b__0>d.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 233
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.DownloadSingleArtifact() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 234
Failed OpenArtifact
Error Message:
Test method Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.OpenArtifact threw exception:
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
Stack Trace:
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<CreateHttpClientAsync>d__9.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<OpenAsync>d__13.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 140
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.<>c__DisplayClass15_1.<<OpenArtifact>b__0>d.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 257
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.OpenArtifact() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 258
Failed OpenSingleArtifact
Error Message:
Test method Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.OpenSingleArtifact threw exception:
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
Stack Trace:
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<CreateHttpClientAsync>d__9.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetAsync>d__10.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 80
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<GetBuildArtifactsAsync>d__22.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 255
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.<>c__DisplayClass16_1.<<OpenSingleArtifact>b__0>d.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 278
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.OpenSingleArtifact() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 279
Failed TriggerBuild_AND_GetQueuedBuildInfo
Error Message:
Test method Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.TriggerBuild_AND_GetQueuedBuildInfo threw exception:
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
Stack Trace:
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<CreateHttpClientAsync>d__9.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<PostAsync>d__11.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 100
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.JenkinsClient.<TriggerBuildAsync>d__28.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtension\JenkinsClient.cs:line 317
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.<>c__DisplayClass17_1.<<TriggerBuild_AND_GetQueuedBuildInfo>b__0>d.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 298
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Jenkins.Tests.JenkinsClientTests.TriggerBuild_AND_GetQueuedBuildInfo() in C:\ProgramData\BuildMaster\Temp\Service\_E19591\Src\Jenkins\InedoExtensionTests\JenkinsClientTests.cs:line 292
Results File: C:\ProgramData\BuildMaster\Temp\Service\_E19591\InedoExtensionTests-Test\TestResults\INEDOPROGETSV1$_INEDOPROGETSV1_2020-01-28_18_31_53.trx
Total tests: 13. Passed: 0. Failed: 13. Skipped: 0.
Test Run Failed.
Test execution time: 29.6144 Seconds
One or more unit tests failed.