Skip to content

Update changelog

Update changelog #1756

GitHub Actions / Canary Test Results failed Apr 8, 2024 in 0s

3317 tests run, 3298 passed, 18 skipped, 1 failed.

Annotations

Check failure on line 1 in tests/Tests.Reproduce/GitHubIssue4537.cs

See this annotation in the file changed.

@github-actions github-actions / Canary Test Results

GitHubIssue4537.CanDeserializeSnapshotShardFailure

Did not expect any exception, but found OpenSearch.Net.UnexpectedOpenSearchClientException: Object reference not set to an instance of an object.
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Tests.Reproduce.GitHubIssue5363.<>c.<DiagnosticListener_AuditTrailIsValid>b__1_0(IApiCallDetails data) in /home/runner/work/opensearch-net/opensearch-net/tests/Tests.Reproduce/GitHubIssue5363.cs:line 81
   at Tests.Reproduce.GitHubIssue5363.TestDiagnosticListener.<OnNext>b__9_1(KeyValuePair`2 v) in /home/runner/work/opensearch-net/opensearch-net/tests/Tests.Reproduce/GitHubIssue5363.cs:line 56
   at OpenSearch.Net.Diagnostics.TypedDiagnosticObserverBase`2.System.IObserver<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.OnNext(KeyValuePair`2 value) in /home/runner/work/opensearch-net/opensearch-net/src/OpenSearch.Net/Diagnostics/TypedDiagnosticObserverBase.cs:line 93
   at System.Diagnostics.DiagnosticListener.Write(String name, Object value)
   at System.Diagnostics.DiagnosticSource.StopActivity(Activity activity, Object args)
   at System.Diagnostics.DiagnosticSource.StopActivity[T](Activity activity, T args)
   at OpenSearch.Net.Diagnostics.Diagnostic`2.Dispose() in /home/runner/work/opensearch-net/opensearch-net/src/OpenSearch.Net/Diagnostics/Diagnostic.cs:line 76
   at OpenSearch.Net.RequestPipeline.Ping(Node node) in /home/runner/work/opensearch-net/opensearch-net/src/OpenSearch.Net/Transport/Pipeline/RequestPipeline.cs:line 420
   at OpenSearch.Net.Transport`1.Ping(IRequestPipeline pipeline, Node node) in /home/runner/work/opensearch-net/opensearch-net/src/OpenSearch.Net/Transport/Transport.cs:line 248
   at OpenSearch.Net.Transport`1.Request[TResponse](HttpMethod method, String path, PostData data, IRequestParameters requestParameters) in /home/runner/work/opensearch-net/opensearch-net/src/OpenSearch.Net/Transport/Transport.cs:line 96
   --- End of inner exception stack trace ---
   at OpenSearch.Net.Transport`1.Request[TResponse](HttpMethod method, String path, PostData data, IRequestParameters requestParameters) in /home/runner/work/opensearch-net/opensearch-net/src/OpenSearch.Net/Transport/Transport.cs:line 115
   at OpenSearch.Net.OpenSearchLowLevelClient.DoRequest[TResponse](HttpMethod method, String path, PostData data, IRequestParameters requestParameters) in /home/runner/work/opensearch-net/opensearch-net/src/OpenSearch.Net/OpenSearchLowLevelClient.cs:line 97
   at OpenSearch.Client.OpenSearchClient.DoRequest[TRequest,TResponse](TRequest request, IRequestParameters parameters, Func`2 bodySelector, Action`1 forceConfiguration) in /home/runner/work/opensearch-net/opensearch-net/src/OpenSearch.Client/OpenSearchClient.cs:line 193
   at OpenSearch.Client.OpenSearchClient.DoRequest[TRequest,TResponse](TRequest request, IRequestParameters parameters, Action`1 forceConfiguration) in /home/runner/work/opensearch-net/opensearch-net/src/OpenSearch.Client/OpenSearchClient.cs:line 171
   at OpenSearch.Client.NamespacedClientProxy.DoRequest[TRequest,TResponse](TRequest request, IRequestParameters parameters, Action`1 forceConfiguration) in /home/runner/work/opensearch-net/opensearch-net/src/OpenSearch.Client/OpenSearchClient.cs:line 50
   at OpenSearch.Client.Specification.SnapshotApi.SnapshotNamespace.Get(IGetSnapshotRequest request) in /home/runner/work/opensearch-net/opensearch-net/src/OpenSearch.Client/_Generated/OpenSearchClient.Snapshot.cs:line 454
   at OpenSearch.Client.Specification.SnapshotApi.SnapshotNamespace.Get(Name repository, Names snapshot, Func`2 selector) in /home/runner/work/opensearch-net/opensearch-net/src/OpenSearch.Client/_Generated/OpenSearchClient.Snapshot.cs:line 424
   at Tests.Reproduce.GitHubIssue4537.<>c__DisplayClass0_0.<CanDeserializeSnapshotShardFailure>b__0() in /home/runner/work/opensearch-net/opensearch-net/tests/Tests.Reproduce/GitHubIssue4537.cs:line 93
   at FluentAssertions.Specialized.FunctionAssertionHelpers.NotThrow[T](Func`1 subject, String because, Object[] becauseArgs).
Raw output
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Specialized.FunctionAssertionHelpers.NotThrow[T](Func`1 subject, String because, Object[] becauseArgs)
   at FluentAssertions.Specialized.FunctionAssertions`1.NotThrow(String because, Object[] becauseArgs)
   at Tests.Reproduce.GitHubIssue4537.CanDeserializeSnapshotShardFailure() in /home/runner/work/opensearch-net/opensearch-net/tests/Tests.Reproduce/GitHubIssue4537.cs:line 95