Azure / azure-functions-core-tools

Command line tools for Azure Functions
MIT License
1.29k stars 430 forks source link

Add flags to build.ps1 to support local build scenarios. #1004

Open TylerLeonhardt opened 5 years ago

TylerLeonhardt commented 5 years ago

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:

./build.ps1
Clean ==> RestorePackages ==> DotnetPublish ==> AddDistLib ==> AddPythonWorker ==> AddTemplatesNupkgs ==> Test ==> Zip ==> UploadToStorage ==> DONE
Running Target Clean
Running Target RestorePackages
> dotnet restore /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj  --source https://www.nuget.org/api/v2/ --source https://www.myget.org/F/azure-appservice/api/v2 --source https://www.myget.org/F/azure-appservice-staging/api/v2 --source https://www.myget.org/F/fusemandistfeed/api/v2 --source https://www.myget.org/F/30de4ee06dd54956a82013fa17a3accb/ --source https://www.myget.org/F/xunit/api/v3/index.json --source https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json
  Restoring packages for /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj...
  Retrying 'FindPackagesByIdAsyncCore' for source 'https://www.nuget.org/api/v2/FindPackagesById()?id='KubeClient'&semVerLevel=2.0.0'.
  Could not find a part of the path '/Users/tyler/.local/share/NuGet/v3-cache/99a476836aff35546f799d104db1e25bb5d2a574$https:_www.nuget.org_api_v2_/list_kubeclient_page1.dat-new'.
  Installing NuGet.Packaging.Core 4.7.0.
  Installing System.Security.Cryptography.ProtectedData 4.3.0.
  Installing runtime.win7-x64.runtime.native.System.Data.SqlClient.sni 4.3.0.
  Installing runtime.win7-x86.runtime.native.System.Data.SqlClient.sni 4.3.0.
  Installing Microsoft.AspNetCore.Http.Features 2.1.1.
  Installing NuGet.Packaging 4.7.0.
  Installing NuGet.Configuration 4.7.0.
  Installing runtime.native.System.Data.SqlClient.sni 4.3.0.
  Installing System.IO.Pipes 4.3.0.
  Installing System.Data.Common 4.3.0.
  Installing System.Threading.Overlapped 4.3.0.
  Installing AccentedCommandLineParser 2.0.0.
  Installing System.Security.AccessControl 4.3.0.
  Installing Microsoft.AspNetCore.Hosting.Server.Abstractions 2.1.0.
  Installing Microsoft.AspNetCore.Authorization 2.1.0.
  Installing Autofac 4.6.2.
  Installing Microsoft.Azure.DurableTask.AzureStorage.Internal 1.4.0.
  Installing Microsoft.Azure.Functions.NodeJsWorker 1.0.1.
  Installing Microsoft.Azure.Functions.JavaWorker 1.2.6.
  Installing Microsoft.AspNetCore.Authentication.Abstractions 2.1.0.
  Installing Microsoft.AspNetCore.Hosting.Server.Abstractions 2.1.1.
  Installing KubeClient.Extensions.KubeConfig 2.1.5.
  Installing KubeClient 2.1.5.
  Installing Microsoft.Azure.WebJobs.Script.WebHost 2.0.12285.
  Installing Microsoft.Extensions.Hosting.Abstractions 2.1.1.
  Installing System.ComponentModel 4.0.1.
  Installing WindowsAzure.Storage 8.6.0.
  Installing Microsoft.Azure.DurableTask.Core.Internal 2.0.11.
  Installing YamlDotNet 4.2.1.
  Installing BouncyCastle.NetCore 1.8.1.3.
  Installing HTTPlease.Core 1.8.2.
  Installing System.ValueTuple 4.4.0.
  Installing System.Reactive 3.1.1.
  Installing Microsoft.AspNetCore.JsonPatch 1.1.2.
  Installing HTTPlease.Formatters.Json 1.8.2.
  Installing HTTPlease.Diagnostics 1.8.2.
  Installing WindowsAzure.Storage 9.3.1.
  Installing Microsoft.Azure.WebJobs.Logging 3.0.4.
  Installing Microsoft.CodeAnalysis.CSharp 2.8.2.
  Installing Microsoft.CodeAnalysis.Common 2.8.2.
  Installing Microsoft.Azure.WebSites.DataProtection 2.1.88-alpha.
  Installing Microsoft.AspNetCore.Routing.Abstractions 2.1.1.
  Installing Microsoft.AspNetCore.Authorization 2.1.1.
  Installing Microsoft.AspNetCore.Authentication.Abstractions 2.1.1.
  Installing Microsoft.Azure.WebJobs.Host.Storage 3.0.4.
  Installing Microsoft.AspNetCore.Http.Abstractions 2.1.1.
  Installing Microsoft.Azure.AppService.Proxy.Client 2.0.6830001-df202c6c.
  Installing Microsoft.Extensions.ObjectPool 2.1.1.
  Installing Microsoft.CodeAnalysis 2.8.2.
  Installing System.Composition.TypedParts 1.0.31.
  Installing Microsoft.Azure.WebJobs.Script 2.0.12285.
  Installing ImpromptuInterface 7.0.1.
  Installing System.Collections.Immutable 1.2.0.
  Installing System.Reactive.PlatformServices 3.1.1.
  Installing System.Composition.Runtime 1.0.31.
  Installing HTTPlease.Formatters 1.8.2.
  Installing Microsoft.Extensions.Logging 1.0.1.
  Installing Microsoft.Extensions.DependencyInjection 2.0.0.
  Installing Microsoft.Azure.WebJobs 3.0.4.
  Installing System.IdentityModel.Tokens.Jwt 5.1.4.
  Installing Microsoft.AspNetCore.Http 2.1.0.
  Installing Microsoft.Azure.AppService.Proxy.Common 2.0.6830001-df202c6c.
  Installing Microsoft.Azure.AppService.Proxy.Runtime 2.0.6830001-df202c6c.
  Installing Microsoft.AspNetCore.Mvc 2.1.0.
  Installing System.Composition.Hosting 1.0.31.
  Installing Microsoft.CodeAnalysis.CSharp.Workspaces 2.8.2.
  Installing Microsoft.CodeAnalysis.VisualBasic.Workspaces 2.8.2.
  Installing Google.Protobuf 3.6.1.
  Installing NuGet.Frameworks 4.7.0.
  Installing System.Composition.Convention 1.0.31.
  Installing Microsoft.Azure.WebJobs.Extensions 3.0.1.
  Installing Microsoft.CodeAnalysis.CSharp.Scripting 2.8.2.
  Installing System.Reactive.Linq 3.1.1.
  Installing Grpc.Core 1.16.0.
  Installing System.IO.Abstractions 2.1.0.227.
  Installing Microsoft.Extensions.Logging.Console 2.1.1.
  Installing Microsoft.Extensions.Options.ConfigurationExtensions 2.1.1.
  Installing Microsoft.Azure.WebJobs.Script.Grpc 2.0.12285.
  Installing Microsoft.Extensions.Logging 2.1.1.
  Installing Microsoft.Build 15.8.166.
  Installing NuGet.LibraryModel 4.7.0.
  Installing Microsoft.ApplicationInsights 2.7.2.
  Installing Microsoft.Azure.WebJobs.Extensions.Http 3.0.2.
  Installing Microsoft.AspNetCore.Mvc.WebApiCompatShim 2.1.3.
  Installing Microsoft.Azure.WebJobs.Logging.ApplicationInsights 3.0.4.
  Installing NuGet.ProjectModel 4.7.0.
  Installing Microsoft.CSharp 4.4.1.
  Installing System.Composition.AttributedModel 1.0.31.
  Installing Microsoft.Extensions.Localization.Abstractions 2.1.0.
  Installing Microsoft.AspNetCore.Razor 2.1.0.
  Installing Dynamitey 2.0.9.136.
  Installing Microsoft.Extensions.Logging.Abstractions 1.0.1.
  Installing Microsoft.Extensions.DependencyInjection.Abstractions 1.0.1.
  Installing Microsoft.Extensions.DependencyInjection.Abstractions 2.0.0.
  Installing Microsoft.Extensions.FileProviders.Composite 2.1.0.
  Installing Microsoft.IdentityModel.Tokens 5.1.4.
  Installing Microsoft.Extensions.Logging.Abstractions 2.1.0.
  Installing Microsoft.Extensions.Configuration 2.1.0.
  Installing Microsoft.Extensions.Configuration.EnvironmentVariables 2.1.0.
  Installing System.Threading.Tasks.Dataflow 4.8.0.
  Installing Microsoft.Extensions.Configuration.Abstractions 2.1.0.
  Installing Microsoft.Extensions.Logging 2.1.0.
  Installing Microsoft.Extensions.Logging.Configuration 2.1.0.
  Installing Microsoft.Extensions.Hosting 2.1.0.
  Installing Microsoft.Extensions.Configuration.Json 2.1.0.
  Installing Microsoft.Azure.WebJobs.Core 3.0.4.
  Installing System.Memory 4.5.0.
  Installing Microsoft.AspNetCore.WebUtilities 2.1.0.
  Installing Microsoft.Extensions.ObjectPool 2.1.0.
  Installing Microsoft.Net.Http.Headers 2.1.0.
  Installing Microsoft.Extensions.Options 2.1.0.
  Installing Microsoft.AspNetCore.Http.Abstractions 2.1.0.
  Installing Microsoft.AspNetCore.Razor.Language 2.1.0.
  Installing NuGet.Protocol 4.7.0.
  Installing protobuf-net 2.3.3.
  Installing System.Configuration.ConfigurationManager 4.5.0.
  Installing Microsoft.AspNetCore.Http.Features 2.1.0.
  Installing Microsoft.AspNetCore.Routing 2.1.0.
  Installing Microsoft.AspNetCore.Http.Extensions 2.1.0.
  Installing System.Diagnostics.PerformanceCounter 4.5.0.
  Installing Microsoft.AspNetCore.Razor.Design 2.1.0.
  Installing Microsoft.AspNetCore.Mvc.Razor.Extensions 2.1.0.
  Installing Microsoft.Extensions.DependencyInjection 2.1.0.
  Installing Microsoft.Extensions.Caching.Memory 2.1.0.
  Installing Microsoft.AspNetCore.Mvc.TagHelpers 2.1.0.
  Installing System.Data.SqlClient 4.3.1.
  Installing Microsoft.AspNetCore.Mvc.RazorPages 2.1.0.
  Installing Microsoft.AspNetCore.Mvc.Localization 2.1.0.
  Installing Microsoft.AspNetCore.Mvc.Cors 2.1.0.
  Installing Microsoft.AspNetCore.Mvc.ApiExplorer 2.1.0.
  Installing Microsoft.AspNetCore.Mvc.DataAnnotations 2.1.0.
  Installing Microsoft.AspNetCore.Mvc.Formatters.Json 2.1.0.
  Installing Microsoft.AspNetCore.Mvc.ViewFeatures 2.1.0.
  Installing Microsoft.CodeAnalysis.Workspaces.Common 2.8.2.
  Installing Microsoft.CodeAnalysis.VisualBasic 2.8.2.
  Installing ncrontab.signed 3.3.0.
  Installing Microsoft.CodeAnalysis.Scripting.Common 2.8.2.
  Installing System.Runtime.InteropServices.WindowsRuntime 4.0.1.
  Installing System.Reactive.Core 3.1.1.
  Installing System.Threading.ThreadPool 4.0.10.
  Installing System.Threading.Thread 4.0.0.
  Installing System.Interactive.Async 3.1.1.
  Installing System.Runtime.Loader 4.0.0.
  Installing System.IO.FileSystem.AccessControl 4.5.0.
  Installing Microsoft.Extensions.Logging.Configuration 2.1.1.
  Installing Microsoft.Extensions.Configuration.Abstractions 2.1.1.
  Installing Microsoft.Extensions.DependencyInjection.Abstractions 2.1.1.
  Installing Microsoft.Extensions.Configuration.Binder 2.1.1.
  Installing Microsoft.Extensions.Options 2.1.1.
  Installing Google.Protobuf.Tools 3.6.1.
  Installing Microsoft.Extensions.Configuration 2.1.1.
  Installing Microsoft.Extensions.Logging.Abstractions 2.1.1.
  Installing System.Text.Encoding.CodePages 4.0.1.
  Installing System.Diagnostics.TraceSource 4.0.0.
  Installing System.Threading.Tasks.Dataflow 4.6.0.
  Installing Microsoft.Build.Framework 15.8.166.
  Installing NuGet.Versioning 4.7.0.
  Installing NuGet.Common 4.7.0.
  Installing System.Net.Requests 4.3.0.
  Installing Microsoft.AspNet.WebApi.Client 5.2.4.
  Installing Microsoft.AspNetCore.WebUtilities 2.1.1.
  Installing Microsoft.AspNetCore.Mvc.Formatters.Json 2.1.3.
  Installing Microsoft.AspNetCore.Mvc.Core 2.1.3.
  Installing System.Net.NetworkInformation 4.3.0.
  Installing System.Diagnostics.TraceSource 4.3.0.
  Installing Microsoft.ApplicationInsights.PerfCounterCollector 2.7.2.
  Installing Microsoft.ApplicationInsights.WindowsServer 2.7.2.
  Installing Microsoft.ApplicationInsights.SnapshotCollector 1.3.0.
  Installing Microsoft.AspNetCore.Mvc.Abstractions 2.1.0.
  Installing Microsoft.AspNetCore.Mvc.Core 2.1.0.
  Installing Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel 2.7.2.
  Installing Microsoft.ApplicationInsights.DependencyCollector 2.7.2.
  Installing NuGet.DependencyResolver.Core 4.7.0.
  Installing Microsoft.IdentityModel.Logging 1.1.4.
  Installing Microsoft.Extensions.Primitives 2.1.0.
  Installing Microsoft.Extensions.DependencyInjection.Abstractions 2.1.0.
  Installing Microsoft.Extensions.Configuration.Binder 2.1.0.
  Installing Microsoft.Extensions.Options.ConfigurationExtensions 2.1.0.
  Installing Microsoft.Extensions.Hosting.Abstractions 2.1.0.
  Installing Microsoft.Extensions.FileProviders.Physical 2.1.0.
  Installing Microsoft.Extensions.Configuration.FileExtensions 2.1.0.
  Installing System.ComponentModel.Annotations 4.4.0.
  Installing System.Security.Cryptography.ProtectedData 4.5.0.
  Installing Microsoft.AspNetCore.Routing.Abstractions 2.1.0.
  Installing Microsoft.Extensions.FileProviders.Abstractions 2.1.0.
  Installing Microsoft.CodeAnalysis.Razor 2.1.0.
  Installing Microsoft.AspNetCore.Mvc.Razor 2.1.0.
  Installing Microsoft.Extensions.FileSystemGlobbing 2.1.0.
  Installing Microsoft.AspNetCore.Razor.Runtime 2.1.0.
  Installing Microsoft.Extensions.Caching.Abstractions 2.1.0.
  Installing Microsoft.AspNetCore.Localization 2.1.0.
  Installing Microsoft.Extensions.Localization 2.1.0.
  Installing Microsoft.AspNetCore.Cors 2.1.0.
  Installing Microsoft.AspNetCore.JsonPatch 2.1.0.
  Installing Microsoft.AspNetCore.Html.Abstractions 2.1.0.
  Installing Microsoft.AspNetCore.Diagnostics.Abstractions 2.1.0.
  Installing Microsoft.Extensions.WebEncoders 2.1.0.
  Installing Microsoft.AspNetCore.Antiforgery 2.1.0.
  Installing System.Linq.Parallel 4.3.0.
  Installing System.IO.FileSystem.AccessControl 4.3.0.
  Installing System.Composition 1.0.31.
  Installing System.Diagnostics.Contracts 4.0.1.
  Installing System.Reactive.Interfaces 3.1.1.
  Installing Microsoft.Extensions.Primitives 2.1.1.
  Installing System.Net.WebHeaderCollection 4.3.0.
  Installing Microsoft.AspNetCore.Hosting.Abstractions 2.1.0.
  Installing Microsoft.AspNetCore.Authorization.Policy 2.1.0.
  Installing Microsoft.AspNetCore.Authentication.Core 2.1.0.
  Installing Microsoft.Net.Http.Headers 2.1.1.
  Installing Microsoft.AspNetCore.ResponseCaching.Abstractions 2.1.0.
  Installing Microsoft.AspNetCore.JsonPatch 2.1.1.
  Installing System.Threading.Tasks.Extensions 4.5.0.
  Installing Microsoft.AspNetCore.ResponseCaching.Abstractions 2.1.1.
  Installing Microsoft.Extensions.FileProviders.Abstractions 2.1.1.
  Installing Microsoft.Extensions.DependencyInjection 2.1.1.
  Installing System.Diagnostics.DiagnosticSource 4.5.1.
  Installing Microsoft.AspNetCore.Http 2.1.1.
  Installing Microsoft.AspNetCore.Http.Extensions 2.1.1.
  Installing Microsoft.AspNetCore.Authentication.Core 2.1.1.
  Installing Microsoft.AspNetCore.Authorization.Policy 2.1.1.
  Installing Microsoft.AspNetCore.Routing 2.1.1.
  Installing Microsoft.AspNetCore.Mvc.Abstractions 2.1.3.
  Installing Microsoft.AspNetCore.Hosting.Abstractions 2.1.1.
  Installing runtime.win-x86.Microsoft.NETCore.DotNetAppHost 2.2.0.
  Installing runtime.win-x86.Microsoft.NETCore.DotNetHostResolver 2.2.0.
  Installing runtime.win-x86.Microsoft.NETCore.DotNetHostPolicy 2.2.0.
  Installing runtime.win-x86.Microsoft.NETCore.App 2.2.0.
  Installing runtime.win-x64.Microsoft.NETCore.DotNetAppHost 2.2.0.
  Installing runtime.win-x64.Microsoft.NETCore.DotNetHostResolver 2.2.0.
  Installing runtime.win-x64.Microsoft.NETCore.DotNetHostPolicy 2.2.0.
  Installing runtime.win-x64.Microsoft.NETCore.App 2.2.0.
  Installing runtime.osx-x64.Microsoft.NETCore.DotNetAppHost 2.2.0.
  Installing runtime.osx-x64.Microsoft.NETCore.DotNetHostResolver 2.2.0.
  Installing runtime.osx-x64.Microsoft.NETCore.DotNetHostPolicy 2.2.0.
  Installing runtime.osx-x64.Microsoft.NETCore.App 2.2.0.
  Installing runtime.linux-x64.Microsoft.NETCore.DotNetAppHost 2.2.0.
  Installing runtime.linux-x64.Microsoft.NETCore.DotNetHostResolver 2.2.0.
  Installing runtime.linux-x64.Microsoft.NETCore.DotNetHostPolicy 2.2.0.
  Installing runtime.linux-x64.Microsoft.NETCore.App 2.2.0.
