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

failed: DocumentationSamples.testQueryingArrayValues

    XMLWordPrintableJSON

Details

    • Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

    Description

      test on tests-jdk6-unsecure__version~5.0_os~linux_topology~replicaset_auth~noauth_ssl~nossl_jdk~jdk6

      Host: i-0918184916b0d6333
      Project: mongo-java-driver-3.12
      Commit: d08b993c

      Failing Test Logs:

      • documentation.DocumentationSamples.testQueryingArrayValues - Logs | History

      Task Logs:

      test task_log

      Logs:

          20:54:48.505 [nioEventLoopGroup-2-4] INFO  org.mongodb.driver.cluster - No server chosen by ReadPreferenceServerSelector{readPreference=primary} from cluster description ClusterDescription{type=REPLICA_SET, connectionMode=MULTIPLE, serverDescriptions=[ServerDescription{address=localhost:27019, type=REPLICA_SET_ARBITER, state=CONNECTED, ok=true, version=ServerVersion{versionList=[5, 0, 17]}, minWireVersion=0, maxWireVersion=13, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=9483260, setName='repl0', canonicalAddress=localhost:27019, hosts=[localhost:27017, localhost:27018], passives=[], arbiters=[localhost:27019], primary='localhost:27017', tagSet=TagSet{[]}, electionId=null, setVersion=1, lastWriteDate=Fri May 26 20:54:47 UTC 2023, lastUpdateTimeNanos=1159897889400}, ServerDescription{address=localhost:27018, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, version=ServerVersion{versionList=[5, 0, 17]}, minWireVersion=0, maxWireVersion=13, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=12455033, setName='repl0', canonicalAddress=localhost:27018, hosts=[localhost:27017, localhost:27018], passives=[], arbiters=[localhost:27019], primary='localhost:27017', tagSet=TagSet{[Tag{name='dc', value='pa'}, Tag{name='ordinal', value='two'}]}, electionId=null, setVersion=1, lastWriteDate=Fri May 26 20:54:48 UTC 2023, lastUpdateTimeNanos=1159895921191}, ServerDescription{address=localhost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoNotPrimaryException: Command failed with error 10107 (NotWritablePrimary): 'Failing command due to 'failCommand' failpoint' on server localhost:27017. The full response is {"topologyVersion": {"processId": {"$oid": "64711c468d8b8e85b4f4bef9"}, "counter": {"$numberLong": "6"}}, "ok": 0.0, "errmsg": "Failing command due to 'failCommand' failpoint", "code": 10107, "codeName": "NotWritablePrimary", "$clusterTime": {"clusterTime": {"$timestamp": {"t": 1685134488, "i": 4}}, "signature": {"hash": {"$binary": "AAAAAAAAAAAAAAAAAAAAAAAAAAA=", "$type": "00"}, "keyId": {"$numberLong": "0"}}}, "operationTime": {"$timestamp": {"t": 1685134488, "i": 4}}}}}]}. Waiting for 30000 ms before timing out
          20:54:48.815 [cluster-ClusterId{value='64711c9884a9eb1a2efa8d91', description='null'}-localhost:27017] INFO  org.mongodb.driver.cluster - Discovered replica set primary localhost:27017
          20:54:48.836 [nioEventLoopGroup-2-5] INFO  org.mongodb.driver.connection - Opened connection [connectionId{localValue:9, serverValue:47}] to localhost:27017
           ? testResumeOneTimeOnError (1279 ms)
           ? testMissingResumeTokenThrowsException (130 ms)
           ? testNoResumeErrors (77 ms)
           ? testNoResumeForAggregateErrors (41 ms)
          20:54:53.904 [Test worker] INFO  org.mongodb.driver.cluster - No server chosen by WritableServerSelector from cluster description ClusterDescription{type=REPLICA_SET, connectionMode=MULTIPLE, serverDescriptions=[ServerDescription{address=localhost:27019, type=REPLICA_SET_ARBITER, state=CONNECTED, ok=true, version=ServerVersion{versionList=[5, 0, 17]}, minWireVersion=0, maxWireVersion=13, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=1388423, setName='repl0', canonicalAddress=localhost:27019, hosts=[localhost:27017, localhost:27018], passives=[], arbiters=[localhost:27019], primary='localhost:27017', tagSet=TagSet{[]}, electionId=null, setVersion=1, lastWriteDate=Fri May 26 20:54:52 UTC 2023, lastUpdateTimeNanos=1165448434133}, ServerDescription{address=localhost:27018, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, version=ServerVersion{versionList=[5, 0, 17]}, minWireVersion=0, maxWireVersion=13, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=7512726, setName='repl0', canonicalAddress=localhost:27018, hosts=[localhost:27017, localhost:27018], passives=[], arbiters=[localhost:27019], primary='localhost:27017', tagSet=TagSet{[Tag{name='dc', value='pa'}, Tag{name='ordinal', value='two'}]}, electionId=null, setVersion=1, lastWriteDate=Fri May 26 20:54:53 UTC 2023, lastUpdateTimeNanos=1165446812786}, ServerDescription{address=localhost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoNotPrimaryException: Command failed with error 10107 (NotWritablePrimary): 'not master' on server localhost:27017. The full response is {"topologyVersion": {"processId": {"$oid": "64711c468d8b8e85b4f4bef9"}, "counter": {"$numberLong": "8"}}, "ok": 0.0, "errmsg": "not master", "code": 10107, "codeName": "NotWritablePrimary", "$clusterTime": {"clusterTime": {"$timestamp": {"t": 1685134493, "i": 9}}, "signature": {"hash": {"$binary": "AAAAAAAAAAAAAAAAAAAAAAAAAAA=", "$type": "00"}, "keyId": {"$numberLong": "0"}}}, "operationTime": {"$timestamp": {"t": 1685134493, "i": 9}}}}}]}. Waiting for 30000 ms before timing out
          20:54:54.354 [cluster-ClusterId{value='64711c9d84a9eb1a2efa8db4', description='null'}-localhost:27017] INFO  org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, version=ServerVersion{versionList=[5, 0, 17]}, minWireVersion=0, maxWireVersion=13, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=5707385, setName='repl0', canonicalAddress=localhost:27017, hosts=[localhost:27017, localhost:27018], passives=[], arbiters=[localhost:27019], primary='null', tagSet=TagSet{[Tag{name='dc', value='ny'}, Tag{name='ordinal', value='one'}]}, electionId=null, setVersion=1, lastWriteDate=Fri May 26 20:54:53 UTC 2023, lastUpdateTimeNanos=1165948332601}
          20:54:54.355 [cluster-ClusterId{value='64711c9d84a9eb1a2efa8db4', description='null'}-localhost:27019] INFO  org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27019, type=REPLICA_SET_ARBITER, state=CONNECTED, ok=true, version=ServerVersion{versionList=[5, 0, 17]}, minWireVersion=0, maxWireVersion=13, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=1378549, setName='repl0', canonicalAddress=localhost:27019, hosts=[localhost:27017, localhost:27018], passives=[], arbiters=[localhost:27019], primary='null', tagSet=TagSet{[]}, electionId=null, setVersion=1, lastWriteDate=Fri May 26 20:54:53 UTC 2023, lastUpdateTimeNanos=1165949484236}
          20:54:55.859 [cluster-ClusterId{value='64711c9d84a9eb1a2efa8db4', description='null'}-localhost:27018] INFO  org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27018, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, version=ServerVersion{versionList=[5, 0, 17]}, minWireVersion=0, maxWireVersion=13, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=4189143, setName='repl0', canonicalAddress=localhost:27018, hosts=[localhost:27017, localhost:27018], passives=[], arbiters=[localhost:27019], primary='null', tagSet=TagSet{[Tag{name='dc', value='pa'}, Tag{name='ordinal', value='two'}]}, electionId=null, setVersion=1, lastWriteDate=Fri May 26 20:54:53 UTC 2023, lastUpdateTimeNanos=1167453345029}
          20:54:57.924 [cluster-ClusterId{value='64711c9784a9eb1a2efa8d90', description='null'}-localhost:27019] INFO  org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27019, type=REPLICA_SET_ARBITER, state=CONNECTED, ok=true, version=ServerVersion{versionList=[5, 0, 17]}, minWireVersion=0, maxWireVersion=13, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=6344272, setName='repl0', canonicalAddress=localhost:27019, hosts=[localhost:27017, localhost:27018], passives=[], arbiters=[localhost:27019], primary='null', tagSet=TagSet{[]}, electionId=null, setVersion=1, lastWriteDate=Fri May 26 20:54:53 UTC 2023, lastUpdateTimeNanos=1169518684672}
          20:54:57.925 [cluster-ClusterId{value='64711c9784a9eb1a2efa8d90', description='null'}-localhost:27018] INFO  org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27018, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, version=ServerVersion{versionList=[5, 0, 17]}, minWireVersion=0, maxWireVersion=13, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=6773369, setName='repl0', canonicalAddress=localhost:27018, hosts=[localhost:27017, localhost:27018], passives=[], arbiters=[localhost:27019], primary='null', tagSet=TagSet{[Tag{name='dc', value='pa'}, Tag{name='ordinal', value='two'}]}, electionId=null, setVersion=1, lastWriteDate=Fri May 26 20:54:53 UTC 2023, lastUpdateTimeNanos=1169519023645}
          20:54:57.926 [cluster-ClusterId{value='64711c9784a9eb1a2efa8d90', description='null'}-localhost:27017] INFO  org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, version=ServerVersion{versionList=[5, 0, 17]}, minWireVersion=0, maxWireVersion=13, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=10361535, setName='repl0', canonicalAddress=localhost:27017, hosts=[localhost:27017, localhost:27018], passives=[], arbiters=[localhost:27019], primary='null', tagSet=TagSet{[Tag{name='dc', value='ny'}, Tag{name='ordinal', value='one'}]}, electionId=null, setVersion=1, lastWriteDate=Fri May 26 20:54:53 UTC 2023, lastUpdateTimeNanos=1169520445599}
          20:54:58.818 [cluster-ClusterId{value='64711c9884a9eb1a2efa8d91', description='null'}-localhost:27017] INFO  org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, version=ServerVersion{versionL
      

      logs

      Attachments

        Activity

          People

            Unassigned Unassigned
            Xgen-BuildBaron-User xgen-buildbaron-user
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: