Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#549-Excel中缺少列时,应返回空和错误,不应该空指针异常 #551

Merged
merged 3 commits into from
Feb 1, 2024

#549-Excel中缺少列时,应返回空和错误,不应该空指针异常

4258d1d
Select commit
Loading
Failed to load commit list.
Merged

#549-Excel中缺少列时,应返回空和错误,不应该空指针异常 #551

#549-Excel中缺少列时,应返回空和错误,不应该空指针异常
4258d1d
Select commit
Loading
Failed to load commit list.
Azure Pipelines / dotnetcore.Magicodes.IE succeeded Jan 31, 2024 in 55m 19s

Build #20240131.1 had test failures

Details

Tests

  • Failed: 3 (0.42%)
  • Passed: 709 (99.58%)
  • Other: 0 (0.00%)
  • Total: 712
Code coverage

  • 1698 of 2547 branches covered (66.67%)
  • 3116 of 4035 lines covered (77.22%)

Annotations

Check failure on line 117 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnetcore.Magicodes.IE

Build log #L117

Testhost process for source(s) 'D:\a\1\s\src\EPPlus\EPPlusTest\bin\Release\net5.0\EPPlusTest.dll' exited with error: You must install or update .NET to run this application.
App: D:\a\1\s\src\EPPlus\EPPlusTest\bin\Release\net5.0\testhost.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '5.0.0' (x64)
.NET location: C:\hostedtoolcache\windows\dotnet
The following frameworks were found:
  6.0.26 at [C:\hostedtoolcache\windows\dotnet\shared\Microsoft.NETCore.App]
  7.0.15 at [C:\hostedtoolcache\windows\dotnet\shared\Microsoft.NETCore.App]
  8.0.1 at [C:\hostedtoolcache\windows\dotnet\shared\Microsoft.NETCore.App]
Learn more:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=5.0.0&arch=x64&rid=win-x64&os=win10
. Please check the diagnostic logs for more information.

Check failure on line 133 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnetcore.Magicodes.IE

Build log #L133

Test Run Aborted.

Check failure on line 220 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnetcore.Magicodes.IE

Build log #L220

[xUnit.net 00:09:53.05]     Magicodes.ExporterAndImporter.Tests.MagicodesMiddleware_Tests.HtmlHttpContentMediaType_ExportReceipt_Test [FAIL]

Check failure on line 247 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnetcore.Magicodes.IE

Build log #L247

[xUnit.net 00:09:47.35]     Magicodes.ExporterAndImporter.Tests.MagicodesMiddleware_Tests.HtmlHttpContentMediaType_ExportReceipt_Test [FAIL]

Check failure on line 1 in Magicodes.ExporterAndImporter.Tests.MagicodesMiddleware_Tests.HtmlHttpContentMediaType_ExportReceipt_Test

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnetcore.Magicodes.IE

Magicodes.ExporterAndImporter.Tests.MagicodesMiddleware_Tests.HtmlHttpContentMediaType_ExportReceipt_Test

System.Threading.Tasks.TaskCanceledException : The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
---- System.TimeoutException : A task was canceled.
-------- System.Threading.Tasks.TaskCanceledException : A task was canceled.
Raw output
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Magicodes.ExporterAndImporter.Tests.MagicodesMiddleware_Tests.HtmlHttpContentMediaType_ExportReceipt_Test() in D:\a\1\s\src\Magicodes.ExporterAndImporter.Tests\MagicodesMiddleware_Tests.cs:line 205
--- End of stack trace from previous location ---
----- Inner Stack Trace -----

----- Inner Stack Trace -----
   at Microsoft.AspNetCore.TestHost.ResponseBodyReaderStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
   at System.IO.Stream.<CopyToAsync>g__Core|29_0(Stream source, Stream destination, Int32 bufferSize, CancellationToken cancellationToken)
   at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)

Check failure on line 1 in Magicodes.ExporterAndImporter.Tests.MagicodesMiddleware_Tests.HtmlHttpContentMediaType_ExportReceipt_Test

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnetcore.Magicodes.IE

Magicodes.ExporterAndImporter.Tests.MagicodesMiddleware_Tests.HtmlHttpContentMediaType_ExportReceipt_Test

System.Threading.Tasks.TaskCanceledException : The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
---- System.TimeoutException : A task was canceled.
-------- System.Threading.Tasks.TaskCanceledException : A task was canceled.
Raw output
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Magicodes.ExporterAndImporter.Tests.MagicodesMiddleware_Tests.HtmlHttpContentMediaType_ExportReceipt_Test() in D:\a\1\s\src\Magicodes.ExporterAndImporter.Tests\MagicodesMiddleware_Tests.cs:line 205
--- End of stack trace from previous location ---
----- Inner Stack Trace -----

----- Inner Stack Trace -----
   at Microsoft.AspNetCore.TestHost.ResponseBodyReaderStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
   at System.IO.Stream.<CopyToAsync>g__Core|27_0(Stream source, Stream destination, Int32 bufferSize, CancellationToken cancellationToken)
   at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)

Check failure on line 1 in Magicodes.ExporterAndImporter.Tests.MagicodesMiddleware_Tests.HtmlHttpContentMediaType_ExportReceipt_Test

See this annotation in the file changed.

@azure-pipelines azure-pipelines / dotnetcore.Magicodes.IE

Magicodes.ExporterAndImporter.Tests.MagicodesMiddleware_Tests.HtmlHttpContentMediaType_ExportReceipt_Test

System.Threading.Tasks.TaskCanceledException : The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
---- System.TimeoutException : A task was canceled.
-------- System.Threading.Tasks.TaskCanceledException : A task was canceled.
Raw output
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Magicodes.ExporterAndImporter.Tests.MagicodesMiddleware_Tests.HtmlHttpContentMediaType_ExportReceipt_Test() in D:\a\1\s\src\Magicodes.ExporterAndImporter.Tests\MagicodesMiddleware_Tests.cs:line 205
--- End of stack trace from previous location ---
----- Inner Stack Trace -----

----- Inner Stack Trace -----
   at Microsoft.AspNetCore.TestHost.ResponseBodyReaderStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
   at System.IO.Stream.<CopyToAsync>g__Core|27_0(Stream source, Stream destination, Int32 bufferSize, CancellationToken cancellationToken)
   at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)