Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-1020

PHP driver consistently fails the new "kind-retryReads-deletePod" Astrolabe test

    • Type: Icon: Build Failure Build Failure
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      The PHP driver consistently fails the new kind-retryReads-deletePod task in the nightly drivers-atlas-testing builds (example task here). The deletePod.yml test scenario deletes one pod of a 3-node MongoDB replica set running in Kubernetes and asserts that the driver can continue running "find" operations (using retryReads=true) until the deleted pod is recreated.

      The error reported in the event logs is:

      Operation threw unexpected MongoDB\Driver\Exception\ConnectionTimeoutException: No suitable servers found (`serverSelectionTryOnce` set)
      #0 ./mongo-php-library/src/Operation/Find.php(317): MongoDB\Driver\Server->executeQuery('dat.dat', Object(MongoDB\Driver\Query), Array)
      #1 ./mongo-php-library/src/Collection.php(666): MongoDB\Operation\Find->execute(Object(MongoDB\Driver\Server))
      #2 ./mongo-php-library/tests/UnifiedSpecTests/Operation.php(452): MongoDB\Collection->find(Object(stdClass), Array)
      #3 ./mongo-php-library/tests/UnifiedSpecTests/Operation.php(197): MongoDB\Tests\UnifiedSpecTests\Operation->executeForCollection(Object(MongoDB\Collection))
      #4 ./mongo-php-library/tests/UnifiedSpecTests/Operation.php(145): MongoDB\Tests\UnifiedSpecTests\Operation->execute()
      #5 ./mongo-php-library/tests/UnifiedSpecTests/Loop.php(86): MongoDB\Tests\UnifiedSpecTests\Operation->assert()
      #6 ./mongo-php-library/tests/UnifiedSpecTests/Loop.php(97): MongoDB\Tests\UnifiedSpecTests\Loop->MongoDB\Tests\UnifiedSpecTests\{closure}()
      #7 ./mongo-php-library/tests/UnifiedSpecTests/Operation.php(894): MongoDB\Tests\UnifiedSpecTests\Loop->execute()
      #8 ./mongo-php-library/tests/UnifiedSpecTests/Operation.php(178): MongoDB\Tests\UnifiedSpecTests\Operation->executeForTestRunner()
      #9 ./mongo-php-library/tests/UnifiedSpecTests/Operation.php(145): MongoDB\Tests\UnifiedSpecTests\Operation->execute()
      #10 ./mongo-php-library/tests/UnifiedSpecTests/UnifiedTestRunner.php(216): MongoDB\Tests\UnifiedSpecTests\Operation->assert()
      #11 ./mongo-php-library/tests/UnifiedSpecTests/UnifiedTestRunner.php(106): MongoDB\Tests\UnifiedSpecTests\UnifiedTestRunner->doTestCase(Object(stdClass), '1.2', NULL, Array, Array)
      #12 ./integrations/php/workload-executor.php(104): MongoDB\Tests\UnifiedSpecTests\UnifiedTestRunner->run(Object(MongoDB\Tests\UnifiedSpecTests\UnifiedTestCase))
      #13 {main}
      

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: