Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3726

Fix GroupJoin_syntax_with_select_many_and_DefaultIfEmpty failure on latest

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.14.0
    • Affects Version/s: None
    • Component/s: Testing

      Recently we started to see a new failure on latest: https://evergreen.mongodb.com/task_log_raw/dot_net_driver_unsecure_tests_linux__version~latest_os~ubuntu_1804_topology~replicaset_auth~noauth_ssl~nossl_test_netstandard15_patch_dd1d9ae1a014dde1f6007b30eb32359f88f268e5_60df3e660305b95880bfc18a_21_07_02_16_27_53/0?type=T#L1303.

      Stack trace:

       [xUnit.net 00:00:51.57]     Tests.MongoDB.Driver.Linq.MongoQueryableTests.GroupJoin_syntax_with_select_many_and_DefaultIfEmpty [FAIL]
       [2021/07/02 16:50:30.504]   X Tests.MongoDB.Driver.Linq.MongoQueryableTests.GroupJoin_syntax_with_select_many_and_DefaultIfEmpty [18ms]
       [2021/07/02 16:50:30.505]   Error Message:
       [2021/07/02 16:50:30.505]    MongoDB.Bson.BsonSerializationException : No matching creator found.
       [2021/07/02 16:50:30.505]   Stack Trace:
       [2021/07/02 16:50:30.505]      at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.ChooseBestCreator(Dictionary`2 values) in /data/mci/12aceca8b57bc2d10cc9e75ce2efd4cb/mongo-csharp-driver/src/MongoDB.Bson/Serialization/Serializers/BsonClassMapSerializer.cs:line 465
       [2021/07/02 16:50:30.505]    at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.CreateInstanceUsingCreator(Dictionary`2 values) in /data/mci/12aceca8b57bc2d10cc9e75ce2efd4cb/mongo-csharp-driver/src/MongoDB.Bson/Serialization/Serializers/BsonClassMapSerializer.cs:line 473
       [2021/07/02 16:50:30.505]    at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.DeserializeClass(BsonDeserializationContext context) in /data/mci/12aceca8b57bc2d10cc9e75ce2efd4cb/mongo-csharp-driver/src/MongoDB.Bson/Serialization/Serializers/BsonClassMapSerializer.cs:line 340
       [2021/07/02 16:50:30.505]    at MongoDB.Bson.Serialization.BsonClassMapSerializer`1.Deserialize(BsonDeserializationContext context, BsonDeserializationArgs args) in /data/mci/12aceca8b57bc2d10cc9e75ce2efd4cb/mongo-csharp-driver/src/MongoDB.Bson/Serialization/Serializers/BsonClassMapSerializer.cs:line 129
       [2021/07/02 16:50:30.505]    at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1 serializer, BsonDeserializationContext context) in /data/mci/12aceca8b57bc2d10cc9e75ce2efd4cb/mongo-csharp-driver/src/MongoDB.Bson/Serialization/IBsonSerializerExtensions.cs:line 49
       [2021/07/02 16:50:30.505]    at MongoDB.Bson.Serialization.Serializers.EnumerableSerializerBase`2.Deserialize(BsonDeserializationContext context, BsonDeserializationArgs args) in /data/mci/12aceca8b57bc2d10cc9e75ce2efd4cb/mongo-csharp-driver/src/MongoDB.Bson/Serialization/Serializers/EnumerableSerializerBase.cs:line 272
       [2021/07/02 16:50:30.505]    at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1 serializer, BsonDeserializationContext context) in /data/mci/12aceca8b57bc2d10cc9e75ce2efd4cb/mongo-csharp-driver/src/MongoDB.Bson/Serialization/IBsonSerializerExtensions.cs:line 49
       [2021/07/02 16:50:30.505]    at MongoDB.Driver.Core.Operations.AggregateOperation`1.CursorDeserializer.Deserialize(BsonDeserializationContext context, BsonDeserializationArgs args) in /data/mci/12aceca8b57bc2d10cc9e75ce2efd4cb/mongo-csharp-driver/src/MongoDB.Driver.Core/Core/Operations/AggregateOperation.cs:line 498
       [2021/07/02 16:50:30.505]    at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1 serializer, BsonDeserializationContext context) in /data/mci/12aceca8b57bc2d10cc9e75ce2efd4cb/mongo-csharp-driver/src/MongoDB.Bson/Serialization/IBsonSerializerExtensions.cs:line 49
       [2021/07/02 16:50:30.505]    at MongoDB.Driver.Core.Operations.AggregateOperation`1.AggregateResultDeserializer.Deserialize(BsonDeserializationContext context, BsonDeserializationArgs args) in /data/mci/12aceca8b57bc2d10cc9e75ce2efd4cb/mongo-csharp-driver/src/MongoDB.Driver.Core/Core/Operations/AggregateOperation.cs:line 450
       [2021/07/02 16:50:30.505]    at MongoDB.Bson.Serialization.IBsonSerializerExtensions.Deserialize[TValue](IBsonSerializer`1 serializer, BsonDeserializationContext context) in /data/mci/12aceca8b57bc2d10cc9e75ce2efd4cb/mongo-csharp-driver/src/MongoDB.Bson/Serialization/IBsonSerializerExtensions.cs:line 49
       [2021/07/02 16:50:30.505]    at MongoDB.Driver.Core.WireProtocol.CommandUsingCommandMessageWireProtocol`1.ProcessResponse(ConnectionId connectionId, CommandMessage responseMessage) in /data/mci/12aceca8b57bc2d10cc9e75ce2efd4cb/mongo-csharp-driver/src/MongoDB.Driver.Core/Core/WireProtocol/CommandUsingCommandMessageWireProtocol.cs:line 546
       [2021/07/02 16:50:30.505]    at MongoDB.Driver.Core.WireProtocol.CommandUsingCommandMessageWireProtocol`1.<ExecuteAsync>d__20.MoveNext() in /data/mci/12aceca8b57bc2d10cc9e75ce2efd4cb/mongo-csharp-driver/src/MongoDB.Driver.Core/Core/WireProtocol/CommandUsingCommandMessageWireProtocol.cs:line 207
       [2021/07/02 16:50:30.505] --- End of stack trace from previous location where exception was thrown ---
       [2021/07/02 16:50:30.505]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       [2021/07/02 16:50:30.505]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       [2021/07/02 16:50:30.505]    at MongoDB.Driver.Core.Servers.Server.ServerChannel.<ExecuteProtocolAsync>d__34`1.MoveNext() in /data/mci/12aceca8b57bc2d10cc9e75ce2efd4cb/mongo-csharp-driver/src/MongoDB.Driver.Core/Core/Servers/Server.cs:line 1270
       [2021/07/02 16:50:30.505] --- End of stack trace from previous location where exception was thrown ---
       [2021/07/02 16:50:30.505]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       [2021/07/02 16:50:30.505]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       [2021/07/02 16:50:30.505]    at MongoDB.Driver.Core.Operations.RetryableReadOperationExecutor.<ExecuteAsync>d__3`1.MoveNext() in /data/mci/12aceca8b57bc2d10cc9e75ce2efd4cb/mongo-csharp-driver/src/MongoDB.Driver.Core/Core/Operations/RetryableReadOperationExecutor.cs:line 104
       [2021/07/02 16:50:30.505] --- End of stack trace from previous location where exception was thrown ---
       [2021/07/02 16:50:30.505]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       [2021/07/02 16:50:30.505]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       [2021/07/02 16:50:30.505]    at MongoDB.Driver.Core.Operations.ReadCommandOperation`1.<ExecuteAsync>d__8.MoveNext()
       [2021/07/02 16:50:30.505] --- End of stack trace from previous location where exception was thrown ---
       [2021/07/02 16:50:30.505]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       [2021/07/02 16:50:30.505]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       [2021/07/02 16:50:30.505]    at MongoDB.Driver.Core.Operations.AggregateOperation`1.<ExecuteAsync>d__61.MoveNext()
       [2021/07/02 16:50:30.505] --- End of stack trace from previous location where exception was thrown ---
       [2021/07/02 16:50:30.505]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       [2021/07/02 16:50:30.505]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       [2021/07/02 16:50:30.505]    at MongoDB.Driver.Core.Operations.AggregateOperation`1.<ExecuteAsync>d__60.MoveNext()
       [2021/07/02 16:50:30.505] --- End of stack trace from previous location where exception was thrown ---
       [2021/07/02 16:50:30.505]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       [2021/07/02 16:50:30.505]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       [2021/07/02 16:50:30.505]    at MongoDB.Driver.OperationExecutor.<ExecuteReadOperationAsync>d__3`1.MoveNext()
       [2021/07/02 16:50:30.505] --- End of stack trace from previous location where exception was thrown ---
       [2021/07/02 16:50:30.505]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       [2021/07/02 16:50:30.505]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       [2021/07/02 16:50:30.505]    at MongoDB.Driver.MongoCollectionImpl`1.<ExecuteReadOperationAsync>d__98`1.MoveNext()
       [2021/07/02 16:50:30.505] --- End of stack trace from previous location where exception was thrown ---
       [2021/07/02 16:50:30.505]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       [2021/07/02 16:50:30.505]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       [2021/07/02 16:50:30.505]    at MongoDB.Driver.MongoCollectionImpl`1.<AggregateAsync>d__22`1.MoveNext() in /data/mci/12aceca8b57bc2d10cc9e75ce2efd4cb/mongo-csharp-driver/src/MongoDB.Driver/MongoCollectionImpl.cs:line 154
       [2021/07/02 16:50:30.505] --- End of stack trace from previous location where exception was thrown ---
       [2021/07/02 16:50:30.505]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       [2021/07/02 16:50:30.505]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       [2021/07/02 16:50:30.505]    at MongoDB.Driver.MongoCollectionImpl`1.<UsingImplicitSessionAsync>d__106`1.MoveNext()
       [2021/07/02 16:50:30.505] --- End of stack trace from previous location where exception was thrown ---
       [2021/07/02 16:50:30.505]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       [2021/07/02 16:50:30.505]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       [2021/07/02 16:50:30.505]    at MongoDB.Driver.IAsyncCursorSourceExtensions.<ToListAsync>d__16`1.MoveNext()
       [2021/07/02 16:50:30.505] --- End of stack trace from previous location where exception was thrown ---
       [2021/07/02 16:50:30.505]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       [2021/07/02 16:50:30.505]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       [2021/07/02 16:50:30.505]    at Tests.MongoDB.Driver.Linq.MongoQueryableTests.Assert[T](IMongoQueryable`1 queryable, Int32 resultCount, String[] expectedStages) in /data/mci/12aceca8b57bc2d10cc9e75ce2efd4cb/mongo-csharp-driver/tests/MongoDB.Driver.Tests/Linq/MongoQueryableTests.cs:line 1754
      

            Assignee:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Reporter:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: