Open TylerLeonhardt opened 5 years ago
Updated logs from fresh build:
> dotnet publish /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj /p:BuildNumber="9999" /p:CommitHash="N /A" -o /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64 -c Release -r linux-x64
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restore completed in 65.02 ms for /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj.
Common/DurableManager.cs(255,48): warning CS0168: The variable 'e' is declared but never used [/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj]
Actions/DeployActions/Platforms/KubernetesPlatform.cs(69,13): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. [/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj]
Azure.Functions.Cli -> /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/bin/Release/netcoreapp2.2/linux-x64/func.dll
Azure.Functions.Cli -> /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/
> dotnet publish /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj /p:BuildNumber="9999" /p:CommitHash="N /A" -o /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/osx-x64 -c Release -r osx-x64
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restore completed in 79.43 ms for /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj.
Actions/DeployActions/Platforms/KubernetesPlatform.cs(69,13): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. [/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj]
Common/DurableManager.cs(255,48): warning CS0168: The variable 'e' is declared but never used [/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj]
Azure.Functions.Cli -> /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/bin/Release/netcoreapp2.2/osx-x64/func.dll
Azure.Functions.Cli -> /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/osx-x64/
> dotnet publish /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj /p:BuildNumber="9999" /p:CommitHash="N /A" -o /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/no-runtime -c Release
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restoring packages for /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj...
Generating MSBuild file /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/obj/Azure.Functions.Cli.csproj.nuget.g.props.
Generating MSBuild file /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/obj/Azure.Functions.Cli.csproj.nuget.g.targets.
Restore completed in 2.98 sec for /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj.
Actions/DeployActions/Platforms/KubernetesPlatform.cs(69,13): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. [/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj]
Common/DurableManager.cs(255,48): warning CS0168: The variable 'e' is declared but never used [/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj]
Azure.Functions.Cli -> /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/bin/Release/netcoreapp2.2/func.dll
Azure.Functions.Cli -> /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/no-runtime/
> dotnet publish /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj /p:BuildNumber="9999" /p:CommitHash="N /A" -o /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/min.win-x86 -c Release -r win-x86
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restoring packages for /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj...
Generating MSBuild file /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/obj/Azure.Functions.Cli.csproj.nuget.g.props.
Generating MSBuild file /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/obj/Azure.Functions.Cli.csproj.nuget.g.targets.
Restore completed in 3.25 sec for /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj.
Actions/DeployActions/Platforms/KubernetesPlatform.cs(69,13): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. [/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj]
Common/DurableManager.cs(255,48): warning CS0168: The variable 'e' is declared but never used [/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj]
Azure.Functions.Cli -> /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/bin/Release/netcoreapp2.2/win-x86/func.dll
Azure.Functions.Cli -> /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/min.win-x86/
> dotnet publish /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj /p:BuildNumber="9999" /p:CommitHash="N /A" -o /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/min.win-x64 -c Release -r win-x64
Microsoft (R) Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restore completed in 87.54 ms for /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj.
Actions/DeployActions/Platforms/KubernetesPlatform.cs(69,13): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. [/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj]
Common/DurableManager.cs(255,48): warning CS0168: The variable 'e' is declared but never used [/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj]
Azure.Functions.Cli -> /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/bin/Release/netcoreapp2.2/win-x64/func.dll
Azure.Functions.Cli -> /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/min.win-x64/
Running Target AddDistLib
Running Target AddPythonWorker
Running Target AddTemplatesNupkgs
Running Target Test
> dotnet test /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/Azure.Functions.Cli.Tests.csproj
/Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/Azure.Functions.Cli.Tests.csproj : warning NU1701: Package 'FSharp.Core 3.1.2.5' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.2'. This package may not be fully compatible with your project.
/Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/Azure.Functions.Cli.Tests.csproj : warning NU1701: Package 'Suave 1.1.3' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.2'. This package may not be fully compatible with your project.
/Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/Azure.Functions.Cli.Tests.csproj : warning NU1701: Package 'SuaveServerWrapper 0.0.3' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.2'. This package may not be fully compatible with your project.
Build started, please wait...
/Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/Azure.Functions.Cli.Tests.csproj : warning NU1701: Package 'FSharp.Core 3.1.2.5' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.2'. This package may not be fully compatible with your project.
/Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/Azure.Functions.Cli.Tests.csproj : warning NU1701: Package 'Suave 1.1.3' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.2'. This package may not be fully compatible with your project.
/Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/Azure.Functions.Cli.Tests.csproj : warning NU1701: Package 'SuaveServerWrapper 0.0.3' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.2'. This package may not be fully compatible with your project.
Common/DurableManager.cs(255,48): warning CS0168: The variable 'e' is declared but never used [/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj]
Actions/DeployActions/Platforms/KubernetesPlatform.cs(69,13): warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. [/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj]
Build completed.
Test run for /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/bin/Debug/netcoreapp2.2/Azure.Functions.Cli.Tests.dll(.NETCoreApp,Version=v2.2)
Microsoft (R) Test Execution Command Line Tool Version 15.9.0
Copyright (c) Microsoft Corporation. All rights reserved.
Starting test execution, please wait...
[xUnit.net 00:00:03.10] Azure.Functions.Cli.Tests.E2E.StartTests.start_host_port_in_use [FAIL]
[xUnit.net 00:00:03.15] Azure.Functions.Cli.Tests.E2E.StartTests.start_displays_error_on_invalid_function_json [FAIL]
Failed Azure.Functions.Cli.Tests.E2E.StartTests.start_host_port_in_use
Error Message:
Expected error "" to contain the strings: {"Port 8081 is unavailable"}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertErrorContent(RunConfiguration runConfiguration, StringBuilder stderr) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 260
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 130
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.StartTests.start_host_port_in_use() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/StartTests.cs:line 151
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime node
stderr:
stdout:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func new --template "Http Trigger" --name HttpTrigger
stdout:
stderr:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func start --port 8081
stderr:
stdout:
Failed Azure.Functions.Cli.Tests.E2E.StartTests.start_displays_error_on_invalid_function_json
Error Message:
System.IO.DirectoryNotFoundException : Could not find a part of the path '/var/folders/k0/yxsc8r2s67v7xmld0l_dgmy00000gn/T/3q2dmjr3.o2f/HttpTriggerJS/function.json'.
Stack Trace:
at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.File.AsyncStreamReader(String path, Encoding encoding)
at System.IO.File.InternalReadAllTextAsync(String path, Encoding encoding, CancellationToken cancellationToken)
at Azure.Functions.Cli.Tests.E2E.StartTests.<>c__DisplayClass4_0.<<start_displays_error_on_invalid_function_json>b__0>d.MoveNext() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/StartTests.cs:line 117
--- End of stack trace from previous location where exception was thrown ---
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 113
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.StartTests.start_displays_error_on_invalid_function_json() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/StartTests.cs:line 105
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime node
stdout:
stderr:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func new --template "Http Trigger" --name HttpTriggerJS
stdout:
stderr:
[xUnit.net 00:00:13.27] Azure.Functions.Cli.Tests.E2E.StartTests.start_nodejs [FAIL]
Failed Azure.Functions.Cli.Tests.E2E.StartTests.start_nodejs
Error Message:
System.Net.Http.HttpRequestException : Connection refused
---- System.Net.Sockets.SocketException : Connection refused
Stack Trace:
at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
at System.Threading.Tasks.ValueTask`1.get_Result()
at System.Net.Http.HttpConnectionPool.CreateConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Threading.Tasks.ValueTask`1.get_Result()
at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync(ValueTask`1 creationTask)
at System.Threading.Tasks.ValueTask`1.get_Result()
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
at Azure.Functions.Cli.Tests.E2E.StartTests.<>c.<<start_nodejs>b__1_0>d.MoveNext() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/StartTests.cs:line 39
--- End of stack trace from previous location where exception was thrown ---
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 93
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 107
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.StartTests.start_nodejs() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/StartTests.cs:line 24
--- End of stack trace from previous location where exception was thrown ---
----- Inner Stack Trace -----
at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime node
stdout:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func new --template "Http trigger" --name HttpTrigger
stderr:
stderr:
stdout:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func start
stderr:
stdout:
[xUnit.net 00:00:28.34] Azure.Functions.Cli.Tests.E2E.StartTests.start_nodejs_with_inspect [FAIL]
Failed Azure.Functions.Cli.Tests.E2E.StartTests.start_nodejs_with_inspect
Error Message:
System.ComponentModel.Win32Exception : No such process
Stack Trace:
at System.Diagnostics.Process.Kill()
at Azure.Functions.Cli.Tests.E2E.StartTests.<>c.<<start_nodejs_with_inspect>b__2_0>d.MoveNext() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/StartTests.cs:line 67
--- End of stack trace from previous location where exception was thrown ---
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 93
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 107
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.StartTests.start_nodejs_with_inspect() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/StartTests.cs:line 51
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime node
stderr:
stdout:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func new --template "Http trigger" --name HttpTrigger
stderr:
stdout:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func start --language-worker -- "--inspect=5050"
stderr:
stdout:
[xUnit.net 00:00:43.42] Azure.Functions.Cli.Tests.E2E.StartTests.start_dotnet_csharp [FAIL]
Failed Azure.Functions.Cli.Tests.E2E.StartTests.start_dotnet_csharp
Error Message:
System.Net.Http.HttpRequestException : Connection refused
---- System.Net.Sockets.SocketException : Connection refused
Stack Trace:
at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
at System.Threading.Tasks.ValueTask`1.get_Result()
at System.Net.Http.HttpConnectionPool.CreateConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Threading.Tasks.ValueTask`1.get_Result()
at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync(ValueTask`1 creationTask)
at System.Threading.Tasks.ValueTask`1.get_Result()
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
at Azure.Functions.Cli.Tests.E2E.StartTests.<>c.<<start_dotnet_csharp>b__3_0>d.MoveNext() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/StartTests.cs:line 90
--- End of stack trace from previous location where exception was thrown ---
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 93
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 107
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.StartTests.start_dotnet_csharp() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/StartTests.cs:line 76
--- End of stack trace from previous location where exception was thrown ---
----- Inner Stack Trace -----
at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime dotnet
stderr:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func new --template Httptrigger --name HttpTrigger
stdout:
stderr:
stdout:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func start --build --port 7073
stderr:
stdout:
[I] 2019-02-04T19:43:48.9315410Z: listener started in 108.768 ms with binding 127.0.0.1:56166 [Suave.Tcp.tcpIpServer]
[xUnit.net 00:00:44.36] Azure.Functions.Cli.Tests.E2E.CreateFunctionTests.create_template_function_sanitization_dotnet [FAIL]
[xUnit.net 00:00:44.40] Azure.Functions.Cli.Tests.E2E.CreateFunctionTests.create_template_function_dotnet_space_name [FAIL]
[xUnit.net 00:00:44.46] Azure.Functions.Cli.Tests.E2E.CreateFunctionTests.create_template_function_success_message [FAIL]
[xUnit.net 00:00:44.52] Azure.Functions.Cli.Tests.E2E.CreateFunctionTests.create_template_function_using_alias [FAIL]
[xUnit.net 00:00:44.59] Azure.Functions.Cli.Tests.E2E.CreateFunctionTests.create_template_function_js_no_space_name [FAIL]
[xUnit.net 00:00:44.64] Azure.Functions.Cli.Tests.E2E.InitTests.init_dotnet_app [FAIL]
[xUnit.net 00:00:44.79] Azure.Functions.Cli.Tests.E2E.InitTests.init_with_Dockerfile(workerRuntime: "node") [FAIL]
Failed Azure.Functions.Cli.Tests.E2E.CreateFunctionTests.create_template_function_sanitization_dotnet
Error Message:
Expected boolean to be true because File /var/folders/k0/yxsc8r2s67v7xmld0l_dgmy00000gn/T/sx252sgc.hjo/12n.e.0w-file$/_12_n_other_file_.cs should exist, but found False.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.BooleanAssertions.BeTrue(String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\BooleanAssertions.cs:line 60
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertFiles(RunConfiguration runConfiguration, String path) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 195
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 127
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.CreateFunctionTests.create_template_function_sanitization_dotnet() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/CreateFunctionTests.cs:line 33
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init 12n.e.0w-file$ --worker-runtime dotnet
stderr:
stdout:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func new --prefix 12n.e.0w-file$ --template HttpTrigger --name 12@n.other-file$
stdout:
stderr:
Failed Azure.Functions.Cli.Tests.E2E.CreateFunctionTests.create_template_function_dotnet_space_name
Error Message:
Expected output "Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime dotnet
Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func new --template "http trigger" --name testfunc2" to contain the strings: {"The function "testfunc2" was created successfully from the "http trigger" template."}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
[xUnit.net 00:00:44.83] Azure.Functions.Cli.Tests.E2E.InitTests.init_with_Dockerfile(workerRuntime: "dotnet") [FAIL]
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertOutputContent(RunConfiguration runConfiguration, StringBuilder stdout) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 246
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 129
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.CreateFunctionTests.create_template_function_dotnet_space_name() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/CreateFunctionTests.cs:line 93
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime dotnet
stderr:
stdout:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func new --template "http trigger" --name testfunc2
stdout:
stderr:
Failed Azure.Functions.Cli.Tests.E2E.CreateFunctionTests.create_template_function_success_message
Error Message:
Expected output "Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime dotnet
Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func new --template HttpTrigger --name testfunc" to contain the strings: {"The function "testfunc" was created successfully from the "HttpTrigger" template."}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertOutputContent(RunConfiguration runConfiguration, StringBuilder stdout) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 246
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 129
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.CreateFunctionTests.create_template_function_success_message() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/CreateFunctionTests.cs:line 16
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime dotnet
stderr:
stdout:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func new --template HttpTrigger --name testfunc
stderr:
stdout:
Failed Azure.Functions.Cli.Tests.E2E.CreateFunctionTests.create_template_function_using_alias
Error Message:
Expected output "Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime node
Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func new --language js --template "http trigger" --name testfunc" to contain the strings: {"The function "testfunc" was created successfully from the "http trigger" template."}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertOutputContent(RunConfiguration runConfiguration, StringBuilder stdout) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 246
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 129
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.CreateFunctionTests.create_template_function_using_alias() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/CreateFunctionTests.cs:line 59
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime node
stderr:
stdout:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func new --language js --template "http trigger" --name testfunc
stderr:
stdout:
Failed Azure.Functions.Cli.Tests.E2E.CreateFunctionTests.create_template_function_js_no_space_name
Error Message:
Expected output "Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime node
Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func new --language js --template httptrigger --name testfunc" to contain the strings: {"The function "testfunc" was created successfully from the "httptrigger" template."}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertOutputContent(RunConfiguration runConfiguration, StringBuilder stdout) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 246
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 129
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.CreateFunctionTests.create_template_function_js_no_space_name() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/CreateFunctionTests.cs:line 76
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime node
stdout:
stderr:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func new --language js --template httptrigger --name testfunc
stderr:
stdout:
Failed Azure.Functions.Cli.Tests.E2E.InitTests.init_dotnet_app
Error Message:
Expected boolean to be true because File /var/folders/k0/yxsc8r2s67v7xmld0l_dgmy00000gn/T/iekisx0r.pcj/dotnet-funcs/local.settings.json should exist, but found False.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.BooleanAssertions.BeTrue(String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\BooleanAssertions.cs:line 60
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertFiles(RunConfiguration runConfiguration, String path) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 195
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 127
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init dotnet-funcs --worker-runtime dotnet
stdout:
stderr:
Failed Azure.Functions.Cli.Tests.E2E.InitTests.init_with_Dockerfile(workerRuntime: "node")
Error Message:
Expected boolean to be true because File /var/folders/k0/yxsc8r2s67v7xmld0l_dgmy00000gn/T/5qtknk5n.rn0/Dockerfile should exist, but found False.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.BooleanAssertions.BeTrue(String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\BooleanAssertions.cs:line 60
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertFiles(RunConfiguration runConfiguration, String path) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 195
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 127
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime node --docker
stderr:
stdout:
[xUnit.net 00:00:44.87] Azure.Functions.Cli.Tests.E2E.InitTests.init_with_unknown_worker_runtime [FAIL]
[xUnit.net 00:00:44.91] Azure.Functions.Cli.Tests.E2E.InitTests.init_with_worker_runtime(workerRuntime: "powershell") [FAIL]
[xUnit.net 00:00:44.95] Azure.Functions.Cli.Tests.E2E.InitTests.init_with_worker_runtime(workerRuntime: "java") [FAIL]
[xUnit.net 00:00:44.98] Azure.Functions.Cli.Tests.E2E.InitTests.init_with_worker_runtime(workerRuntime: "node") [FAIL]
[xUnit.net 00:00:45.02] Azure.Functions.Cli.Tests.E2E.InitTests.init_csx_app [FAIL]
[xUnit.net 00:00:45.05] Azure.Functions.Cli.Tests.E2E.InitTests.init_python_app_expect_error [FAIL]
[xUnit.net 00:00:45.13] Azure.Functions.Cli.Tests.E2E.SettingsTests.add_setting_encrypted [FAIL]
[xUnit.net 00:00:45.19] Azure.Functions.Cli.Tests.E2E.SettingsTests.add_setting_plain_text [FAIL]
Failed Azure.Functions.Cli.Tests.E2E.InitTests.init_with_Dockerfile(workerRuntime: "dotnet")
Error Message:
Expected boolean to be true because File /var/folders/k0/yxsc8r2s67v7xmld0l_dgmy00000gn/T/dhqjex5k.4pk/Dockerfile should exist, but found False.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.BooleanAssertions.BeTrue(String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\BooleanAssertions.cs:line 60
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertFiles(RunConfiguration runConfiguration, String path) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 195
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 127
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime dotnet --docker
stderr:
stdout:
Failed Azure.Functions.Cli.Tests.E2E.InitTests.init_with_unknown_worker_runtime
Error Message:
Expected error "" to contain the strings: {"Worker runtime 'foo' is not a valid option."}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertErrorContent(RunConfiguration runConfiguration, StringBuilder stderr) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 260
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 130
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime foo
stderr:
stdout:
Failed Azure.Functions.Cli.Tests.E2E.InitTests.init_with_worker_runtime(workerRuntime: "powershell")
Error Message:
Expected boolean to be true because File /var/folders/k0/yxsc8r2s67v7xmld0l_dgmy00000gn/T/swiksyeq.1dt/local.settings.json should exist, but found False.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.BooleanAssertions.BeTrue(String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\BooleanAssertions.cs:line 60
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertFiles(RunConfiguration runConfiguration, String path) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 195
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 127
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime powershell
stderr:
stdout:
Failed Azure.Functions.Cli.Tests.E2E.InitTests.init_with_worker_runtime(workerRuntime: "java")
Error Message:
Expected boolean to be true because File /var/folders/k0/yxsc8r2s67v7xmld0l_dgmy00000gn/T/itkqbw5v.bzq/local.settings.json should exist, but found False.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.BooleanAssertions.BeTrue(String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\BooleanAssertions.cs:line 60
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertFiles(RunConfiguration runConfiguration, String path) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 195
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 127
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime java
stdout:
stderr:
Failed Azure.Functions.Cli.Tests.E2E.InitTests.init_with_worker_runtime(workerRuntime: "node")
Error Message:
Expected boolean to be true because File /var/folders/k0/yxsc8r2s67v7xmld0l_dgmy00000gn/T/ut3slkba.szd/local.settings.json should exist, but found False.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.BooleanAssertions.BeTrue(String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\BooleanAssertions.cs:line 60
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertFiles(RunConfiguration runConfiguration, String path) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 195
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 127
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime node
stdout:
stderr:
Failed Azure.Functions.Cli.Tests.E2E.InitTests.init_csx_app
Error Message:
Expected boolean to be true because File /var/folders/k0/yxsc8r2s67v7xmld0l_dgmy00000gn/T/dkcw1bmg.ngi/local.settings.json should exist, but found False.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.BooleanAssertions.BeTrue(String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\BooleanAssertions.cs:line 60
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertFiles(RunConfiguration runConfiguration, String path) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 195
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 127
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime dotnet --csx
stderr:
stdout:
Failed Azure.Functions.Cli.Tests.E2E.InitTests.init_python_app_expect_error
Error Message:
Expected error "" to contain the strings: {"For Python function apps, you have to be running in a venv."}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertErrorContent(RunConfiguration runConfiguration, StringBuilder stderr) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 260
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 130
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime python
stderr:
stdout:
Failed Azure.Functions.Cli.Tests.E2E.SettingsTests.add_setting_encrypted
Error Message:
Expected boolean to be true because File /var/folders/k0/yxsc8r2s67v7xmld0l_dgmy00000gn/T/055onuch.aek/local.settings.json should exist, but found False.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.BooleanAssertions.BeTrue(String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\BooleanAssertions.cs:line 60
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertFiles(RunConfiguration runConfiguration, String path) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 195
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 127
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.SettingsTests.add_setting_encrypted() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/SettingsTests.cs:line 42
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime node
stderr:
stdout:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func settings encrypt
stderr:
stdout:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func settings add testKey valueValue
stdout:
stderr:
Failed Azure.Functions.Cli.Tests.E2E.SettingsTests.add_setting_plain_text
Error Message:
Expected boolean to be true because File /var/folders/k0/yxsc8r2s67v7xmld0l_dgmy00000gn/T/sbulbuzo.okc/local.settings.json should exist, but found False.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.BooleanAssertions.BeTrue(String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\BooleanAssertions.cs:line 60
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertFiles(RunConfiguration runConfiguration, String path) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 195
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 127
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.SettingsTests.add_setting_plain_text() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/SettingsTests.cs:line 17
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func init . --worker-runtime node
stderr:
stdout:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func settings add testKey valueValue
stdout:
stderr:
[xUnit.net 00:01:05.90] Azure.Functions.Cli.Tests.E2E.DurableTests.DurableStartNewTest_FileInput [FAIL]
Failed Azure.Functions.Cli.Tests.E2E.DurableTests.DurableStartNewTest_FileInput
Error Message:
Expected output "Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable start-new --function-name JsonInput --input @startnew.json --task-hub-name startNewFileInputTest --id 8c6472db7eb141d7bee7e88e4edb09f6
[2/4/19 11:43:50 AM] Pausing to let the Functions host handle previous requests.
[2/4/19 11:44:10 AM] Resuming commands.
Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable get-runtime-status --id 8c6472db7eb141d7bee7e88e4edb09f6" to contain the strings: {"Started 'JsonInput'", ""OrchestrationStatus": 0"}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertOutputContent(RunConfiguration runConfiguration, StringBuilder stdout) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 246
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 129
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.DurableTests.DurableStartNewTest_FileInput() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/DurableTests.cs:line 334
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable start-new --function-name JsonInput --input @startnew.json --task-hub-name startNewFileInputTest --id 8c6472db7eb141d7bee7e88e4edb09f6
stderr:
stdout:
stderr:
stdout:
stdout: [2/4/19 11:43:50 AM] Pausing to let the Functions host handle previous requests.
stdout: [2/4/19 11:44:10 AM] Resuming commands.
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable get-runtime-status --id 8c6472db7eb141d7bee7e88e4edb09f6
stderr:
stdout:
[xUnit.net 00:01:26.00] Azure.Functions.Cli.Tests.E2E.DurableTests.DurableRaiseEventTest_FileInput [FAIL]
Failed Azure.Functions.Cli.Tests.E2E.DurableTests.DurableRaiseEventTest_FileInput
Error Message:
Expected output "Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable start-new --function-name JsonInput --id 3157bd49a7e44cd59aa69cae8a65a575 --task-hub-name raiseEventFileInputTest
Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable raise-event --id 3157bd49a7e44cd59aa69cae8a65a575 --event-name operation --event-data @raiseEvent.json --task-hub-name raiseEventFileInputTest
[2/4/19 11:44:10 AM] Pausing to let the Functions host handle previous requests.
[2/4/19 11:44:30 AM] Resuming commands.
Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable get-runtime-status --id 3157bd49a7e44cd59aa69cae8a65a575" to contain the strings: {"Raised event 'operation' to instance '3157bd49a7e44cd59aa69cae8a65a575'", ""OrchestrationStatus": 0"}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertOutputContent(RunConfiguration runConfiguration, StringBuilder stdout) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 246
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 129
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.DurableTests.DurableRaiseEventTest_FileInput() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/DurableTests.cs:line 229
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable start-new --function-name JsonInput --id 3157bd49a7e44cd59aa69cae8a65a575 --task-hub-name raiseEventFileInputTest
stderr:
stdout:
stderr:
stdout:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable raise-event --id 3157bd49a7e44cd59aa69cae8a65a575 --event-name operation --event-data @raiseEvent.json --task-hub-name raiseEventFileInputTest
stderr:
stdout:
stdout: [2/4/19 11:44:10 AM] Pausing to let the Functions host handle previous requests.
stdout: [2/4/19 11:44:30 AM] Resuming commands.
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable get-runtime-status --id 3157bd49a7e44cd59aa69cae8a65a575
stdout:
stderr:
[xUnit.net 00:01:46.05] Azure.Functions.Cli.Tests.E2E.DurableTests.DurableTerminateTest [FAIL]
Failed Azure.Functions.Cli.Tests.E2E.DurableTests.DurableTerminateTest
Error Message:
Expected output "Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable start-new --function-name Counter --id fd2542f1c4f648abb979389839da0b6b --task-hub-name terminateTest
[2/4/19 11:44:30 AM] Pausing to let the Functions host handle previous requests.
[2/4/19 11:44:50 AM] Resuming commands.
Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable terminate --id fd2542f1c4f648abb979389839da0b6b --task-hub-name terminateTest" to contain the strings: {"Successfully terminated 'fd2542f1c4f648abb979389839da0b6b'"}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertOutputContent(RunConfiguration runConfiguration, StringBuilder stdout) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 246
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 129
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.DurableTests.DurableTerminateTest() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/DurableTests.cs:line 367
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable start-new --function-name Counter --id fd2542f1c4f648abb979389839da0b6b --task-hub-name terminateTest
stderr:
stdout:
stderr:
stdout:
stdout: [2/4/19 11:44:30 AM] Pausing to let the Functions host handle previous requests.
stdout: [2/4/19 11:44:50 AM] Resuming commands.
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable terminate --id fd2542f1c4f648abb979389839da0b6b --task-hub-name terminateTest
stderr:
stdout:
[xUnit.net 00:01:46.08] Azure.Functions.Cli.Tests.E2E.DurableTests.DurableStartNewTest [FAIL]
[xUnit.net 00:01:46.10] Azure.Functions.Cli.Tests.E2E.DurableTests.DurableDeleteTaskHubTest [FAIL]
[xUnit.net 00:01:46.14] Azure.Functions.Cli.Tests.E2E.DurableTests.DurableRaiseEventTest [FAIL]
Failed Azure.Functions.Cli.Tests.E2E.DurableTests.DurableStartNewTest
Error Message:
Expected output "Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable start-new --function-name Counter --input 3 --task-hub-name startNewTest" to contain the strings: {"Started 'Counter'"}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertOutputContent(RunConfiguration runConfiguration, StringBuilder stdout) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 246
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 129
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.DurableTests.DurableStartNewTest() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/DurableTests.cs:line 295
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable start-new --function-name Counter --input 3 --task-hub-name startNewTest
stderr:
stdout:
Failed Azure.Functions.Cli.Tests.E2E.DurableTests.DurableDeleteTaskHubTest
Error Message:
Expected output "Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable delete-task-hub --task-hub-name deleteTaskHubTest" to contain the strings: {"Task hub 'deleteTaskHubTest' successfully deleted."}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertOutputContent(RunConfiguration runConfiguration, StringBuilder stdout) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 246
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 129
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.DurableTests.DurableDeleteTaskHubTest() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/DurableTests.cs:line 38
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable delete-task-hub --task-hub-name deleteTaskHubTest
stdout:
stderr:
Failed Azure.Functions.Cli.Tests.E2E.DurableTests.DurableRaiseEventTest
Error Message:
Expected output "Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable start-new --function-name Counter --input 3 --id b330ac572ecd431e901ebb644e4cfa34 --task-hub-name raiseEventTest
Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable raise-event --id b330ac572ecd431e901ebb644e4cfa34 --event-name operation --event-data add --task-hub-name raiseEventTest" to contain the strings: {"Raised event 'operation' to instance 'b330ac572ecd431e901ebb644e4cfa34'"}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertOutputContent(RunConfiguration runConfiguration, StringBuilder stdout) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 246
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 129
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.DurableTests.DurableRaiseEventTest() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/DurableTests.cs:line 189
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable start-new --function-name Counter --input 3 --id b330ac572ecd431e901ebb644e4cfa34 --task-hub-name raiseEventTest
stderr:
stdout:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable raise-event --id b330ac572ecd431e901ebb644e4cfa34 --event-name operation --event-data add --task-hub-name raiseEventTest
stdout:
stderr:
[xUnit.net 00:02:06.18] Azure.Functions.Cli.Tests.E2E.DurableTests.DurablePurgeHistoryTest [FAIL]
Failed Azure.Functions.Cli.Tests.E2E.DurableTests.DurablePurgeHistoryTest
Error Message:
Expected output "[2/4/19 11:44:51 AM] Pausing to let the Functions host handle previous requests.
[2/4/19 11:45:11 AM] Resuming commands.
Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable purge-history --task-hub-name purgeHistoryTest" to contain the strings: {"Purged orchestration history for all instances created between '1/1/01 12:00:00 AM' and '12/30/99 11:59:59 PM'"}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertOutputContent(RunConfiguration runConfiguration, StringBuilder stdout) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 246
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 129
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.DurableTests.DurablePurgeHistoryTest() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/DurableTests.cs:line 159
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: [2/4/19 11:44:51 AM] Pausing to let the Functions host handle previous requests.
stdout:
stderr:
stdout: [2/4/19 11:45:11 AM] Resuming commands.
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable purge-history --task-hub-name purgeHistoryTest
stdout:
stderr:
[xUnit.net 00:02:06.21] Azure.Functions.Cli.Tests.E2E.DurableTests.DurableGetInstancesTest [FAIL]
Failed Azure.Functions.Cli.Tests.E2E.DurableTests.DurableGetInstancesTest
Error Message:
Expected output "Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable get-instances --task-hub-name getInstancesTest" to contain the strings: {"Continuation token for next set of results:"}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertOutputContent(RunConfiguration runConfiguration, StringBuilder stdout) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 246
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 129
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.DurableTests.DurableGetInstancesTest() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/DurableTests.cs:line 102
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable get-instances --task-hub-name getInstancesTest
stdout:
stderr:
[xUnit.net 00:02:26.28] Azure.Functions.Cli.Tests.E2E.DurableTests.DurableRewindTest [FAIL]
Failed Azure.Functions.Cli.Tests.E2E.DurableTests.DurableRewindTest
Error Message:
Expected output "Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable start-new --function-name Counter --input 3 --id 99f8f9d4b3ea4c2bae21dfc058e941f3 --task-hub-name rewindTest
Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable raise-event --id 99f8f9d4b3ea4c2bae21dfc058e941f3 --event-name operation --event-data baddata --task-hub-name rewindTest
[2/4/19 11:45:11 AM] Pausing to let the Functions host handle previous requests.
[2/4/19 11:45:31 AM] Resuming commands.
Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable rewind --id 99f8f9d4b3ea4c2bae21dfc058e941f3 --task-hub-name rewindTest" to contain the strings: {"Status before rewind: Failed", "Status after rewind:"}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertOutputContent(RunConfiguration runConfiguration, StringBuilder stdout) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 246
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 129
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.DurableTests.DurableRewindTest() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/DurableTests.cs:line 263
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable start-new --function-name Counter --input 3 --id 99f8f9d4b3ea4c2bae21dfc058e941f3 --task-hub-name rewindTest
stdout:
stderr:
stdout:
stderr:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable raise-event --id 99f8f9d4b3ea4c2bae21dfc058e941f3 --event-name operation --event-data baddata --task-hub-name rewindTest
stdout:
stderr:
stdout: [2/4/19 11:45:11 AM] Pausing to let the Functions host handle previous requests.
stdout: [2/4/19 11:45:31 AM] Resuming commands.
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable rewind --id 99f8f9d4b3ea4c2bae21dfc058e941f3 --task-hub-name rewindTest
stderr:
stdout:
[xUnit.net 00:02:46.36] Azure.Functions.Cli.Tests.E2E.DurableTests.DurableGetHistoryTest [FAIL]
Failed Azure.Functions.Cli.Tests.E2E.DurableTests.DurableGetHistoryTest
Error Message:
Expected output "Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable start-new --function-name Counter --id b1fbd7cf65684725991c744bc993a3cc --task-hub-name getHistoryTest
Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable raise-event --id b1fbd7cf65684725991c744bc993a3cc --event-name operation --event-data add --task-hub-name getHistoryTest
[2/4/19 11:45:31 AM] Pausing to let the Functions host handle previous requests.
[2/4/19 11:45:51 AM] Resuming commands.
Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable get-history --id b1fbd7cf65684725991c744bc993a3cc --task-hub-name getHistoryTest" to contain the strings: {"Started 'Counter'", "OrchestratorStarted", "ExecutionStarted", "OrchestratorCompleted"}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertOutputContent(RunConfiguration runConfiguration, StringBuilder stdout) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 246
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 129
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.DurableTests.DurableGetHistoryTest() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/DurableTests.cs:line 68
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable start-new --function-name Counter --id b1fbd7cf65684725991c744bc993a3cc --task-hub-name getHistoryTest
stderr:
stdout:
stdout:
stderr:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable raise-event --id b1fbd7cf65684725991c744bc993a3cc --event-name operation --event-data add --task-hub-name getHistoryTest
stdout:
stderr:
stdout: [2/4/19 11:45:31 AM] Pausing to let the Functions host handle previous requests.
stdout: [2/4/19 11:45:51 AM] Resuming commands.
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable get-history --id b1fbd7cf65684725991c744bc993a3cc --task-hub-name getHistoryTest
stderr:
stdout:
[xUnit.net 00:02:46.40] Azure.Functions.Cli.Tests.E2E.DurableTests.DurableGetRuntimeStatusTest [FAIL]
[xUnit.net 00:02:46.41] Azure.Functions.Cli.Tests.ActionsTests.StartHostActionTests.CheckNonOptionalSettingsThrowsOnMissingAzureWebJobsStorage [SKIP]
[xUnit.net 00:02:46.41] Azure.Functions.Cli.Tests.ActionsTests.StartHostActionTests.CheckNonOptionalSettingsPrintsWarningForMissingSettings [SKIP]
Failed Azure.Functions.Cli.Tests.E2E.DurableTests.DurableGetRuntimeStatusTest
Error Message:
Expected output "Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable get-runtime-status --id 4b05b82960784f7aa0dfd8769476fedb --task-hub-name getRuntimeStatusTest" to contain the strings: {"Could not find an orchestration instance with id '4b05b82960784f7aa0dfd8769476fedb"}.
Stack Trace:
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\XUnit2TestFramework.cs:line 32
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Execution\AssertionScope.cs:line 224
at FluentAssertions.Primitives.StringAssertions.ContainAll(IEnumerable`1 values, String because, Object[] becauseArgs) in C:\projects\fluentassertions-vf06b\Src\FluentAssertions\Primitives\StringAssertions.cs:line 690
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.AssertOutputContent(RunConfiguration runConfiguration, StringBuilder stdout) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 246
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.InternalRun(String workingDir, RunConfiguration[] runConfigurations, ITestOutputHelper output, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 129
at Azure.Functions.Cli.Tests.E2E.Helpers.CliTester.Run(RunConfiguration[] runConfigurations, ITestOutputHelper output, String workingDir, Boolean startHost) in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/Helpers/CliTester.cs:line 35
at Azure.Functions.Cli.Tests.E2E.DurableTests.DurableGetRuntimeStatusTest() in /Users/tyler/Code/CSharp/azure-functions-core-tools/test/Azure.Functions.Cli.Tests/E2E/DurableTests.cs:line 131
--- End of stack trace from previous location where exception was thrown ---
Standard Output Messages:
stdout: Running: > /Users/tyler/Code/CSharp/azure-functions-core-tools/artifacts/linux-x64/func durable get-runtime-status --id 4b05b82960784f7aa0dfd8769476fedb --task-hub-name getRuntimeStatusTest
stderr:
stdout:
Skipped Azure.Functions.Cli.Tests.ActionsTests.StartHostActionTests.CheckNonOptionalSettingsThrowsOnMissingAzureWebJobsStorage
Skipped Azure.Functions.Cli.Tests.ActionsTests.StartHostActionTests.CheckNonOptionalSettingsPrintsWarningForMissingSettings
[xUnit.net 00:02:46.85] Azure.Functions.Cli.Tests.ExtensionsTests.ProcessExtensionsTests.WaitForExitTest [SKIP]
2.4.1
Could not find local host metadata file 'host.json'
Skipped Azure.Functions.Cli.Tests.ExtensionsTests.ProcessExtensionsTests.WaitForExitTest
Could not find local host metadata file 'host.json'
2.4.1
Could not find local host metadata file 'host.json'
Could not find local host metadata file 'host.json'
Could not find local host metadata file 'host.json'
Could not find local host metadata file 'host.json'
2.4.1
Could not find local host metadata file 'host.json'
Could not find local host metadata file 'host.json'
Could not find local host metadata file 'host.json'
Total tests: 110. Passed: 75. Failed: 32. Skipped: 3.
Test Run Failed.
Test execution time: 2.8084 Minutes
Unhandled Exception: System.Exception: dotnet Exit Code == 1
at Build.Shell.Run(String program, String arguments, Boolean streamOutput) in /Users/tyler/Code/CSharp/azure-functions-core-tools/build/Shell.cs:line 25
at Build.BuildSteps.Test() in /Users/tyler/Code/CSharp/azure-functions-core-tools/build/BuildSteps.cs:line 152
at Build.Orchestrator.Run() in /Users/tyler/Code/CSharp/azure-functions-core-tools/build/Orchestrator.cs:line 69
at Build.Program.Main(String[] args) in /Users/tyler/Code/CSharp/azure-functions-core-tools/build/Program.cs:line 12
Need to add the following flags to the build to run in multiple configurations
Thanks for taking a look @soninaren!
Hey @soninaren, previously the build.ps1 script I added was able to build the CLI cross platform.
It looks like you did some major refactoring of it and now I can sadly no longer build the project on macOS.
Can we revert or re-add the platform specific changes back?
output: