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

MongoDB.Driver.Core.Operations.MapReduceOutputToCollectionOperationTests.Execute_should_send_session_id_when_supported test fails intermittently

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Testing
    • Labels:
      None

      Description

      MongoDB server version: 4.4.0-rc0-17-g1a414c9

      [xUnit.net 00:01:02.80]     MongoDB.Driver.Core.Operations.MapReduceOutputToCollectionOperationTests.Execute_should_send_session_id_when_supported(async: False) [FAIL]
        X MongoDB.Driver.Core.Operations.MapReduceOutputToCollectionOperationTests.Execute_should_send_session_id_when_supported(async: False) [799ms]
        Error Message:
         MongoDB.Driver.MongoConnectionException : An exception occurred while receiving a message from the server.
      ---- System.IO.EndOfStreamException : Attempted to read past the end of the stream.
        Stack Trace:
           at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveBuffer() in C:\Users\Vincent\driver\src\MongoDB.Driver.Core\Core\Connections\BinaryConnection.cs:line 348
         at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveBuffer(Int32 responseTo, CancellationToken cancellationToken) in C:\Users\Vincent\driver\src\MongoDB.Driver.Core\Core\Connections\BinaryConnection.cs:line 368
         at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveMessage(Int32 responseTo, IMessageEncoderSelector encoderSelector, MessageEncoderSettings messageEncoderSettings, CancellationToken cancellationToken) in C:\Users\Vincent\driver\src\MongoDB.Driver.Core\Core\Connections\BinaryConnection.cs:line 465
         at MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool.AcquiredConnection.ReceiveMessage(Int32 responseTo, IMessageEncoderSelector encoderSelector, MessageEncoderSettings messageEncoderSettings, CancellationToken cancellationToken) in C:\Users\Vincent\driver\src\MongoDB.Driver.Core\Core\ConnectionPools\ExclusiveConnectionPool.cs:line 699
         at MongoDB.Driver.Core.WireProtocol.CommandUsingCommandMessageWireProtocol`1.Execute(IConnection connection, CancellationToken cancellationToken) in C:\Users\Vincent\driver\src\MongoDB.Driver.Core\Core\WireProtocol\CommandUsingCommandMessageWireProtocol.cs:line 113
         at MongoDB.Driver.Core.WireProtocol.CommandWireProtocol`1.Execute(IConnection connection, CancellationToken cancellationToken) in C:\Users\Vincent\driver\src\MongoDB.Driver.Core\Core\WireProtocol\CommandWireProtocol.cs:line 103
         at MongoDB.Driver.Core.Servers.Server.ServerChannel.ExecuteProtocol[TResult](IWireProtocol`1 protocol, ICoreSession session, CancellationToken cancellationToken) in C:\Users\Vincent\driver\src\MongoDB.Driver.Core\Core\Servers\Server.cs:line 1099
         at MongoDB.Driver.Core.Servers.Server.ServerChannel.Command[TResult](ICoreSession session, ReadPreference readPreference, DatabaseNamespace databaseNamespace, BsonDocument command, IEnumerable`1 commandPayloads, IElementNameValidator commandValidator, BsonDocument additionalOptions, Action`1 postWriteAction, CommandResponseHandling responseHandling, IBsonSerializer`1 resultSerializer, MessageEncoderSettings messageEncoderSettings, CancellationToken cancellationToken) in C:\Users\Vincent\driver\src\MongoDB.Driver.Core\Core\Servers\Server.cs:line 599
         at MongoDB.Driver.Core.Operations.RetryableWriteCommandOperationBase.ExecuteAttempt(RetryableWriteContext context, Int32 attempt, Nullable`1 transactionNumber, CancellationToken cancellationToken) in C:\Users\Vincent\driver\src\MongoDB.Driver.Core\Core\Operations\RetryableWriteCommandOperationBase.cs:line 161
         at MongoDB.Driver.Core.Operations.RetryableWriteOperationExecutor.Execute[TResult](IRetryableWriteOperation`1 operation, RetryableWriteContext context, CancellationToken cancellationToken) in C:\Users\Vincent\driver\src\MongoDB.Driver.Core\Core\Operations\RetryableWriteOperationExecutor.cs:line 77
         at MongoDB.Driver.Core.Operations.BulkUnmixedWriteOperationBase`1.ExecuteBatch(RetryableWriteContext context, Batch batch, CancellationToken cancellationToken) in C:\Users\Vincent\driver\src\MongoDB.Driver.Core\Core\Operations\BulkUnmixedWriteOperationBase.cs:line 205
         at MongoDB.Driver.Core.Operations.BulkUnmixedWriteOperationBase`1.ExecuteBatches(RetryableWriteContext context, CancellationToken cancellationToken) in C:\Users\Vincent\driver\src\MongoDB.Driver.Core\Core\Operations\BulkUnmixedWriteOperationBase.cs:line 234
         at MongoDB.Driver.Core.Operations.BulkUnmixedWriteOperationBase`1.Execute(RetryableWriteContext context, CancellationToken cancellationToken) in C:\Users\Vincent\driver\src\MongoDB.Driver.Core\Core\Operations\BulkUnmixedWriteOperationBase.cs:line 121
         at MongoDB.Driver.Core.Operations.BulkUnmixedWriteOperationBase`1.Execute(IWriteBinding binding, CancellationToken cancellationToken) in C:\Users\Vincent\driver\src\MongoDB.Driver.Core\Core\Operations\BulkUnmixedWriteOperationBase.cs:line 129
         at MongoDB.Driver.Core.Operations.OperationTestBase.ExecuteOperation[TResult](IWriteOperation`1 operation, Boolean useImplicitSession) in C:\Users\Vincent\driver\tests\MongoDB.Driver.Core.Tests\Core\Operations\OperationTestBase.cs:line 178
         at MongoDB.Driver.Core.Operations.OperationTestBase.Insert(IEnumerable`1 documents) in C:\Users\Vincent\driver\tests\MongoDB.Driver.Core.Tests\Core\Operations\OperationTestBase.cs:line 278
         at MongoDB.Driver.Core.Operations.MapReduceOutputToCollectionOperationTests.Execute_should_send_session_id_when_supported(Boolean async) in C:\Users\Vincent\driver\tests\MongoDB.Driver.Core.Tests\Core\Operations\MapReduceOutputToCollectionOperationTests.cs:line 588
      ----- Inner Stack Trace -----
         at MongoDB.Driver.Core.Misc.StreamExtensionMethods.ReadBytes(Stream stream, Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) in C:\Users\Vincent\driver\src\MongoDB.Driver.Core\Core\Misc\StreamExtensionMethods.cs:line 90
         at MongoDB.Driver.Core.Connections.BinaryConnection.ReceiveBuffer() in C:\Users\Vincent\driver\src\MongoDB.Driver.Core\Core\Connections\BinaryConnection.cs:line 332
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            vincent.kam Vincent Kam (Inactive)
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: