Skip to content

broken

broken #1055

Re-run triggered September 11, 2024 18:37
Status Failure
Total duration 7m 58s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 1 warning
Serval.ApiServer.AssessmentEngineTests ► CreateAsync: src/Serval/src/Serval.Client/Client.g.cs#L846
Failed test found in: src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx Error: System.Net.Http.HttpRequestException : Error while copying content to a stream. ----> System.IO.IOException : No message provided ----> System.NullReferenceException : Object reference not set to an instance of an object.
Serval.ApiServer.AssessmentEngineTests ► GetAllResultsAsync: src/Serval/src/Serval.Client/Client.g.cs#L2202
Failed test found in: src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx Error: System.Net.Http.HttpRequestException : Error while copying content to a stream. ----> System.IO.IOException : No message provided ----> System.NullReferenceException : Object reference not set to an instance of an object.
Serval.ApiServer.AssessmentEngineTests ► StartJobAsync: src/Serval/src/Serval.Client/Client.g.cs#L1700
Failed test found in: src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx Error: System.Net.Http.HttpRequestException : Error while copying content to a stream. ----> System.IO.IOException : No message provided ----> System.NullReferenceException : Object reference not set to an instance of an object.
Serval.ApiServer.DataFilesTests ► CreateAsync(["create:files", "read:files"],201): src/Serval/src/Serval.Client/Client.g.cs#L2787
Failed test found in: src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx Error: System.Net.Http.HttpRequestException : Error while copying content to a stream. ----> System.IO.IOException : No message provided ----> System.NullReferenceException : Object reference not set to an instance of an object.
Serval.ApiServer.DataFilesTests ► CreateAsync(["create:files", "read:files"],400): src/Serval/test/Serval.ApiServer.IntegrationTests/DataFilesTests.cs#L144
Failed test found in: src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx Error: Assert.That(caughtException, expression) Expected: <Serval.Client.ServalApiException> But was: <System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.IO.IOException ---> System.NullReferenceException: Object reference not set to an instance of an object. at Serval.Shared.Controllers.ErrorResultFilter.OnResultExecuted(ResultExecutedContext context) in /home/runner/work/serval/serval/src/Serval/src/Serval.Shared/Controllers/ErrorResultFilter.cs:line 12 at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeNextResultFilterAsync[TFilter,TFilterAsync]() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeAlwaysRunResultFilters() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Http.Timeouts.RequestTimeoutsMiddleware.<>c__DisplayClass5_0.<<Invoke>g__SetTimeoutAsync|0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.TestHost.HttpContextBuilder.<>c__DisplayClass23_0.<<SendAsync>g__RunRequestAsync|0>d.MoveNext() --- End of inner exception stack trace --- at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result) at System.IO.Pipelines.Pipe.GetReadAsyncResult() at Microsoft.AspNetCore.TestHost.ResponseBodyReaderStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken) at System.IO.Stream.<CopyToAsync>g__Core|27_0(Stream source, Stream destination, Int32 bufferSize, CancellationToken cancellationToken) at System.Net.Http.StreamToStreamCopy.<CopyAsync>g__DisposeSourceAsync|1_0(Task copyTask, Stream source) at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer) --- End of inner exception stack trace --- at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer) at System.Net.Http.HttpContent.WaitAndReturnAsync[TState,TResult](Task waitTask, TState state, Func`2 returnFunc) at Serval.Client.DataFilesClient.CreateAsync(FileParameter file, FileFormat format, String name, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Serval/src/Serval.Client/Client.g.cs:line 2787 at Serval.ApiServer.DataFilesTests.<>c__DisplayClass11_1.<<CreateAsync>b__1>d.MoveNext() in /home/runner/work/serval/serval/src/Serval/test/Serval.ApiServer.IntegrationTests/DataFilesTests.cs:line 146 --- End of stack trace from previous location --- at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted() at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter) at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke) at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke) at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
Serval.ApiServer.DataFilesTests ► DeleteAsync(["delete:files", "read:files"],200,"000000000000000000000001"): src/Serval/src/Serval.Client/Client.g.cs#L2913
Failed test found in: src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx Error: System.Net.Http.HttpRequestException : Error while copying content to a stream. ----> System.IO.IOException : No message provided ----> System.NullReferenceException : Object reference not set to an instance of an object.
Serval.ApiServer.DataFilesTests ► DeleteAsync(["delete:files", "read:files"],403,"000000000000000000000003"): src/Serval/test/Serval.ApiServer.IntegrationTests/DataFilesTests.cs#L302
Failed test found in: src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx Error: Assert.That(caughtException, expression) Expected: <Serval.Client.ServalApiException> But was: <System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.IO.IOException ---> System.NullReferenceException: Object reference not set to an instance of an object. at Serval.Shared.Controllers.ErrorResultFilter.OnResultExecuted(ResultExecutedContext context) in /home/runner/work/serval/serval/src/Serval/src/Serval.Shared/Controllers/ErrorResultFilter.cs:line 12 at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeNextResultFilterAsync[TFilter,TFilterAsync]() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeAlwaysRunResultFilters() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Http.Timeouts.RequestTimeoutsMiddleware.<>c__DisplayClass5_0.<<Invoke>g__SetTimeoutAsync|0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.TestHost.HttpContextBuilder.<>c__DisplayClass23_0.<<SendAsync>g__RunRequestAsync|0>d.MoveNext() --- End of inner exception stack trace --- at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result) at System.IO.Pipelines.Pipe.GetReadAsyncResult() at Microsoft.AspNetCore.TestHost.ResponseBodyReaderStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken) at System.IO.Stream.<CopyToAsync>g__Core|27_0(Stream source, Stream destination, Int32 bufferSize, CancellationToken cancellationToken) at System.Net.Http.StreamToStreamCopy.<CopyAsync>g__DisposeSourceAsync|1_0(Task copyTask, Stream source) at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer) --- End of inner exception stack trace --- at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer) at System.Net.Http.HttpContent.WaitAndReturnAsync[TState,TResult](Task waitTask, TState state, Func`2 returnFunc) at Serval.Client.DataFilesClient.DeleteAsync(String id, CancellationToken cancellationToken) in /home/runner/work/serval/serval/src/Serval/src/Serval.Client/Client.g.cs:line 3140 at Serval.ApiServer.DataFilesTests.<>c__DisplayClass14_0.<<DeleteAsync>b__0>d.MoveNext() in /home/runner/work/serval/serval/src/Serval/test/Serval.ApiServer.IntegrationTests/DataFilesTests.cs:line 304 --- End of stack trace from previous location --- at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted() at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter) at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke) at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke) at NUnit.Framework.Assert.ThrowsAsync(IResolveConstraint expression, AsyncTestDelegate code, String message, Object[] args)>
Serval.ApiServer.DataFilesTests ► DeleteAsync(["read:files"],403,"000000000000000000000001"): src/Serval/src/Serval.Client/Client.g.cs#L2662
Failed test found in: src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx Error: System.Net.Http.HttpRequestException : Error while copying content to a stream. ----> System.IO.IOException : No message provided ----> System.NullReferenceException : Object reference not set to an instance of an object.
Serval.ApiServer.DataFilesTests ► DownloadAsync(["create:files", "read:files"],200,""): src/Serval/src/Serval.Client/Client.g.cs#L2787
Failed test found in: src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx Error: System.Net.Http.HttpRequestException : Error while copying content to a stream. ----> System.IO.IOException : No message provided ----> System.NullReferenceException : Object reference not set to an instance of an object.
Serval.ApiServer.DataFilesTests ► GetAllAsync(["read:files"],200): src/Serval/src/Serval.Client/Client.g.cs#L2662
Failed test found in: src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx Error: System.Net.Http.HttpRequestException : Error while copying content to a stream. ----> System.IO.IOException : No message provided ----> System.NullReferenceException : Object reference not set to an instance of an object.
Serval.ApiServer.DataFilesTests ► GetByIDAsync(["read:files"],200,"000000000000000000000001"): src/Serval/src/Serval.Client/Client.g.cs#L2913
Failed test found in: src/Serval/test/Serval.ApiServer.IntegrationTests/TestResults/test-results.trx Error: System.Net.Http.HttpRequestException : Error while copying content to a stream. ----> System.IO.IOException : No message provided ----> System.NullReferenceException : Object reference not set to an instance of an object.
Build
Failed test were found and 'fail-on-error' option is set to true
Build
Process completed with exit code 1.
Build
Test report summary exceeded limit of 65535 bytes and will be trimmed