/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj : error NU1102: Unable to find package Microsoft.Azure.Functions.PowerShellWorker with version (>= 0.1.9999-alpha)
/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj : error NU1102:   - Found 7 version(s) in azure_app_service [ Nearest version: 0.1.52-alpha ]
/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj : error NU1102:   - Found 0 version(s) in AspNetVNext
/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj : error NU1102:   - Found 0 version(s) in buildTools
/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj : error NU1102:   - Found 0 version(s) in azure_app_service_staging
/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj : error NU1102:   - Found 0 version(s) in fuse_labs
/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj : error NU1102:   - Found 0 version(s) in https://www.myget.org/F/xunit/api/v3/index.json
/Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj : error NU1102:   - Found 0 version(s) in https://www.nuget.org/api/v2/
  Generating MSBuild file /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/obj/Azure.Functions.Cli.csproj.nuget.g.props.
  Restore failed in 54.83 sec for /Users/tyler/Code/CSharp/azure-functions-core-tools/src/Azure.Functions.Cli/Azure.Functions.Cli.csproj.

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.RestorePackages() in /Users/tyler/Code/CSharp/azure-functions-core-tools/build/BuildSteps.cs:line 38
   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
TylerLeonhardt commented 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
soninaren commented 5 years ago

Need to add the following flags to the build to run in multiple configurations

TylerLeonhardt commented 5 years ago

Thanks for taking a look @soninaren!