Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests failing on Windows (Timeout connecting to the server) #32

Closed
jaraco opened this issue Jul 28, 2023 · 1 comment · Fixed by #37
Closed

Tests failing on Windows (Timeout connecting to the server) #32

jaraco opened this issue Jul 28, 2023 · 1 comment · Fixed by #37

Comments

@jaraco
Copy link
Owner

jaraco commented Jul 28, 2023

2023-07-29T14:56:18.5671313Z ============================= test session starts =============================
2023-07-29T14:56:18.5672675Z platform win32 -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0
2023-07-29T14:56:18.5673412Z cachedir: .tox\py\.pytest_cache
2023-07-29T14:56:18.5675992Z rootdir: D:\a\jaraco.mongodb\jaraco.mongodb
2023-07-29T14:56:18.5676502Z configfile: pytest.ini
2023-07-29T14:56:18.5677413Z plugins: jaraco.mongodb-0.1.dev1+g34eeae5, black-0.3.12, checkdocs-2.10.0, cov-4.1.0, enabler-2.3.1, mypy-0.10.3, ruff-0.1
2023-07-29T14:56:18.5677928Z collected 139 items
2023-07-29T14:56:18.5678153Z 
2023-07-29T14:56:30.1319805Z conftest.py ....                                                         [  2%]
2023-07-29T14:56:44.2893591Z . .                                                                      [  3%]
2023-07-29T14:56:44.7208333Z docs\conf.py ...                                                         [  5%]
2023-07-29T14:56:45.1666532Z jaraco\mongodb\__init__.py ...                                           [  7%]
2023-07-29T14:56:45.6105519Z jaraco\mongodb\check-gridfs.py ...                                       [ 10%]
2023-07-29T14:56:46.0412450Z jaraco\mongodb\cli.py ....                                               [ 13%]
2023-07-29T14:56:46.4920037Z jaraco\mongodb\codec.py .....                                            [ 16%]
2023-07-29T14:56:46.9226260Z jaraco\mongodb\compat.py ...                                             [ 18%]
2023-07-29T14:56:48.3242036Z jaraco\mongodb\fields.py ....                                            [ 21%]
2023-07-29T14:56:48.3242430Z jaraco\mongodb\fixtures.py ...                                           [ 23%]
2023-07-29T14:56:48.3242778Z jaraco\mongodb\helper.py ....                                            [ 26%]
2023-07-29T14:56:48.6849030Z jaraco\mongodb\insert-doc.py ...                                         [ 28%]
2023-07-29T14:56:49.1246256Z jaraco\mongodb\install.py ...                                            [ 31%]
2023-07-29T14:56:49.5760422Z jaraco\mongodb\manage.py ...                                             [ 33%]
2023-07-29T14:56:50.0171157Z jaraco\mongodb\migration.py .....                                        [ 36%]
2023-07-29T14:56:50.4500202Z jaraco\mongodb\monitor-index-creation.py ...                             [ 39%]
2023-07-29T14:56:50.9739127Z jaraco\mongodb\oplog.py ......                                           [ 43%]
2023-07-29T14:57:09.9768944Z jaraco\mongodb\query.py ....F                                            [ 47%]
2023-07-29T14:57:11.0926721Z jaraco\mongodb\repair-gridfs.py ...                                      [ 49%]
2023-07-29T14:57:11.0927158Z jaraco\mongodb\sampling.py ...F                                          [ 52%]
2023-07-29T14:57:12.1047168Z jaraco\mongodb\service.py ...                                            [ 54%]
2023-07-29T14:57:12.1048890Z jaraco\mongodb\sessions.py ...                                           [ 56%]
2023-07-29T14:57:12.2348601Z jaraco\mongodb\sharding.py ...                                           [ 58%]
2023-07-29T14:57:12.6626489Z jaraco\mongodb\testing.py ...                                            [ 60%]
2023-07-29T14:57:13.1032241Z jaraco\mongodb\timers.py ...                                             [ 63%]
2023-07-29T14:57:13.5229741Z jaraco\mongodb\uri.py ...                                                [ 65%]
2023-07-29T14:57:14.0966495Z jaraco\mongodb\tests\test_compat.py ...EEEEE                             [ 71%]
2023-07-29T14:57:14.6447029Z jaraco\mongodb\tests\test_fields.py ...E                                 [ 73%]
2023-07-29T14:57:15.0126802Z jaraco\mongodb\tests\test_insert_doc.py ...E                             [ 76%]
2023-07-29T14:57:15.4769992Z jaraco\mongodb\tests\test_manage.py ...E                                 [ 79%]
2023-07-29T14:58:05.9757303Z jaraco\mongodb\tests\test_oplog.py .....s                                [ 84%]
2023-07-29T14:58:44.6410979Z jaraco\mongodb\tests\test_service.py ...xsE                              [ 88%]
2023-07-29T14:58:45.1830339Z jaraco\mongodb\tests\test_sessions.py .....EEx                           [ 94%]
2023-07-29T14:58:45.9507239Z jaraco\mongodb\tests\test_testing.py ...EEEEE                            [100%]
2023-07-29T14:58:45.9507837Z 
2023-07-29T14:58:45.9514196Z =================================== ERRORS ====================================
2023-07-29T14:58:45.9514739Z ______________________ ERROR at setup of test_save_no_id ______________________
2023-07-29T14:58:45.9515206Z 
2023-07-29T14:58:45.9515911Z request = <SubRequest 'mongodb_instance' for <DoctestItem mongodb.query.upsert_and_fetch>>
2023-07-29T14:58:45.9516304Z 
2023-07-29T14:58:45.9516631Z     @pytest.fixture(scope='session')
2023-07-29T14:58:45.9517065Z     def mongodb_instance(request):
2023-07-29T14:58:45.9517507Z         if 'pymongo' not in globals():
2023-07-29T14:58:45.9517952Z             pytest.skip("pymongo not available")
2023-07-29T14:58:45.9518393Z     
2023-07-29T14:58:45.9518800Z         yield from _extant_instance(request.config)
2023-07-29T14:58:45.9519139Z >       yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9519409Z 
2023-07-29T14:58:45.9519557Z jaraco\mongodb\fixtures.py:31: 
2023-07-29T14:58:45.9519877Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9520236Z jaraco\mongodb\fixtures.py:48: in _ephemeral_instance
2023-07-29T14:58:45.9521323Z     instance.start()
2023-07-29T14:58:45.9521671Z jaraco\mongodb\service.py:135: in start
2023-07-29T14:58:45.9522249Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9522573Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9522763Z 
2023-07-29T14:58:45.9523003Z host = 'localhost', port = 58992, timeout = 10
2023-07-29T14:58:45.9523198Z 
2023-07-29T14:58:45.9523434Z     def occupied(host, port, timeout=float('Inf')):
2023-07-29T14:58:45.9527137Z         """
2023-07-29T14:58:45.9527463Z         Wait for the specified port to become occupied (accepting requests).
2023-07-29T14:58:45.9527911Z         Return when the port is occupied or raise a Timeout if timeout has
2023-07-29T14:58:45.9528239Z         elapsed.
2023-07-29T14:58:45.9528435Z     
2023-07-29T14:58:45.9528747Z         Timeout may be specified in seconds or as a timedelta.
2023-07-29T14:58:45.9538195Z         If timeout is None or ∞, the routine will run indefinitely.
2023-07-29T14:58:45.9538550Z     
2023-07-29T14:58:45.9539041Z         >>> occupied('localhost', find_available_local_port(), .1)
2023-07-29T14:58:45.9539413Z         Traceback (most recent call last):
2023-07-29T14:58:45.9539693Z         ...
2023-07-29T14:58:45.9539952Z         Timeout: Port ... not bound on localhost.
2023-07-29T14:58:45.9540237Z     
2023-07-29T14:58:45.9540489Z         >>> occupied(None, None)
2023-07-29T14:58:45.9540759Z         Traceback (most recent call last):
2023-07-29T14:58:45.9541302Z         ...
2023-07-29T14:58:45.9541704Z         ValueError: Host values of '' or None are not allowed.
2023-07-29T14:58:45.9541964Z         """
2023-07-29T14:58:45.9542202Z         if not host:
2023-07-29T14:58:45.9542623Z             raise ValueError("Host values of '' or None are not allowed.")
2023-07-29T14:58:45.9542899Z     
2023-07-29T14:58:45.9543159Z         timer = timing.Timer(timeout)
2023-07-29T14:58:45.9543423Z     
2023-07-29T14:58:45.9543609Z         while True:
2023-07-29T14:58:45.9543848Z             try:
2023-07-29T14:58:45.9544150Z                 Checker(timeout=0.5).assert_free(host, port)
2023-07-29T14:58:45.9544439Z                 if timer.expired():
2023-07-29T14:58:45.9544804Z >                   raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9545320Z E                   portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9545548Z 
2023-07-29T14:58:45.9545809Z .tox\py\Lib\site-packages\portend.py:159: Timeout
2023-07-29T14:58:45.9546162Z ___________________ ERROR at setup of test_save_new_with_id ___________________
2023-07-29T14:58:45.9546380Z 
2023-07-29T14:58:45.9546713Z request = <SubRequest 'mongodb_instance' for <DoctestItem mongodb.query.upsert_and_fetch>>
2023-07-29T14:58:45.9546990Z 
2023-07-29T14:58:45.9547194Z     @pytest.fixture(scope='session')
2023-07-29T14:58:45.9547518Z     def mongodb_instance(request):
2023-07-29T14:58:45.9547845Z         if 'pymongo' not in globals():
2023-07-29T14:58:45.9548184Z             pytest.skip("pymongo not available")
2023-07-29T14:58:45.9548470Z     
2023-07-29T14:58:45.9548726Z         yield from _extant_instance(request.config)
2023-07-29T14:58:45.9549095Z >       yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9549314Z 
2023-07-29T14:58:45.9549452Z jaraco\mongodb\fixtures.py:31: 
2023-07-29T14:58:45.9549729Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9550089Z jaraco\mongodb\fixtures.py:48: in _ephemeral_instance
2023-07-29T14:58:45.9550410Z     instance.start()
2023-07-29T14:58:45.9550688Z jaraco\mongodb\service.py:135: in start
2023-07-29T14:58:45.9551128Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9551496Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9551672Z 
2023-07-29T14:58:45.9551883Z host = 'localhost', port = 58992, timeout = 10
2023-07-29T14:58:45.9552036Z 
2023-07-29T14:58:45.9552261Z     def occupied(host, port, timeout=float('Inf')):
2023-07-29T14:58:45.9552890Z         """
2023-07-29T14:58:45.9553230Z         Wait for the specified port to become occupied (accepting requests).
2023-07-29T14:58:45.9553621Z         Return when the port is occupied or raise a Timeout if timeout has
2023-07-29T14:58:45.9553941Z         elapsed.
2023-07-29T14:58:45.9554170Z     
2023-07-29T14:58:45.9554477Z         Timeout may be specified in seconds or as a timedelta.
2023-07-29T14:58:45.9555183Z         If timeout is None or ∞, the routine will run indefinitely.
2023-07-29T14:58:45.9555485Z     
2023-07-29T14:58:45.9555866Z         >>> occupied('localhost', find_available_local_port(), .1)
2023-07-29T14:58:45.9556187Z         Traceback (most recent call last):
2023-07-29T14:58:45.9556455Z         ...
2023-07-29T14:58:45.9556735Z         Timeout: Port ... not bound on localhost.
2023-07-29T14:58:45.9556968Z     
2023-07-29T14:58:45.9557217Z         >>> occupied(None, None)
2023-07-29T14:58:45.9557520Z         Traceback (most recent call last):
2023-07-29T14:58:45.9557753Z         ...
2023-07-29T14:58:45.9558139Z         ValueError: Host values of '' or None are not allowed.
2023-07-29T14:58:45.9558431Z         """
2023-07-29T14:58:45.9558631Z         if not host:
2023-07-29T14:58:45.9560335Z             raise ValueError("Host values of '' or None are not allowed.")
2023-07-29T14:58:45.9560786Z     
2023-07-29T14:58:45.9561252Z         timer = timing.Timer(timeout)
2023-07-29T14:58:45.9561543Z     
2023-07-29T14:58:45.9561781Z         while True:
2023-07-29T14:58:45.9561994Z             try:
2023-07-29T14:58:45.9562332Z                 Checker(timeout=0.5).assert_free(host, port)
2023-07-29T14:58:45.9562681Z                 if timer.expired():
2023-07-29T14:58:45.9563050Z >                   raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9563418Z E                   portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9563640Z 
2023-07-29T14:58:45.9563975Z .tox\py\Lib\site-packages\portend.py:159: Timeout
2023-07-29T14:58:45.9564853Z __________________ ERROR at setup of test_save_replace_by_id __________________
2023-07-29T14:58:45.9565290Z 
2023-07-29T14:58:45.9565664Z request = <SubRequest 'mongodb_instance' for <DoctestItem mongodb.query.upsert_and_fetch>>
2023-07-29T14:58:45.9565904Z 
2023-07-29T14:58:45.9566109Z     @pytest.fixture(scope='session')
2023-07-29T14:58:45.9566452Z     def mongodb_instance(request):
2023-07-29T14:58:45.9566820Z         if 'pymongo' not in globals():
2023-07-29T14:58:45.9567115Z             pytest.skip("pymongo not available")
2023-07-29T14:58:45.9567400Z     
2023-07-29T14:58:45.9567690Z         yield from _extant_instance(request.config)
2023-07-29T14:58:45.9568017Z >       yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9568229Z 
2023-07-29T14:58:45.9568366Z jaraco\mongodb\fixtures.py:31: 
2023-07-29T14:58:45.9568684Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9569033Z jaraco\mongodb\fixtures.py:48: in _ephemeral_instance
2023-07-29T14:58:45.9569318Z     instance.start()
2023-07-29T14:58:45.9569616Z jaraco\mongodb\service.py:135: in start
2023-07-29T14:58:45.9570054Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9570367Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9570559Z 
2023-07-29T14:58:45.9570769Z host = 'localhost', port = 58992, timeout = 10
2023-07-29T14:58:45.9570957Z 
2023-07-29T14:58:45.9571183Z     def occupied(host, port, timeout=float('Inf')):
2023-07-29T14:58:45.9571434Z         """
2023-07-29T14:58:45.9571771Z         Wait for the specified port to become occupied (accepting requests).
2023-07-29T14:58:45.9572199Z         Return when the port is occupied or raise a Timeout if timeout has
2023-07-29T14:58:45.9572521Z         elapsed.
2023-07-29T14:58:45.9572714Z     
2023-07-29T14:58:45.9573018Z         Timeout may be specified in seconds or as a timedelta.
2023-07-29T14:58:45.9573501Z         If timeout is None or ∞, the routine will run indefinitely.
2023-07-29T14:58:45.9573766Z     
2023-07-29T14:58:45.9574150Z         >>> occupied('localhost', find_available_local_port(), .1)
2023-07-29T14:58:45.9574508Z         Traceback (most recent call last):
2023-07-29T14:58:45.9574742Z         ...
2023-07-29T14:58:45.9575059Z         Timeout: Port ... not bound on localhost.
2023-07-29T14:58:45.9575497Z     
2023-07-29T14:58:45.9575825Z         >>> occupied(None, None)
2023-07-29T14:58:45.9576134Z         Traceback (most recent call last):
2023-07-29T14:58:45.9576367Z         ...
2023-07-29T14:58:45.9576754Z         ValueError: Host values of '' or None are not allowed.
2023-07-29T14:58:45.9577049Z         """
2023-07-29T14:58:45.9577251Z         if not host:
2023-07-29T14:58:45.9577671Z             raise ValueError("Host values of '' or None are not allowed.")
2023-07-29T14:58:45.9577974Z     
2023-07-29T14:58:45.9578194Z         timer = timing.Timer(timeout)
2023-07-29T14:58:45.9578456Z     
2023-07-29T14:58:45.9578681Z         while True:
2023-07-29T14:58:45.9578883Z             try:
2023-07-29T14:58:45.9579192Z                 Checker(timeout=0.5).assert_free(host, port)
2023-07-29T14:58:45.9579518Z                 if timer.expired():
2023-07-29T14:58:45.9580748Z >                   raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9581152Z E                   portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9581381Z 
2023-07-29T14:58:45.9581644Z .tox\py\Lib\site-packages\portend.py:159: Timeout
2023-07-29T14:58:45.9582040Z ________________ ERROR at setup of test_save_no_id_extant_docs ________________
2023-07-29T14:58:45.9582263Z 
2023-07-29T14:58:45.9582558Z request = <SubRequest 'mongodb_instance' for <DoctestItem mongodb.query.upsert_and_fetch>>
2023-07-29T14:58:45.9582838Z 
2023-07-29T14:58:45.9583043Z     @pytest.fixture(scope='session')
2023-07-29T14:58:45.9583363Z     def mongodb_instance(request):
2023-07-29T14:58:45.9583727Z         if 'pymongo' not in globals():
2023-07-29T14:58:45.9584018Z             pytest.skip("pymongo not available")
2023-07-29T14:58:45.9584297Z     
2023-07-29T14:58:45.9584585Z         yield from _extant_instance(request.config)
2023-07-29T14:58:45.9584913Z >       yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9585151Z 
2023-07-29T14:58:45.9585289Z jaraco\mongodb\fixtures.py:31: 
2023-07-29T14:58:45.9585602Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9585911Z jaraco\mongodb\fixtures.py:48: in _ephemeral_instance
2023-07-29T14:58:45.9586230Z     instance.start()
2023-07-29T14:58:45.9586528Z jaraco\mongodb\service.py:135: in start
2023-07-29T14:58:45.9586964Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9587281Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9587463Z 
2023-07-29T14:58:45.9587674Z host = 'localhost', port = 58992, timeout = 10
2023-07-29T14:58:45.9587863Z 
2023-07-29T14:58:45.9588086Z     def occupied(host, port, timeout=float('Inf')):
2023-07-29T14:58:45.9588339Z         """
2023-07-29T14:58:45.9588679Z         Wait for the specified port to become occupied (accepting requests).
2023-07-29T14:58:45.9589109Z         Return when the port is occupied or raise a Timeout if timeout has
2023-07-29T14:58:45.9589400Z         elapsed.
2023-07-29T14:58:45.9589629Z     
2023-07-29T14:58:45.9589936Z         Timeout may be specified in seconds or as a timedelta.
2023-07-29T14:58:45.9590405Z         If timeout is None or ∞, the routine will run indefinitely.
2023-07-29T14:58:45.9590672Z     
2023-07-29T14:58:45.9591056Z         >>> occupied('localhost', find_available_local_port(), .1)
2023-07-29T14:58:45.9591415Z         Traceback (most recent call last):
2023-07-29T14:58:45.9591650Z         ...
2023-07-29T14:58:45.9591945Z         Timeout: Port ... not bound on localhost.
2023-07-29T14:58:45.9592226Z     
2023-07-29T14:58:45.9592441Z         >>> occupied(None, None)
2023-07-29T14:58:45.9592746Z         Traceback (most recent call last):
2023-07-29T14:58:45.9593016Z         ...
2023-07-29T14:58:45.9593356Z         ValueError: Host values of '' or None are not allowed.
2023-07-29T14:58:45.9593650Z         """
2023-07-29T14:58:45.9593894Z         if not host:
2023-07-29T14:58:45.9594402Z             raise ValueError("Host values of '' or None are not allowed.")
2023-07-29T14:58:45.9594713Z     
2023-07-29T14:58:45.9595024Z         timer = timing.Timer(timeout)
2023-07-29T14:58:45.9595256Z     
2023-07-29T14:58:45.9595486Z         while True:
2023-07-29T14:58:45.9595729Z             try:
2023-07-29T14:58:45.9596001Z                 Checker(timeout=0.5).assert_free(host, port)
2023-07-29T14:58:45.9596330Z                 if timer.expired():
2023-07-29T14:58:45.9596696Z >                   raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9597104Z E                   portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9597285Z 
2023-07-29T14:58:45.9597530Z .tox\py\Lib\site-packages\portend.py:159: Timeout
2023-07-29T14:58:45.9597909Z _____________________ ERROR at setup of test_save_adds_id _____________________
2023-07-29T14:58:45.9598119Z 
2023-07-29T14:58:45.9598553Z request = <SubRequest 'mongodb_instance' for <DoctestItem mongodb.query.upsert_and_fetch>>
2023-07-29T14:58:45.9598835Z 
2023-07-29T14:58:45.9599035Z     @pytest.fixture(scope='session')
2023-07-29T14:58:45.9599318Z     def mongodb_instance(request):
2023-07-29T14:58:45.9599679Z         if 'pymongo' not in globals():
2023-07-29T14:58:45.9600008Z             pytest.skip("pymongo not available")
2023-07-29T14:58:45.9600251Z     
2023-07-29T14:58:45.9600536Z         yield from _extant_instance(request.config)
2023-07-29T14:58:45.9600900Z >       yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9601105Z 
2023-07-29T14:58:45.9601204Z jaraco\mongodb\fixtures.py:31: 
2023-07-29T14:58:45.9601518Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9601862Z jaraco\mongodb\fixtures.py:48: in _ephemeral_instance
2023-07-29T14:58:45.9602181Z     instance.start()
2023-07-29T14:58:45.9602441Z jaraco\mongodb\service.py:135: in start
2023-07-29T14:58:45.9602893Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9603248Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9603423Z 
2023-07-29T14:58:45.9603596Z host = 'localhost', port = 58992, timeout = 10
2023-07-29T14:58:45.9603786Z 
2023-07-29T14:58:45.9604013Z     def occupied(host, port, timeout=float('Inf')):
2023-07-29T14:58:45.9604304Z         """
2023-07-29T14:58:45.9604607Z         Wait for the specified port to become occupied (accepting requests).
2023-07-29T14:58:45.9605055Z         Return when the port is occupied or raise a Timeout if timeout has
2023-07-29T14:58:45.9605381Z         elapsed.
2023-07-29T14:58:45.9605607Z     
2023-07-29T14:58:45.9605868Z         Timeout may be specified in seconds or as a timedelta.
2023-07-29T14:58:45.9606342Z         If timeout is None or ∞, the routine will run indefinitely.
2023-07-29T14:58:45.9606640Z     
2023-07-29T14:58:45.9606991Z         >>> occupied('localhost', find_available_local_port(), .1)
2023-07-29T14:58:45.9607356Z         Traceback (most recent call last):
2023-07-29T14:58:45.9607630Z         ...
2023-07-29T14:58:45.9607876Z         Timeout: Port ... not bound on localhost.
2023-07-29T14:58:45.9608143Z     
2023-07-29T14:58:45.9608393Z         >>> occupied(None, None)
2023-07-29T14:58:45.9608659Z         Traceback (most recent call last):
2023-07-29T14:58:45.9608929Z         ...
2023-07-29T14:58:45.9609304Z         ValueError: Host values of '' or None are not allowed.
2023-07-29T14:58:45.9609558Z         """
2023-07-29T14:58:45.9609788Z         if not host:
2023-07-29T14:58:45.9610201Z             raise ValueError("Host values of '' or None are not allowed.")
2023-07-29T14:58:45.9610507Z     
2023-07-29T14:58:45.9610729Z         timer = timing.Timer(timeout)
2023-07-29T14:58:45.9610993Z     
2023-07-29T14:58:45.9611216Z         while True:
2023-07-29T14:58:45.9611416Z             try:
2023-07-29T14:58:45.9611725Z                 Checker(timeout=0.5).assert_free(host, port)
2023-07-29T14:58:45.9612239Z                 if timer.expired():
2023-07-29T14:58:45.9612564Z >                   raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9612972Z E                   portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9613196Z 
2023-07-29T14:58:45.9613455Z .tox\py\Lib\site-packages\portend.py:159: Timeout
2023-07-29T14:58:45.9613808Z ___________________ ERROR at setup of test_insert_with_dots ___________________
2023-07-29T14:58:45.9614022Z 
2023-07-29T14:58:45.9614369Z request = <SubRequest 'mongodb_instance' for <DoctestItem mongodb.query.upsert_and_fetch>>
2023-07-29T14:58:45.9614645Z 
2023-07-29T14:58:45.9614852Z     @pytest.fixture(scope='session')
2023-07-29T14:58:45.9615186Z     def mongodb_instance(request):
2023-07-29T14:58:45.9615507Z         if 'pymongo' not in globals():
2023-07-29T14:58:45.9615836Z             pytest.skip("pymongo not available")
2023-07-29T14:58:45.9616230Z     
2023-07-29T14:58:45.9616482Z         yield from _extant_instance(request.config)
2023-07-29T14:58:45.9616843Z >       yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9617053Z 
2023-07-29T14:58:45.9617190Z jaraco\mongodb\fixtures.py:31: 
2023-07-29T14:58:45.9617507Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9617820Z jaraco\mongodb\fixtures.py:48: in _ephemeral_instance
2023-07-29T14:58:45.9618147Z     instance.start()
2023-07-29T14:58:45.9618448Z jaraco\mongodb\service.py:135: in start
2023-07-29T14:58:45.9618855Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9619208Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9619384Z 
2023-07-29T14:58:45.9619593Z host = 'localhost', port = 58992, timeout = 10
2023-07-29T14:58:45.9619781Z 
2023-07-29T14:58:45.9619969Z     def occupied(host, port, timeout=float('Inf')):
2023-07-29T14:58:45.9620266Z         """
2023-07-29T14:58:45.9620610Z         Wait for the specified port to become occupied (accepting requests).
2023-07-29T14:58:45.9621041Z         Return when the port is occupied or raise a Timeout if timeout has
2023-07-29T14:58:45.9621324Z         elapsed.
2023-07-29T14:58:45.9621560Z     
2023-07-29T14:58:45.9621862Z         Timeout may be specified in seconds or as a timedelta.
2023-07-29T14:58:45.9622296Z         If timeout is None or ∞, the routine will run indefinitely.
2023-07-29T14:58:45.9622599Z     
2023-07-29T14:58:45.9622979Z         >>> occupied('localhost', find_available_local_port(), .1)
2023-07-29T14:58:45.9623294Z         Traceback (most recent call last):
2023-07-29T14:58:45.9623563Z         ...
2023-07-29T14:58:45.9623845Z         Timeout: Port ... not bound on localhost.
2023-07-29T14:58:45.9624082Z     
2023-07-29T14:58:45.9624329Z         >>> occupied(None, None)
2023-07-29T14:58:45.9624639Z         Traceback (most recent call last):
2023-07-29T14:58:45.9624888Z         ...
2023-07-29T14:58:45.9625294Z         ValueError: Host values of '' or None are not allowed.
2023-07-29T14:58:45.9625591Z         """
2023-07-29T14:58:45.9625790Z         if not host:
2023-07-29T14:58:45.9626201Z             raise ValueError("Host values of '' or None are not allowed.")
2023-07-29T14:58:45.9626513Z     
2023-07-29T14:58:45.9626770Z         timer = timing.Timer(timeout)
2023-07-29T14:58:45.9626994Z     
2023-07-29T14:58:45.9627222Z         while True:
2023-07-29T14:58:45.9627464Z             try:
2023-07-29T14:58:45.9627726Z                 Checker(timeout=0.5).assert_free(host, port)
2023-07-29T14:58:45.9628044Z                 if timer.expired():
2023-07-29T14:58:45.9628411Z >                   raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9628778Z E                   portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9628996Z 
2023-07-29T14:58:45.9629247Z .tox\py\Lib\site-packages\portend.py:159: Timeout
2023-07-29T14:58:45.9629755Z __________________ ERROR at setup of test_insert_doc_command __________________
2023-07-29T14:58:45.9629975Z 
2023-07-29T14:58:45.9630306Z request = <SubRequest 'mongodb_instance' for <DoctestItem mongodb.query.upsert_and_fetch>>
2023-07-29T14:58:45.9630542Z 
2023-07-29T14:58:45.9630742Z     @pytest.fixture(scope='session')
2023-07-29T14:58:45.9631054Z     def mongodb_instance(request):
2023-07-29T14:58:45.9631413Z         if 'pymongo' not in globals():
2023-07-29T14:58:45.9631703Z             pytest.skip("pymongo not available")
2023-07-29T14:58:45.9631983Z     
2023-07-29T14:58:45.9632274Z         yield from _extant_instance(request.config)
2023-07-29T14:58:45.9632607Z >       yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9632815Z 
2023-07-29T14:58:45.9632954Z jaraco\mongodb\fixtures.py:31: 
2023-07-29T14:58:45.9633272Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9633733Z jaraco\mongodb\fixtures.py:48: in _ephemeral_instance
2023-07-29T14:58:45.9634026Z     instance.start()
2023-07-29T14:58:45.9634320Z jaraco\mongodb\service.py:135: in start
2023-07-29T14:58:45.9634760Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9635093Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9635273Z 
2023-07-29T14:58:45.9635487Z host = 'localhost', port = 58992, timeout = 10
2023-07-29T14:58:45.9635679Z 
2023-07-29T14:58:45.9635904Z     def occupied(host, port, timeout=float('Inf')):
2023-07-29T14:58:45.9636192Z         """
2023-07-29T14:58:45.9636493Z         Wait for the specified port to become occupied (accepting requests).
2023-07-29T14:58:45.9636926Z         Return when the port is occupied or raise a Timeout if timeout has
2023-07-29T14:58:45.9637245Z         elapsed.
2023-07-29T14:58:45.9637437Z     
2023-07-29T14:58:45.9637736Z         Timeout may be specified in seconds or as a timedelta.
2023-07-29T14:58:45.9638229Z         If timeout is None or ∞, the routine will run indefinitely.
2023-07-29T14:58:45.9638497Z     
2023-07-29T14:58:45.9638877Z         >>> occupied('localhost', find_available_local_port(), .1)
2023-07-29T14:58:45.9639234Z         Traceback (most recent call last):
2023-07-29T14:58:45.9639470Z         ...
2023-07-29T14:58:45.9639759Z         Timeout: Port ... not bound on localhost.
2023-07-29T14:58:45.9640042Z     
2023-07-29T14:58:45.9640254Z         >>> occupied(None, None)
2023-07-29T14:58:45.9640557Z         Traceback (most recent call last):
2023-07-29T14:58:45.9640827Z         ...
2023-07-29T14:58:45.9641214Z         ValueError: Host values of '' or None are not allowed.
2023-07-29T14:58:45.9641470Z         """
2023-07-29T14:58:45.9641708Z         if not host:
2023-07-29T14:58:45.9642118Z             raise ValueError("Host values of '' or None are not allowed.")
2023-07-29T14:58:45.9642389Z     
2023-07-29T14:58:45.9642658Z         timer = timing.Timer(timeout)
2023-07-29T14:58:45.9642923Z     
2023-07-29T14:58:45.9643108Z         while True:
2023-07-29T14:58:45.9643350Z             try:
2023-07-29T14:58:45.9643650Z                 Checker(timeout=0.5).assert_free(host, port)
2023-07-29T14:58:45.9643936Z                 if timer.expired():
2023-07-29T14:58:45.9644300Z >                   raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9644703Z E                   portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9644926Z 
2023-07-29T14:58:45.9645153Z .tox\py\Lib\site-packages\portend.py:159: Timeout
2023-07-29T14:58:45.9645549Z _________________ ERROR at setup of test_purge_all_databases __________________
2023-07-29T14:58:45.9645772Z 
2023-07-29T14:58:45.9646101Z request = <SubRequest 'mongodb_instance' for <DoctestItem mongodb.query.upsert_and_fetch>>
2023-07-29T14:58:45.9646380Z 
2023-07-29T14:58:45.9646575Z     @pytest.fixture(scope='session')
2023-07-29T14:58:45.9646857Z     def mongodb_instance(request):
2023-07-29T14:58:45.9647345Z         if 'pymongo' not in globals():
2023-07-29T14:58:45.9647684Z             pytest.skip("pymongo not available")
2023-07-29T14:58:45.9647930Z     
2023-07-29T14:58:45.9648224Z         yield from _extant_instance(request.config)
2023-07-29T14:58:45.9648595Z >       yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9648809Z 
2023-07-29T14:58:45.9648948Z jaraco\mongodb\fixtures.py:31: 
2023-07-29T14:58:45.9649226Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9649575Z jaraco\mongodb\fixtures.py:48: in _ephemeral_instance
2023-07-29T14:58:45.9649903Z     instance.start()
2023-07-29T14:58:45.9650166Z jaraco\mongodb\service.py:135: in start
2023-07-29T14:58:45.9650601Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9650958Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9651136Z 
2023-07-29T14:58:45.9652048Z host = 'localhost', port = 58992, timeout = 10
2023-07-29T14:58:45.9652263Z 
2023-07-29T14:58:45.9652508Z     def occupied(host, port, timeout=float('Inf')):
2023-07-29T14:58:45.9652803Z         """
2023-07-29T14:58:45.9653145Z         Wait for the specified port to become occupied (accepting requests).
2023-07-29T14:58:45.9653561Z         Return when the port is occupied or raise a Timeout if timeout has
2023-07-29T14:58:45.9653886Z         elapsed.
2023-07-29T14:58:45.9654121Z     
2023-07-29T14:58:45.9654386Z         Timeout may be specified in seconds or as a timedelta.
2023-07-29T14:58:45.9654869Z         If timeout is None or ∞, the routine will run indefinitely.
2023-07-29T14:58:45.9655193Z     
2023-07-29T14:58:45.9655544Z         >>> occupied('localhost', find_available_local_port(), .1)
2023-07-29T14:58:45.9655898Z         Traceback (most recent call last):
2023-07-29T14:58:45.9656178Z         ...
2023-07-29T14:58:45.9656434Z         Timeout: Port ... not bound on localhost.
2023-07-29T14:58:45.9656718Z     
2023-07-29T14:58:45.9656971Z         >>> occupied(None, None)
2023-07-29T14:58:45.9657274Z         Traceback (most recent call last):
2023-07-29T14:58:45.9657506Z         ...
2023-07-29T14:58:45.9657895Z         ValueError: Host values of '' or None are not allowed.
2023-07-29T14:58:45.9658185Z         """
2023-07-29T14:58:45.9658382Z         if not host:
2023-07-29T14:58:45.9658801Z             raise ValueError("Host values of '' or None are not allowed.")
2023-07-29T14:58:45.9659107Z     
2023-07-29T14:58:45.9659329Z         timer = timing.Timer(timeout)
2023-07-29T14:58:45.9659589Z     
2023-07-29T14:58:45.9659816Z         while True:
2023-07-29T14:58:45.9660019Z             try:
2023-07-29T14:58:45.9660327Z                 Checker(timeout=0.5).assert_free(host, port)
2023-07-29T14:58:45.9660649Z                 if timer.expired():
2023-07-29T14:58:45.9660973Z >                   raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9661391Z E                   portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9661683Z 
2023-07-29T14:58:45.9661934Z .tox\py\Lib\site-packages\portend.py:159: Timeout
2023-07-29T14:58:45.9662316Z _______________________ ERROR at setup of test_fixture ________________________
2023-07-29T14:58:45.9662488Z 
2023-07-29T14:58:45.9662827Z request = <SubRequest 'mongodb_instance' for <DoctestItem mongodb.query.upsert_and_fetch>>
2023-07-29T14:58:45.9663103Z 
2023-07-29T14:58:45.9663315Z     @pytest.fixture(scope='session')
2023-07-29T14:58:45.9663632Z     def mongodb_instance(request):
2023-07-29T14:58:45.9663970Z         if 'pymongo' not in globals():
2023-07-29T14:58:45.9664317Z             pytest.skip("pymongo not available")
2023-07-29T14:58:45.9664615Z     
2023-07-29T14:58:45.9664922Z         yield from _extant_instance(request.config)
2023-07-29T14:58:45.9665271Z >       yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9665641Z 
2023-07-29T14:58:45.9665785Z jaraco\mongodb\fixtures.py:31: 
2023-07-29T14:58:45.9666106Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9666415Z jaraco\mongodb\fixtures.py:48: in _ephemeral_instance
2023-07-29T14:58:45.9666740Z     instance.start()
2023-07-29T14:58:45.9667040Z jaraco\mongodb\service.py:135: in start
2023-07-29T14:58:45.9667451Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9667810Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9667988Z 
2023-07-29T14:58:45.9668205Z host = 'localhost', port = 58992, timeout = 10
2023-07-29T14:58:45.9668397Z 
2023-07-29T14:58:45.9668621Z     def occupied(host, port, timeout=float('Inf')):
2023-07-29T14:58:45.9668876Z         """
2023-07-29T14:58:45.9669218Z         Wait for the specified port to become occupied (accepting requests).
2023-07-29T14:58:45.9669745Z         Return when the port is occupied or raise a Timeout if timeout has
2023-07-29T14:58:45.9670043Z         elapsed.
2023-07-29T14:58:45.9670280Z     
2023-07-29T14:58:45.9670586Z         Timeout may be specified in seconds or as a timedelta.
2023-07-29T14:58:45.9671021Z         If timeout is None or ∞, the routine will run indefinitely.
2023-07-29T14:58:45.9671323Z     
2023-07-29T14:58:45.9671711Z         >>> occupied('localhost', find_available_local_port(), .1)
2023-07-29T14:58:45.9672074Z         Traceback (most recent call last):
2023-07-29T14:58:45.9672309Z         ...
2023-07-29T14:58:45.9672606Z         Timeout: Port ... not bound on localhost.
2023-07-29T14:58:45.9672886Z     
2023-07-29T14:58:45.9673103Z         >>> occupied(None, None)
2023-07-29T14:58:45.9673413Z         Traceback (most recent call last):
2023-07-29T14:58:45.9673688Z         ...
2023-07-29T14:58:45.9674037Z         ValueError: Host values of '' or None are not allowed.
2023-07-29T14:58:45.9674338Z         """
2023-07-29T14:58:45.9674585Z         if not host:
2023-07-29T14:58:45.9674995Z             raise ValueError("Host values of '' or None are not allowed.")
2023-07-29T14:58:45.9675313Z     
2023-07-29T14:58:45.9675578Z         timer = timing.Timer(timeout)
2023-07-29T14:58:45.9675802Z     
2023-07-29T14:58:45.9676028Z         while True:
2023-07-29T14:58:45.9676271Z             try:
2023-07-29T14:58:45.9676541Z                 Checker(timeout=0.5).assert_free(host, port)
2023-07-29T14:58:45.9676871Z                 if timer.expired():
2023-07-29T14:58:45.9677242Z >                   raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9677651Z E                   portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9677833Z 
2023-07-29T14:58:45.9678081Z .tox\py\Lib\site-packages\portend.py:159: Timeout
2023-07-29T14:58:45.9678495Z ____________ ERROR at setup of TestSessions.test_session_persists _____________
2023-07-29T14:58:45.9678740Z 
2023-07-29T14:58:45.9679079Z request = <SubRequest 'mongodb_instance' for <DoctestItem mongodb.query.upsert_and_fetch>>
2023-07-29T14:58:45.9679361Z 
2023-07-29T14:58:45.9679528Z     @pytest.fixture(scope='session')
2023-07-29T14:58:45.9679849Z     def mongodb_instance(request):
2023-07-29T14:58:45.9680218Z         if 'pymongo' not in globals():
2023-07-29T14:58:45.9680547Z             pytest.skip("pymongo not available")
2023-07-29T14:58:45.9680794Z     
2023-07-29T14:58:45.9681088Z         yield from _extant_instance(request.config)
2023-07-29T14:58:45.9681453Z >       yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9681662Z 
2023-07-29T14:58:45.9681762Z jaraco\mongodb\fixtures.py:31: 
2023-07-29T14:58:45.9682080Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9682438Z jaraco\mongodb\fixtures.py:48: in _ephemeral_instance
2023-07-29T14:58:45.9682728Z     instance.start()
2023-07-29T14:58:45.9683034Z jaraco\mongodb\service.py:135: in start
2023-07-29T14:58:45.9683491Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9684564Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9684704Z 
2023-07-29T14:58:45.9684952Z host = 'localhost', port = 58992, timeout = 10
2023-07-29T14:58:45.9685150Z 
2023-07-29T14:58:45.9685411Z     def occupied(host, port, timeout=float('Inf')):
2023-07-29T14:58:45.9685706Z         """
2023-07-29T14:58:45.9686015Z         Wait for the specified port to become occupied (accepting requests).
2023-07-29T14:58:45.9686450Z         Return when the port is occupied or raise a Timeout if timeout has
2023-07-29T14:58:45.9686781Z         elapsed.
2023-07-29T14:58:45.9686983Z     
2023-07-29T14:58:45.9687292Z         Timeout may be specified in seconds or as a timedelta.
2023-07-29T14:58:45.9687775Z         If timeout is None or ∞, the routine will run indefinitely.
2023-07-29T14:58:45.9688098Z     
2023-07-29T14:58:45.9688558Z         >>> occupied('localhost', find_available_local_port(), .1)
2023-07-29T14:58:45.9688928Z         Traceback (most recent call last):
2023-07-29T14:58:45.9689202Z         ...
2023-07-29T14:58:45.9689450Z         Timeout: Port ... not bound on localhost.
2023-07-29T14:58:45.9689731Z     
2023-07-29T14:58:45.9689988Z         >>> occupied(None, None)
2023-07-29T14:58:45.9690256Z         Traceback (most recent call last):
2023-07-29T14:58:45.9690532Z         ...
2023-07-29T14:58:45.9690921Z         ValueError: Host values of '' or None are not allowed.
2023-07-29T14:58:45.9691180Z         """
2023-07-29T14:58:45.9691418Z         if not host:
2023-07-29T14:58:45.9691834Z             raise ValueError("Host values of '' or None are not allowed.")
2023-07-29T14:58:45.9692105Z     
2023-07-29T14:58:45.9692365Z         timer = timing.Timer(timeout)
2023-07-29T14:58:45.9692642Z     
2023-07-29T14:58:45.9692835Z         while True:
2023-07-29T14:58:45.9693083Z             try:
2023-07-29T14:58:45.9693394Z                 Checker(timeout=0.5).assert_free(host, port)
2023-07-29T14:58:45.9693680Z                 if timer.expired():
2023-07-29T14:58:45.9694050Z >                   raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9694458Z E                   portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9694680Z 
2023-07-29T14:58:45.9694945Z .tox\py\Lib\site-packages\portend.py:159: Timeout
2023-07-29T14:58:45.9695317Z _____________ ERROR at setup of TestSessions.test_locked_session ______________
2023-07-29T14:58:45.9695550Z 
2023-07-29T14:58:45.9695881Z request = <SubRequest 'mongodb_instance' for <DoctestItem mongodb.query.upsert_and_fetch>>
2023-07-29T14:58:45.9696157Z 
2023-07-29T14:58:45.9696359Z     @pytest.fixture(scope='session')
2023-07-29T14:58:45.9696682Z     def mongodb_instance(request):
2023-07-29T14:58:45.9697008Z         if 'pymongo' not in globals():
2023-07-29T14:58:45.9697347Z             pytest.skip("pymongo not available")
2023-07-29T14:58:45.9697632Z     
2023-07-29T14:58:45.9697898Z         yield from _extant_instance(request.config)
2023-07-29T14:58:45.9698267Z >       yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9698478Z 
2023-07-29T14:58:45.9698615Z jaraco\mongodb\fixtures.py:31: 
2023-07-29T14:58:45.9698895Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9699241Z jaraco\mongodb\fixtures.py:48: in _ephemeral_instance
2023-07-29T14:58:45.9699574Z     instance.start()
2023-07-29T14:58:45.9699835Z jaraco\mongodb\service.py:135: in start
2023-07-29T14:58:45.9700281Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9700640Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9700820Z 
2023-07-29T14:58:45.9701034Z host = 'localhost', port = 58992, timeout = 10
2023-07-29T14:58:45.9701227Z 
2023-07-29T14:58:45.9701412Z     def occupied(host, port, timeout=float('Inf')):
2023-07-29T14:58:45.9701822Z         """
2023-07-29T14:58:45.9702169Z         Wait for the specified port to become occupied (accepting requests).
2023-07-29T14:58:45.9702567Z         Return when the port is occupied or raise a Timeout if timeout has
2023-07-29T14:58:45.9702892Z         elapsed.
2023-07-29T14:58:45.9703129Z     
2023-07-29T14:58:45.9703437Z         Timeout may be specified in seconds or as a timedelta.
2023-07-29T14:58:45.9703881Z         If timeout is None or ∞, the routine will run indefinitely.
2023-07-29T14:58:45.9704196Z     
2023-07-29T14:58:45.9704584Z         >>> occupied('localhost', find_available_local_port(), .1)
2023-07-29T14:58:45.9704903Z         Traceback (most recent call last):
2023-07-29T14:58:45.9705202Z         ...
2023-07-29T14:58:45.9705505Z         Timeout: Port ... not bound on localhost.
2023-07-29T14:58:45.9705750Z     
2023-07-29T14:58:45.9706006Z         >>> occupied(None, None)
2023-07-29T14:58:45.9706333Z         Traceback (most recent call last):
2023-07-29T14:58:45.9706678Z         ...
2023-07-29T14:58:45.9707086Z         ValueError: Host values of '' or None are not allowed.
2023-07-29T14:58:45.9707400Z         """
2023-07-29T14:58:45.9707617Z         if not host:
2023-07-29T14:58:45.9708059Z             raise ValueError("Host values of '' or None are not allowed.")
2023-07-29T14:58:45.9708371Z     
2023-07-29T14:58:45.9708596Z         timer = timing.Timer(timeout)
2023-07-29T14:58:45.9708861Z     
2023-07-29T14:58:45.9709098Z         while True:
2023-07-29T14:58:45.9709306Z             try:
2023-07-29T14:58:45.9709617Z                 Checker(timeout=0.5).assert_free(host, port)
2023-07-29T14:58:45.9709944Z                 if timer.expired():
2023-07-29T14:58:45.9710314Z >                   raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9710686Z E                   portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9710911Z 
2023-07-29T14:58:45.9711159Z .tox\py\Lib\site-packages\portend.py:159: Timeout
2023-07-29T14:58:45.9711573Z ________________ ERROR at setup of test_assert_covered_passes _________________
2023-07-29T14:58:45.9711800Z 
2023-07-29T14:58:45.9712156Z request = <SubRequest 'mongodb_instance' for <DoctestItem mongodb.query.upsert_and_fetch>>
2023-07-29T14:58:45.9712439Z 
2023-07-29T14:58:45.9712643Z     @pytest.fixture(scope='session')
2023-07-29T14:58:45.9712966Z     def mongodb_instance(request):
2023-07-29T14:58:45.9713336Z         if 'pymongo' not in globals():
2023-07-29T14:58:45.9713630Z             pytest.skip("pymongo not available")
2023-07-29T14:58:45.9713914Z     
2023-07-29T14:58:45.9714208Z         yield from _extant_instance(request.config)
2023-07-29T14:58:45.9714544Z >       yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9714757Z 
2023-07-29T14:58:45.9714896Z jaraco\mongodb\fixtures.py:31: 
2023-07-29T14:58:45.9715236Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9715596Z jaraco\mongodb\fixtures.py:48: in _ephemeral_instance
2023-07-29T14:58:45.9715892Z     instance.start()
2023-07-29T14:58:45.9716202Z jaraco\mongodb\service.py:135: in start
2023-07-29T14:58:45.9716655Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9716973Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9717156Z 
2023-07-29T14:58:45.9717370Z host = 'localhost', port = 58992, timeout = 10
2023-07-29T14:58:45.9717562Z 
2023-07-29T14:58:45.9717789Z     def occupied(host, port, timeout=float('Inf')):
2023-07-29T14:58:45.9718044Z         """
2023-07-29T14:58:45.9718399Z         Wait for the specified port to become occupied (accepting requests).
2023-07-29T14:58:45.9718835Z         Return when the port is occupied or raise a Timeout if timeout has
2023-07-29T14:58:45.9719166Z         elapsed.
2023-07-29T14:58:45.9719365Z     
2023-07-29T14:58:45.9719679Z         Timeout may be specified in seconds or as a timedelta.
2023-07-29T14:58:45.9720291Z         If timeout is None or ∞, the routine will run indefinitely.
2023-07-29T14:58:45.9720564Z     
2023-07-29T14:58:45.9720954Z         >>> occupied('localhost', find_available_local_port(), .1)
2023-07-29T14:58:45.9721321Z         Traceback (most recent call last):
2023-07-29T14:58:45.9721560Z         ...
2023-07-29T14:58:45.9721852Z         Timeout: Port ... not bound on localhost.
2023-07-29T14:58:45.9722134Z     
2023-07-29T14:58:45.9722350Z         >>> occupied(None, None)
2023-07-29T14:58:45.9722664Z         Traceback (most recent call last):
2023-07-29T14:58:45.9722937Z         ...
2023-07-29T14:58:45.9723281Z         ValueError: Host values of '' or None are not allowed.
2023-07-29T14:58:45.9723581Z         """
2023-07-29T14:58:45.9723826Z         if not host:
2023-07-29T14:58:45.9724209Z             raise ValueError("Host values of '' or None are not allowed.")
2023-07-29T14:58:45.9724527Z     
2023-07-29T14:58:45.9724795Z         timer = timing.Timer(timeout)
2023-07-29T14:58:45.9725183Z     
2023-07-29T14:58:45.9725384Z         while True:
2023-07-29T14:58:45.9725634Z             try:
2023-07-29T14:58:45.9725953Z                 Checker(timeout=0.5).assert_free(host, port)
2023-07-29T14:58:45.9726239Z                 if timer.expired():
2023-07-29T14:58:45.9726612Z >                   raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9727030Z E                   portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9727252Z 
2023-07-29T14:58:45.9727464Z .tox\py\Lib\site-packages\portend.py:159: Timeout
2023-07-29T14:58:45.9727892Z _________________ ERROR at setup of test_assert_covered_empty _________________
2023-07-29T14:58:45.9728114Z 
2023-07-29T14:58:45.9728450Z request = <SubRequest 'mongodb_instance' for <DoctestItem mongodb.query.upsert_and_fetch>>
2023-07-29T14:58:45.9728728Z 
2023-07-29T14:58:45.9728932Z     @pytest.fixture(scope='session')
2023-07-29T14:58:45.9729218Z     def mongodb_instance(request):
2023-07-29T14:58:45.9729594Z         if 'pymongo' not in globals():
2023-07-29T14:58:45.9729935Z             pytest.skip("pymongo not available")
2023-07-29T14:58:45.9730181Z     
2023-07-29T14:58:45.9730470Z         yield from _extant_instance(request.config)
2023-07-29T14:58:45.9730850Z >       yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9731061Z 
2023-07-29T14:58:45.9731160Z jaraco\mongodb\fixtures.py:31: 
2023-07-29T14:58:45.9731521Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9731895Z jaraco\mongodb\fixtures.py:48: in _ephemeral_instance
2023-07-29T14:58:45.9732241Z     instance.start()
2023-07-29T14:58:45.9732509Z jaraco\mongodb\service.py:135: in start
2023-07-29T14:58:45.9732978Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9733335Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9733513Z 
2023-07-29T14:58:45.9733702Z host = 'localhost', port = 58992, timeout = 10
2023-07-29T14:58:45.9733897Z 
2023-07-29T14:58:45.9734130Z     def occupied(host, port, timeout=float('Inf')):
2023-07-29T14:58:45.9734429Z         """
2023-07-29T14:58:45.9734778Z         Wait for the specified port to become occupied (accepting requests).
2023-07-29T14:58:45.9735187Z         Return when the port is occupied or raise a Timeout if timeout has
2023-07-29T14:58:45.9735523Z         elapsed.
2023-07-29T14:58:45.9735760Z     
2023-07-29T14:58:45.9736029Z         Timeout may be specified in seconds or as a timedelta.
2023-07-29T14:58:45.9736511Z         If timeout is None or ∞, the routine will run indefinitely.
2023-07-29T14:58:45.9736838Z     
2023-07-29T14:58:45.9737190Z         >>> occupied('localhost', find_available_local_port(), .1)
2023-07-29T14:58:45.9737554Z         Traceback (most recent call last):
2023-07-29T14:58:45.9737835Z         ...
2023-07-29T14:58:45.9738084Z         Timeout: Port ... not bound on localhost.
2023-07-29T14:58:45.9738490Z     
2023-07-29T14:58:45.9738747Z         >>> occupied(None, None)
2023-07-29T14:58:45.9739023Z         Traceback (most recent call last):
2023-07-29T14:58:45.9739305Z         ...
2023-07-29T14:58:45.9739695Z         ValueError: Host values of '' or None are not allowed.
2023-07-29T14:58:45.9739997Z         """
2023-07-29T14:58:45.9740197Z         if not host:
2023-07-29T14:58:45.9740617Z             raise ValueError("Host values of '' or None are not allowed.")
2023-07-29T14:58:45.9740932Z     
2023-07-29T14:58:45.9741158Z         timer = timing.Timer(timeout)
2023-07-29T14:58:45.9741430Z     
2023-07-29T14:58:45.9741665Z         while True:
2023-07-29T14:58:45.9741876Z             try:
2023-07-29T14:58:45.9742184Z                 Checker(timeout=0.5).assert_free(host, port)
2023-07-29T14:58:45.9742519Z                 if timer.expired():
2023-07-29T14:58:45.9742853Z >                   raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9743369Z E                   portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9743599Z 
2023-07-29T14:58:45.9743851Z .tox\py\Lib\site-packages\portend.py:159: Timeout
2023-07-29T14:58:45.9744209Z _________________ ERROR at setup of test_assert_covered_null __________________
2023-07-29T14:58:45.9744432Z 
2023-07-29T14:58:45.9744765Z request = <SubRequest 'mongodb_instance' for <DoctestItem mongodb.query.upsert_and_fetch>>
2023-07-29T14:58:45.9745063Z 
2023-07-29T14:58:45.9745267Z     @pytest.fixture(scope='session')
2023-07-29T14:58:45.9745593Z     def mongodb_instance(request):
2023-07-29T14:58:45.9745919Z         if 'pymongo' not in globals():
2023-07-29T14:58:45.9746256Z             pytest.skip("pymongo not available")
2023-07-29T14:58:45.9746545Z     
2023-07-29T14:58:45.9746799Z         yield from _extant_instance(request.config)
2023-07-29T14:58:45.9747172Z >       yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9747386Z 
2023-07-29T14:58:45.9747535Z jaraco\mongodb\fixtures.py:31: 
2023-07-29T14:58:45.9747855Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9748166Z jaraco\mongodb\fixtures.py:48: in _ephemeral_instance
2023-07-29T14:58:45.9748496Z     instance.start()
2023-07-29T14:58:45.9748802Z jaraco\mongodb\service.py:135: in start
2023-07-29T14:58:45.9749206Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9749570Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9749757Z 
2023-07-29T14:58:45.9749973Z host = 'localhost', port = 58992, timeout = 10
2023-07-29T14:58:45.9750167Z 
2023-07-29T14:58:45.9750396Z     def occupied(host, port, timeout=float('Inf')):
2023-07-29T14:58:45.9750650Z         """
2023-07-29T14:58:45.9750997Z         Wait for the specified port to become occupied (accepting requests).
2023-07-29T14:58:45.9751436Z         Return when the port is occupied or raise a Timeout if timeout has
2023-07-29T14:58:45.9751729Z         elapsed.
2023-07-29T14:58:45.9751970Z     
2023-07-29T14:58:45.9752278Z         Timeout may be specified in seconds or as a timedelta.
2023-07-29T14:58:45.9752714Z         If timeout is None or ∞, the routine will run indefinitely.
2023-07-29T14:58:45.9753022Z     
2023-07-29T14:58:45.9753414Z         >>> occupied('localhost', find_available_local_port(), .1)
2023-07-29T14:58:45.9753738Z         Traceback (most recent call last):
2023-07-29T14:58:45.9754015Z         ...
2023-07-29T14:58:45.9754309Z         Timeout: Port ... not bound on localhost.
2023-07-29T14:58:45.9754547Z     
2023-07-29T14:58:45.9754807Z         >>> occupied(None, None)
2023-07-29T14:58:45.9755145Z         Traceback (most recent call last):
2023-07-29T14:58:45.9755423Z         ...
2023-07-29T14:58:45.9755768Z         ValueError: Host values of '' or None are not allowed.
2023-07-29T14:58:45.9756070Z         """
2023-07-29T14:58:45.9756310Z         if not host:
2023-07-29T14:58:45.9756817Z             raise ValueError("Host values of '' or None are not allowed.")
2023-07-29T14:58:45.9757135Z     
2023-07-29T14:58:45.9757401Z         timer = timing.Timer(timeout)
2023-07-29T14:58:45.9757630Z     
2023-07-29T14:58:45.9757867Z         while True:
2023-07-29T14:58:45.9758116Z             try:
2023-07-29T14:58:45.9758397Z                 Checker(timeout=0.5).assert_free(host, port)
2023-07-29T14:58:45.9758729Z                 if timer.expired():
2023-07-29T14:58:45.9759098Z >                   raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9759472Z E                   portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9759698Z 
2023-07-29T14:58:45.9759956Z .tox\py\Lib\site-packages\portend.py:159: Timeout
2023-07-29T14:58:45.9760359Z _______________ ERROR at setup of test_assert_index_used_passes _______________
2023-07-29T14:58:45.9760601Z 
2023-07-29T14:58:45.9761046Z request = <SubRequest 'mongodb_instance' for <DoctestItem mongodb.query.upsert_and_fetch>>
2023-07-29T14:58:45.9761346Z 
2023-07-29T14:58:45.9761519Z     @pytest.fixture(scope='session')
2023-07-29T14:58:45.9761879Z     def mongodb_instance(request):
2023-07-29T14:58:45.9762253Z         if 'pymongo' not in globals():
2023-07-29T14:58:45.9762552Z             pytest.skip("pymongo not available")
2023-07-29T14:58:45.9762846Z     
2023-07-29T14:58:45.9763145Z         yield from _extant_instance(request.config)
2023-07-29T14:58:45.9763475Z >       yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9763694Z 
2023-07-29T14:58:45.9763839Z jaraco\mongodb\fixtures.py:31: 
2023-07-29T14:58:45.9764180Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9764540Z jaraco\mongodb\fixtures.py:48: in _ephemeral_instance
2023-07-29T14:58:45.9764832Z     instance.start()
2023-07-29T14:58:45.9765160Z jaraco\mongodb\service.py:135: in start
2023-07-29T14:58:45.9765631Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9765955Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9766136Z 
2023-07-29T14:58:45.9766349Z host = 'localhost', port = 58992, timeout = 10
2023-07-29T14:58:45.9766546Z 
2023-07-29T14:58:45.9766777Z     def occupied(host, port, timeout=float('Inf')):
2023-07-29T14:58:45.9767032Z         """
2023-07-29T14:58:45.9767383Z         Wait for the specified port to become occupied (accepting requests).
2023-07-29T14:58:45.9767820Z         Return when the port is occupied or raise a Timeout if timeout has
2023-07-29T14:58:45.9768154Z         elapsed.
2023-07-29T14:58:45.9768347Z     
2023-07-29T14:58:45.9768658Z         Timeout may be specified in seconds or as a timedelta.
2023-07-29T14:58:45.9769133Z         If timeout is None or ∞, the routine will run indefinitely.
2023-07-29T14:58:45.9769406Z     
2023-07-29T14:58:45.9769795Z         >>> occupied('localhost', find_available_local_port(), .1)
2023-07-29T14:58:45.9770178Z         Traceback (most recent call last):
2023-07-29T14:58:45.9770427Z         ...
2023-07-29T14:58:45.9770717Z         Timeout: Port ... not bound on localhost.
2023-07-29T14:58:45.9771001Z     
2023-07-29T14:58:45.9771218Z         >>> occupied(None, None)
2023-07-29T14:58:45.9771535Z         Traceback (most recent call last):
2023-07-29T14:58:45.9771819Z         ...
2023-07-29T14:58:45.9772174Z         ValueError: Host values of '' or None are not allowed.
2023-07-29T14:58:45.9772479Z         """
2023-07-29T14:58:45.9772719Z         if not host:
2023-07-29T14:58:45.9773106Z             raise ValueError("Host values of '' or None are not allowed.")
2023-07-29T14:58:45.9773419Z     
2023-07-29T14:58:45.9773688Z         timer = timing.Timer(timeout)
2023-07-29T14:58:45.9773958Z     
2023-07-29T14:58:45.9774149Z         while True:
2023-07-29T14:58:45.9774402Z             try:
2023-07-29T14:58:45.9774720Z                 Checker(timeout=0.5).assert_free(host, port)
2023-07-29T14:58:45.9775183Z                 if timer.expired():
2023-07-29T14:58:45.9775559Z >                   raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9775970Z E                   portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9776197Z 
2023-07-29T14:58:45.9776414Z .tox\py\Lib\site-packages\portend.py:159: Timeout
2023-07-29T14:58:45.9776813Z _______________ ERROR at setup of test_assert_index_used_fails ________________
2023-07-29T14:58:45.9777041Z 
2023-07-29T14:58:45.9777374Z request = <SubRequest 'mongodb_instance' for <DoctestItem mongodb.query.upsert_and_fetch>>
2023-07-29T14:58:45.9777655Z 
2023-07-29T14:58:45.9777855Z     @pytest.fixture(scope='session')
2023-07-29T14:58:45.9778143Z     def mongodb_instance(request):
2023-07-29T14:58:45.9778517Z         if 'pymongo' not in globals():
2023-07-29T14:58:45.9778854Z             pytest.skip("pymongo not available")
2023-07-29T14:58:45.9779100Z     
2023-07-29T14:58:45.9779507Z         yield from _extant_instance(request.config)
2023-07-29T14:58:45.9779892Z >       yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9780108Z 
2023-07-29T14:58:45.9780205Z jaraco\mongodb\fixtures.py:31: 
2023-07-29T14:58:45.9780539Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9780898Z jaraco\mongodb\fixtures.py:48: in _ephemeral_instance
2023-07-29T14:58:45.9781229Z     instance.start()
2023-07-29T14:58:45.9781492Z jaraco\mongodb\service.py:135: in start
2023-07-29T14:58:45.9781945Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9782501Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2023-07-29T14:58:45.9782684Z 
2023-07-29T14:58:45.9782907Z host = 'localhost', port = 58992, timeout = 10
2023-07-29T14:58:45.9783130Z 
2023-07-29T14:58:45.9783378Z     def occupied(host, port, timeout=float('Inf')):
2023-07-29T14:58:45.9783660Z         """
2023-07-29T14:58:45.9784067Z         Wait for the specified port to become occupied (accepting requests).
2023-07-29T14:58:45.9784545Z         Return when the port is occupied or raise a Timeout if timeout has
2023-07-29T14:58:45.9784945Z         elapsed.
2023-07-29T14:58:45.9785228Z     
2023-07-29T14:58:45.9785582Z         Timeout may be specified in seconds or as a timedelta.
2023-07-29T14:58:45.9786109Z         If timeout is None or ∞, the routine will run indefinitely.
2023-07-29T14:58:45.9786404Z     
2023-07-29T14:58:45.9786855Z         >>> occupied('localhost', find_available_local_port(), .1)
2023-07-29T14:58:45.9787261Z         Traceback (most recent call last):
2023-07-29T14:58:45.9787510Z         ...
2023-07-29T14:58:45.9787831Z         Timeout: Port ... not bound on localhost.
2023-07-29T14:58:45.9788148Z     
2023-07-29T14:58:45.9788376Z         >>> occupied(None, None)
2023-07-29T14:58:45.9788708Z         Traceback (most recent call last):
2023-07-29T14:58:45.9789014Z         ...
2023-07-29T14:58:45.9789403Z         ValueError: Host values of '' or None are not allowed.
2023-07-29T14:58:45.9789732Z         """
2023-07-29T14:58:45.9789986Z         if not host:
2023-07-29T14:58:45.9790390Z             raise ValueError("Host values of '' or None are not allowed.")
2023-07-29T14:58:45.9790742Z     
2023-07-29T14:58:45.9791030Z         timer = timing.Timer(timeout)
2023-07-29T14:58:45.9791288Z     
2023-07-29T14:58:45.9791538Z         while True:
2023-07-29T14:58:45.9791811Z             try:
2023-07-29T14:58:45.9792100Z                 Checker(timeout=0.5).assert_free(host, port)
2023-07-29T14:58:45.9792451Z                 if timer.expired():
2023-07-29T14:58:45.9792864Z >                   raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9793308Z E                   portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9793494Z 
2023-07-29T14:58:45.9793762Z .tox\py\Lib\site-packages\portend.py:159: Timeout
2023-07-29T14:58:45.9794291Z ================================== FAILURES ===================================
2023-07-29T14:58:45.9794724Z __________________ [doctest] mongodb.query.upsert_and_fetch ___________________
2023-07-29T14:58:45.9795025Z 038 
2023-07-29T14:58:45.9795332Z 039     Fetch exactly one matching document or upsert
2023-07-29T14:58:45.9795721Z 040     the document if not found, returning the matching
2023-07-29T14:58:45.9796058Z 041     or upserted document.
2023-07-29T14:58:45.9796290Z 042 
2023-07-29T14:58:45.9796729Z 043     See https://jira.mongodb.org/browse/SERVER-28434
2023-07-29T14:58:45.9797157Z 044     describing the condition where MongoDB is uninterested in
2023-07-29T14:58:45.9797504Z 045     providing an upsert and fetch behavior.
2023-07-29T14:58:45.9797805Z 046 
2023-07-29T14:58:45.9798226Z 047     >>> instance = getfixture('mongodb_instance').get_connection()
2023-07-29T14:58:45.9798687Z UNEXPECTED EXCEPTION: Timeout('Port 58992 not bound on localhost.')
2023-07-29T14:58:45.9799823Z Traceback (most recent call last):
2023-07-29T14:58:45.9806952Z   File "C:\hostedtoolcache\windows\Python\3.11.4\x64\Lib\doctest.py", line 1351, in __run
2023-07-29T14:58:45.9807558Z     exec(compile(example.source, filename, "single",
2023-07-29T14:58:45.9808003Z   File "<doctest mongodb.query.upsert_and_fetch[0]>", line 1, in <module>
2023-07-29T14:58:45.9808844Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 585, in getfixturevalue
2023-07-29T14:58:45.9809386Z     fixturedef = self._get_active_fixturedef(argname)
2023-07-29T14:58:45.9809754Z                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-07-29T14:58:45.9810430Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 607, in _get_active_fixturedef
2023-07-29T14:58:45.9810888Z     self._compute_fixture_value(fixturedef)
2023-07-29T14:58:45.9811577Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 693, in _compute_fixture_value
2023-07-29T14:58:45.9812178Z     fixturedef.execute(request=subrequest)
2023-07-29T14:58:45.9812839Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 1069, in execute
2023-07-29T14:58:45.9813325Z     result = ihook.pytest_fixture_setup(fixturedef=self, request=request)
2023-07-29T14:58:45.9813711Z              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-07-29T14:58:45.9814320Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\pluggy\_hooks.py", line 433, in __call__
2023-07-29T14:58:45.9814844Z     return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
2023-07-29T14:58:45.9815235Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-07-29T14:58:45.9815871Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\pluggy\_manager.py", line 112, in _hookexec
2023-07-29T14:58:45.9816419Z     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
2023-07-29T14:58:45.9816840Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-07-29T14:58:45.9817491Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\pluggy\_callers.py", line 155, in _multicall
2023-07-29T14:58:45.9817922Z     return outcome.get_result()
2023-07-29T14:58:45.9818243Z            ^^^^^^^^^^^^^^^^^^^^
2023-07-29T14:58:45.9818868Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\pluggy\_result.py", line 108, in get_result
2023-07-29T14:58:45.9819356Z     raise exc.with_traceback(exc.__traceback__)
2023-07-29T14:58:45.9820032Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\pluggy\_callers.py", line 80, in _multicall
2023-07-29T14:58:45.9820519Z     res = hook_impl.function(*args)
2023-07-29T14:58:45.9820856Z           ^^^^^^^^^^^^^^^^^^^^^^^^^
2023-07-29T14:58:45.9821526Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 1123, in pytest_fixture_setup
2023-07-29T14:58:45.9822237Z     result = call_fixture_func(fixturefunc, request, kwargs)
2023-07-29T14:58:45.9822635Z              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-07-29T14:58:45.9823308Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 895, in call_fixture_func
2023-07-29T14:58:45.9823818Z     fixture_result = next(generator)
2023-07-29T14:58:45.9824095Z                      ^^^^^^^^^^^^^^^
2023-07-29T14:58:45.9824598Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\jaraco\mongodb\fixtures.py", line 31, in mongodb_instance
2023-07-29T14:58:45.9825125Z     yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9825682Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\jaraco\mongodb\fixtures.py", line 48, in _ephemeral_instance
2023-07-29T14:58:45.9826077Z     instance.start()
2023-07-29T14:58:45.9826545Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\jaraco\mongodb\service.py", line 135, in start
2023-07-29T14:58:45.9827248Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9827921Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\portend.py", line 159, in occupied
2023-07-29T14:58:45.9828442Z     raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9828871Z portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9829367Z D:\a\jaraco.mongodb\jaraco.mongodb\jaraco\mongodb\query.py:47: UnexpectedException
2023-07-29T14:58:45.9829942Z ---------------------------- Captured stdout call -----------------------------
2023-07-29T14:58:45.9830830Z {"t":{"$date":"2023-07-29T14:56:59.053Z"},"s":"I",  "c":"CONTROL",  "id":5324701, "ctx":"-","msg":"Test storage engine does not support enableMajorityReadConcern=true, forcibly setting to false","attr":{"storageEngine":"ephemeralForTest"}}
2023-07-29T14:58:45.9831296Z 
2023-07-29T14:58:45.9831827Z {"t":{"$date":"2023-07-29T14:56:59.054Z"},"s":"W",  "c":"CONTROL",  "id":4788401, "ctx":"-","msg":"Lock-free reads is not compatible with enableMajorityReadConcern=false: disabling lock-free reads."}
2023-07-29T14:58:45.9832218Z 
2023-07-29T14:58:45.9832431Z _____________________ [doctest] mongodb.sampling.estimate _____________________
2023-07-29T14:58:45.9832774Z 005 
2023-07-29T14:58:45.9833051Z 006     Estimate the number of documents in the collection
2023-07-29T14:58:45.9833418Z 007     matching the filter.
2023-07-29T14:58:45.9833696Z 008 
2023-07-29T14:58:45.9833974Z 009     Sample may be a fixed number of documents to sample
2023-07-29T14:58:45.9834383Z 010     or a percentage of the total collection size.
2023-07-29T14:58:45.9834689Z 011 
2023-07-29T14:58:45.9835051Z 012     >>> coll = getfixture('bulky_collection')
2023-07-29T14:58:45.9835556Z UNEXPECTED EXCEPTION: Timeout('Port 58992 not bound on localhost.')
2023-07-29T14:58:45.9836020Z Traceback (most recent call last):
2023-07-29T14:58:45.9836508Z   File "C:\hostedtoolcache\windows\Python\3.11.4\x64\Lib\doctest.py", line 1351, in __run
2023-07-29T14:58:45.9836937Z     exec(compile(example.source, filename, "single",
2023-07-29T14:58:45.9837408Z   File "<doctest mongodb.sampling.estimate[0]>", line 1, in <module>
2023-07-29T14:58:45.9838160Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 585, in getfixturevalue
2023-07-29T14:58:45.9838695Z     fixturedef = self._get_active_fixturedef(argname)
2023-07-29T14:58:45.9838990Z                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-07-29T14:58:45.9839642Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 607, in _get_active_fixturedef
2023-07-29T14:58:45.9840142Z     self._compute_fixture_value(fixturedef)
2023-07-29T14:58:45.9840823Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 693, in _compute_fixture_value
2023-07-29T14:58:45.9841276Z     fixturedef.execute(request=subrequest)
2023-07-29T14:58:45.9842038Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 1045, in execute
2023-07-29T14:58:45.9842540Z     fixturedef = request._get_active_fixturedef(argname)
2023-07-29T14:58:45.9842896Z                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-07-29T14:58:45.9843541Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 607, in _get_active_fixturedef
2023-07-29T14:58:45.9843996Z     self._compute_fixture_value(fixturedef)
2023-07-29T14:58:45.9844664Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 693, in _compute_fixture_value
2023-07-29T14:58:45.9845179Z     fixturedef.execute(request=subrequest)
2023-07-29T14:58:45.9845841Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 1045, in execute
2023-07-29T14:58:45.9846315Z     fixturedef = request._get_active_fixturedef(argname)
2023-07-29T14:58:45.9846778Z                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-07-29T14:58:45.9847450Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 607, in _get_active_fixturedef
2023-07-29T14:58:45.9847953Z     self._compute_fixture_value(fixturedef)
2023-07-29T14:58:45.9848584Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 693, in _compute_fixture_value
2023-07-29T14:58:45.9849073Z     fixturedef.execute(request=subrequest)
2023-07-29T14:58:45.9849692Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 1059, in execute
2023-07-29T14:58:45.9850156Z     raise val.with_traceback(tb)
2023-07-29T14:58:45.9850809Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 1123, in pytest_fixture_setup
2023-07-29T14:58:45.9851291Z     result = call_fixture_func(fixturefunc, request, kwargs)
2023-07-29T14:58:45.9851649Z              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-07-29T14:58:45.9852269Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\_pytest\fixtures.py", line 895, in call_fixture_func
2023-07-29T14:58:45.9852742Z     fixture_result = next(generator)
2023-07-29T14:58:45.9853022Z                      ^^^^^^^^^^^^^^^
2023-07-29T14:58:45.9853509Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\jaraco\mongodb\fixtures.py", line 31, in mongodb_instance
2023-07-29T14:58:45.9854009Z     yield from _ephemeral_instance(request.config)
2023-07-29T14:58:45.9854564Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\jaraco\mongodb\fixtures.py", line 48, in _ephemeral_instance
2023-07-29T14:58:45.9854974Z     instance.start()
2023-07-29T14:58:45.9855455Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\jaraco\mongodb\service.py", line 135, in start
2023-07-29T14:58:45.9856030Z     portend.occupied('localhost', self.port, timeout=10)
2023-07-29T14:58:45.9856702Z   File "D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\portend.py", line 159, in occupied
2023-07-29T14:58:45.9857229Z     raise Timeout("Port {port} not bound on {host}.".format(**locals()))
2023-07-29T14:58:45.9857674Z portend.Timeout: Port 58992 not bound on localhost.
2023-07-29T14:58:45.9858173Z D:\a\jaraco.mongodb\jaraco.mongodb\jaraco\mongodb\sampling.py:12: UnexpectedException
2023-07-29T14:58:45.9858605Z ============================== warnings summary ===============================
2023-07-29T14:58:45.9859095Z .tox\py\Lib\site-packages\cherrypy\__init__.py:60
2023-07-29T14:58:45.9859993Z   D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\cherrypy\__init__.py:60: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
2023-07-29T14:58:45.9860636Z     import pkg_resources
2023-07-29T14:58:45.9860830Z 
2023-07-29T14:58:45.9861048Z .tox\py\Lib\site-packages\pkg_resources\__init__.py:2871
2023-07-29T14:58:45.9904498Z   D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\pkg_resources\__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('zc')`.
2023-07-29T14:58:45.9905807Z   Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
2023-07-29T14:58:45.9907212Z     declare_namespace(pkg)
2023-07-29T14:58:45.9907374Z 
2023-07-29T14:58:45.9907622Z .tox\py\Lib\site-packages\cherrypy\lib\httputil.py:15
2023-07-29T14:58:45.9908357Z   D:\a\jaraco.mongodb\jaraco.mongodb\.tox\py\Lib\site-packages\cherrypy\lib\httputil.py:15: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
2023-07-29T14:58:45.9908865Z     from cgi import parse_header
2023-07-29T14:58:45.9909016Z 
2023-07-29T14:58:45.9909245Z jaraco/mongodb/tests/test_oplog.py::TestOplogReplication::test_index_deletion
2023-07-29T14:58:45.9909640Z jaraco/mongodb/tests/test_service.py::test_MongoDBReplicaSet_writable
2023-07-29T14:58:45.9910535Z   D:\a\jaraco.mongodb\jaraco.mongodb\jaraco\mongodb\service.py:225: EncodingWarning: 'encoding' argument not specified
2023-07-29T14:58:45.9911123Z     log_file = open(log_filename, 'a')
2023-07-29T14:58:45.9911290Z 
2023-07-29T14:58:45.9911581Z -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
2023-07-29T14:58:45.9911830Z 
2023-07-29T14:58:45.9912118Z ---------- coverage: platform win32, python 3.11.4-final-0 -----------
2023-07-29T14:58:45.9912464Z Name                                       Stmts   Miss  Cover   Missing
2023-07-29T14:58:45.9912898Z ------------------------------------------------------------------------
2023-07-29T14:58:45.9913339Z conftest.py                                   16      9    44%   19-22, 31-35
2023-07-29T14:58:45.9913617Z docs\conf.py                                  10      0   100%
2023-07-29T14:58:45.9913925Z jaraco\mongodb\__init__.py                     0      0   100%
2023-07-29T14:58:45.9914414Z jaraco\mongodb\check-gridfs.py                44     26    41%   22-29, 34-35, 38-44, 47-51, 54-55, 59-65, 69
2023-07-29T14:58:45.9914765Z jaraco\mongodb\cli.py                          6      0   100%
2023-07-29T14:58:45.9915101Z jaraco\mongodb\codec.py                        9      0   100%
2023-07-29T14:58:45.9915518Z jaraco\mongodb\compat.py                      12      5    58%   15-18, 47
2023-07-29T14:58:45.9915832Z jaraco\mongodb\fields.py                      10      0   100%
2023-07-29T14:58:45.9916279Z jaraco\mongodb\fixtures.py                    38     10    74%   8-9, 15-19, 28, 38, 49-50, 54, 59
2023-07-29T14:58:45.9916734Z jaraco\mongodb\helper.py                      16      5    69%   12, 22-23, 61, 68
2023-07-29T14:58:45.9917181Z jaraco\mongodb\insert-doc.py                  16      8    50%   10-12, 16-24, 28-29
2023-07-29T14:58:45.9917671Z jaraco\mongodb\install.py                     56     33    41%   16-40, 45-46, 50-51, 55, 59-61, 65-71, 75-79, 83-86
2023-07-29T14:58:45.9918157Z jaraco\mongodb\manage.py                      17     10    41%   9, 20-21, 29, 38-39, 43, 47-50
2023-07-29T14:58:45.9918603Z jaraco\mongodb\migration.py                   42      3    93%   84, 141-142
2023-07-29T14:58:45.9919074Z jaraco\mongodb\monitor-index-creation.py      27     18    33%   10-11, 15-17, 21-34
2023-07-29T14:58:45.9919926Z jaraco\mongodb\oplog.py                      252    124    51%   13-14, 27, 210, 243-250, 297-298, 306, 314, 324-327, 331-333, 337-383, 387, 414, 419-444, 457-459, 468-474, 478-479, 486, 493-495, 498, 504-514, 520-521, 534-538, 549-550, 557-563, 571-572, 580-581, 589-590, 596-597, 602, 609
2023-07-29T14:58:45.9920451Z jaraco\mongodb\query.py                       11      5    55%   26-34, 56
2023-07-29T14:58:45.9920943Z jaraco\mongodb\repair-gridfs.py               53     35    34%   24-26, 31-35, 38-44, 47-51, 54-62, 66-72, 76
2023-07-29T14:58:45.9921390Z jaraco\mongodb\sampling.py                    11      9    18%   26-43
2023-07-29T14:58:45.9921958Z jaraco\mongodb\service.py                    162     54    67%   67-72, 85-94, 112-113, 133, 136, 139-140, 143, 146, 149, 152-154, 159, 162-163, 166, 186-202, 229, 234-241, 256, 259, 262-263
2023-07-29T14:58:45.9922628Z jaraco\mongodb\sessions.py                    93     53    43%   53, 56, 80-88, 97, 101, 107, 113, 116-126, 149-166, 169, 178-197, 200-205, 208
2023-07-29T14:58:45.9923083Z jaraco\mongodb\sharding.py                    26     19    27%   11, 18-38
2023-07-29T14:58:45.9923542Z jaraco\mongodb\testing.py                     33     26    21%   8-9, 16-19, 27-39, 46-62
2023-07-29T14:58:45.9924002Z jaraco\mongodb\tests\test_compat.py           25     19    24%   5-7, 11-13, 17-22, 29-33, 40-42
2023-07-29T14:58:45.9924465Z jaraco\mongodb\tests\test_fields.py            8      6    25%   5-10
2023-07-29T14:58:45.9924903Z jaraco\mongodb\tests\test_insert_doc.py       13      9    31%   7-20
2023-07-29T14:58:45.9925327Z jaraco\mongodb\tests\test_manage.py            9      7    22%   5-11
2023-07-29T14:58:45.9925867Z jaraco\mongodb\tests\test_oplog.py            49     17    65%   63-64, 67, 85-100
2023-07-29T14:58:45.9926337Z jaraco\mongodb\tests\test_service.py          25     13    48%   14-18, 23-31, 36
2023-07-29T14:58:45.9926832Z jaraco\mongodb\tests\test_sessions.py         54     30    44%   19-21, 42-50, 53-61, 65-73
2023-07-29T14:58:45.9927320Z jaraco\mongodb\tests\test_testing.py          36     26    28%   10-16, 20-23, 31-33, 41-45, 53-55, 62-65
2023-07-29T14:58:45.9927693Z jaraco\mongodb\timers.py                      12      4    67%   6, 15, 22, 25
2023-07-29T14:58:45.9928116Z jaraco\mongodb\uri.py                         10      5    50%   12-18, 26-27
2023-07-29T14:58:45.9928559Z ------------------------------------------------------------------------
2023-07-29T14:58:45.9928901Z TOTAL                                       1201    588    51%
2023-07-29T14:58:45.9929057Z 
2023-07-29T14:58:45.9929185Z ==================================== mypy =====================================
2023-07-29T14:58:45.9929480Z Success: no issues found in 33 source files
2023-07-29T14:58:45.9929766Z =========================== short test summary info ===========================
2023-07-29T14:58:45.9930128Z FAILED jaraco/mongodb/query.py::mongodb.query.upsert_and_fetch
2023-07-29T14:58:45.9930523Z FAILED jaraco/mongodb/sampling.py::mongodb.sampling.estimate
2023-07-29T14:58:45.9931021Z ERROR jaraco/mongodb/tests/test_compat.py::test_save_no_id - portend.Timeout:...
2023-07-29T14:58:45.9931505Z ERROR jaraco/mongodb/tests/test_compat.py::test_save_new_with_id - portend.Ti...
2023-07-29T14:58:45.9932005Z ERROR jaraco/mongodb/tests/test_compat.py::test_save_replace_by_id - portend....
2023-07-29T14:58:45.9932507Z ERROR jaraco/mongodb/tests/test_compat.py::test_save_no_id_extant_docs - port...
2023-07-29T14:58:45.9932984Z ERROR jaraco/mongodb/tests/test_compat.py::test_save_adds_id - portend.Timeou...
2023-07-29T14:58:45.9933518Z ERROR jaraco/mongodb/tests/test_fields.py::test_insert_with_dots - portend.Ti...
2023-07-29T14:58:45.9934022Z ERROR jaraco/mongodb/tests/test_insert_doc.py::test_insert_doc_command - port...
2023-07-29T14:58:45.9934501Z ERROR jaraco/mongodb/tests/test_manage.py::test_purge_all_databases - portend...
2023-07-29T14:58:45.9935003Z ERROR jaraco/mongodb/tests/test_service.py::test_fixture - portend.Timeout: P...
2023-07-29T14:58:45.9935432Z ERROR jaraco/mongodb/tests/test_sessions.py::TestSessions::test_session_persists
2023-07-29T14:58:45.9935850Z ERROR jaraco/mongodb/tests/test_sessions.py::TestSessions::test_locked_session
2023-07-29T14:58:45.9936325Z ERROR jaraco/mongodb/tests/test_testing.py::test_assert_covered_passes - port...
2023-07-29T14:58:45.9936822Z ERROR jaraco/mongodb/tests/test_testing.py::test_assert_covered_empty - porte...
2023-07-29T14:58:45.9937308Z ERROR jaraco/mongodb/tests/test_testing.py::test_assert_covered_null - porten...
2023-07-29T14:58:45.9937800Z ERROR jaraco/mongodb/tests/test_testing.py::test_assert_index_used_passes - p...
2023-07-29T14:58:45.9938377Z ERROR jaraco/mongodb/tests/test_testing.py::test_assert_index_used_fails - po...
2023-07-29T14:58:45.9938785Z = 2 failed, 116 passed, 2 skipped, 2 xfailed, 5 warnings, 16 errors in 148.75s (0:02:28) =
2023-07-29T14:58:47.6230355Z �[1m�[35mpy:�[0m�[31m exit 1 (151.94 seconds) D:\a\jaraco.mongodb\jaraco.mongodb> pytest pid=3112�[0m
2023-07-29T14:58:47.6244744Z �[1m�[35m.pkg:�[0m�[36m _exit�[22m�[2m>�[0m python C:\hostedtoolcache\windows\Python\3.11.4\x64\Lib\site-packages\pyproject_api\_backend.py True setuptools.build_meta�[0m
2023-07-29T14:58:47.6703649Z   py: FAIL code 1 (186.83=setup[34.89]+cmd[151.94] seconds)
2023-07-29T14:58:47.6704191Z   evaluation failed :( (187.22 seconds)
2023-07-29T14:58:47.9837593Z �[39m
2023-07-29T14:58:47.9961512Z ##[error]Process completed with exit code 1.
jaraco added a commit that referenced this issue Jul 29, 2023
jaraco added a commit that referenced this issue Aug 31, 2023
jaraco added a commit that referenced this issue Aug 31, 2023
jaraco added a commit that referenced this issue Sep 1, 2023
@jaraco
Copy link
Owner Author

jaraco commented Sep 1, 2023

After more investigation yesterday, I determined a few things:

  1. Github Actions CI for Windows includes mongod on the path. It's a mongod of 5.0.19, which is a little old, but not ancient.
  2. The installer wasn't working for Windows on AMD64 because the architecture (machine) indicator was incorrectly configured.
  3. When bypassing the available mongod and relying on an installed version, the timeouts go away (and tests fail on teardown the way I see them fail locally).

jaraco added a commit that referenced this issue Sep 1, 2023
jaraco added a commit that referenced this issue Sep 1, 2023
@jaraco jaraco closed this as completed in #37 Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant