[00:00:00] Build started [00:00:01] Fetching repository commit (792afd1)...OK [00:00:01] Total: 71.1 KB in 46 files [00:00:01] "C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe" start [00:00:01] Windows Azure Storage Emulator 4.5.0.0 command line tool [00:00:04] The storage emulator was successfully started. [00:00:06] dotnet restore [00:00:07] log : Restoring packages for C:\projects\nat20-api\src\Nat20-Api\project.json... [00:00:07] log : Restoring packages for C:\projects\nat20-api\src\Nat20-Api.Tests\project.json... [00:00:10] log : Installing Microsoft.AspNetCore.Razor 1.1.0. [00:00:10] log : Installing Microsoft.DotNet.PlatformAbstractions 1.1.0. [00:00:10] log : Installing System.Net.WebSockets 4.3.0. [00:00:10] log : Installing Microsoft.AspNetCore.Razor.Runtime 1.1.0. [00:00:10] log : Installing Microsoft.Extensions.DependencyModel 1.1.0. [00:00:10] log : Installing Microsoft.AspNetCore.Mvc.Abstractions 1.1.0. [00:00:10] log : Installing Microsoft.AspNetCore.Routing 1.1.0. [00:00:10] log : Installing Microsoft.AspNetCore.Authorization 1.1.0. [00:00:10] log : Installing Microsoft.AspNetCore.ResponseCaching.Abstractions 1.1.0. [00:00:10] log : Installing Microsoft.Extensions.Globalization.CultureInfoCache 1.1.0. [00:00:10] log : Installing Microsoft.Extensions.Localization.Abstractions 1.1.0. [00:00:10] log : Installing Microsoft.AspNetCore.Cryptography.Internal 1.1.0. [00:00:10] log : Installing Microsoft.AspNetCore.DataProtection.Abstractions 1.1.0. [00:00:10] log : Installing System.Collections.NonGeneric 4.3.0. [00:00:10] log : Installing System.ComponentModel.Primitives 4.3.0. [00:00:10] log : Installing System.IdentityModel.Tokens.Jwt 5.1.0. [00:00:10] log : Installing System.Collections.Specialized 4.3.0. [00:00:10] log : Installing Microsoft.Extensions.Logging.Debug 1.1.0. [00:00:10] log : Installing Microsoft.Extensions.Logging 1.1.0. [00:00:10] log : Installing Microsoft.IdentityModel.Tokens 5.1.0. [00:00:10] log : Installing Microsoft.Extensions.Logging.Console 1.1.0. [00:00:10] log : Installing Microsoft.Extensions.Configuration.EnvironmentVariables 1.1.0. [00:00:10] log : Installing Microsoft.Extensions.Configuration.Json 1.1.0. [00:00:10] log : Installing Microsoft.Extensions.Configuration.FileExtensions 1.1.0. [00:00:10] log : Installing Microsoft.AspNetCore.Server.IISIntegration 1.1.0. [00:00:10] log : Installing Microsoft.AspNetCore.Server.Kestrel 1.1.0. [00:00:10] log : Installing Microsoft.Extensions.Options.ConfigurationExtensions 1.1.0. [00:00:10] log : Installing Microsoft.AspNetCore.Authentication.JwtBearer 1.1.0. [00:00:10] log : Installing Microsoft.AspNetCore.Mvc 1.1.0. [00:00:10] log : Installing WindowsAzure.Storage 8.0.0. [00:00:10] log : Installing MailKit 1.10.1. [00:00:10] log : Installing Microsoft.Extensions.Logging.Abstractions 1.1.0. [00:00:10] log : Installing Microsoft.Extensions.DependencyInjection.Abstractions 1.1.0. [00:00:10] log : Installing Microsoft.IdentityModel.Logging 1.1.0. [00:00:10] log : Installing Microsoft.Extensions.Configuration.Abstractions 1.1.0. [00:00:10] log : Installing Microsoft.Extensions.Configuration 1.1.0. [00:00:10] log : Installing System.Runtime.Serialization.Primitives 4.3.0. [00:00:10] log : Installing Microsoft.Extensions.FileProviders.Physical 1.1.0. [00:00:10] log : Installing System.Threading.Tasks 4.0.11-rc2-24027. [00:00:10] log : Installing System.Text.Encoding 4.0.11-rc2-24027. [00:00:10] log : Installing System.IO 4.1.0-rc2-24027. [00:00:10] log : Installing System.Reflection.Primitives 4.0.1-rc2-24027. [00:00:10] log : Installing Microsoft.AspNetCore.Http.Features 1.1.0. [00:00:10] log : Installing System.Diagnostics.Contracts 4.3.0. [00:00:10] log : Installing System.Text.Encodings.Web 4.3.0. [00:00:10] log : Installing System.Runtime.CompilerServices.Unsafe 4.3.0. [00:00:10] log : Installing Microsoft.AspNetCore.HttpOverrides 1.1.0. [00:00:10] log : Installing System.Reflection 4.1.0-rc2-24027. [00:00:10] log : Installing System.Runtime 4.1.0-rc2-24027. [00:00:10] log : Installing System.Collections 4.0.11-rc2-24027. [00:00:10] log : Installing Microsoft.Extensions.Options 1.1.0. [00:00:10] log : Installing Microsoft.AspNetCore.Http 1.1.0. [00:00:10] log : Installing System.Diagnostics.Tools 4.0.1-rc2-24027. [00:00:10] log : Installing Microsoft.AspNetCore.Hosting.Abstractions 1.1.0. [00:00:10] log : Installing Microsoft.AspNetCore.Http.Extensions 1.1.0. [00:00:11] log : Installing Microsoft.AspNetCore.Hosting 1.1.0. [00:00:11] log : Installing Microsoft.Data.Edm 5.7.0. [00:00:11] log : Installing Microsoft.AspNetCore.Mvc.Razor.Host 1.1.0. [00:00:11] log : Installing Microsoft.Extensions.Configuration.Binder 1.1.0. [00:00:11] log : Installing Microsoft.AspNetCore.Authentication 1.1.0. [00:00:11] log : Installing Moq 4.6.38-alpha. [00:00:11] log : Installing xunit 2.2.0-beta4-build3444. [00:00:11] log : Installing Microsoft.IdentityModel.Protocols.OpenIdConnect 2.1.0. [00:00:11] log : Installing FluentAssertions 4.18.0. [00:00:11] log : Installing Microsoft.Extensions.DependencyInjection 1.1.0. [00:00:11] log : Installing Microsoft.Extensions.Caching.Memory 1.1.0. [00:00:11] log : Installing Microsoft.AspNetCore.Mvc.TagHelpers 1.1.0. [00:00:11] log : Installing dotnet-test-xunit 2.2.0-preview2-build1029. [00:00:11] log : Installing Microsoft.Extensions.FileProviders.Composite 1.1.0. [00:00:11] log : Installing Microsoft.AspNetCore.Mvc.Localization 1.1.0. [00:00:11] log : Installing Castle.Core 4.0.0-beta001. [00:00:11] log : Installing Microsoft.AspNetCore.JsonPatch 1.1.0. [00:00:11] log : Installing xunit.assert 2.2.0-beta4-build3444. [00:00:11] log : Installing Microsoft.AspNetCore.Mvc.Cors 1.1.0. [00:00:11] log : Installing Microsoft.AspNetCore.Mvc.DataAnnotations 1.1.0. [00:00:11] log : Installing Microsoft.AspNetCore.Mvc.ViewFeatures 1.1.0. [00:00:11] log : Installing Microsoft.AspNetCore.Mvc.Formatters.Json 1.1.0. [00:00:12] log : Installing xunit.core 2.2.0-beta4-build3444. [00:00:12] log : Installing Microsoft.AspNetCore.Mvc.ApiExplorer 1.1.0. [00:00:12] log : Installing Microsoft.AspNetCore.Mvc.Razor 1.1.0. [00:00:12] log : Installing System.Spatial 5.7.0. [00:00:12] log : Installing Microsoft.Extensions.Testing.Abstractions 1.0.0-preview2-003121. [00:00:12] log : Installing Microsoft.Data.Services.Client 5.7.0. [00:00:12] log : Installing Microsoft.Data.OData 5.7.0. [00:00:12] log : Installing xunit.runner.reporters 2.2.0-beta2-build3300. [00:00:12] log : Installing System.Data.Common 4.1.0. [00:00:12] log : Installing System.Net.NetworkInformation 4.1.0. [00:00:12] log : Installing Portable.BouncyCastle 1.8.1.1. [00:00:12] log : Installing MimeKit 1.10.0. [00:00:12] log : Installing System.Diagnostics.TraceSource 4.0.0. [00:00:12] log : Installing System.Xml.XmlSerializer 4.0.11. [00:00:12] log : Installing Microsoft.Extensions.Primitives 1.1.0. [00:00:12] log : Installing xunit.extensibility.execution 2.2.0-beta4-build3444. [00:00:12] log : Installing Microsoft.Extensions.FileSystemGlobbing 1.1.0. [00:00:13] log : Installing xunit.extensibility.core 2.2.0-beta4-build3444. [00:00:13] log : Installing Microsoft.Extensions.FileProviders.Abstractions 1.1.0. [00:00:13] log : Installing Microsoft.Extensions.ObjectPool 1.1.0. [00:00:13] log : Installing Microsoft.DiaSymReader 1.0.8. [00:00:13] log : Installing Microsoft.AspNetCore.WebUtilities 1.1.0. [00:00:13] log : Installing Microsoft.Net.Http.Headers 1.1.0. [00:00:13] log : Installing Microsoft.AspNetCore.Http.Abstractions 1.1.0. [00:00:13] log : Installing Microsoft.AspNetCore.Hosting.Server.Abstractions 1.1.0. [00:00:13] log : Installing System.Diagnostics.StackTrace 4.3.0. [00:00:13] log : Installing Microsoft.Extensions.PlatformAbstractions 1.1.0. [00:00:13] log : Installing System.ComponentModel.TypeConverter 4.3.0. [00:00:14] log : Installing Microsoft.Extensions.WebEncoders 1.1.0. [00:00:14] log : Installing Microsoft.DiaSymReader.Native 1.4.0-rc2. [00:00:14] log : Installing Microsoft.AspNetCore.DataProtection 1.1.0. [00:00:14] log : Installing Microsoft.IdentityModel.Protocols 2.1.0. [00:00:14] log : Installing Microsoft.Extensions.Caching.Abstractions 1.1.0. [00:00:14] log : Installing Microsoft.AspNetCore.Routing.Abstractions 1.1.0. [00:00:14] log : Installing Microsoft.Extensions.Localization 1.1.0. [00:00:14] log : Installing xunit.runner.utility 2.2.0-beta2-build3300. [00:00:14] log : Installing Microsoft.AspNetCore.Localization 1.1.0. [00:00:14] log : Installing Microsoft.AspNetCore.Cors 1.1.0. [00:00:14] log : Installing Microsoft.AspNetCore.Mvc.Core 1.1.0. [00:00:14] log : Installing Microsoft.AspNetCore.Diagnostics.Abstractions 1.1.0. [00:00:14] log : Installing Microsoft.AspNetCore.Html.Abstractions 1.1.0. [00:00:14] log : Installing Microsoft.AspNetCore.Antiforgery 1.1.0. [00:00:15] log : Installing xunit.abstractions 2.0.1. [00:00:15] log : Installing xunit.abstractions 2.0.1-rc2. [00:00:27] log : Restoring packages for tool 'Microsoft.AspNetCore.Server.IISIntegration.Tools' in C:\projects\nat20-api\src\Nat20-Api\project.json... [00:00:30] log : Writing lock file to disk. Path: C:\projects\nat20-api\src\Nat20-Api\project.lock.json [00:00:30] log : Writing lock file to disk. Path: C:\projects\nat20-api\src\Nat20-Api.Tests\project.lock.json [00:00:30] log : C:\projects\nat20-api\src\Nat20-Api.Tests\project.json [00:00:30] log : Restore completed in 23190ms. [00:00:30] log : C:\projects\nat20-api\src\Nat20-Api\project.json [00:00:30] log : Restore completed in 23932ms. [00:00:31] msbuild "C:\projects\nat20-api\Nat20-Api.sln" /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" [00:00:32] Microsoft (R) Build Engine version 14.0.25420.1 [00:00:32] Copyright (C) Microsoft Corporation. All rights reserved. [00:00:32] [00:00:36] C:\Program Files\dotnet\dotnet.exe build "C:\projects\nat20-api\src\Nat20-Api" --configuration Debug --no-dependencies [00:00:37] Project Nat20-Api (.NETCoreApp,Version=v1.1) will be compiled because expected outputs are missing [00:00:37] Compiling Nat20-Api for .NETCoreApp,Version=v1.1 [00:00:48] Compilation succeeded. [00:00:48] 0 Warning(s) [00:00:48] 0 Error(s) [00:00:48] Time elapsed 00:00:10.9700510 [00:00:48] [00:00:48] C:\Program Files\dotnet\dotnet.exe build "C:\projects\nat20-api\src\Nat20-Api.Tests" --configuration Debug --no-dependencies [00:00:49] Project Nat20-Api.Tests (.NETCoreApp,Version=v1.1) will be compiled because expected outputs are missing [00:00:49] Compiling Nat20-Api.Tests for .NETCoreApp,Version=v1.1 [00:00:50] Compilation succeeded. [00:00:50] 0 Warning(s) [00:00:50] 0 Error(s) [00:00:50] Time elapsed 00:00:01.7641662 [00:00:50] [00:00:50] dotnet publish src\Nat20-Api -o artifacts\publish -c Release [00:00:51] Publishing Nat20-Api for .NETCoreApp,Version=v1.1 [00:00:51] Project Nat20-Api (.NETCoreApp,Version=v1.1) will be compiled because expected outputs are missing [00:00:51] Compiling Nat20-Api for .NETCoreApp,Version=v1.1 [00:01:01] [00:01:01] Compilation succeeded. [00:01:01] 0 Warning(s) [00:01:01] 0 Error(s) [00:01:01] [00:01:01] Time elapsed 00:00:10.2444155 [00:01:01] [00:01:01] [00:01:11] Configuring the following project for use with IIS: 'artifacts\publish' [00:01:11] No web.config found. Creating 'artifacts\publish\web.config' [00:01:11] System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\projects\nat20-api\src\Nat20-Api\artifacts\publish\web.config'. [00:01:11] at System.IO.Win32FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, FileStream parent) [00:01:11] at System.IO.Win32FileSystem.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, FileStream parent) [00:01:11] at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) [00:01:11] at Microsoft.AspNetCore.Server.IISIntegration.Tools.PublishIISCommand.Run() [00:01:11] at Microsoft.AspNetCore.Server.IISIntegration.Tools.Program.<>c__DisplayClass0_0.
b__0() [00:01:11] at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args) [00:01:11] at Microsoft.AspNetCore.Server.IISIntegration.Tools.Program.Main(String[] args) [00:01:11] Could not find a part of the path 'C:\projects\nat20-api\src\Nat20-Api\artifacts\publish\web.config'. [00:01:11] publish: Published to artifacts\publish [00:01:11] Published 1/1 projects successfully [00:01:11] dotnet test src/Nat20-Api.Tests [00:01:11] Project Nat20-Api (.NETCoreApp,Version=v1.1) was previously compiled. Skipping compilation. [00:01:12] Project Nat20-Api.Tests (.NETCoreApp,Version=v1.1) was previously compiled. Skipping compilation. [00:01:13] xUnit.net .NET CLI test runner (64-bit .NET Core win81-x64) [00:01:13] Discovering: Nat20-Api.Tests [00:01:13] Discovered: Nat20-Api.Tests [00:01:13] Starting: Nat20-Api.Tests [00:01:15] Nat20_Api.Tests.SpellsControllerTests.GetByIdReturnsSpell [FAIL] [00:01:15] System.AggregateException : One or more errors occurred. (One or more errors occurred. (The REST version of this request is not supported by this release of the Storage Emulator. Please upgrade the storage emulator to the latest version. Refer to the following URL for more information: http://go.microsoft.com/fwlink/?LinkId=392237)) (The following constructor parameters did not have matching fixture data: SpellRepositoryFixture spellRepositoryFixture) [00:01:15] ---- System.AggregateException : One or more errors occurred. (The REST version of this request is not supported by this release of the Storage Emulator. Please upgrade the storage emulator to the latest version. Refer to the following URL for more information: http://go.microsoft.com/fwlink/?LinkId=392237) [00:01:15] -------- Microsoft.WindowsAzure.Storage.StorageException : The REST version of this request is not supported by this release of the Storage Emulator. Please upgrade the storage emulator to the latest version. Refer to the following URL for more information: http://go.microsoft.com/fwlink/?LinkId=392237 [00:01:15] ---- The following constructor parameters did not have matching fixture data: SpellRepositoryFixture spellRepositoryFixture [00:01:15] Stack Trace: [00:01:15] [00:01:15] ----- Inner Stack Trace #1 (System.AggregateException) ----- [00:01:15] at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) [00:01:15] at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) [00:01:15] at System.Threading.Tasks.Task.Wait() [00:01:15] C:\projects\nat20-api\src\Nat20-Api\Repositories\Contexts\AzureTableContext.cs(16,0): at Nat20.Repositories.Contexts.AzureTableContext..ctor(String connectionString, String tableName) [00:01:15] C:\projects\nat20-api\src\Nat20-Api\Repositories\SpellRepository.cs(10,0): at Nat20.Repositories.SpellRepository..ctor(String connectionString) [00:01:15] C:\projects\nat20-api\src\Nat20-Api.Tests\Fixtures\SpellRepositoryFixture.cs(13,0): at Nat20_Api.Tests.Fixtures.SpellRepositoryFixture..ctor() [00:01:15] ----- Inner Stack Trace ----- [00:01:15] C:\Program Files (x86)\Jenkins\workspace\release_dotnet_master\Lib\WindowsRuntime\Core\Executor\Executor.cs(315,0): at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.d__4`1.MoveNext() [00:01:15] --- End of stack trace from previous location where exception was thrown --- [00:01:15] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() [00:01:15] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [00:01:15] C:\Program Files (x86)\Jenkins\workspace\release_dotnet_master\Lib\WindowsRuntime\Table\CloudTable.cs(289,0): at Microsoft.WindowsAzure.Storage.Table.CloudTable.<>c__DisplayClass41_0.<b__0>d.MoveNext() [00:01:15] ----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) ----- [00:01:15] [00:01:15] Nat20_Api.Tests.SpellsControllerTests.GetAllReturnsAllSpells [FAIL] [00:01:15] System.AggregateException : One or more errors occurred. (One or more errors occurred. (The REST version of this request is not supported by this release of the Storage Emulator. Please upgrade the storage emulator to the latest version. Refer to the following URL for more information: http://go.microsoft.com/fwlink/?LinkId=392237)) (The following constructor parameters did not have matching fixture data: SpellRepositoryFixture spellRepositoryFixture) [00:01:15] ---- System.AggregateException : One or more errors occurred. (The REST version of this request is not supported by this release of the Storage Emulator. Please upgrade the storage emulator to the latest version. Refer to the following URL for more information: http://go.microsoft.com/fwlink/?LinkId=392237) [00:01:15] -------- Microsoft.WindowsAzure.Storage.StorageException : The REST version of this request is not supported by this release of the Storage Emulator. Please upgrade the storage emulator to the latest version. Refer to the following URL for more information: http://go.microsoft.com/fwlink/?LinkId=392237 [00:01:15] ---- The following constructor parameters did not have matching fixture data: SpellRepositoryFixture spellRepositoryFixture [00:01:15] Stack Trace: [00:01:15] [00:01:15] ----- Inner Stack Trace #1 (System.AggregateException) ----- [00:01:15] at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) [00:01:15] at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) [00:01:15] at System.Threading.Tasks.Task.Wait() [00:01:15] C:\projects\nat20-api\src\Nat20-Api\Repositories\Contexts\AzureTableContext.cs(16,0): at Nat20.Repositories.Contexts.AzureTableContext..ctor(String connectionString, String tableName) [00:01:15] C:\projects\nat20-api\src\Nat20-Api\Repositories\SpellRepository.cs(10,0): at Nat20.Repositories.SpellRepository..ctor(String connectionString) [00:01:15] C:\projects\nat20-api\src\Nat20-Api.Tests\Fixtures\SpellRepositoryFixture.cs(13,0): at Nat20_Api.Tests.Fixtures.SpellRepositoryFixture..ctor() [00:01:15] ----- Inner Stack Trace ----- [00:01:15] C:\Program Files (x86)\Jenkins\workspace\release_dotnet_master\Lib\WindowsRuntime\Core\Executor\Executor.cs(315,0): at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.d__4`1.MoveNext() [00:01:15] --- End of stack trace from previous location where exception was thrown --- [00:01:15] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() [00:01:15] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [00:01:15] C:\Program Files (x86)\Jenkins\workspace\release_dotnet_master\Lib\WindowsRuntime\Table\CloudTable.cs(289,0): at Microsoft.WindowsAzure.Storage.Table.CloudTable.<>c__DisplayClass41_0.<b__0>d.MoveNext() [00:01:15] ----- Inner Stack Trace #2 (Xunit.Sdk.TestClassException) ----- [00:01:15] [00:01:15] Finished: Nat20-Api.Tests [00:01:15] === TEST EXECUTION SUMMARY === [00:01:15] Nat20-Api.Tests Total: 2, Errors: 0, Failed: 2, Skipped: 0, Time: 0.719s [00:01:15] SUMMARY: Total: 1 targets, Passed: 0, Failed: 1. [00:01:15] Command exited with code 1