Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2575

Re-enable failing tests in WriteProtocolSpecification

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Test Coverage
    • Labels:
      None

      Two tests in WriteProtocolSpecification are failing against latest server nightlies with the error:

      • should execute split acknowledged inserts
      • should report write errors on split acknowledged inserts
      [2017/08/03 12:55:50.040] com.mongodb.connection.WriteProtocolSpecification > should execute split acknowledged inserts FAILED
       [2017/08/03 12:55:50.040]     com.mongodb.WriteConcernException: Write failed with error code 10334 and error message 'BSONObj size: 45000219 (0x2AEA61B) is invalid. Size must be between 0 and 16793600(16MB) First element: insert: "com.mongodb.connection.WriteProtocolSpecification"'
       [2017/08/03 12:55:50.041]         at com.mongodb.connection.ProtocolHelper.throwWriteException(ProtocolHelper.java:194)
       [2017/08/03 12:55:50.041]         at com.mongodb.connection.ProtocolHelper.getWriteResult(ProtocolHelper.java:62)
       [2017/08/03 12:55:50.041]         at com.mongodb.connection.WriteProtocol.execute(WriteProtocol.java:111)
       [2017/08/03 12:55:50.041]         at com.mongodb.connection.InsertProtocol.execute(InsertProtocol.java:60)
       [2017/08/03 12:55:50.041]         at com.mongodb.connection.InsertProtocol.execute(InsertProtocol.java:39)
       [2017/08/03 12:55:50.041]         at com.mongodb.connection.ProtocolTestHelper.execute(ProtocolTestHelper.java:31)
       [2017/08/03 12:55:50.041]         at com.mongodb.connection.WriteProtocolSpecification.should execute split acknowledged inserts(WriteProtocolSpecification.groovy:148)
       [2017/08/03 12:55:50.041]     com.mongodb.WriteConcernException: Write failed with error code 10334 and error message 'BSONObj size: 45000219 (0x2AEA61B) is invalid. Size must be between 0 and 16793600(16MB) First element: insert: "com.mongodb.connection.WriteProtocolSpecification"'
       [2017/08/03 12:55:50.041] [Test com.mongodb.connection.WriteProtocolSpecification > should stop writing on write error when an ordered unacknowledged inserts must be split]
      

      Example here: https://evergreen.mongodb.com/task_log_raw/mongo_java_driver_tests_jdk6__version~latest_os~rhel62_topology~sharded_cluster_auth~noauth_ssl~nossl_jdk~jdk6_test_530386fca00e590f9b9e81bb8b0812b71b6169ab_17_08_03_16_29_28/0?type=T#L11700

      SERVER-30486 has been reported to address the mongos defect. When that issue is closed this test can be re-enabled.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: