Source: pymongo, python-motor Version: pymongo/3.7.1-1 Version: python-motor/1.2.3-1 X-Debbugs-CC: debian...@lists.debian.org User: debian...@lists.debian.org Usertags: breaks needs-update
Dear maintainers, With a recent upload of pymongo the autpkgtest of python-motor started to fail in testing (it fails longer already in unstable, I didn't check why). I copied the output below. Currently this regression is contributing to the delay of the migration of pymongo to testing [1]. Could you please investigate the situation and reassign the bug to the right package? If needed, please change the bug's severity as appropriate. Unfortunately the errors are too many and to generic for me as an outsider to be of any help here. More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul [1] https://qa.debian.org/excuses.php?package=pymongo https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-motor/845596/log.gz autopkgtest [07:04:38]: test command1: set -e ; for py in $(pyversions -r 2>/dev/null) ; do echo "Testing with $py:" ; $py setup.py test ; done <snip> ====================================================================== ERROR: test_cursor_explicit_close (tornado_tests.test_motor_cursor.MotorCursorTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 543, in post_coroutine self._test_generator.throw(e) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_cursor.py", line 301, in test_cursor_explicit_close request = yield self.run_thread(server.receives, "find", "coll") TimeoutError: Operation timed out after 5 seconds ====================================================================== ERROR: test_exhaust_query_network_error_rs (tornado_tests.test_motor_client.MotorClientExhaustCursorTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 534, in post_coroutine timeout=timeout) File "/usr/lib/python2.7/dist-packages/tornado/ioloop.py", line 581, in run_sync return future_cell[0].result() File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 260, in result raise_exc_info(self._exc_info) File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_client.py", line 338, in test_exhaust_query_network_error_rs yield self._test_exhaust_query_network_error(rs=True) File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 1099, in run value = future.result() File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 260, in result raise_exc_info(self._exc_info) File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_client.py", line 313, in _test_exhaust_query_network_error yield client.admin.command('ismaster') File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 1099, in run value = future.result() File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 260, in result raise_exc_info(self._exc_info) File "<string>", line 3, in raise_exc_info AutoReconnect: connection closed ====================================================================== ERROR: test_exhaust_query_network_error_standalone (tornado_tests.test_motor_client.MotorClientExhaustCursorTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 534, in post_coroutine timeout=timeout) File "/usr/lib/python2.7/dist-packages/tornado/ioloop.py", line 581, in run_sync return future_cell[0].result() File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 260, in result raise_exc_info(self._exc_info) File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_client.py", line 334, in test_exhaust_query_network_error_standalone yield self._test_exhaust_query_network_error(rs=False) File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 1099, in run value = future.result() File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 260, in result raise_exc_info(self._exc_info) File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_client.py", line 313, in _test_exhaust_query_network_error yield client.admin.command('ismaster') File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 1099, in run value = future.result() File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 260, in result raise_exc_info(self._exc_info) File "<string>", line 3, in raise_exc_info AutoReconnect: connection closed ====================================================================== ERROR: test_exhaust_query_server_error_rs (tornado_tests.test_motor_client.MotorClientExhaustCursorTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 534, in post_coroutine timeout=timeout) File "/usr/lib/python2.7/dist-packages/tornado/ioloop.py", line 581, in run_sync return future_cell[0].result() File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 260, in result raise_exc_info(self._exc_info) File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_client.py", line 304, in test_exhaust_query_server_error_rs yield self._test_exhaust_query_server_error(rs=True) File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 1099, in run value = future.result() File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 260, in result raise_exc_info(self._exc_info) File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_client.py", line 282, in _test_exhaust_query_server_error yield client.admin.command('ismaster') File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 1099, in run value = future.result() File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 260, in result raise_exc_info(self._exc_info) File "<string>", line 3, in raise_exc_info AutoReconnect: connection closed ====================================================================== ERROR: test_exhaust_query_server_error_standalone (tornado_tests.test_motor_client.MotorClientExhaustCursorTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 534, in post_coroutine timeout=timeout) File "/usr/lib/python2.7/dist-packages/tornado/ioloop.py", line 581, in run_sync return future_cell[0].result() File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 260, in result raise_exc_info(self._exc_info) File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_client.py", line 300, in test_exhaust_query_server_error_standalone yield self._test_exhaust_query_server_error(rs=False) File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 1099, in run value = future.result() File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 260, in result raise_exc_info(self._exc_info) File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_client.py", line 282, in _test_exhaust_query_server_error yield client.admin.command('ismaster') File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 1099, in run value = future.result() File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 260, in result raise_exc_info(self._exc_info) File "<string>", line 3, in raise_exc_info AutoReconnect: connection closed ====================================================================== FAIL: test_read_preference (tornado_tests.test_motor_basic.MotorTestBasic) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/utils.py", line 50, in wrapper return fn(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 534, in post_coroutine timeout=timeout) File "/usr/lib/python2.7/dist-packages/tornado/ioloop.py", line 581, in run_sync return future_cell[0].result() File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 260, in result raise_exc_info(self._exc_info) File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 296, in wrapper result = func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 517, in pre_coroutine result = f(self, *args, **kwargs) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_basic.py", line 99, in test_read_preference cursor._Cursor__read_preference) AssertionError: Nearest(tag_sets=[{u'yay': u'jesse'}], max_staleness=-1) != None ====================================================================== FAIL: test_client_attrs (tornado_tests.test_motor_core.MotorCoreTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_core.py", line 67, in test_client_attrs attrs(self.cx) - motor_client_only) AssertionError: Items in the first set but not the second: 'watch' ====================================================================== FAIL: test_collection_attrs (tornado_tests.test_motor_core.MotorCoreTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_core.py", line 77, in test_collection_attrs attrs(self.cx.test.test) - motor_only) AssertionError: Items in the first set but not the second: 'count_documents' 'estimated_document_count' ====================================================================== FAIL: test_database_attrs (tornado_tests.test_motor_core.MotorCoreTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_core.py", line 72, in test_database_attrs attrs(self.cx.test) - motor_only) AssertionError: Items in the first set but not the second: 'watch' ---------------------------------------------------------------------- Ran 164 tests in 20.755s FAILED (failures=4, errors=5, skipped=46) autopkgtest [07:05:02]: test command1: -----------------------] autopkgtest [07:05:44]: test command2: set -e ; for py in $(py3versions -r 2>/dev/null) ; do echo "Testing with $py:" ; $py setup.py test ; done autopkgtest [07:05:44]: test command2: [----------------------- <snip> ====================================================================== ERROR: test_cursor_del (asyncio_tests.test_asyncio_cursor.TestAsyncIOCursor) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/asyncio_tests/__init__.py", line 52, in __call__ result = self.orig_method() File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/asyncio_tests/__init__.py", line 236, in wrapped raise coro_exc from None File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/asyncio_tests/__init__.py", line 169, in fetch_next return (yield from cursor.fetch_next) File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3/dist-packages/pymongo/cursor.py", line 1104, in _refresh self.__send_message(q) File "/usr/lib/python3/dist-packages/pymongo/cursor.py", line 931, in __send_message operation, exhaust=self.__exhaust, address=self.__address) File "/usr/lib/python3/dist-packages/pymongo/mongo_client.py", line 1145, in _send_message_with_response exhaust) File "/usr/lib/python3/dist-packages/pymongo/mongo_client.py", line 1156, in _reset_on_error return func(*args, **kwargs) File "/usr/lib/python3/dist-packages/pymongo/server.py", line 106, in send_message_with_response reply = sock_info.receive_message(request_id) File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 612, in receive_message self._raise_connection_failure(error) File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 745, in _raise_connection_failure raise error File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 610, in receive_message self.max_message_size) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 173, in receive_message _receive_data_on_socket(sock, 16)) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 238, in _receive_data_on_socket raise AutoReconnect("connection closed") pymongo.errors.AutoReconnect: connection closed ====================================================================== ERROR: test_cursor_explicit_close (asyncio_tests.test_asyncio_cursor.TestAsyncIOCursor) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/asyncio_tests/__init__.py", line 52, in __call__ result = self.orig_method() File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/asyncio_tests/__init__.py", line 236, in wrapped raise coro_exc from None File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/asyncio_tests/__init__.py", line 169, in fetch_next return (yield from cursor.fetch_next) File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3/dist-packages/pymongo/cursor.py", line 1104, in _refresh self.__send_message(q) File "/usr/lib/python3/dist-packages/pymongo/cursor.py", line 931, in __send_message operation, exhaust=self.__exhaust, address=self.__address) File "/usr/lib/python3/dist-packages/pymongo/mongo_client.py", line 1145, in _send_message_with_response exhaust) File "/usr/lib/python3/dist-packages/pymongo/mongo_client.py", line 1156, in _reset_on_error return func(*args, **kwargs) File "/usr/lib/python3/dist-packages/pymongo/server.py", line 106, in send_message_with_response reply = sock_info.receive_message(request_id) File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 612, in receive_message self._raise_connection_failure(error) File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 745, in _raise_connection_failure raise error File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 610, in receive_message self.max_message_size) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 173, in receive_message _receive_data_on_socket(sock, 16)) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 238, in _receive_data_on_socket raise AutoReconnect("connection closed") pymongo.errors.AutoReconnect: connection closed ====================================================================== ERROR: test_fetch_next_delete (asyncio_tests.test_asyncio_cursor.TestAsyncIOCursor) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/asyncio_tests/__init__.py", line 52, in __call__ result = self.orig_method() File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/asyncio_tests/__init__.py", line 236, in wrapped raise coro_exc from None File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/asyncio_tests/__init__.py", line 169, in fetch_next return (yield from cursor.fetch_next) File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3/dist-packages/pymongo/cursor.py", line 1104, in _refresh self.__send_message(q) File "/usr/lib/python3/dist-packages/pymongo/cursor.py", line 931, in __send_message operation, exhaust=self.__exhaust, address=self.__address) File "/usr/lib/python3/dist-packages/pymongo/mongo_client.py", line 1145, in _send_message_with_response exhaust) File "/usr/lib/python3/dist-packages/pymongo/mongo_client.py", line 1156, in _reset_on_error return func(*args, **kwargs) File "/usr/lib/python3/dist-packages/pymongo/server.py", line 106, in send_message_with_response reply = sock_info.receive_message(request_id) File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 612, in receive_message self._raise_connection_failure(error) File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 745, in _raise_connection_failure raise error File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 610, in receive_message self.max_message_size) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 173, in receive_message _receive_data_on_socket(sock, 16)) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 238, in _receive_data_on_socket raise AutoReconnect("connection closed") pymongo.errors.AutoReconnect: connection closed ====================================================================== ERROR: test_exhaust_query_network_error_rs (tornado_tests.test_motor_client.MotorClientExhaustCursorTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/usr/lib/python3/dist-packages/tornado/testing.py", line 534, in post_coroutine timeout=timeout) File "/usr/lib/python3/dist-packages/tornado/ioloop.py", line 581, in run_sync return future_cell[0].result() File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/usr/lib/python3.6/types.py", line 184, in throw return self.__wrapped.throw(tp, *rest) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_client.py", line 338, in test_exhaust_query_network_error_rs yield self._test_exhaust_query_network_error(rs=True) File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1099, in run value = future.result() File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_client.py", line 313, in _test_exhaust_query_network_error yield client.admin.command('ismaster') File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1099, in run value = future.result() File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3/dist-packages/pymongo/database.py", line 614, in command codec_options, session=session, **kwargs) File "/usr/lib/python3/dist-packages/pymongo/database.py", line 514, in _command client=self.__client) File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 584, in command self._raise_connection_failure(error) File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 745, in _raise_connection_failure raise error File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 579, in command unacknowledged=unacknowledged) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 141, in command reply = receive_message(sock, request_id) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 173, in receive_message _receive_data_on_socket(sock, 16)) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 238, in _receive_data_on_socket raise AutoReconnect("connection closed") pymongo.errors.AutoReconnect: connection closed ====================================================================== ERROR: test_exhaust_query_network_error_standalone (tornado_tests.test_motor_client.MotorClientExhaustCursorTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/usr/lib/python3/dist-packages/tornado/testing.py", line 534, in post_coroutine timeout=timeout) File "/usr/lib/python3/dist-packages/tornado/ioloop.py", line 581, in run_sync return future_cell[0].result() File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/usr/lib/python3.6/types.py", line 184, in throw return self.__wrapped.throw(tp, *rest) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_client.py", line 334, in test_exhaust_query_network_error_standalone yield self._test_exhaust_query_network_error(rs=False) File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1099, in run value = future.result() File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_client.py", line 313, in _test_exhaust_query_network_error yield client.admin.command('ismaster') File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1099, in run value = future.result() File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3/dist-packages/pymongo/database.py", line 614, in command codec_options, session=session, **kwargs) File "/usr/lib/python3/dist-packages/pymongo/database.py", line 514, in _command client=self.__client) File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 584, in command self._raise_connection_failure(error) File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 745, in _raise_connection_failure raise error File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 579, in command unacknowledged=unacknowledged) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 141, in command reply = receive_message(sock, request_id) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 173, in receive_message _receive_data_on_socket(sock, 16)) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 238, in _receive_data_on_socket raise AutoReconnect("connection closed") pymongo.errors.AutoReconnect: connection closed ====================================================================== ERROR: test_exhaust_query_server_error_rs (tornado_tests.test_motor_client.MotorClientExhaustCursorTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/usr/lib/python3/dist-packages/tornado/testing.py", line 534, in post_coroutine timeout=timeout) File "/usr/lib/python3/dist-packages/tornado/ioloop.py", line 581, in run_sync return future_cell[0].result() File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/usr/lib/python3.6/types.py", line 184, in throw return self.__wrapped.throw(tp, *rest) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_client.py", line 304, in test_exhaust_query_server_error_rs yield self._test_exhaust_query_server_error(rs=True) File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1099, in run value = future.result() File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_client.py", line 282, in _test_exhaust_query_server_error yield client.admin.command('ismaster') File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1099, in run value = future.result() File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3/dist-packages/pymongo/database.py", line 614, in command codec_options, session=session, **kwargs) File "/usr/lib/python3/dist-packages/pymongo/database.py", line 514, in _command client=self.__client) File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 584, in command self._raise_connection_failure(error) File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 745, in _raise_connection_failure raise error File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 579, in command unacknowledged=unacknowledged) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 141, in command reply = receive_message(sock, request_id) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 173, in receive_message _receive_data_on_socket(sock, 16)) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 238, in _receive_data_on_socket raise AutoReconnect("connection closed") pymongo.errors.AutoReconnect: connection closed ====================================================================== ERROR: test_exhaust_query_server_error_standalone (tornado_tests.test_motor_client.MotorClientExhaustCursorTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/usr/lib/python3/dist-packages/tornado/testing.py", line 534, in post_coroutine timeout=timeout) File "/usr/lib/python3/dist-packages/tornado/ioloop.py", line 581, in run_sync return future_cell[0].result() File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/usr/lib/python3.6/types.py", line 184, in throw return self.__wrapped.throw(tp, *rest) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_client.py", line 300, in test_exhaust_query_server_error_standalone yield self._test_exhaust_query_server_error(rs=False) File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1099, in run value = future.result() File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1107, in run yielded = self.gen.throw(*exc_info) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_client.py", line 282, in _test_exhaust_query_server_error yield client.admin.command('ismaster') File "/usr/lib/python3/dist-packages/tornado/gen.py", line 1099, in run value = future.result() File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3/dist-packages/pymongo/database.py", line 614, in command codec_options, session=session, **kwargs) File "/usr/lib/python3/dist-packages/pymongo/database.py", line 514, in _command client=self.__client) File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 584, in command self._raise_connection_failure(error) File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 745, in _raise_connection_failure raise error File "/usr/lib/python3/dist-packages/pymongo/pool.py", line 579, in command unacknowledged=unacknowledged) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 141, in command reply = receive_message(sock, request_id) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 173, in receive_message _receive_data_on_socket(sock, 16)) File "/usr/lib/python3/dist-packages/pymongo/network.py", line 238, in _receive_data_on_socket raise AutoReconnect("connection closed") pymongo.errors.AutoReconnect: connection closed ====================================================================== ERROR: test_cursor_del (tornado_tests.test_motor_cursor.MotorCursorTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/usr/lib/python3/dist-packages/tornado/testing.py", line 543, in post_coroutine self._test_generator.throw(e) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_cursor.py", line 407, in test_cursor_del request = yield self.run_thread(server.receives, "find", "coll") File "/usr/lib/python3/dist-packages/tornado/testing.py", line 534, in post_coroutine timeout=timeout) File "/usr/lib/python3/dist-packages/tornado/ioloop.py", line 580, in run_sync raise TimeoutError('Operation timed out after %s seconds' % timeout) tornado.util.TimeoutError: Operation timed out after 5 seconds ====================================================================== ERROR: test_cursor_explicit_close (tornado_tests.test_motor_cursor.MotorCursorTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/usr/lib/python3/dist-packages/tornado/testing.py", line 543, in post_coroutine self._test_generator.throw(e) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_cursor.py", line 301, in test_cursor_explicit_close request = yield self.run_thread(server.receives, "find", "coll") File "/usr/lib/python3/dist-packages/tornado/testing.py", line 534, in post_coroutine timeout=timeout) File "/usr/lib/python3/dist-packages/tornado/ioloop.py", line 580, in run_sync raise TimeoutError('Operation timed out after %s seconds' % timeout) tornado.util.TimeoutError: Operation timed out after 5 seconds ====================================================================== ERROR: test_fetch_next_delete (tornado_tests.test_motor_cursor.MotorCursorTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/usr/lib/python3/dist-packages/tornado/testing.py", line 543, in post_coroutine self._test_generator.throw(e) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_cursor.py", line 105, in test_fetch_next_delete request = yield self.run_thread(server.receives, "find", "coll") File "/usr/lib/python3/dist-packages/tornado/testing.py", line 534, in post_coroutine timeout=timeout) File "/usr/lib/python3/dist-packages/tornado/ioloop.py", line 580, in run_sync raise TimeoutError('Operation timed out after %s seconds' % timeout) tornado.util.TimeoutError: Operation timed out after 5 seconds ====================================================================== FAIL: test_read_preference (asyncio_tests.test_asyncio_basic.AIOMotorTestBasic) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/asyncio_tests/__init__.py", line 52, in __call__ result = self.orig_method() File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/utils.py", line 50, in wrapper return fn(*args, **kwargs) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/asyncio_tests/__init__.py", line 230, in wrapped self.loop.run_until_complete(task) File "/usr/lib/python3.6/asyncio/base_events.py", line 468, in run_until_complete return future.result() File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for return fut.result() File "/usr/lib/python3.6/asyncio/coroutines.py", line 212, in coro res = func(*args, **kw) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/asyncio_tests/test_asyncio_basic.py", line 99, in test_read_preference cursor._Cursor__read_preference) AssertionError: Nearest(tag_sets=[{'yay': 'jesse'}], max_staleness=-1) != None ====================================================================== FAIL: test_read_preference (tornado_tests.test_motor_basic.MotorTestBasic) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/utils.py", line 50, in wrapper return fn(*args, **kwargs) File "/usr/lib/python3/dist-packages/tornado/testing.py", line 534, in post_coroutine timeout=timeout) File "/usr/lib/python3/dist-packages/tornado/ioloop.py", line 581, in run_sync return future_cell[0].result() File "/usr/lib/python3/dist-packages/tornado/gen.py", line 296, in wrapper result = func(*args, **kwargs) File "/usr/lib/python3.6/types.py", line 248, in wrapped coro = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/tornado/testing.py", line 517, in pre_coroutine result = f(self, *args, **kwargs) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_basic.py", line 99, in test_read_preference cursor._Cursor__read_preference) AssertionError: Nearest(tag_sets=[{'yay': 'jesse'}], max_staleness=-1) != None ====================================================================== FAIL: test_client_attrs (tornado_tests.test_motor_core.MotorCoreTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_core.py", line 67, in test_client_attrs attrs(self.cx) - motor_client_only) AssertionError: Items in the first set but not the second: 'watch' ====================================================================== FAIL: test_collection_attrs (tornado_tests.test_motor_core.MotorCoreTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_core.py", line 77, in test_collection_attrs attrs(self.cx.test.test) - motor_only) AssertionError: Items in the first set but not the second: 'estimated_document_count' 'count_documents' ====================================================================== FAIL: test_database_attrs (tornado_tests.test_motor_core.MotorCoreTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/tornado/testing.py", line 124, in __call__ result = self.orig_method(*args, **kwargs) File "/tmp/autopkgtest-lxc.u0m5abk7/downtmp/build.Qs8/src/test/tornado_tests/test_motor_core.py", line 72, in test_database_attrs attrs(self.cx.test) - motor_only) AssertionError: Items in the first set but not the second: 'watch' ---------------------------------------------------------------------- Ran 275 tests in 52.658s FAILED (failures=5, errors=10, skipped=40) autopkgtest [07:06:39]: test command2: -----------------------]
signature.asc
Description: OpenPGP digital signature