* Package: dev-python/pymongo-3.7.1 * Repository: gentoo * Maintainer: ultrabug@gentoo.org python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_6 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox * Checking for at least 1536 MiB disk space at "/var/tmp/portage/dev-python/pymongo-3.7.1/temp" ... [ ok ] >>> Unpacking source... >>> Unpacking pymongo-3.7.1.tar.gz to /var/tmp/portage/dev-python/pymongo-3.7.1/work >>> Source unpacked in /var/tmp/portage/dev-python/pymongo-3.7.1/work >>> Preparing source in /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1 ... * Will copy sources from /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1 * python2_7: copying to /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7 * python3_6: copying to /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1 ... * python2_7: running distutils-r1_run_phase distutils-r1_python_compile python2.7 setup.py build running build running build_py creating /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/timestamp.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/max_key.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/code.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/py3compat.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/min_key.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/dbref.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/binary.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/decimal128.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/int64.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/codec_options.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/json_util.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/objectid.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/regex.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/__init__.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/raw_bson.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/errors.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/tz_util.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson copying bson/son.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson creating /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/collation.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/results.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/cursor_manager.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/periodic_executor.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/mongo_replica_set_client.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/ssl_support.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/monitor.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/server_description.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/read_preferences.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/write_concern.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/read_concern.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/ssl_match_hostname.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/compression_support.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/database.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/saslprep.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/monotonic.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/server_type.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/operations.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/monitoring.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/topology_description.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/driver_info.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/command_cursor.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/common.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/pool.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/message.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/topology.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/thread_util.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/ssl_context.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/server.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/network.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/cursor.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/server_selectors.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/response.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/collection.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/__init__.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/client_options.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/client_session.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/max_staleness_selectors.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/errors.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/son_manipulator.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/bulk.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/helpers.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/auth.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/mongo_client.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/uri_parser.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/ismaster.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/change_stream.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo copying pymongo/settings.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo creating /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/gridfs copying gridfs/grid_file.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/gridfs copying gridfs/__init__.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/gridfs copying gridfs/errors.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/gridfs warning: build_py: byte-compiling is disabled, skipping. running build_ext building 'bson._cbson' extension creating /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7 creating /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python2.7 -c bson/_cbsonmodule.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/_cbsonmodule.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python2.7 -c bson/time64.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/time64.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python2.7 -c bson/buffer.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/buffer.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python2.7 -c bson/encoding_helpers.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/encoding_helpers.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/_cbsonmodule.o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/time64.o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/buffer.o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/encoding_helpers.o -L/usr/lib64 -lpython2.7 -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/bson/_cbson.so building 'pymongo._cmessage' extension creating /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/pymongo x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python2.7 -c pymongo/_cmessagemodule.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/pymongo/_cmessagemodule.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python2.7 -c bson/buffer.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/buffer.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/pymongo/_cmessagemodule.o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/buffer.o -L/usr/lib64 -lpython2.7 -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/lib/pymongo/_cmessage.so * python3_6: running distutils-r1_run_phase distutils-r1_python_compile python3.6 setup.py build running build running build_py creating /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/timestamp.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/max_key.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/code.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/py3compat.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/min_key.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/dbref.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/binary.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/decimal128.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/int64.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/codec_options.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/json_util.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/objectid.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/regex.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/__init__.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/raw_bson.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/errors.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/tz_util.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson copying bson/son.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson creating /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/collation.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/results.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/cursor_manager.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/periodic_executor.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/mongo_replica_set_client.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/ssl_support.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/monitor.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/server_description.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/read_preferences.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/write_concern.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/read_concern.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/ssl_match_hostname.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/compression_support.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/database.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/saslprep.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/monotonic.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/server_type.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/operations.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/monitoring.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/topology_description.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/driver_info.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/command_cursor.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/common.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/pool.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/message.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/topology.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/thread_util.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/ssl_context.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/server.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/network.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/cursor.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/server_selectors.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/response.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/collection.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/__init__.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/client_options.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/client_session.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/max_staleness_selectors.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/errors.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/son_manipulator.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/bulk.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/helpers.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/auth.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/mongo_client.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/uri_parser.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/ismaster.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/change_stream.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo copying pymongo/settings.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo creating /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/gridfs copying gridfs/grid_file.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/gridfs copying gridfs/__init__.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/gridfs copying gridfs/errors.py -> /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/gridfs warning: build_py: byte-compiling is disabled, skipping. running build_ext building 'bson._cbson' extension creating /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6 creating /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python3.6m -c bson/_cbsonmodule.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/_cbsonmodule.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python3.6m -c bson/time64.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/time64.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python3.6m -c bson/buffer.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/buffer.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python3.6m -c bson/encoding_helpers.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/encoding_helpers.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/_cbsonmodule.o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/time64.o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/buffer.o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/encoding_helpers.o -L/usr/lib64 -lpython3.6m -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/bson/_cbson.cpython-36m-x86_64-linux-gnu.so building 'pymongo._cmessage' extension creating /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/pymongo x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python3.6m -c pymongo/_cmessagemodule.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/pymongo/_cmessagemodule.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python3.6m -c bson/buffer.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/buffer.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/pymongo/_cmessagemodule.o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/buffer.o -L/usr/lib64 -lpython3.6m -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/lib/pymongo/_cmessage.cpython-36m-x86_64-linux-gnu.so * python3_6: running distutils-r1_run_phase python_compile_all >>> Source compiled. >>> Test phase: dev-python/pymongo-3.7.1 * python2_7: running distutils-r1_run_phase python_test * Trying to start mongod on port 27000 ... 2018-08-15T11:40:10.026+0200 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none' about to fork child process, waiting until server is ready for connections. forked process: 6319 child process started successfully, parent exiting [ ok ] python2.7 setup.py test running test running egg_info writing requirements to pymongo.egg-info/requires.txt writing pymongo.egg-info/PKG-INFO writing top-level names to pymongo.egg-info/top_level.txt writing dependency_links to pymongo.egg-info/dependency_links.txt reading manifest file 'pymongo.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pymongo.egg-info/SOURCES.txt' running build_ext building 'bson._cbson' extension x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python2.7 -c bson/_cbsonmodule.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/_cbsonmodule.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python2.7 -c bson/time64.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/time64.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python2.7 -c bson/buffer.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/buffer.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python2.7 -c bson/encoding_helpers.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/encoding_helpers.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/_cbsonmodule.o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/time64.o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/buffer.o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/encoding_helpers.o -L/usr/lib64 -lpython2.7 -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/bson/_cbson.so building 'pymongo._cmessage' extension x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python2.7 -c pymongo/_cmessagemodule.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/pymongo/_cmessagemodule.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python2.7 -c bson/buffer.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/buffer.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/pymongo/_cmessagemodule.o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/build/temp.linux-x86_64-2.7/bson/buffer.o -L/usr/lib64 -lpython2.7 -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/_cmessage.so test_uri_options (test_auth.TestAuthURIOptions) ... skipped 'Authentication is not enabled on the server' skipped 'Kerberos module not available.' skipped 'Must set SASL_HOST, SASL_USER, and SASL_PASS to test SASL' test_cache (test_auth.TestSCRAM) ... skipped 'Authentication is not enabled on the server' test_scram (test_auth.TestSCRAM) ... skipped 'Authentication is not enabled on the server' test_scram_threaded (test_auth.TestSCRAM) ... skipped 'Authentication is not enabled on the server' test_scram_sha1 (test_auth.TestSCRAMSHA1) ... skipped 'Authentication is not enabled on the server' test_db_authenticate_threaded (test_auth.TestThreadedAuth) ... skipped 'Authentication is not enabled on the server' test_connection-string_should_accept_generic_mechanism_property_(gssapi) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_accept_the_password_(gssapi) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_accept_valid_authsource_(gssapi) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_accept_valid_authsource_(mongodb-x509) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_accept_valid_authsource_(scram-sha-1) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_accept_valid_authsource_(scram-sha-256) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_ignore_the_database_(gssapi) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_ignore_the_database_(mongodb-x509) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_recognise_the_mechanism_(gssapi) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_recognize_the_mechanism_(mongodb-cr) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_recognize_the_mechanism_(mongodb-x509) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_recognize_the_mechanism_(plain) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_recognize_the_mechanism_(scram-sha-1) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_recognize_the_mechanism_(scram-sha-256) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_recognize_the_mechanism_with_no_username_(mongodb-x509) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_throw_an_exception_if_authsource_is_invalid_(gssapi) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_throw_an_exception_if_authsource_is_invalid_(mongodb-x509) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_throw_an_exception_if_no_username_(gssapi) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_throw_an_exception_if_no_username_(plain) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_throw_an_exception_if_no_username_(scram-sha-1) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_throw_an_exception_if_no_username_(scram-sha-256) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_throw_an_exception_if_no_username_is_supplied_(mongodb-cr) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_throw_an_exception_if_supplied_a_password_(mongodb-x509) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_authsource_when_specified (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_authsource_when_specified_(mongodb-cr) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_authsource_when_specified_(plain) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_database_when_no_authsource_is_specified (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_database_when_no_authsource_is_specified_(mongodb-cr) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_database_when_no_authsource_is_specified_(plain) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_database_when_no_authsource_is_specified_(scram-sha-1) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_database_when_no_authsource_is_specified_(scram-sha-256) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_default_source_and_mechanism (test_auth_spec.TestAuthSpec) ... ok test_binary (test_binary.TestBinary) ... ok test_equality (test_binary.TestBinary) ... ok test_exceptions (test_binary.TestBinary) ... ok test_hash (test_binary.TestBinary) ... ok test_legacy_csharp_uuid (test_binary.TestBinary) ... ok test_legacy_csharp_uuid_roundtrip (test_binary.TestBinary) ... ok test_legacy_java_uuid (test_binary.TestBinary) ... ok test_legacy_java_uuid_roundtrip (test_binary.TestBinary) ... ok test_pickle (test_binary.TestBinary) ... ok test_repr (test_binary.TestBinary) ... ok test_subtype (test_binary.TestBinary) ... ok test_uri_to_uuid (test_binary.TestBinary) ... ok test_uuid_queries (test_binary.TestBinary) ... ok test_uuid_subtype_4 (test_binary.TestBinary) uuid_representation should be ignored when decoding subtype 4. ... ok test_aware_datetime (test_bson.TestBSON) ... ok test_bad_dbref (test_bson.TestBSON) ... ok test_bad_encode (test_bson.TestBSON) ... ok test_bad_id_keys (test_bson.TestBSON) ... ok test_bad_string_lengths (test_bson.TestBSON) ... ok test_basic_decode (test_bson.TestBSON) ... ok test_basic_encode (test_bson.TestBSON) ... ok test_basic_validation (test_bson.TestBSON) ... ok test_bson_regex (test_bson.TestBSON) ... ok test_bytes_as_keys (test_bson.TestBSON) ... ok test_custom_class (test_bson.TestBSON) ... ok test_data_timestamp (test_bson.TestBSON) ... ok test_dates (test_bson.TestBSON) ... ok test_datetime_encode_decode (test_bson.TestBSON) ... ok test_dbpointer (test_bson.TestBSON) ... ok test_dst (test_bson.TestBSON) ... ok test_encode_then_decode (test_bson.TestBSON) ... ok test_encode_then_decode_any_mapping (test_bson.TestBSON) ... ok test_encoding_defaultdict (test_bson.TestBSON) ... ok test_exception_wrapping (test_bson.TestBSON) ... ok test_invalid_decodes (test_bson.TestBSON) ... ok test_large_datetime_truncation (test_bson.TestBSON) ... ok test_local_datetime (test_bson.TestBSON) ... ok test_minkey_maxkey_comparison (test_bson.TestBSON) ... ok test_minkey_maxkey_hash (test_bson.TestBSON) ... ok test_move_id (test_bson.TestBSON) ... ok test_naive_decode (test_bson.TestBSON) ... ok test_non_string_keys (test_bson.TestBSON) ... ok test_null_character (test_bson.TestBSON) ... ok test_ordered_dict (test_bson.TestBSON) ... ok test_overflow (test_bson.TestBSON) ... ok test_random_data_is_not_bson (test_bson.TestBSON) ... ok test_regex_comparison (test_bson.TestBSON) ... ok test_regex_from_native (test_bson.TestBSON) ... ok test_regex_hash (test_bson.TestBSON) ... ok test_small_long_encode_decode (test_bson.TestBSON) ... ok test_subclasses (test_bson.TestBSON) ... ok test_timestamp_comparison (test_bson.TestBSON) ... ok test_timestamp_highorder_bits (test_bson.TestBSON) ... ok test_tuple (test_bson.TestBSON) ... ok test_unicode_regex (test_bson.TestBSON) ... ok test_unknown_type (test_bson.TestBSON) ... ok test_utf8 (test_bson.TestBSON) ... ok test_uuid (test_bson.TestBSON) ... ok test_uuid_legacy (test_bson.TestBSON) ... ok test_codec_options_repr (test_bson.TestCodecOptions) ... ok test_decode_all_defaults (test_bson.TestCodecOptions) ... ok test_document_class (test_bson.TestCodecOptions) ... ok test_tz_aware (test_bson.TestCodecOptions) ... ok test_tzinfo (test_bson.TestCodecOptions) ... ok test_unicode_decode_error_handler (test_bson.TestCodecOptions) ... ok test_uuid_representation (test_bson.TestCodecOptions) ... ok test_array (test_bson_corpus.TestBSONCorpus) ... ok test_binary (test_bson_corpus.TestBSONCorpus) ... ok test_boolean (test_bson_corpus.TestBSONCorpus) ... ok test_code (test_bson_corpus.TestBSONCorpus) ... ok test_code_w_scope (test_bson_corpus.TestBSONCorpus) ... ok test_datetime (test_bson_corpus.TestBSONCorpus) ... ok test_dbpointer (test_bson_corpus.TestBSONCorpus) ... ok test_dbref (test_bson_corpus.TestBSONCorpus) ... ok test_decimal128-1 (test_bson_corpus.TestBSONCorpus) ... ok test_decimal128-2 (test_bson_corpus.TestBSONCorpus) ... ok test_decimal128-3 (test_bson_corpus.TestBSONCorpus) ... ok test_decimal128-4 (test_bson_corpus.TestBSONCorpus) ... ok test_decimal128-5 (test_bson_corpus.TestBSONCorpus) ... ok test_decimal128-6 (test_bson_corpus.TestBSONCorpus) ... ok test_decimal128-7 (test_bson_corpus.TestBSONCorpus) ... ok test_document (test_bson_corpus.TestBSONCorpus) ... ok test_double (test_bson_corpus.TestBSONCorpus) ... ok test_int32 (test_bson_corpus.TestBSONCorpus) ... ok test_int64 (test_bson_corpus.TestBSONCorpus) ... ok test_maxkey (test_bson_corpus.TestBSONCorpus) ... ok test_minkey (test_bson_corpus.TestBSONCorpus) ... ok test_multi-type (test_bson_corpus.TestBSONCorpus) ... ok test_multi-type-deprecated (test_bson_corpus.TestBSONCorpus) ... ok test_null (test_bson_corpus.TestBSONCorpus) ... ok test_oid (test_bson_corpus.TestBSONCorpus) ... ok test_regex (test_bson_corpus.TestBSONCorpus) ... ok test_string (test_bson_corpus.TestBSONCorpus) ... ok test_symbol (test_bson_corpus.TestBSONCorpus) ... ok test_timestamp (test_bson_corpus.TestBSONCorpus) ... ok test_top (test_bson_corpus.TestBSONCorpus) ... ok test_undefined (test_bson_corpus.TestBSONCorpus) ... ok test_array_filters_unacknowledged (test_bulk.TestBulk) ... ok test_array_filters_unsupported (test_bulk.TestBulk) ... skipped 'Server version must be at most 3.5.5.0' test_array_filters_validation (test_bulk.TestBulk) ... ok test_bulk_write_invalid_arguments (test_bulk.TestBulk) ... ok test_bulk_write_no_results (test_bulk.TestBulk) ... ok test_empty (test_bulk.TestBulk) ... ok test_generator_insert (test_bulk.TestBulk) ... ok test_insert (test_bulk.TestBulk) ... ok test_numerous_inserts (test_bulk.TestBulk) ... ok test_remove (test_bulk.TestBulk) ... ok test_remove_one (test_bulk.TestBulk) ... ok test_replace_one (test_bulk.TestBulk) ... ok test_update_many (test_bulk.TestBulk) ... ok test_update_one (test_bulk.TestBulk) ... ok test_upsert (test_bulk.TestBulk) ... ok skipped 'Authentication is not enabled on the server' test_change_streams_change_streams_$changeStream_must_be_the_first_stage_in_a_change_stream_pipeline_sent_to_the_server (test_change_stream.TestAllScenarios) ... skipped "Cluster type not in [u'replicaset']" test_change_streams_change_streams_Change_Stream_should_allow_valid_aggregate_pipeline_stages (test_change_stream.TestAllScenarios) ... skipped "Cluster type not in [u'replicaset']" test_change_streams_change_streams_Executing_a_watch_helper_on_a_Collection_results_in_notifications_for_changes_to_the_specified_collection (test_change_stream.TestAllScenarios) ... skipped "Cluster type not in [u'replicaset']" test_change_streams_change_streams_Executing_a_watch_helper_on_a_Database_results_in_notifications_for_changes_to_all_collections_in_the_specified_database. (test_change_stream.TestAllScenarios) ... skipped "Cluster type not in [u'replicaset']" test_change_streams_change_streams_Executing_a_watch_helper_on_a_MongoClient_results_in_notifications_for_changes_to_all_collections_in_all_databases_in_the_cluster. (test_change_stream.TestAllScenarios) ... skipped "Cluster type not in [u'replicaset']" test_change_streams_change_streams_The_server_returns_change_stream_responses_in_the_specified_server_response_format (test_change_stream.TestAllScenarios) ... skipped "Cluster type not in [u'replicaset']" test_change_streams_change_streams_errors_Change_Stream_should_error_when_an_invalid_aggregation_stage_is_passed_in (test_change_stream.TestAllScenarios) ... skipped "Cluster type not in [u'replicaset']" test_change_streams_change_streams_errors_The_watch_helper_must_not_throw_a_custom_exception_when_executed_against_a_single_server_topology,_but_instead_depend_on_a_server_error (test_change_stream.TestAllScenarios) ... ok skipped 'Must be connected to a replica set or mongos' skipped 'Must be connected to a replica set or mongos' skipped 'Must be connected to a replica set or mongos' test_get_database (test_client.ClientUnitTest) ... ok test_get_database_default (test_client.ClientUnitTest) ... ok test_get_database_default_error (test_client.ClientUnitTest) ... ok test_get_database_default_with_authsource (test_client.ClientUnitTest) ... ok test_get_db (test_client.ClientUnitTest) ... ok test_getattr (test_client.ClientUnitTest) ... ok test_iteration (test_client.ClientUnitTest) ... ok test_keyword_arg_defaults (test_client.ClientUnitTest) ... ok test_kwargs_codec_options (test_client.ClientUnitTest) ... ok test_max_pool_size_zero (test_client.ClientUnitTest) ... ok test_metadata (test_client.ClientUnitTest) ... ok test_primary_read_pref_with_tags (test_client.ClientUnitTest) ... ok test_read_preference (test_client.ClientUnitTest) ... ok test_types (test_client.ClientUnitTest) ... ok test_uri_codec_options (test_client.ClientUnitTest) ... ok test_auth_from_uri (test_client.TestClient) ... skipped 'Authentication is not enabled on the server' test_auth_network_error (test_client.TestClient) ... skipped 'Authentication is not enabled on the server' test_bad_uri (test_client.TestClient) ... ok test_close (test_client.TestClient) ... ok test_close_kills_cursors (test_client.TestClient) ... ok test_compression (test_client.TestClient) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/compression_support.py:43: UserWarning: Unsupported compressor: foobar warnings.warn("Unsupported compressor: %s" % (compressor,)) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/compression_support.py:43: UserWarning: Unsupported compressor: foobar warnings.warn("Unsupported compressor: %s" % (compressor,)) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/common.py:616: UserWarning: zlibCompressionLevel must be between -1 and 9, not 10. warnings.warn(str(exc)) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/common.py:616: UserWarning: zlibCompressionLevel must be between -1 and 9, not -2. warnings.warn(str(exc)) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/compression_support.py:47: UserWarning: Wire protocol compression with snappy is not available. You must install the python-snappy module for snappy support. "Wire protocol compression with snappy is not available. " ok test_connect_to_standalone_using_replica_set_name (test_client.TestClient) ... ok test_constants (test_client.TestClient) This test uses MongoClient explicitly to make sure that host and ... ok test_contextlib (test_client.TestClient) ... ok test_database_names (test_client.TestClient) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_client.py:560: DeprecationWarning: database_names is deprecated. Use list_database_names instead. db_names = meth() ok test_document_class (test_client.TestClient) ... ok test_drop_database (test_client.TestClient) ... skipped 'This test often fails due to SERVER-2329' test_equality (test_client.TestClient) ... ok test_exhaust_network_error (test_client.TestClient) ... ok test_fsync_lock_unlock (test_client.TestClient) ... ok test_getters (test_client.TestClient) ... ok test_heartbeat_frequency_ms (test_client.TestClient) ... ok test_host_w_port (test_client.TestClient) ... ok test_init_disconnected (test_client.TestClient) ... ok test_init_disconnected_with_auth (test_client.TestClient) ... ok test_interrupt_signal (test_client.TestClient) ... ok test_ipv6 (test_client.TestClient) ... skipped 'No IPv6' test_lazy_auth_raises_operation_failure (test_client.TestClient) ... skipped 'Authentication is not enabled on the server' test_lazy_connect_w0 (test_client.TestClient) ... ok test_list_database_names (test_client.TestClient) ... ok test_list_databases (test_client.TestClient) ... ok test_max_idle_time_checkout (test_client.TestClient) ... ok test_max_idle_time_reaper (test_client.TestClient) ... ok test_min_pool_size (test_client.TestClient) ... ok test_multiple_logins (test_client.TestClient) ... skipped 'Authentication is not enabled on the server' test_operation_failure (test_client.TestClient) ... ok test_repr (test_client.TestClient) ... ok test_server_selection_timeout (test_client.TestClient) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/common.py:616: UserWarning: serverSelectionTimeoutMS must be greater than 0 and less than one billion warnings.warn(str(exc)) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/common.py:616: UserWarning: serverSelectionTimeoutMS must be an integer or float warnings.warn(str(exc)) ok test_small_heartbeat_frequency_ms (test_client.TestClient) ... ok test_socketKeepAlive (test_client.TestClient) ... ok test_socket_timeout (test_client.TestClient) ... ok test_socket_timeout_ms_validation (test_client.TestClient) ... ok test_stale_getmore (test_client.TestClient) ... skipped 'Not connected to a replica set' test_timeouts (test_client.TestClient) ... ok test_tz_aware (test_client.TestClient) ... ok test_unix_socket (test_client.TestClient) ... skipped 'Socket file is not accessible' test_username_and_password (test_client.TestClient) ... skipped 'Authentication is not enabled on the server' test_waitQueueMultiple (test_client.TestClient) ... ok test_waitQueueTimeoutMS (test_client.TestClient) ... ok test_delete_one (test_client.TestClientLazyConnect) ... ok test_find_one (test_client.TestClientLazyConnect) ... ok test_insert_one (test_client.TestClientLazyConnect) ... ok test_max_bson_size (test_client.TestClientLazyConnect) ... ok test_update_one (test_client.TestClientLazyConnect) ... ok test_exhaust_getmore_network_error (test_client.TestExhaustCursor) ... ok test_exhaust_getmore_server_error (test_client.TestExhaustCursor) ... ok test_exhaust_query_network_error (test_client.TestExhaustCursor) ... ok test_exhaust_query_server_error (test_client.TestExhaustCursor) ... ok test_discover_primary (test_client.TestMongoClientFailover) ... ok test_gevent_task (test_client.TestMongoClientFailover) ... skipped 'Must be running monkey patched by gevent' test_network_error_on_delete (test_client.TestMongoClientFailover) ... ok test_network_error_on_insert (test_client.TestMongoClientFailover) ... ok test_network_error_on_query (test_client.TestMongoClientFailover) ... ok test_network_error_on_replace (test_client.TestMongoClientFailover) ... ok test_network_error_on_update (test_client.TestMongoClientFailover) ... ok test_reconnect (test_client.TestMongoClientFailover) ... ok test_must_connect (test_client_context.TestClientContext) ... skipped 'PYMONGO_MUST_CONNECT is not set' test_code (test_code.TestCode) ... ok test_equality (test_code.TestCode) ... ok test_hash (test_code.TestCode) ... ok test_read_only (test_code.TestCode) ... ok test_repr (test_code.TestCode) ... ok test_scope_kwargs (test_code.TestCode) ... ok test_scope_preserved (test_code.TestCode) ... ok test_types (test_code.TestCode) ... ok test_aggregate (test_collation.TestCollation) ... ok test_bulk (test_collation.TestCollation) ... ok test_bulk_write (test_collation.TestCollation) ... ok test_count (test_collation.TestCollation) ... ok test_count_documents (test_collation.TestCollation) ... ok test_create_collection (test_collation.TestCollation) ... ok test_create_index (test_collation.TestCollation) ... ok test_cursor_collation (test_collation.TestCollation) ... ok test_delete (test_collation.TestCollation) ... ok test_distinct (test_collation.TestCollation) ... ok test_ensure_index (test_collation.TestCollation) ... ok test_explain_command (test_collation.TestCollation) ... ok test_find_and (test_collation.TestCollation) ... ok test_find_command (test_collation.TestCollation) ... ok test_group (test_collation.TestCollation) ... ok test_index_model (test_collation.TestCollation) ... ok test_indexes_same_keys_different_collations (test_collation.TestCollation) ... ok test_map_reduce (test_collation.TestCollation) ... ok test_mixed_bulk_collation (test_collation.TestCollation) ... skipped 'Server version must be at most 3.3.8.0' test_unacknowledged_write (test_collation.TestCollation) ... ok test_update (test_collation.TestCollation) ... ok test_constructor (test_collation.TestCollationObject) ... ok test_acknowledged_delete (test_collection.TestCollection) ... ok test_aggregate (test_collection.TestCollection) ... ok test_aggregate_raw_bson (test_collection.TestCollection) ... ok test_aggregation_cursor (test_collection.TestCollection) ... ok test_aggregation_cursor_alive (test_collection.TestCollection) ... ok test_aggregation_cursor_validation (test_collection.TestCollection) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/collection.py:2397: DeprecationWarning: The useCursor option is deprecated and will be removed in PyMongo 4.0 **kwargs) ok test_array_filters_unacknowledged (test_collection.TestCollection) ... ok test_array_filters_unsupported (test_collection.TestCollection) ... skipped 'Server version must be at most 3.5.5.0' test_array_filters_validation (test_collection.TestCollection) ... ok test_bad_encode (test_collection.TestCollection) ... ok test_bypass_document_validation_bulk_write (test_collection.TestCollection) ... ok test_command_document_too_large (test_collection.TestCollection) ... ok test_count (test_collection.TestCollection) ... ok test_count_documents (test_collection.TestCollection) ... ok test_create (test_collection.TestCollection) ... ok test_create_index (test_collection.TestCollection) ... ok test_create_indexes (test_collection.TestCollection) ... ok test_cursor_timeout (test_collection.TestCollection) ... ok test_delete_many (test_collection.TestCollection) ... ok test_delete_one (test_collection.TestCollection) ... ok test_distinct (test_collection.TestCollection) ... ok test_drop_index (test_collection.TestCollection) ... ok test_drop_indexes_non_existent (test_collection.TestCollection) ... ok test_drop_nonexistent_collection (test_collection.TestCollection) ... ok test_duplicate_key_error (test_collection.TestCollection) ... ok test_equality (test_collection.TestCollection) ... ok test_error_code (test_collection.TestCollection) ... ok test_estimated_document_count (test_collection.TestCollection) ... ok test_exhaust (test_collection.TestCollection) ... ok test_field_selection (test_collection.TestCollection) ... ok test_fields_specifier_as_dict (test_collection.TestCollection) ... ok test_find_by_default_dct (test_collection.TestCollection) ... ok test_find_command_generation (test_collection.TestCollection) ... ok test_find_kwargs (test_collection.TestCollection) ... ok test_find_one (test_collection.TestCollection) ... ok test_find_one_and (test_collection.TestCollection) ... ok test_find_one_and_write_concern (test_collection.TestCollection) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_collection.py:2224: DeprecationWarning: find_and_modify is deprecated, use find_one_and_delete, find_one_and_replace, or find_one_and_update instead {'_id': 1}, {'$set': {'foo': 'bar'}}) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_collection.py:2287: DeprecationWarning: find_and_modify is deprecated, use find_one_and_delete, find_one_and_replace, or find_one_and_update instead c_default.find_and_modify({'_id': 1}, {'$set': {'foo': 'bar'}}) ok test_find_one_non_objectid (test_collection.TestCollection) ... ok test_find_one_with_find_args (test_collection.TestCollection) ... ok test_find_regex (test_collection.TestCollection) ... ok test_find_w_fields (test_collection.TestCollection) ... ok test_find_w_regex (test_collection.TestCollection) ... ok test_find_with_nested (test_collection.TestCollection) ... ok test_find_with_sort (test_collection.TestCollection) ... ok test_id_can_be_anything (test_collection.TestCollection) ... ok test_index_2dsphere (test_collection.TestCollection) ... ok test_index_background (test_collection.TestCollection) ... ok test_index_dont_drop_dups (test_collection.TestCollection) ... ok test_index_drop_dups (test_collection.TestCollection) ... skipped 'Server version must be at most 2.6.0.0' test_index_filter (test_collection.TestCollection) ... ok test_index_geo2d (test_collection.TestCollection) ... ok test_index_hashed (test_collection.TestCollection) ... ok test_index_haystack (test_collection.TestCollection) ... ok test_index_info (test_collection.TestCollection) ... ok test_index_management_max_time_ms (test_collection.TestCollection) ... skipped 'Test commands must be enabled' test_index_on_subfield (test_collection.TestCollection) ... ok test_index_sparse (test_collection.TestCollection) ... ok test_index_text (test_collection.TestCollection) ... ok test_insert_bypass_document_validation (test_collection.TestCollection) ... ok test_insert_many (test_collection.TestCollection) ... ok test_insert_one (test_collection.TestCollection) ... ok test_invalid_key_names (test_collection.TestCollection) ... ok test_large_limit (test_collection.TestCollection) ... ok test_list_indexes (test_collection.TestCollection) ... ok test_manual_last_error (test_collection.TestCollection) ... ok test_map_reduce (test_collection.TestCollection) ... ok test_messages_with_unicode_collection_names (test_collection.TestCollection) ... ok test_min_query (test_collection.TestCollection) ... ok test_numerous_inserts (test_collection.TestCollection) ... ok test_options (test_collection.TestCollection) ... ok test_parallel_scan (test_collection.TestCollection) ... ok test_parallel_scan_max_time_ms (test_collection.TestCollection) ... skipped 'Test commands must be enabled' test_query_on_query_field (test_collection.TestCollection) ... ok test_reindex (test_collection.TestCollection) ... ok test_rename (test_collection.TestCollection) ... ok test_replace_bypass_document_validation (test_collection.TestCollection) ... ok test_replace_one (test_collection.TestCollection) ... ok test_unique_index (test_collection.TestCollection) ... ok test_update_bypass_document_validation (test_collection.TestCollection) ... ok test_update_check_keys (test_collection.TestCollection) ... ok test_update_many (test_collection.TestCollection) ... ok test_update_one (test_collection.TestCollection) ... ok test_update_with_invalid_keys (test_collection.TestCollection) ... skipped 'Server version must be at most 3.5.7.0' test_write_error_text_handling (test_collection.TestCollection) ... /usr/lib64/python2.7/unittest/case.py:473: DeprecationWarning: insert is deprecated. Use insert_one or insert_many instead. callableObj(*args, **kwargs) /usr/lib64/python2.7/unittest/case.py:473: DeprecationWarning: insert is deprecated. Use insert_one or insert_many instead. callableObj(*args, **kwargs) /usr/lib64/python2.7/unittest/case.py:473: DeprecationWarning: update is deprecated. Use replace_one, update_one or update_many instead. callableObj(*args, **kwargs) ok test_wtimeout (test_collection.TestCollection) ... ok test_collection (test_collection.TestCollectionNoConnect) ... ok test_getattr (test_collection.TestCollectionNoConnect) ... ok test_iteration (test_collection.TestCollectionNoConnect) ... ok test_command_monitoring_bulkWrite_A_successful_mixed_bulk_write (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_command_A_failed_command_event (test_command_monitoring_spec.TestAllScenarios) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_command_monitoring_spec.py:136: DeprecationWarning: count is deprecated. Use estimated_document_count or count_documents instead. Please note that $where must be replaced by $expr, $near must be replaced by $geoWithin with $center, and $nearSphere must be replaced by $geoWithin with $centerSphere getattr(coll, name)(**args) ok test_command_monitoring_command_A_successful_command (test_command_monitoring_spec.TestAllScenarios) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_command_monitoring_spec.py:136: DeprecationWarning: count is deprecated. Use estimated_document_count or count_documents instead. Please note that $where must be replaced by $expr, $near must be replaced by $geoWithin with $center, and $nearSphere must be replaced by $geoWithin with $centerSphere getattr(coll, name)(**args) ok test_command_monitoring_command_A_successful_command_with_a_non-primary_read_preference (test_command_monitoring_spec.TestAllScenarios) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_command_monitoring_spec.py:136: DeprecationWarning: count is deprecated. Use estimated_document_count or count_documents instead. Please note that $where must be replaced by $expr, $near must be replaced by $geoWithin with $center, and $nearSphere must be replaced by $geoWithin with $centerSphere getattr(coll, name)(**args) ok test_command_monitoring_deleteMany_A_successful_delete_many (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_deleteMany_A_successful_delete_many_command_with_write_errors (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_deleteOne_A_successful_delete_one (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_deleteOne_A_successful_delete_one_command_with_write_errors (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_find_A_failed_find_event (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_find_A_successful_find_event_with_a_getmore (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_find_A_successful_find_event_with_a_getmore_and_killcursors (test_command_monitoring_spec.TestAllScenarios) ... skipped 'Server version must be at most 3.0.0.0' test_command_monitoring_find_A_successful_find_event_with_a_getmore_and_the_server_kills_the_cursor (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_find_A_successful_find_event_with_no_options (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_find_A_successful_find_event_with_options (test_command_monitoring_spec.TestAllScenarios) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/collection.py:1445: DeprecationWarning: the 'modifiers' parameter is deprecated return Cursor(self, *args, **kwargs) ok test_command_monitoring_insertMany_A_successful_insert_many (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_insertMany_A_successful_insert_many_command_with_write_errors (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_insertMany_A_successful_unordered_insert_many (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_insertOne_A_successful_insert_one (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_insertOne_A_successful_insert_one_command_with_write_errors (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_unacknowledgedBulkWrite_A_successful_unordered_bulk_write_with_an_unacknowledged_write_concern (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_updateMany_A_successful_update_many (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_updateMany_A_successful_update_many_command_with_write_errors (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_updateOne_A_successful_update_one (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_updateOne_A_successful_update_one_command_with_write_errors (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_updateOne_A_successful_update_one_with_upsert_when_the_upserted_id_is_not_an_object_id (test_command_monitoring_spec.TestAllScenarios) ... ok test_mongo_client (test_common.TestCommon) ... ok test_uuid_representation (test_common.TestCommon) ... ok test_write_concern (test_common.TestCommon) ... ok test_read_aggregate-collation_Aggregate_with_collation (test_crud.TestAllScenarios) ... ok test_read_aggregate-out_Aggregate_with_$out (test_crud.TestAllScenarios) ... ok test_read_aggregate-out_Aggregate_with_$out_and_batch_size_of_0 (test_crud.TestAllScenarios) ... ok test_read_aggregate_Aggregate_with_multiple_stages (test_crud.TestAllScenarios) ... ok test_read_count-collation_Count_documents_with_collation (test_crud.TestAllScenarios) ... ok test_read_count-collation_Deprecated_count_with_collation (test_crud.TestAllScenarios) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_crud.py:152: DeprecationWarning: count is deprecated. Use estimated_document_count or count_documents instead. Please note that $where must be replaced by $expr, $near must be replaced by $geoWithin with $center, and $nearSphere must be replaced by $geoWithin with $centerSphere result = cmd(**arguments) ok test_read_count_Count_documents_with_a_filter (test_crud.TestAllScenarios) ... ok test_read_count_Count_documents_with_skip_and_limit (test_crud.TestAllScenarios) ... ok test_read_count_Count_documents_without_a_filter (test_crud.TestAllScenarios) ... ok test_read_count_Deprecated_count_with_a_filter (test_crud.TestAllScenarios) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_crud.py:152: DeprecationWarning: count is deprecated. Use estimated_document_count or count_documents instead. Please note that $where must be replaced by $expr, $near must be replaced by $geoWithin with $center, and $nearSphere must be replaced by $geoWithin with $centerSphere result = cmd(**arguments) ok test_read_count_Deprecated_count_with_skip_and_limit (test_crud.TestAllScenarios) ... ok test_read_count_Deprecated_count_without_a_filter (test_crud.TestAllScenarios) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_crud.py:152: DeprecationWarning: count is deprecated. Use estimated_document_count or count_documents instead. Please note that $where must be replaced by $expr, $near must be replaced by $geoWithin with $center, and $nearSphere must be replaced by $geoWithin with $centerSphere result = cmd(**arguments) ok test_read_count_Estimated_document_count (test_crud.TestAllScenarios) ... ok test_read_distinct-collation_Distinct_with_a_collation (test_crud.TestAllScenarios) ... ok test_read_distinct_Distinct_with_a_filter (test_crud.TestAllScenarios) ... ok test_read_distinct_Distinct_without_a_filter (test_crud.TestAllScenarios) ... ok test_read_find-collation_Find_with_a_collation (test_crud.TestAllScenarios) ... ok test_read_find_Find_with_filter (test_crud.TestAllScenarios) ... ok test_read_find_Find_with_filter,_sort,_skip,_and_limit (test_crud.TestAllScenarios) ... ok test_read_find_Find_with_limit,_sort,_and_batchsize (test_crud.TestAllScenarios) ... ok test_write_bulkWrite-arrayFilters_BulkWrite_with_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_deleteMany-collation_DeleteMany_when_many_documents_match_with_collation (test_crud.TestAllScenarios) ... ok test_write_deleteMany_DeleteMany_when_many_documents_match (test_crud.TestAllScenarios) ... ok test_write_deleteMany_DeleteMany_when_no_document_matches (test_crud.TestAllScenarios) ... ok test_write_deleteOne-collation_DeleteOne_when_many_documents_matches_with_collation (test_crud.TestAllScenarios) ... ok test_write_deleteOne_DeleteOne_when_many_documents_match (test_crud.TestAllScenarios) ... ok test_write_deleteOne_DeleteOne_when_no_documents_match (test_crud.TestAllScenarios) ... ok test_write_deleteOne_DeleteOne_when_one_document_matches (test_crud.TestAllScenarios) ... ok test_write_findOneAndDelete-collation_FindOneAndDelete_when_one_document_matches_with_collation (test_crud.TestAllScenarios) ... ok test_write_findOneAndDelete_FindOneAndDelete_when_many_documents_match (test_crud.TestAllScenarios) ... ok test_write_findOneAndDelete_FindOneAndDelete_when_no_documents_match (test_crud.TestAllScenarios) ... ok test_write_findOneAndDelete_FindOneAndDelete_when_one_document_matches (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace-collation_FindOneAndReplace_when_one_document_matches_with_collation_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace-upsert_FindOneAndReplace_when_no_documents_match_with_id_specified_with_upsert_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace-upsert_FindOneAndReplace_when_no_documents_match_with_id_specified_with_upsert_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace-upsert_FindOneAndReplace_when_no_documents_match_without_id_specified_with_upsert_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace-upsert_FindOneAndReplace_when_no_documents_match_without_id_specified_with_upsert_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace_FindOneAndReplace_when_many_documents_match_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace_FindOneAndReplace_when_many_documents_match_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace_FindOneAndReplace_when_no_documents_match_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace_FindOneAndReplace_when_no_documents_match_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace_FindOneAndReplace_when_one_document_matches_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace_FindOneAndReplace_when_one_document_matches_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate-arrayFilters_FindOneAndUpdate_when_multiple_documents_match_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate-arrayFilters_FindOneAndUpdate_when_no_document_matches_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate-arrayFilters_FindOneAndUpdate_when_one_document_matches_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate-collation_FindOneAndUpdate_when_many_documents_match_with_collation_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate_FindOneAndUpdate_when_many_documents_match_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate_FindOneAndUpdate_when_many_documents_match_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate_FindOneAndUpdate_when_no_documents_match_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate_FindOneAndUpdate_when_no_documents_match_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate_FindOneAndUpdate_when_no_documents_match_with_upsert_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate_FindOneAndUpdate_when_no_documents_match_with_upsert_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate_FindOneAndUpdate_when_one_document_matches_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate_FindOneAndUpdate_when_one_document_matches_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_insertMany_InsertMany_with_non-existing_documents (test_crud.TestAllScenarios) ... ok test_write_insertOne_InsertOne_with_a_non-existing_document (test_crud.TestAllScenarios) ... ok test_write_replaceOne-collation_ReplaceOne_when_one_document_matches_with_collation (test_crud.TestAllScenarios) ... ok test_write_replaceOne_ReplaceOne_when_many_documents_match (test_crud.TestAllScenarios) ... ok test_write_replaceOne_ReplaceOne_when_no_documents_match (test_crud.TestAllScenarios) ... ok test_write_replaceOne_ReplaceOne_when_one_document_matches (test_crud.TestAllScenarios) ... ok test_write_replaceOne_ReplaceOne_with_upsert_when_no_documents_match_with_an_id_specified (test_crud.TestAllScenarios) ... ok test_write_replaceOne_ReplaceOne_with_upsert_when_no_documents_match_without_an_id_specified (test_crud.TestAllScenarios) ... ok test_write_updateMany-arrayFilters_UpdateMany_when_multiple_documents_match_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_updateMany-arrayFilters_UpdateMany_when_no_documents_match_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_updateMany-arrayFilters_UpdateMany_when_one_document_matches_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_updateMany-collation_UpdateMany_when_many_documents_match_with_collation (test_crud.TestAllScenarios) ... ok test_write_updateMany_UpdateMany_when_many_documents_match (test_crud.TestAllScenarios) ... ok test_write_updateMany_UpdateMany_when_no_documents_match (test_crud.TestAllScenarios) ... ok test_write_updateMany_UpdateMany_when_one_document_matches (test_crud.TestAllScenarios) ... ok test_write_updateMany_UpdateMany_with_upsert_when_no_documents_match (test_crud.TestAllScenarios) ... ok test_write_updateOne-arrayFilters_UpdateOne_when_multiple_documents_match_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_updateOne-arrayFilters_UpdateOne_when_no_document_matches_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_updateOne-arrayFilters_UpdateOne_when_no_documents_match_multiple_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_updateOne-arrayFilters_UpdateOne_when_one_document_matches_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_updateOne-arrayFilters_UpdateOne_when_one_document_matches_multiple_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_updateOne-collation_UpdateOne_when_one_document_matches_with_collation (test_crud.TestAllScenarios) ... ok test_write_updateOne_UpdateOne_when_many_documents_match (test_crud.TestAllScenarios) ... ok test_write_updateOne_UpdateOne_when_no_documents_match (test_crud.TestAllScenarios) ... ok test_write_updateOne_UpdateOne_when_one_document_matches (test_crud.TestAllScenarios) ... ok test_write_updateOne_UpdateOne_with_upsert_when_no_documents_match (test_crud.TestAllScenarios) ... ok test_DeleteManyEquals (test_crud.TestWriteOpsComparison) ... ok test_DeleteManyNotEquals (test_crud.TestWriteOpsComparison) ... ok test_DeleteOneEquals (test_crud.TestWriteOpsComparison) ... ok test_DeleteOneNotEquals (test_crud.TestWriteOpsComparison) ... ok test_DeleteOneNotEqualsDeleteMany (test_crud.TestWriteOpsComparison) ... ok test_InsertOneEquals (test_crud.TestWriteOpsComparison) ... ok test_InsertOneNotEquals (test_crud.TestWriteOpsComparison) ... ok test_ReplaceOneEquals (test_crud.TestWriteOpsComparison) ... ok test_ReplaceOneNotEquals (test_crud.TestWriteOpsComparison) ... ok test_UpdateManyEquals (test_crud.TestWriteOpsComparison) ... ok test_UpdateManyNotEquals (test_crud.TestWriteOpsComparison) ... ok test_UpdateOneEquals (test_crud.TestWriteOpsComparison) ... ok test_UpdateOneNotEquals (test_crud.TestWriteOpsComparison) ... ok test_UpdateOneNotEqualsUpdateMany (test_crud.TestWriteOpsComparison) ... ok test_add_remove_option (test_cursor.TestCursor) ... ok test_add_remove_option_exhaust (test_cursor.TestCursor) ... ok test_alive (test_cursor.TestCursor) ... ok test_bad_getitem (test_cursor.TestCursor) ... ok test_batch_size (test_cursor.TestCursor) ... ok test_clone (test_cursor.TestCursor) ... ok test_close_kills_cursor_synchronously (test_cursor.TestCursor) ... ok test_comment (test_cursor.TestCursor) ... ok test_concurrent_close (test_cursor.TestCursor) Ensure a tailable can be closed from another thread. ... ok test_count (test_cursor.TestCursor) ... ok test_count_with_fields (test_cursor.TestCursor) ... ok test_count_with_hint (test_cursor.TestCursor) ... ok test_count_with_limit_and_skip (test_cursor.TestCursor) ... ok test_deepcopy_cursor_littered_with_regexes (test_cursor.TestCursor) ... ok test_distinct (test_cursor.TestCursor) ... ok test_explain (test_cursor.TestCursor) ... ok test_explain_with_read_concern (test_cursor.TestCursor) ... ok test_get_more (test_cursor.TestCursor) ... ok test_getitem_numeric_index (test_cursor.TestCursor) ... ok test_getitem_slice_index (test_cursor.TestCursor) ... ok test_hint (test_cursor.TestCursor) ... ok test_hint_by_name (test_cursor.TestCursor) ... ok test_len (test_cursor.TestCursor) ... ok test_limit (test_cursor.TestCursor) ... ok test_limit_and_batch_size (test_cursor.TestCursor) ... ok test_max (test_cursor.TestCursor) ... ok test_max_await_time_ms (test_cursor.TestCursor) ... ok test_max_scan (test_cursor.TestCursor) ... ok test_max_time_ms (test_cursor.TestCursor) ... ok test_max_time_ms_getmore (test_cursor.TestCursor) ... skipped 'Test commands must be enabled' test_min (test_cursor.TestCursor) ... ok test_modifiers (test_cursor.TestCursor) ... ok test_properties (test_cursor.TestCursor) ... ok test_rewind (test_cursor.TestCursor) ... ok test_skip (test_cursor.TestCursor) ... ok test_sort (test_cursor.TestCursor) ... ok test_tailable (test_cursor.TestCursor) ... ok test_where (test_cursor.TestCursor) ... ok test_with_statement (test_cursor.TestCursor) ... ok test_aggregate_raw (test_cursor.TestRawBatchCommandCursor) ... ok test_collation (test_cursor.TestRawBatchCommandCursor) ... ok test_collation_error (test_cursor.TestRawBatchCommandCursor) ... skipped 'Server version must be at most 3.2.0.0' test_get_item (test_cursor.TestRawBatchCommandCursor) ... ok test_monitoring (test_cursor.TestRawBatchCommandCursor) ... ok test_server_error (test_cursor.TestRawBatchCommandCursor) ... ok test_clone (test_cursor.TestRawBatchCursor) ... ok test_collation (test_cursor.TestRawBatchCursor) ... ok test_collation_error (test_cursor.TestRawBatchCursor) ... skipped 'Server version must be at most 3.2.0.0' test_exhaust (test_cursor.TestRawBatchCursor) ... ok test_explain (test_cursor.TestRawBatchCursor) ... ok test_find_raw (test_cursor.TestRawBatchCursor) ... ok test_get_item (test_cursor.TestRawBatchCursor) ... ok test_manipulate (test_cursor.TestRawBatchCursor) ... ok test_monitoring (test_cursor.TestRawBatchCursor) ... ok test_read_concern (test_cursor.TestRawBatchCursor) ... ok test_read_concern_error (test_cursor.TestRawBatchCursor) ... skipped 'Server version must be at most 3.1.0.0' test_server_error (test_cursor.TestRawBatchCursor) ... ok test_cursor_manager (test_cursor_manager.TestCursorManager) ... ok test_cursor_manager_validation (test_cursor_manager.TestCursorManager) ... ok test_authenticate_add_remove_user (test_database.TestDatabase) ... skipped 'Authentication is not enabled on the server' test_authenticate_multiple (test_database.TestDatabase) ... skipped 'Authentication is not enabled on the server' test_collection_names (test_database.TestDatabase) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_database.py:164: DeprecationWarning: collection_names is deprecated. Use list_collection_names instead. colls = getattr(db, meth)() /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_database.py:173: DeprecationWarning: collection_names is deprecated. Use list_collection_names instead. db, meth)(include_system_collections=False) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_database.py:184: DeprecationWarning: collection_names is deprecated. Use list_collection_names instead. getattr(db, meth)() ok test_collection_names_single_socket (test_database.TestDatabase) ... ok test_command (test_database.TestDatabase) ... ok test_command_max_time_ms (test_database.TestDatabase) ... skipped 'Test commands must be enabled' test_command_response_without_ok (test_database.TestDatabase) ... ok test_command_with_regex (test_database.TestDatabase) ... skipped 'Server version must be at most 3.5.0.0' test_create_collection (test_database.TestDatabase) ... ok test_default_roles (test_database.TestDatabase) ... skipped 'Authentication is not enabled on the server' test_delete (test_database.TestDatabase) ... ok test_deref (test_database.TestDatabase) ... ok test_deref_kwargs (test_database.TestDatabase) ... ok test_drop_collection (test_database.TestDatabase) ... ok test_equality (test_database.TestDatabase) ... ok test_errors (test_database.TestDatabase) ... ok test_eval (test_database.TestDatabase) ... ok test_get_coll (test_database.TestDatabase) ... ok test_id_ordering (test_database.TestDatabase) ... ok test_insert_find_one (test_database.TestDatabase) ... ok test_list_collection_names (test_database.TestDatabase) ... ok test_list_collections (test_database.TestDatabase) ... ok test_long (test_database.TestDatabase) ... ok test_make_user_readonly (test_database.TestDatabase) ... skipped 'Authentication is not enabled on the server' test_mongos_response (test_database.TestDatabase) ... ok test_new_user_cmds (test_database.TestDatabase) ... skipped 'Authentication is not enabled on the server' test_password_digest (test_database.TestDatabase) ... ok test_profiling_info (test_database.TestDatabase) ... ok test_profiling_levels (test_database.TestDatabase) ... ok test_repr (test_database.TestDatabase) ... ok test_system_js (test_database.TestDatabase) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:1386: DeprecationWarning: Database.eval() is deprecated scope={'name': name}), *args) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:1386: DeprecationWarning: Database.eval() is deprecated scope={'name': name}), *args) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:1386: DeprecationWarning: Database.eval() is deprecated scope={'name': name}), *args) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:1386: DeprecationWarning: Database.eval() is deprecated scope={'name': name}), *args) ok test_system_js_list (test_database.TestDatabase) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) ok test_validate_collection (test_database.TestDatabase) ... ok test_get_collection (test_database.TestDatabaseNoConnect) ... ok test_getattr (test_database.TestDatabaseNoConnect) ... ok test_iteration (test_database.TestDatabaseNoConnect) ... ok test_name (test_database.TestDatabaseNoConnect) ... ok test_creation (test_dbref.TestDBRef) ... ok test_dbref_hash (test_dbref.TestDBRef) ... ok test_deepcopy (test_dbref.TestDBRef) ... ok test_equality (test_dbref.TestDBRef) ... ok test_kwargs (test_dbref.TestDBRef) ... ok test_pickling (test_dbref.TestDBRef) ... ok test_read_only (test_dbref.TestDBRef) ... ok test_repr (test_dbref.TestDBRef) ... ok test_decimal128_context (test_decimal128.TestDecimal128) ... ok test_pickle (test_decimal128.TestDecimal128) ... ok test_round_trip (test_decimal128.TestDecimal128) ... ok test_special (test_decimal128.TestDecimal128) ... ok test_rs_compatible (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_discover_arbiters (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_discover_passives (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_discover_primary (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_discover_secondary (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_discovery (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_equal_electionids (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_ghost_discovered (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_hosts_differ_from_seeds (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_ls_timeout (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_member_reconfig (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_member_standalone (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_new_primary (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_new_primary_new_electionid (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_new_primary_new_setversion (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_new_primary_wrong_set_name (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_non_rs_member (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_normalize_case (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_normalize_case_me (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_null_election_id (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_becomes_standalone (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_changes_set_name (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_disconnect (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_disconnect_electionid (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_disconnect_setversion (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_hint_from_secondary_with_mismatched_me (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_mismatched_me (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_reports_new_member (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_to_no_primary_mismatched_me (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_wrong_set_name (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_response_from_removed (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_rsother_discovered (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_sec_not_auth (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_secondary_mismatched_me (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_secondary_wrong_set_name (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_secondary_wrong_set_name_with_primary (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_setversion_without_electionid (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_stepdown_change_set_name (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_too_new (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_too_old (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_unexpected_mongos (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_use_setversion_without_electionid (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_wrong_set_name (test_discovery_and_monitoring.TestAllScenarios) ... ok test_sharded_compatible (test_discovery_and_monitoring.TestAllScenarios) ... ok test_sharded_ls_timeout_mongos (test_discovery_and_monitoring.TestAllScenarios) ... ok test_sharded_mongos_disconnect (test_discovery_and_monitoring.TestAllScenarios) ... ok test_sharded_multiple_mongoses (test_discovery_and_monitoring.TestAllScenarios) ... ok test_sharded_non_mongos_removed (test_discovery_and_monitoring.TestAllScenarios) ... ok test_sharded_normalize_uri_case (test_discovery_and_monitoring.TestAllScenarios) ... ok test_sharded_too_new (test_discovery_and_monitoring.TestAllScenarios) ... ok test_sharded_too_old (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_compatible (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_direct_connection_external_ip (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_direct_connection_mongos (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_direct_connection_rsarbiter (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_direct_connection_rsprimary (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_direct_connection_rssecondary (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_direct_connection_slave (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_direct_connection_standalone (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_ls_timeout_standalone (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_not_ok_response (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_standalone_removed (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_too_new (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_too_old (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_unavailable_seed (test_discovery_and_monitoring.TestAllScenarios) ... ok test_cluster_time_comparison (test_discovery_and_monitoring.TestClusterTimeComparison) ... ok test_longer-parent-in-return (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_misformatted-option (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_no-results (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_not-enough-parts (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_one-result-default-port (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_one-txt-record (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_one-txt-record-multiple-strings (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_parent-part-mismatch1 (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_parent-part-mismatch2 (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_parent-part-mismatch3 (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_parent-part-mismatch4 (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_parent-part-mismatch5 (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_returned-parent-too-short (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_returned-parent-wrong (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_two-results-default-port (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_two-results-nonstandard-port (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_two-txt-records (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_txt-record-with-overridden-uri-option (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_txt-record-with-unallowed-option (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_uri-with-port (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_uri-with-two-hosts (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_aggregate_examples (test_examples.TestSampleShellCommands) ... ok test_change_streams (test_examples.TestSampleShellCommands) ... skipped 'Not connected to a replica set' test_commands (test_examples.TestSampleShellCommands) ... ok test_delete (test_examples.TestSampleShellCommands) ... ok test_first_three_examples (test_examples.TestSampleShellCommands) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_examples.py:64: DeprecationWarning: count is deprecated. Use Collection.count_documents instead. self.assertEqual(cursor.count(), 1) ok test_index_management (test_examples.TestSampleShellCommands) ... ok test_misc (test_examples.TestSampleShellCommands) ... skipped 'Not connected to a replica set' test_projection (test_examples.TestSampleShellCommands) ... ok test_query_array_of_documents (test_examples.TestSampleShellCommands) ... ok test_query_arrays (test_examples.TestSampleShellCommands) ... ok test_query_embedded_documents (test_examples.TestSampleShellCommands) ... ok test_query_null (test_examples.TestSampleShellCommands) ... ok test_query_top_level_fields (test_examples.TestSampleShellCommands) ... ok test_update_and_replace (test_examples.TestSampleShellCommands) ... ok test_transactions (test_examples.TestTransactionExamples) ... skipped 'Not connected to a replica set' test_transactions_beta (test_examples.TestTransactionExamples) ... skipped 'Not connected to a replica set' test_alternate_collection (test_grid_file.TestGridFile) ... ok test_basic (test_grid_file.TestGridFile) ... ok test_close (test_grid_file.TestGridFile) ... ok test_context_manager (test_grid_file.TestGridFile) ... ok test_grid_in_default_opts (test_grid_file.TestGridFile) ... ok test_grid_in_lazy_connect (test_grid_file.TestGridFile) ... ok test_grid_out_cursor_options (test_grid_file.TestGridFile) ... ok test_grid_out_custom_opts (test_grid_file.TestGridFile) ... ok test_grid_out_default_opts (test_grid_file.TestGridFile) ... ok test_grid_out_file_document (test_grid_file.TestGridFile) ... ok test_grid_out_lazy_connect (test_grid_file.TestGridFile) ... ok test_iterator (test_grid_file.TestGridFile) ... ok test_md5 (test_grid_file.TestGridFile) ... ok test_multi_chunk_file (test_grid_file.TestGridFile) ... ok test_multiple_reads (test_grid_file.TestGridFile) ... ok test_prechunked_string (test_grid_file.TestGridFile) ... ok test_read_unaligned_buffer_size (test_grid_file.TestGridFile) ... ok test_readchunk (test_grid_file.TestGridFile) ... ok test_readline (test_grid_file.TestGridFile) ... ok test_seek (test_grid_file.TestGridFile) ... ok test_set_after_close (test_grid_file.TestGridFile) ... ok test_small_chunks (test_grid_file.TestGridFile) ... ok test_tell (test_grid_file.TestGridFile) ... ok test_unacknowledged (test_grid_file.TestGridFile) ... ok test_write_file_like (test_grid_file.TestGridFile) ... ok test_write_lines (test_grid_file.TestGridFile) ... ok test_write_unicode (test_grid_file.TestGridFile) ... ok test_grid_in_custom_opts (test_grid_file.TestGridFileNoConnect) ... ok test_alt_collection (test_gridfs.TestGridfs) ... ok test_basic (test_gridfs.TestGridfs) ... ok test_corrupt_chunk (test_gridfs.TestGridfs) ... ok test_empty_file (test_gridfs.TestGridfs) ... ok test_exists (test_gridfs.TestGridfs) ... ok test_file_exists (test_gridfs.TestGridfs) ... ok test_get_last_version (test_gridfs.TestGridfs) ... ok test_get_last_version_with_metadata (test_gridfs.TestGridfs) ... ok test_get_version (test_gridfs.TestGridfs) ... ok test_get_version_with_metadata (test_gridfs.TestGridfs) ... ok test_grid_in_non_int_chunksize (test_gridfs.TestGridfs) ... ok test_gridfs_find (test_gridfs.TestGridfs) ... ok test_gridfs_find_one (test_gridfs.TestGridfs) ... ok test_gridfs_lazy_connect (test_gridfs.TestGridfs) ... ok test_list (test_gridfs.TestGridfs) ... ok test_md5 (test_gridfs.TestGridfs) ... ok test_missing_length_iter (test_gridfs.TestGridfs) ... ok test_multi_chunk_delete (test_gridfs.TestGridfs) ... ok test_put_ensures_index (test_gridfs.TestGridfs) ... ok test_put_filelike (test_gridfs.TestGridfs) ... ok test_put_unicode (test_gridfs.TestGridfs) ... ok test_threaded_reads (test_gridfs.TestGridfs) ... ok test_threaded_writes (test_gridfs.TestGridfs) ... ok test_unacknowledged (test_gridfs.TestGridfs) ... ok test_gridfs (test_gridfs.TestGridfsNoConnect) ... ok skipped 'Not enough secondaries available' test_abort (test_gridfs_bucket.TestGridfs) ... ok test_alt_collection (test_gridfs_bucket.TestGridfs) ... ok test_basic (test_gridfs_bucket.TestGridfs) ... ok test_corrupt_chunk (test_gridfs_bucket.TestGridfs) ... ok test_download_to_stream (test_gridfs_bucket.TestGridfs) ... ok test_download_to_stream_by_name (test_gridfs_bucket.TestGridfs) ... ok test_empty_file (test_gridfs_bucket.TestGridfs) ... ok test_get_last_version (test_gridfs_bucket.TestGridfs) ... ok test_get_version (test_gridfs_bucket.TestGridfs) ... ok test_grid_in_non_int_chunksize (test_gridfs_bucket.TestGridfs) ... ok test_gridfs_find (test_gridfs_bucket.TestGridfs) ... ok test_gridfs_lazy_connect (test_gridfs_bucket.TestGridfs) ... ok test_md5 (test_gridfs_bucket.TestGridfs) ... ok test_missing_length_iter (test_gridfs_bucket.TestGridfs) ... ok test_multi_chunk_delete (test_gridfs_bucket.TestGridfs) ... ok test_open_upload_stream (test_gridfs_bucket.TestGridfs) ... ok test_open_upload_stream_with_id (test_gridfs_bucket.TestGridfs) ... ok test_rename (test_gridfs_bucket.TestGridfs) ... ok test_threaded_reads (test_gridfs_bucket.TestGridfs) ... ok test_threaded_writes (test_gridfs_bucket.TestGridfs) ... ok test_unacknowledged (test_gridfs_bucket.TestGridfs) ... ok test_upload_ensures_index (test_gridfs_bucket.TestGridfs) ... ok test_upload_from_stream (test_gridfs_bucket.TestGridfs) ... ok test_upload_from_stream_with_id (test_gridfs_bucket.TestGridfs) ... ok skipped 'Not enough secondaries available' test_delete (test_gridfs_spec.TestAllScenarios) ... ok test_download (test_gridfs_spec.TestAllScenarios) ... ok test_download_by_name (test_gridfs_spec.TestAllScenarios) ... ok test_upload (test_gridfs_spec.TestAllScenarios) ... ok test_standalone (test_heartbeat_monitoring.TestHeartbeatMonitoring) ... ok test_standalone_error (test_heartbeat_monitoring.TestHeartbeatMonitoring) ... ok test_basic (test_json_util.TestJsonUtil) ... ok test_binary (test_json_util.TestJsonUtil) ... ok test_code (test_json_util.TestJsonUtil) ... ok test_datetime (test_json_util.TestJsonUtil) ... ok test_dbref (test_json_util.TestJsonUtil) ... ok test_loads_document_class (test_json_util.TestJsonUtil) ... ok test_maxkey (test_json_util.TestJsonUtil) ... ok test_minkey (test_json_util.TestJsonUtil) ... ok test_numberlong (test_json_util.TestJsonUtil) ... ok test_objectid (test_json_util.TestJsonUtil) ... ok test_regex (test_json_util.TestJsonUtil) ... ok test_regex_object_hook (test_json_util.TestJsonUtil) ... ok test_timestamp (test_json_util.TestJsonUtil) ... ok test_undefined (test_json_util.TestJsonUtil) ... ok test_uuid (test_json_util.TestJsonUtil) ... ok test_cursor (test_json_util.TestJsonUtilRoundtrip) ... ok test_add_son_manipulator_deprecation (test_legacy_api.TestDeprecations) ... ok test_ensure_index_deprecation (test_legacy_api.TestDeprecations) ... ok test_find_and_modify_deprecation (test_legacy_api.TestDeprecations) ... ok test_insert_deprecation (test_legacy_api.TestDeprecations) ... ok test_remove_deprecation (test_legacy_api.TestDeprecations) ... ok test_save_deprecation (test_legacy_api.TestDeprecations) ... ok test_update_deprecation (test_legacy_api.TestDeprecations) ... ok test_acknowledged_insert (test_legacy_api.TestLegacy) ... ok test_acknowledged_save (test_legacy_api.TestLegacy) ... ok test_acknowledged_update (test_legacy_api.TestLegacy) ... ok test_auto_ref_and_deref (test_legacy_api.TestLegacy) ... ok test_auto_ref_and_deref_list (test_legacy_api.TestLegacy) ... ok test_bad_dbref (test_legacy_api.TestLegacy) ... ok test_continue_on_error (test_legacy_api.TestLegacy) ... ok test_disabling_manipulators (test_legacy_api.TestLegacy) ... ok test_ensure_index (test_legacy_api.TestLegacy) ... ok test_ensure_index_threaded (test_legacy_api.TestLegacy) ... ok test_ensure_purge_index_threaded (test_legacy_api.TestLegacy) ... ok test_ensure_unique_index_threaded (test_legacy_api.TestLegacy) ... ok test_find_and_modify (test_legacy_api.TestLegacy) ... ok test_find_and_modify_with_manipulator (test_legacy_api.TestLegacy) ... ok test_find_and_modify_with_sort (test_legacy_api.TestLegacy) ... ok test_generator_insert (test_legacy_api.TestLegacy) ... ok test_get_default_database (test_legacy_api.TestLegacy) ... ok test_get_default_database_error (test_legacy_api.TestLegacy) ... ok test_get_default_database_with_authsource (test_legacy_api.TestLegacy) ... ok test_group (test_legacy_api.TestLegacy) ... ok test_group_uuid_representation (test_legacy_api.TestLegacy) ... ok test_group_with_scope (test_legacy_api.TestLegacy) ... ok test_insert_adds_id (test_legacy_api.TestLegacy) ... ok test_insert_find_one (test_legacy_api.TestLegacy) ... ok test_insert_iterables (test_legacy_api.TestLegacy) ... ok test_insert_large_batch (test_legacy_api.TestLegacy) ... ok test_insert_manipulate_false (test_legacy_api.TestLegacy) ... ok test_insert_multiple (test_legacy_api.TestLegacy) ... ok test_insert_multiple_with_duplicate (test_legacy_api.TestLegacy) ... ok test_insert_prefers_write_errors (test_legacy_api.TestLegacy) ... skipped 'Not connected to a replica set' test_kill_cursors_with_cursoraddress (test_legacy_api.TestLegacy) ... ok test_kill_cursors_with_tuple (test_legacy_api.TestLegacy) ... ok test_last_error_options (test_legacy_api.TestLegacy) ... ok test_last_status (test_legacy_api.TestLegacy) ... ok test_manipulator_properties (test_legacy_api.TestLegacy) ... ok test_multi_update (test_legacy_api.TestLegacy) ... ok test_object_to_dict_transformer (test_legacy_api.TestLegacy) ... ok test_remove_all (test_legacy_api.TestLegacy) ... ok test_remove_non_objectid (test_legacy_api.TestLegacy) ... ok test_remove_one (test_legacy_api.TestLegacy) ... ok test_save (test_legacy_api.TestLegacy) ... ok test_save_adds_id (test_legacy_api.TestLegacy) ... ok test_save_returns_id (test_legacy_api.TestLegacy) ... ok test_save_with_invalid_key (test_legacy_api.TestLegacy) ... skipped 'MongoDB >= 3.5.8 allows dotted fields in updates' test_son_manipulator_inheritance (test_legacy_api.TestLegacy) ... ok test_son_manipulator_outgoing (test_legacy_api.TestLegacy) ... ok test_update (test_legacy_api.TestLegacy) ... ok test_update_backward_compat (test_legacy_api.TestLegacy) ... ok test_update_manipulate (test_legacy_api.TestLegacy) ... ok test_update_nmodified (test_legacy_api.TestLegacy) ... ok test_upsert (test_legacy_api.TestLegacy) ... ok test_write_large_document (test_legacy_api.TestLegacy) ... ok test_bypass_document_validation_bulk_op (test_legacy_api.TestLegacyBulk) ... ok test_client_generated_upsert_id (test_legacy_api.TestLegacyBulk) ... ok test_empty (test_legacy_api.TestLegacyBulk) ... ok test_find (test_legacy_api.TestLegacyBulk) ... ok test_generator_insert (test_legacy_api.TestLegacyBulk) ... ok test_insert (test_legacy_api.TestLegacyBulk) ... ok test_insert_check_keys (test_legacy_api.TestLegacyBulk) ... ok test_large_inserts_ordered (test_legacy_api.TestLegacyBulk) ... ok test_large_inserts_unordered (test_legacy_api.TestLegacyBulk) ... ok test_multiple_error_ordered_batch (test_legacy_api.TestLegacyBulk) ... ok test_multiple_error_unordered_batch (test_legacy_api.TestLegacyBulk) ... ok test_multiple_execution (test_legacy_api.TestLegacyBulk) ... ok test_numerous_inserts (test_legacy_api.TestLegacyBulk) ... ok test_remove (test_legacy_api.TestLegacyBulk) ... ok test_remove_one (test_legacy_api.TestLegacyBulk) ... ok test_replace_one (test_legacy_api.TestLegacyBulk) ... ok test_single_error_ordered_batch (test_legacy_api.TestLegacyBulk) ... ok test_single_error_unordered_batch (test_legacy_api.TestLegacyBulk) ... ok test_single_ordered_batch (test_legacy_api.TestLegacyBulk) ... ok test_single_unordered_batch (test_legacy_api.TestLegacyBulk) ... ok test_update (test_legacy_api.TestLegacyBulk) ... ok test_update_one (test_legacy_api.TestLegacyBulk) ... ok test_upsert (test_legacy_api.TestLegacyBulk) ... ok test_upsert_large (test_legacy_api.TestLegacyBulk) ... ok skipped 'Authentication is not enabled on the server' test_no_results_ordered_failure (test_legacy_api.TestLegacyBulkNoResults) ... ok test_no_results_ordered_success (test_legacy_api.TestLegacyBulkNoResults) ... ok test_no_results_unordered_failure (test_legacy_api.TestLegacyBulkNoResults) ... ok test_no_results_unordered_success (test_legacy_api.TestLegacyBulkNoResults) ... ok test_fsync_and_j (test_legacy_api.TestLegacyBulkWriteConcern) ... ok test_write_concern_failure_ordered (test_legacy_api.TestLegacyBulkWriteConcern) ... skipped 'Not connected to a replica set' test_write_concern_failure_unordered (test_legacy_api.TestLegacyBulkWriteConcern) ... skipped 'Not connected to a replica set' test_max_staleness_ReplicaSetNoPrimary_DefaultNoMaxStaleness (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_Incompatible (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_LastUpdateTime (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_Nearest (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_Nearest2 (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_NoKnownServers (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_PrimaryPreferred (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_PrimaryPreferred_tags (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_Secondary (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_SecondaryPreferred (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_SecondaryPreferred_tags (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_ZeroMaxStaleness (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_DefaultNoMaxStaleness (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_Incompatible (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_LastUpdateTime (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_LongHeartbeat (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_LongHeartbeat2 (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_MaxStalenessTooSmall (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_MaxStalenessWithModePrimary (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_Nearest (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_Nearest2 (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_Nearest_tags (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_PrimaryPreferred (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_PrimaryPreferred_incompatible (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_SecondaryPreferred (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_SecondaryPreferred_tags (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_SecondaryPreferred_tags2 (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_Secondary_tags (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_Secondary_tags2 (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_ZeroMaxStaleness (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_Sharded_Incompatible (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_Sharded_SmallMaxStaleness (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_Single_Incompatible (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_Single_SmallMaxStaleness (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_Unknown_SmallMaxStaleness (test_max_staleness.TestAllScenarios) ... ok test_last_write_date (test_max_staleness.TestMaxStaleness) ... skipped 'Not connected to a replica set' test_last_write_date_absent (test_max_staleness.TestMaxStaleness) ... skipped 'Server version must be at most 3.3.0.0' test_max_staleness (test_max_staleness.TestMaxStaleness) ... ok test_max_staleness_float (test_max_staleness.TestMaxStaleness) ... ok test_max_staleness_zero (test_max_staleness.TestMaxStaleness) ... ok test_failover (test_mongos_load_balancing.TestMongosLoadBalancing) ... ok test_lazy_connect (test_mongos_load_balancing.TestMongosLoadBalancing) ... ok test_load_balancing (test_mongos_load_balancing.TestMongosLoadBalancing) ... ok test_local_threshold (test_mongos_load_balancing.TestMongosLoadBalancing) ... ok test_reconnect (test_mongos_load_balancing.TestMongosLoadBalancing) ... ok test_atexit_hook (test_monitor.TestMonitor) ... ok test_bulk_write (test_monitoring.TestCommandMonitoring) ... ok test_command_and_get_more (test_monitoring.TestCommandMonitoring) ... ok test_exhaust (test_monitoring.TestCommandMonitoring) ... ok test_failed_simple (test_monitoring.TestCommandMonitoring) ... ok test_find_and_get_more (test_monitoring.TestCommandMonitoring) ... ok test_find_one (test_monitoring.TestCommandMonitoring) ... ok test_find_options (test_monitoring.TestCommandMonitoring) ... ok test_find_snapshot (test_monitoring.TestCommandMonitoring) ... skipped 'Server version must be at most 3.7.2.0' test_find_with_explain (test_monitoring.TestCommandMonitoring) ... ok test_first_batch_helper (test_monitoring.TestCommandMonitoring) ... ok test_get_more_failure (test_monitoring.TestCommandMonitoring) ... ok test_insert_many (test_monitoring.TestCommandMonitoring) ... ok test_kill_cursors (test_monitoring.TestCommandMonitoring) ... ok test_legacy_insert_many (test_monitoring.TestCommandMonitoring) ... ok test_legacy_writes (test_monitoring.TestCommandMonitoring) ... ok test_non_bulk_writes (test_monitoring.TestCommandMonitoring) ... ok test_not_master_error (test_monitoring.TestCommandMonitoring) ... skipped 'Not connected to a replica set' test_sensitive_commands (test_monitoring.TestCommandMonitoring) ... ok test_started_simple (test_monitoring.TestCommandMonitoring) ... ok test_succeeded_simple (test_monitoring.TestCommandMonitoring) ... ok test_write_errors (test_monitoring.TestCommandMonitoring) ... ok test_simple (test_monitoring.TestGlobalListener) ... ok test_monotonic_time (test_monotonic.TestMonotonic) ... ok test_fnv_1a_24 (test_objectid.TestFNV1a24) ... ok test_binary_str_equivalence (test_objectid.TestObjectId) ... ok test_creation (test_objectid.TestObjectId) ... ok test_equality (test_objectid.TestObjectId) ... ok test_from_datetime (test_objectid.TestObjectId) ... ok test_from_hex (test_objectid.TestObjectId) ... ok test_generation_time (test_objectid.TestObjectId) ... ok test_is_valid (test_objectid.TestObjectId) ... ok test_pickle_backwards_compatability (test_objectid.TestObjectId) ... ok test_pickling (test_objectid.TestObjectId) ... ok test_pid (test_objectid.TestObjectId) ... ok test_repr_str (test_objectid.TestObjectId) ... ok test_unicode (test_objectid.TestObjectId) ... ok test_max_pool_size (test_pooling.TestPoolMaxSize) ... ok test_max_pool_size_none (test_pooling.TestPoolMaxSize) ... ok test_max_pool_size_with_connection_failure (test_pooling.TestPoolMaxSize) ... ok test_max_pool_size_zero (test_pooling.TestPoolMaxSize) ... ok test_disconnect (test_pooling.TestPooling) ... ok test_get_socket_and_exception (test_pooling.TestPooling) ... ok test_max_pool_size_validation (test_pooling.TestPooling) ... ok test_no_disconnect (test_pooling.TestPooling) ... ok test_no_wait_queue_multiple (test_pooling.TestPooling) ... ok test_no_wait_queue_timeout (test_pooling.TestPooling) ... ok test_pool_check (test_pooling.TestPooling) ... ok test_pool_removes_closed_socket (test_pooling.TestPooling) ... ok test_pool_removes_dead_socket (test_pooling.TestPooling) ... ok test_pool_reuses_open_socket (test_pooling.TestPooling) ... ok test_return_socket_after_reset (test_pooling.TestPooling) ... ok test_socket_closed (test_pooling.TestPooling) ... ok test_socket_closed_thread_safe (test_pooling.TestPooling) ... ok test_wait_queue_multiple (test_pooling.TestPooling) ... ok test_wait_queue_timeout (test_pooling.TestPooling) ... ok test_mongo_client_alias (test_pymongo.TestPyMongo) ... ok test_decode (test_raw_bson.TestRawBSONDocument) ... ok test_raw (test_raw_bson.TestRawBSONDocument) ... ok test_raw_bson_document_embedded (test_raw_bson.TestRawBSONDocument) ... ok test_round_trip (test_raw_bson.TestRawBSONDocument) ... ok test_round_trip_codec_options (test_raw_bson.TestRawBSONDocument) ... ok test_with_codec_options (test_raw_bson.TestRawBSONDocument) ... ok test_write_response_raw_bson (test_raw_bson.TestRawBSONDocument) ... ok test_aggregate_out (test_read_concern.TestReadConcern) ... ok test_command_cursor (test_read_concern.TestReadConcern) ... ok test_find_command (test_read_concern.TestReadConcern) ... ok test_inline_map_reduce (test_read_concern.TestReadConcern) ... ok test_invalid_read_concern (test_read_concern.TestReadConcern) ... skipped 'Server version must be at most 3.1.0.0' test_map_reduce_out (test_read_concern.TestReadConcern) ... ok test_read_concern (test_read_concern.TestReadConcern) ... ok test_read_concern_uri (test_read_concern.TestReadConcern) ... ok skipped 'Not enough secondaries available' test_maybe_add_read_preference (test_read_preferences.TestMongosAndReadPreference) ... ok test_mongos (test_read_preferences.TestMongosAndReadPreference) ... skipped 'Must be connected to a mongos' test_mongos_max_staleness (test_read_preferences.TestMongosAndReadPreference) ... skipped 'Must be connected to a mongos' test_read_preference_document (test_read_preferences.TestMongosAndReadPreference) ... ok test_moving_average (test_read_preferences.TestMovingAverage) ... ok test_copy (test_read_preferences.TestReadPreferenceObjects) ... ok test_deepcopy (test_read_preferences.TestReadPreferenceObjects) ... ok test_pickle (test_read_preferences.TestReadPreferenceObjects) ... ok skipped 'Not enough secondaries available' test_bool (test_read_preferences.TestSelections) ... ok skipped 'Not enough secondaries available' test_connection_string_read_concern_default (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_read_concern_local_specified (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_read_concern_majority_specified (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_acknowledged_with_w_as_0_and_journal_true (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_all_options_combined (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_default (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_journal_as_false (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_journal_as_true (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_unacknowledged_with_w (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_unacknowledged_with_w_and_journal (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_unacknowledged_with_w_and_wtimeoutms (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_w_as_a_string (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_w_as_a_valid_number (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_w_as_an_invalid_number (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_wtimeoutms_as_a_valid_number (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_wtimeoutms_as_an_invalid_number (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_read_concern_default (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_read_concern_local (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_read_concern_majority (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_default (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_everything (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_journal_as_false (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_journal_as_true (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_unacknowledged_with_journal (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_unacknowledged_with_only_w (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_unacknowledged_with_wtimeoutms (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_w_as_a_custom_string (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_w_as_a_number (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_w_as_an_invalid_number (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_w_as_majority (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_w_is_0_with_journal_true (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_wtimeoutms (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_wtimeoutms_as_an_invalid_number (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_omit_default_read_write_concern (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_raise_write_concern_error (test_read_write_concern_spec.TestReadWriteConcernSpec) ... skipped 'Not connected to a replica set' test_raise_wtimeout (test_read_write_concern_spec.TestReadWriteConcernSpec) ... skipped 'Not enough secondaries available' skipped 'Not connected to a replica set' test_connect_with_internal_ips (test_replica_set_client.TestReplicaSetClientInternalIPs) ... ok test_max_write_batch_size (test_replica_set_client.TestReplicaSetClientMaxWriteBatchSize) ... ok test_wire_version (test_replica_set_client.TestReplicaSetWireVersion) ... ok test_client (test_replica_set_reconfig.TestSecondaryAdded) ... ok test_replica_set_client (test_replica_set_reconfig.TestSecondaryAdded) ... ok test_client (test_replica_set_reconfig.TestSecondaryBecomesStandalone) ... ok test_replica_set_client (test_replica_set_reconfig.TestSecondaryBecomesStandalone) ... ok test_replica_set_client (test_replica_set_reconfig.TestSecondaryRemoved) ... ok test_socket_error_marks_member_down (test_replica_set_reconfig.TestSocketError) ... ok skipped 'Not connected to a replica set' test_batch_splitting (test_retryable_writes.TestRetryableWrites) Test retry succeeds after failures during batch splitting. ... skipped 'Not connected to a replica set' test_batch_splitting_retry_fails (test_retryable_writes.TestRetryableWrites) Test retry fails during batch splitting. ... skipped 'Not connected to a replica set' test_retry_timeout_raises_original_error (test_retryable_writes.TestRetryableWrites) A ServerSelectionTimeoutError on the retry attempt raises the ... skipped 'Not connected to a replica set' test_server_selection_timeout_not_retried (test_retryable_writes.TestRetryableWrites) A ServerSelectionTimeoutError is not retried. ... ok test_supported_single_statement_no_retry (test_retryable_writes.TestRetryableWrites) ... ok test_supported_single_statement_supported_cluster (test_retryable_writes.TestRetryableWrites) ... skipped 'Must be connected to a replica set or mongos' test_supported_single_statement_unsupported_cluster (test_retryable_writes.TestRetryableWrites) ... ok test_unsupported_single_statement (test_retryable_writes.TestRetryableWrites) ... ok test_saslprep (test_saslprep.TestSASLprep) ... ok test_replica_set_with_no_primary (test_sdam_monitoring_spec.TestAllScenarios) ... ok test_replica_set_with_primary (test_sdam_monitoring_spec.TestAllScenarios) ... ok test_replica_set_with_removal (test_sdam_monitoring_spec.TestAllScenarios) ... ok test_required_replica_set (test_sdam_monitoring_spec.TestAllScenarios) ... ok test_standalone (test_sdam_monitoring_spec.TestAllScenarios) ... ok test_repr (test_server.TestServer) ... ok test_all_hosts (test_server_description.TestServerDescription) ... ok test_arbiter (test_server_description.TestServerDescription) ... ok test_default_max_message_size (test_server_description.TestServerDescription) ... ok test_fields (test_server_description.TestServerDescription) ... ok test_ghost (test_server_description.TestServerDescription) ... ok test_mongos (test_server_description.TestServerDescription) ... ok test_ok_false (test_server_description.TestServerDescription) ... ok test_other (test_server_description.TestServerDescription) ... ok test_primary (test_server_description.TestServerDescription) ... ok test_secondary (test_server_description.TestServerDescription) ... ok test_standalone (test_server_description.TestServerDescription) ... ok test_unknown (test_server_description.TestServerDescription) ... ok test_ReplicaSetNoPrimary_read_Nearest (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_Nearest_multiple (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_Nearest_non_matching (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_Primary (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_PrimaryPreferred (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_PrimaryPreferred_non_matching (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_Secondary (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_SecondaryPreferred_non_matching (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_Secondary_multi_tags (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_Secondary_multi_tags2 (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_Secondary_non_matching (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_write_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_Nearest (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_Nearest_multiple (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_Nearest_non_matching (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_Primary (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_PrimaryPreferred (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_PrimaryPreferred_non_matching (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_Secondary (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_SecondaryPreferred_non_matching (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_SecondaryPreferred_tags (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_Secondary_non_matching (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_write_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_Sharded_read_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_Sharded_write_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_Single_read_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_Single_write_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_Unknown_read_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_Unknown_write_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_rtt_first_value (test_server_selection_rtt.TestAllScenarios) ... ok test_rtt_first_value_zero (test_server_selection_rtt.TestAllScenarios) ... ok test_rtt_value_test_1 (test_server_selection_rtt.TestAllScenarios) ... ok test_rtt_value_test_2 (test_server_selection_rtt.TestAllScenarios) ... ok test_rtt_value_test_3 (test_server_selection_rtt.TestAllScenarios) ... ok test_rtt_value_test_4 (test_server_selection_rtt.TestAllScenarios) ... ok test_rtt_value_test_5 (test_server_selection_rtt.TestAllScenarios) ... ok test_cluster_time_no_server_support (test_session.TestCausalConsistency) ... ok test_cluster_time_with_server_support (test_session.TestCausalConsistency) ... skipped 'Must be connected to a replica set or mongos' test_core (test_session.TestCausalConsistency) ... skipped 'Must be connected to a replica set or mongos' test_get_more_does_not_include_read_concern (test_session.TestCausalConsistency) ... skipped 'Must be connected to a replica set or mongos' test_read_concern (test_session.TestCausalConsistency) ... skipped 'Must be connected to a replica set or mongos' test_reads (test_session.TestCausalConsistency) ... skipped 'Must be connected to a replica set or mongos' test_server_not_causal (test_session.TestCausalConsistency) ... ok test_session_not_causal (test_session.TestCausalConsistency) ... ok test_writes (test_session.TestCausalConsistency) ... skipped 'Must be connected to a replica set or mongos' test_writes_do_not_include_read_concern (test_session.TestCausalConsistency) ... skipped 'Must be connected to a replica set or mongos' test_cluster_time (test_session.TestClusterTime) ... skipped '$clusterTime not supported' test_aggregate (test_session.TestSession) ... ok test_aggregate_error (test_session.TestSession) ... ok test_client (test_session.TestSession) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_session.py:110: DeprecationWarning: database_names is deprecated. Use list_database_names instead. f(*args, **kw) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_session.py:129: DeprecationWarning: database_names is deprecated. Use list_database_names instead. f(*args, **kw) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_session.py:141: DeprecationWarning: database_names is deprecated. Use list_database_names instead. f(*args, **kw) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_session.py:146: DeprecationWarning: database_names is deprecated. Use list_database_names instead. f(*args, **kw) ok test_collection (test_session.TestSession) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_session.py:110: DeprecationWarning: count is deprecated. Use estimated_document_count or count_documents instead. Please note that $where must be replaced by $expr, $near must be replaced by $geoWithin with $center, and $nearSphere must be replaced by $geoWithin with $centerSphere f(*args, **kw) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_session.py:129: DeprecationWarning: count is deprecated. Use estimated_document_count or count_documents instead. Please note that $where must be replaced by $expr, $near must be replaced by $geoWithin with $center, and $nearSphere must be replaced by $geoWithin with $centerSphere f(*args, **kw) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_session.py:141: DeprecationWarning: count is deprecated. Use estimated_document_count or count_documents instead. Please note that $where must be replaced by $expr, $near must be replaced by $geoWithin with $center, and $nearSphere must be replaced by $geoWithin with $centerSphere f(*args, **kw) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_session.py:146: DeprecationWarning: count is deprecated. Use estimated_document_count or count_documents instead. Please note that $where must be replaced by $expr, $near must be replaced by $geoWithin with $center, and $nearSphere must be replaced by $geoWithin with $centerSphere f(*args, **kw) ok test_command_cursor_close (test_session.TestSession) ... ok test_command_cursor_del (test_session.TestSession) ... ok test_command_cursor_exhaust (test_session.TestSession) ... ok test_command_cursor_limit_reached (test_session.TestSession) ... ok test_cursor (test_session.TestSession) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_session.py:404: DeprecationWarning: count is deprecated. Use Collection.count_documents instead. ('count', lambda session: coll.find(session=session).count()), /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_session.py:404: DeprecationWarning: count is deprecated. Use Collection.count_documents instead. ('count', lambda session: coll.find(session=session).count()), /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_session.py:404: DeprecationWarning: count is deprecated. Use Collection.count_documents instead. ('count', lambda session: coll.find(session=session).count()), ok test_cursor_clone (test_session.TestSession) ... ok test_cursor_close (test_session.TestSession) ... ok test_cursor_del (test_session.TestSession) ... ok test_cursor_exhaust (test_session.TestSession) ... ok test_cursor_limit_reached (test_session.TestSession) ... ok test_database (test_session.TestSession) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_session.py:110: DeprecationWarning: collection_names is deprecated. Use list_collection_names instead. f(*args, **kw) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_session.py:129: DeprecationWarning: collection_names is deprecated. Use list_collection_names instead. f(*args, **kw) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_session.py:141: DeprecationWarning: collection_names is deprecated. Use list_collection_names instead. f(*args, **kw) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/test/test_session.py:146: DeprecationWarning: collection_names is deprecated. Use list_collection_names instead. f(*args, **kw) ok test_end_session (test_session.TestSession) ... ok test_end_sessions (test_session.TestSession) ... ok test_gridfs (test_session.TestSession) ... ok test_gridfs_bucket (test_session.TestSession) ... ok test_gridfsbucket_cursor (test_session.TestSession) ... ok test_killcursors (test_session.TestSession) ... ok test_parallel_collection_scan (test_session.TestSession) ... ok test_pool_lifo (test_session.TestSession) ... ok test_unacknowledged_writes (test_session.TestSession) ... ok test_user_admin (test_session.TestSession) ... skipped 'Authentication is not enabled on the server' test_explicit_session_logout (test_session.TestSessionsMultiAuth) ... skipped 'Authentication is not enabled on the server' test_implicit_session_logout (test_session.TestSessionsMultiAuth) ... skipped 'Authentication is not enabled on the server' test_session_authenticate_multiple (test_session.TestSessionsMultiAuth) ... skipped 'Authentication is not enabled on the server' test_sessions_not_supported (test_session.TestSessionsNotSupported) ... skipped 'Server version must be at most 3.5.10.0' test_clears (test_son.TestSON) ... ok test_contains_has (test_son.TestSON) ... ok test_copying (test_son.TestSON) ... ok test_equality (test_son.TestSON) ... ok test_iteration (test_son.TestSON) ... ok test_len (test_son.TestSON) ... ok test_ordered_dict (test_son.TestSON) ... ok test_pickle (test_son.TestSON) ... ok test_pickle_backwards_compatability (test_son.TestSON) ... ok test_to_dict (test_son.TestSON) ... ok test_basic (test_son_manipulator.TestSONManipulator) ... ok test_id_injection (test_son_manipulator.TestSONManipulator) ... ok test_id_shuffling (test_son_manipulator.TestSONManipulator) ... ok test_ns_injection (test_son_manipulator.TestSONManipulator) ... ok test_config_ssl (test_ssl.TestClientSSL) ... ok test_no_ssl_module (test_ssl.TestClientSSL) ... skipped "The ssl module is available, can't test what happens without it." test_cert_ssl_implicitly_set (test_ssl.TestSSL) ... skipped 'Must be able to connect with ssl_certfile' test_cert_ssl_uri_support (test_ssl.TestSSL) ... skipped 'Must be able to connect with ssl_certfile' test_cert_ssl_validation (test_ssl.TestSSL) ... skipped 'Must be able to connect with ssl_certfile' test_cert_ssl_validation_hostname_matching (test_ssl.TestSSL) ... skipped 'Must be able to connect with ssl_certfile' test_cert_ssl_validation_optional (test_ssl.TestSSL) ... skipped 'Must be able to connect with ssl_certfile' test_certifi_support (test_ssl.TestSSL) ... skipped "Can't test when SSLContext available." test_mongodb_x509_auth (test_ssl.TestSSL) ... skipped 'Authentication is not enabled on the server' test_simple_ssl (test_ssl.TestSSL) ... skipped 'Must be able to connect via SSL' test_ssl_crlfile_support (test_ssl.TestSSL) ... skipped 'Must be able to connect with ssl_certfile' test_ssl_pem_passphrase (test_ssl.TestSSL) ... skipped 'Must be able to connect with ssl_certfile' test_system_certs_config_error (test_ssl.TestSSL) ... skipped "Can't test when system CA certificates are loadable." test_validation_with_system_ca_certs (test_ssl.TestSSL) ... skipped 'Must be able to connect with ssl_certfile' test_wincertstore (test_ssl.TestSSL) ... skipped 'Only valid on Windows.' test_client_disconnect (test_threads.TestThreads) ... ok test_safe_insert (test_threads.TestThreads) ... ok test_safe_update (test_threads.TestThreads) ... ok test_threading (test_threads.TestThreads) ... ok skipped 'Authentication is not enabled on the server' test_datetime (test_timestamp.TestTimestamp) ... ok test_datetime_copy_pickle (test_timestamp.TestTimestamp) ... ok test_equality (test_timestamp.TestTimestamp) ... ok test_exceptions (test_timestamp.TestTimestamp) ... ok test_hash (test_timestamp.TestTimestamp) ... ok test_repr (test_timestamp.TestTimestamp) ... ok test_timestamp (test_timestamp.TestTimestamp) ... ok test_close (test_topology.TestMultiServerTopology) ... ok test_discover_set_name_from_primary (test_topology.TestMultiServerTopology) ... ok test_discover_set_name_from_secondary (test_topology.TestMultiServerTopology) ... ok test_max_write_batch_size (test_topology.TestMultiServerTopology) ... ok test_readable_writable (test_topology.TestMultiServerTopology) ... ok test_reset_removed_server (test_topology.TestMultiServerTopology) ... ok test_reset_server (test_topology.TestMultiServerTopology) ... ok test_wire_version (test_topology.TestMultiServerTopology) ... ok test_bad_replica_set_name (test_topology.TestServerSelectionErrors) ... ok test_multiple_standalones (test_topology.TestServerSelectionErrors) ... ok test_no_mongoses (test_topology.TestServerSelectionErrors) ... ok test_no_primary (test_topology.TestServerSelectionErrors) ... ok test_no_secondary (test_topology.TestServerSelectionErrors) ... ok test_direct_connection (test_topology.TestSingleServerTopology) ... ok test_reopen (test_topology.TestSingleServerTopology) ... ok test_round_trip_time (test_topology.TestSingleServerTopology) ... ok test_unavailable_seed (test_topology.TestSingleServerTopology) ... ok test_timeout_configuration (test_topology.TestTopologyConfiguration) ... ok test_internal_monitor_error (test_topology.TestTopologyErrors) ... ok test_ismaster_retry (test_topology.TestTopologyErrors) ... ok test_pool_reset (test_topology.TestTopologyErrors) ... ok test_transaction_options_validation (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transaction_write_concern_override (test_transactions.TestTransactions) Test txn overrides Client/Database/Collection write_concern. ... skipped 'Not connected to a replica set' test_transactions_abort_abort (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_abort_abort_directly_after_commit (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_abort_abort_directly_after_no-op_commit (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_abort_abort_does_not_apply_writeConcern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_abort_abort_ignores_TransactionAborted (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_abort_abort_without_start (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_abort_implicit_abort (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_abort_two_aborts (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_bulk_bulk (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_causal_consistency_causal_consistency (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_causal_consistency_causal_consistency_disabled (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_commit (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_commit_after_abort (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_commit_after_no-op_abort (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_commit_without_start (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_multiple_commits_after_empty_transaction (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_multiple_commits_in_a_row (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_rerun_commit_after_empty_transaction (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_reset_session_state_abort (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_reset_session_state_commit (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_write_concern_error_on_commit (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_delete_collection_writeConcern_ignored_for_delete (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_delete_delete (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_DuplicateKey_errors_do_not_contain_transient_label (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_NoSuchTransaction_errors_contain_transient_label (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_NoSuchTransaction_errors_on_commit_contain_transient_label (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_NotMaster_errors_contain_transient_label (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_WriteConflict_errors_contain_transient_label (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_add_transient_label_to_connection_errors (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_add_unknown_commit_label_to_connection_errors (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_add_unknown_commit_label_to_retryable_commit_errors (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_add_unknown_commit_label_to_writeConcernError_ShutdownInProgress (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_add_unknown_commit_label_to_writeConcernError_WriteConcernFailed (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_add_unknown_commit_label_to_writeConcernError_WriteConcernFailed_with_wtimeout (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_omit_unknown_commit_label_to_writeConcernError_UnknownReplWriteConcern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_omit_unknown_commit_label_to_writeConcernError_UnsatisfiableWriteConcern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_errors_commit_and_start_twice (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_errors_start_insert_start (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_errors_start_twice (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_errors_write_conflict_abort (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_errors_write_conflict_commit (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_findOneAndDelete_collection_writeConcern_ignored_for_findOneAndDelete (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_findOneAndDelete_findOneAndDelete (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_findOneAndReplace_collection_writeConcern_ignored_for_findOneAndReplace (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_findOneAndReplace_findOneAndReplace (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_findOneAndUpdate_collection_writeConcern_ignored_for_findOneAndUpdate (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_findOneAndUpdate_findOneAndUpdate (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_insert_collection_writeConcern_ignored_for_insert (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_insert_collection_writeConcern_without_transaction (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_insert_insert (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_isolation_one_transaction (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_isolation_two_transactions (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_concern_only_first_aggregate_includes_readConcern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_concern_only_first_countDocuments_includes_readConcern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_concern_only_first_distinct_includes_readConcern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_concern_only_first_find_includes_readConcern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_concern_only_first_runCommand_includes_readConcern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_pref_default_readPreference (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_pref_nearest_readPreference (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_pref_primaryPreferred_readPreference (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_pref_primary_readPreference (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_pref_secondary_readPreference (test_transactions.TestTransactions) ... skipped 'No secondaries' test_transactions_read_pref_secondary_write_only (test_transactions.TestTransactions) ... skipped 'No secondaries' test_transactions_reads_aggregate (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_reads_collection_readConcern_without_transaction (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_reads_count (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_reads_distinct (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_reads_find (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_does_not_retry_after_Interrupted (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_does_not_retry_after_WriteConcernError_Interrupted (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_only_performs_a_single_retry (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_HostNotFound (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_HostUnreachable (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_InterruptedAtShutdown (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_InterruptedDueToReplStateChange (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_NetworkTimeout (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_NotMaster (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_NotMasterNoSlaveOk (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_NotMasterOrSecondary (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_PrimarySteppedDown (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_ShutdownInProgress (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_SocketException (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_WriteConcernError_InterruptedAtShutdown (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_WriteConcernError_InterruptedDueToReplStateChange (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_WriteConcernError_PrimarySteppedDown (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_WriteConcernError_ShutdownInProgress (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_connection_error (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_fails_after_Interrupted (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_fails_after_WriteConcernError_Interrupted (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_fails_after_two_errors (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_HostNotFound (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_HostUnreachable (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_InterruptedAtShutdown (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_InterruptedDueToReplStateChange (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_NetworkTimeout (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_NotMaster (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_NotMasterNoSlaveOk (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_NotMasterOrSecondary (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_PrimarySteppedDown (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_ShutdownInProgress (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_SocketException (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_WriteConcernError_InterruptedAtShutdown (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_WriteConcernError_InterruptedDueToReplStateChange (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_WriteConcernError_PrimarySteppedDown (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_WriteConcernError_ShutdownInProgress (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_connection_error (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_writes_increment_txnNumber (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_writes_writes_are_not_retried (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_run_command_run_command_fails_with_explicit_secondary_read_preference (test_transactions.TestTransactions) ... skipped 'No secondaries' test_transactions_run_command_run_command_fails_with_secondary_read_preference_from_transaction_options (test_transactions.TestTransactions) ... skipped 'No secondaries' test_transactions_run_command_run_command_with_default_read_preference (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_run_command_run_command_with_explicit_primary_read_preference (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_run_command_run_command_with_secondary_read_preference_in_client_option_and_primary_read_preference_in_transaction_options (test_transactions.TestTransactions) ... skipped 'No secondaries' test_transactions_transaction_options_client_writeConcern_ignored_for_bulk (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_defaultTransactionOptions_override_client_options (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_no_transaction_options_set (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_readConcern_local_in_defaultTransactionOptions (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_readConcern_local_in_startTransaction_options (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_readPreference_inherited_from_client (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_readPreference_inherited_from_defaultTransactionOptions (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_startTransaction_options_override_defaults (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_startTransaction_overrides_readPreference (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_transaction_options_inherited_from_client (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_transaction_options_inherited_from_defaultTransactionOptions (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_update_collections_writeConcern_ignored_for_update (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_update_update (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_write_concern_abort_with_default (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_write_concern_abort_with_majority (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_write_concern_commit_with_default (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_write_concern_commit_with_majority (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_write_concern_start_with_implicit_unacknowledged_write_concern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_write_concern_start_with_unacknowledged_write_concern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_parse_ssl_paths (test_uri_parser.TestURI) ... ok test_parse_uri (test_uri_parser.TestURI) ... ok test_parse_uri_unicode (test_uri_parser.TestURI) ... ok test_partition (test_uri_parser.TestURI) ... ok test_rpartition (test_uri_parser.TestURI) ... ok test_split_hosts (test_uri_parser.TestURI) ... ok test_split_options (test_uri_parser.TestURI) ... ok test_validate_userinfo (test_uri_parser.TestURI) ... ok test_connection_string_test_invalid-uris (test_uri_spec.TestAllScenarios) ... ok test_connection_string_test_valid-auth (test_uri_spec.TestAllScenarios) ... ok test_connection_string_test_valid-db-with-dotted-name (test_uri_spec.TestAllScenarios) ... ok test_connection_string_test_valid-host_identifiers (test_uri_spec.TestAllScenarios) ... ok test_connection_string_test_valid-options (test_uri_spec.TestAllScenarios) ... ok test_connection_string_test_valid-unix_socket-absolute (test_uri_spec.TestAllScenarios) ... ok test_connection_string_test_valid-unix_socket-relative (test_uri_spec.TestAllScenarios) ... ok test_connection_string_test_valid-warnings (test_uri_spec.TestAllScenarios) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/common.py:616: UserWarning: Unknown option foo warnings.warn(str(exc)) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/common.py:616: UserWarning: The value of fsync must be 'true' or 'false' warnings.warn(str(exc)) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/uri_parser.py:195: UserWarning: Duplicate URI option replicaSet warnings.warn("Duplicate URI option %s" % (str(key),)) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python2_7/pymongo/uri_parser.py:202: UserWarning: Option wtimeout is deprecated, use 'wtimeoutMS' instead warnings.warn("Option wtimeout is deprecated, use 'wtimeoutMS'" ok ---------------------------------------------------------------------- Ran 1363 tests in 103.073s OK (skipped=261) 2018-08-15T11:42:01.323+0200 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none' killing process with pid: 6319 * python3_6: running distutils-r1_run_phase python_test * Trying to start mongod on port 27000 ... 2018-08-15T11:42:02.496+0200 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none' about to fork child process, waiting until server is ready for connections. forked process: 25741 child process started successfully, parent exiting [ ok ] RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored test/__init__.py RefactoringTool: No changes to test/pymongo_mocks.py RefactoringTool: Refactored test/qcheck.py RefactoringTool: Refactored test/test_auth.py RefactoringTool: No changes to test/test_auth_spec.py RefactoringTool: Refactored test/test_binary.py RefactoringTool: Refactored test/test_bson.py RefactoringTool: No changes to test/test_bson_corpus.py RefactoringTool: Refactored test/test_bulk.py RefactoringTool: Refactored test/test_change_stream.py RefactoringTool: Refactored test/test_client.py RefactoringTool: No changes to test/test_client_context.py RefactoringTool: Refactored test/test_code.py RefactoringTool: No changes to test/test_collation.py RefactoringTool: Refactored test/test_collection.py RefactoringTool: Refactored test/test_command_monitoring_spec.py RefactoringTool: No changes to test/test_common.py RefactoringTool: No changes to test/test_crud.py RefactoringTool: Refactored test/test_cursor.py RefactoringTool: No changes to test/test_cursor_manager.py RefactoringTool: Refactored test/test_database.py RefactoringTool: Refactored test/test_dbref.py RefactoringTool: No changes to test/test_decimal128.py RefactoringTool: Refactored test/test_discovery_and_monitoring.py RefactoringTool: Refactored test/test_dns.py RefactoringTool: Refactored test/test_examples.py RefactoringTool: Refactored test/test_grid_file.py RefactoringTool: Refactored test/test_gridfs.py RefactoringTool: Refactored test/test_gridfs_bucket.py RefactoringTool: Refactored test/test_gridfs_spec.py RefactoringTool: No changes to test/test_heartbeat_monitoring.py RefactoringTool: No changes to test/test_json_util.py RefactoringTool: Refactored test/test_legacy_api.py RefactoringTool: No changes to test/test_max_staleness.py RefactoringTool: No changes to test/test_mongos_load_balancing.py RefactoringTool: Refactored test/test_monitor.py RefactoringTool: No changes to test/test_monitoring.py RefactoringTool: No changes to test/test_monotonic.py RefactoringTool: Refactored test/test_objectid.py RefactoringTool: No changes to test/test_pooling.py RefactoringTool: No changes to test/test_pymongo.py RefactoringTool: Refactored test/test_raw_bson.py RefactoringTool: Refactored test/test_read_concern.py RefactoringTool: No changes to test/test_read_preferences.py RefactoringTool: No changes to test/test_read_write_concern_spec.py RefactoringTool: Refactored test/test_replica_set_client.py RefactoringTool: No changes to test/test_replica_set_reconfig.py RefactoringTool: No changes to test/test_retryable_writes.py RefactoringTool: Refactored test/test_saslprep.py RefactoringTool: Refactored test/test_sdam_monitoring_spec.py RefactoringTool: No changes to test/test_server.py RefactoringTool: No changes to test/test_server_description.py RefactoringTool: No changes to test/test_server_selection.py RefactoringTool: No changes to test/test_server_selection_rtt.py RefactoringTool: Refactored test/test_session.py RefactoringTool: Refactored test/test_son.py RefactoringTool: Refactored test/test_son_manipulator.py RefactoringTool: Refactored test/test_ssl.py RefactoringTool: No changes to test/test_threads.py RefactoringTool: No changes to test/test_timestamp.py RefactoringTool: Refactored test/test_topology.py RefactoringTool: Refactored test/test_transactions.py RefactoringTool: No changes to test/test_uri_parser.py RefactoringTool: No changes to test/test_uri_spec.py RefactoringTool: No changes to test/utils.py RefactoringTool: Refactored test/utils_selection_tests.py RefactoringTool: No changes to test/version.py RefactoringTool: No changes to test/atlas/test_connection.py RefactoringTool: Refactored test/mod_wsgi_test/test_client.py RefactoringTool: Refactored test/performance/perf_test.py RefactoringTool: Refactored test/unicode/test_utf8.py RefactoringTool: Files that were modified: RefactoringTool: test/__init__.py RefactoringTool: test/pymongo_mocks.py RefactoringTool: test/qcheck.py RefactoringTool: test/test_auth.py RefactoringTool: test/test_auth_spec.py RefactoringTool: test/test_binary.py RefactoringTool: test/test_bson.py RefactoringTool: test/test_bson_corpus.py RefactoringTool: test/test_bulk.py RefactoringTool: test/test_change_stream.py RefactoringTool: test/test_client.py RefactoringTool: test/test_client_context.py RefactoringTool: test/test_code.py RefactoringTool: test/test_collation.py RefactoringTool: test/test_collection.py RefactoringTool: test/test_command_monitoring_spec.py RefactoringTool: test/test_common.py RefactoringTool: test/test_crud.py RefactoringTool: test/test_cursor.py RefactoringTool: test/test_cursor_manager.py RefactoringTool: test/test_database.py RefactoringTool: test/test_dbref.py RefactoringTool: test/test_decimal128.py RefactoringTool: test/test_discovery_and_monitoring.py RefactoringTool: test/test_dns.py RefactoringTool: test/test_examples.py RefactoringTool: test/test_grid_file.py RefactoringTool: test/test_gridfs.py RefactoringTool: test/test_gridfs_bucket.py RefactoringTool: test/test_gridfs_spec.py RefactoringTool: test/test_heartbeat_monitoring.py RefactoringTool: test/test_json_util.py RefactoringTool: test/test_legacy_api.py RefactoringTool: test/test_max_staleness.py RefactoringTool: test/test_mongos_load_balancing.py RefactoringTool: test/test_monitor.py RefactoringTool: test/test_monitoring.py RefactoringTool: test/test_monotonic.py RefactoringTool: test/test_objectid.py RefactoringTool: test/test_pooling.py RefactoringTool: test/test_pymongo.py RefactoringTool: test/test_raw_bson.py RefactoringTool: test/test_read_concern.py RefactoringTool: test/test_read_preferences.py RefactoringTool: test/test_read_write_concern_spec.py RefactoringTool: test/test_replica_set_client.py RefactoringTool: test/test_replica_set_reconfig.py RefactoringTool: test/test_retryable_writes.py RefactoringTool: test/test_saslprep.py RefactoringTool: test/test_sdam_monitoring_spec.py RefactoringTool: test/test_server.py RefactoringTool: test/test_server_description.py RefactoringTool: test/test_server_selection.py RefactoringTool: test/test_server_selection_rtt.py RefactoringTool: test/test_session.py RefactoringTool: test/test_son.py RefactoringTool: test/test_son_manipulator.py RefactoringTool: test/test_ssl.py RefactoringTool: test/test_threads.py RefactoringTool: test/test_timestamp.py RefactoringTool: test/test_topology.py RefactoringTool: test/test_transactions.py RefactoringTool: test/test_uri_parser.py RefactoringTool: test/test_uri_spec.py RefactoringTool: test/utils.py RefactoringTool: test/utils_selection_tests.py RefactoringTool: test/version.py RefactoringTool: test/atlas/test_connection.py RefactoringTool: test/mod_wsgi_test/test_client.py RefactoringTool: test/performance/perf_test.py RefactoringTool: test/unicode/test_utf8.py python3.6 setup.py test running test running egg_info writing pymongo.egg-info/PKG-INFO writing dependency_links to pymongo.egg-info/dependency_links.txt writing requirements to pymongo.egg-info/requires.txt writing top-level names to pymongo.egg-info/top_level.txt reading manifest file 'pymongo.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pymongo.egg-info/SOURCES.txt' running build_ext building 'bson._cbson' extension x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python3.6m -c bson/_cbsonmodule.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/_cbsonmodule.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python3.6m -c bson/time64.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/time64.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python3.6m -c bson/buffer.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/buffer.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python3.6m -c bson/encoding_helpers.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/encoding_helpers.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/_cbsonmodule.o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/time64.o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/buffer.o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/encoding_helpers.o -L/usr/lib64 -lpython3.6m -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/bson/_cbson.cpython-36m-x86_64-linux-gnu.so building 'pymongo._cmessage' extension x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python3.6m -c pymongo/_cmessagemodule.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/pymongo/_cmessagemodule.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -Ibson -I/usr/include/python3.6m -c bson/buffer.c -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/buffer.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/pymongo/_cmessagemodule.o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/build/temp.linux-x86_64-3.6/bson/buffer.o -L/usr/lib64 -lpython3.6m -o /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/_cmessage.cpython-36m-x86_64-linux-gnu.so test_uri_options (test_auth.TestAuthURIOptions) ... skipped 'Authentication is not enabled on the server' skipped 'Kerberos module not available.' skipped 'Must set SASL_HOST, SASL_USER, and SASL_PASS to test SASL' test_cache (test_auth.TestSCRAM) ... skipped 'Authentication is not enabled on the server' test_scram (test_auth.TestSCRAM) ... skipped 'Authentication is not enabled on the server' test_scram_threaded (test_auth.TestSCRAM) ... skipped 'Authentication is not enabled on the server' test_scram_sha1 (test_auth.TestSCRAMSHA1) ... skipped 'Authentication is not enabled on the server' test_db_authenticate_threaded (test_auth.TestThreadedAuth) ... skipped 'Authentication is not enabled on the server' test_connection-string_should_accept_generic_mechanism_property_(gssapi) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_accept_the_password_(gssapi) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_accept_valid_authsource_(gssapi) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_accept_valid_authsource_(mongodb-x509) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_accept_valid_authsource_(scram-sha-1) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_accept_valid_authsource_(scram-sha-256) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_ignore_the_database_(gssapi) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_ignore_the_database_(mongodb-x509) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_recognise_the_mechanism_(gssapi) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_recognize_the_mechanism_(mongodb-cr) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_recognize_the_mechanism_(mongodb-x509) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_recognize_the_mechanism_(plain) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_recognize_the_mechanism_(scram-sha-1) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_recognize_the_mechanism_(scram-sha-256) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_recognize_the_mechanism_with_no_username_(mongodb-x509) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_throw_an_exception_if_authsource_is_invalid_(gssapi) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_throw_an_exception_if_authsource_is_invalid_(mongodb-x509) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_throw_an_exception_if_no_username_(gssapi) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_throw_an_exception_if_no_username_(plain) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_throw_an_exception_if_no_username_(scram-sha-1) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_throw_an_exception_if_no_username_(scram-sha-256) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_throw_an_exception_if_no_username_is_supplied_(mongodb-cr) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_throw_an_exception_if_supplied_a_password_(mongodb-x509) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_authsource_when_specified (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_authsource_when_specified_(mongodb-cr) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_authsource_when_specified_(plain) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_database_when_no_authsource_is_specified (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_database_when_no_authsource_is_specified_(mongodb-cr) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_database_when_no_authsource_is_specified_(plain) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_database_when_no_authsource_is_specified_(scram-sha-1) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_database_when_no_authsource_is_specified_(scram-sha-256) (test_auth_spec.TestAuthSpec) ... ok test_connection-string_should_use_the_default_source_and_mechanism (test_auth_spec.TestAuthSpec) ... ok test_binary (test_binary.TestBinary) ... ok test_equality (test_binary.TestBinary) ... ok test_exceptions (test_binary.TestBinary) ... ok test_hash (test_binary.TestBinary) ... ok test_legacy_csharp_uuid (test_binary.TestBinary) ... ok test_legacy_csharp_uuid_roundtrip (test_binary.TestBinary) ... ok test_legacy_java_uuid (test_binary.TestBinary) ... ok test_legacy_java_uuid_roundtrip (test_binary.TestBinary) ... ok test_pickle (test_binary.TestBinary) ... ok test_repr (test_binary.TestBinary) ... ok test_subtype (test_binary.TestBinary) ... ok test_uri_to_uuid (test_binary.TestBinary) ... ok test_uuid_queries (test_binary.TestBinary) ... ok test_uuid_subtype_4 (test_binary.TestBinary) uuid_representation should be ignored when decoding subtype 4. ... ok test_aware_datetime (test_bson.TestBSON) ... ok test_bad_dbref (test_bson.TestBSON) ... ok test_bad_encode (test_bson.TestBSON) ... ok test_bad_id_keys (test_bson.TestBSON) ... ok test_bad_string_lengths (test_bson.TestBSON) ... ok test_basic_decode (test_bson.TestBSON) ... ok test_basic_encode (test_bson.TestBSON) ... ok test_basic_validation (test_bson.TestBSON) ... ok test_bson_regex (test_bson.TestBSON) ... ok test_bytes_as_keys (test_bson.TestBSON) ... ok test_custom_class (test_bson.TestBSON) ... ok test_data_timestamp (test_bson.TestBSON) ... ok test_dates (test_bson.TestBSON) ... ok test_datetime_encode_decode (test_bson.TestBSON) ... ok test_dbpointer (test_bson.TestBSON) ... ok test_dst (test_bson.TestBSON) ... ok test_encode_then_decode (test_bson.TestBSON) ... ok test_encode_then_decode_any_mapping (test_bson.TestBSON) ... ok test_encoding_defaultdict (test_bson.TestBSON) ... ok test_exception_wrapping (test_bson.TestBSON) ... ok test_invalid_decodes (test_bson.TestBSON) ... ok test_large_datetime_truncation (test_bson.TestBSON) ... ok test_local_datetime (test_bson.TestBSON) ... ok test_minkey_maxkey_comparison (test_bson.TestBSON) ... ok test_minkey_maxkey_hash (test_bson.TestBSON) ... ok test_move_id (test_bson.TestBSON) ... ok test_naive_decode (test_bson.TestBSON) ... ok test_non_string_keys (test_bson.TestBSON) ... ok test_null_character (test_bson.TestBSON) ... ok test_ordered_dict (test_bson.TestBSON) ... ok test_overflow (test_bson.TestBSON) ... ok test_random_data_is_not_bson (test_bson.TestBSON) ... ok test_regex_comparison (test_bson.TestBSON) ... ok test_regex_from_native (test_bson.TestBSON) ... ok test_regex_hash (test_bson.TestBSON) ... ok test_small_long_encode_decode (test_bson.TestBSON) ... ok test_subclasses (test_bson.TestBSON) ... ok test_timestamp_comparison (test_bson.TestBSON) ... ok test_timestamp_highorder_bits (test_bson.TestBSON) ... ok test_tuple (test_bson.TestBSON) ... ok test_unicode_regex (test_bson.TestBSON) ... ok test_unknown_type (test_bson.TestBSON) ... ok test_utf8 (test_bson.TestBSON) ... ok test_uuid (test_bson.TestBSON) ... ok test_uuid_legacy (test_bson.TestBSON) ... ok test_codec_options_repr (test_bson.TestCodecOptions) ... ok test_decode_all_defaults (test_bson.TestCodecOptions) ... ok test_document_class (test_bson.TestCodecOptions) ... ok test_tz_aware (test_bson.TestCodecOptions) ... ok test_tzinfo (test_bson.TestCodecOptions) ... ok test_unicode_decode_error_handler (test_bson.TestCodecOptions) ... ok test_uuid_representation (test_bson.TestCodecOptions) ... ok test_array (test_bson_corpus.TestBSONCorpus) ... ok test_binary (test_bson_corpus.TestBSONCorpus) ... ok test_boolean (test_bson_corpus.TestBSONCorpus) ... ok test_code (test_bson_corpus.TestBSONCorpus) ... ok test_code_w_scope (test_bson_corpus.TestBSONCorpus) ... ok test_datetime (test_bson_corpus.TestBSONCorpus) ... ok test_dbpointer (test_bson_corpus.TestBSONCorpus) ... ok test_dbref (test_bson_corpus.TestBSONCorpus) ... ok test_decimal128-1 (test_bson_corpus.TestBSONCorpus) ... ok test_decimal128-2 (test_bson_corpus.TestBSONCorpus) ... ok test_decimal128-3 (test_bson_corpus.TestBSONCorpus) ... ok test_decimal128-4 (test_bson_corpus.TestBSONCorpus) ... ok test_decimal128-5 (test_bson_corpus.TestBSONCorpus) ... ok test_decimal128-6 (test_bson_corpus.TestBSONCorpus) ... ok test_decimal128-7 (test_bson_corpus.TestBSONCorpus) ... ok test_document (test_bson_corpus.TestBSONCorpus) ... ok test_double (test_bson_corpus.TestBSONCorpus) ... ok test_int32 (test_bson_corpus.TestBSONCorpus) ... ok test_int64 (test_bson_corpus.TestBSONCorpus) ... ok test_maxkey (test_bson_corpus.TestBSONCorpus) ... ok test_minkey (test_bson_corpus.TestBSONCorpus) ... ok test_multi-type (test_bson_corpus.TestBSONCorpus) ... ok test_multi-type-deprecated (test_bson_corpus.TestBSONCorpus) ... ok test_null (test_bson_corpus.TestBSONCorpus) ... ok test_oid (test_bson_corpus.TestBSONCorpus) ... ok test_regex (test_bson_corpus.TestBSONCorpus) ... ok test_string (test_bson_corpus.TestBSONCorpus) ... ok test_symbol (test_bson_corpus.TestBSONCorpus) ... ok test_timestamp (test_bson_corpus.TestBSONCorpus) ... ok test_top (test_bson_corpus.TestBSONCorpus) ... ok test_undefined (test_bson_corpus.TestBSONCorpus) ... ok test_array_filters_unacknowledged (test_bulk.TestBulk) ... ok test_array_filters_unsupported (test_bulk.TestBulk) ... skipped 'Server version must be at most 3.5.5.0' test_array_filters_validation (test_bulk.TestBulk) ... ok test_bulk_write_invalid_arguments (test_bulk.TestBulk) ... ok test_bulk_write_no_results (test_bulk.TestBulk) ... ok test_empty (test_bulk.TestBulk) ... ok test_generator_insert (test_bulk.TestBulk) ... ok test_insert (test_bulk.TestBulk) ... ok test_numerous_inserts (test_bulk.TestBulk) ... ok test_remove (test_bulk.TestBulk) ... ok test_remove_one (test_bulk.TestBulk) ... ok test_replace_one (test_bulk.TestBulk) ... ok test_update_many (test_bulk.TestBulk) ... ok test_update_one (test_bulk.TestBulk) ... ok test_upsert (test_bulk.TestBulk) ... ok skipped 'Authentication is not enabled on the server' test_change_streams_change_streams_$changeStream_must_be_the_first_stage_in_a_change_stream_pipeline_sent_to_the_server (test_change_stream.TestAllScenarios) ... skipped "Cluster type not in ['replicaset']" test_change_streams_change_streams_Change_Stream_should_allow_valid_aggregate_pipeline_stages (test_change_stream.TestAllScenarios) ... skipped "Cluster type not in ['replicaset']" test_change_streams_change_streams_Executing_a_watch_helper_on_a_Collection_results_in_notifications_for_changes_to_the_specified_collection (test_change_stream.TestAllScenarios) ... skipped "Cluster type not in ['replicaset']" test_change_streams_change_streams_Executing_a_watch_helper_on_a_Database_results_in_notifications_for_changes_to_all_collections_in_the_specified_database. (test_change_stream.TestAllScenarios) ... skipped "Cluster type not in ['replicaset']" test_change_streams_change_streams_Executing_a_watch_helper_on_a_MongoClient_results_in_notifications_for_changes_to_all_collections_in_all_databases_in_the_cluster. (test_change_stream.TestAllScenarios) ... skipped "Cluster type not in ['replicaset']" test_change_streams_change_streams_The_server_returns_change_stream_responses_in_the_specified_server_response_format (test_change_stream.TestAllScenarios) ... skipped "Cluster type not in ['replicaset']" test_change_streams_change_streams_errors_Change_Stream_should_error_when_an_invalid_aggregation_stage_is_passed_in (test_change_stream.TestAllScenarios) ... skipped "Cluster type not in ['replicaset']" test_change_streams_change_streams_errors_The_watch_helper_must_not_throw_a_custom_exception_when_executed_against_a_single_server_topology,_but_instead_depend_on_a_server_error (test_change_stream.TestAllScenarios) ... ok skipped 'Must be connected to a replica set or mongos' skipped 'Must be connected to a replica set or mongos' skipped 'Must be connected to a replica set or mongos' test_get_database (test_client.ClientUnitTest) ... ok test_get_database_default (test_client.ClientUnitTest) ... ok test_get_database_default_error (test_client.ClientUnitTest) ... ok test_get_database_default_with_authsource (test_client.ClientUnitTest) ... ok test_get_db (test_client.ClientUnitTest) ... ok test_getattr (test_client.ClientUnitTest) ... ok test_iteration (test_client.ClientUnitTest) ... ok test_keyword_arg_defaults (test_client.ClientUnitTest) ... ok test_kwargs_codec_options (test_client.ClientUnitTest) ... ok test_max_pool_size_zero (test_client.ClientUnitTest) ... ok test_metadata (test_client.ClientUnitTest) ... ok test_primary_read_pref_with_tags (test_client.ClientUnitTest) ... ok test_read_preference (test_client.ClientUnitTest) ... ok test_types (test_client.ClientUnitTest) ... ok test_uri_codec_options (test_client.ClientUnitTest) ... ok test_auth_from_uri (test_client.TestClient) ... skipped 'Authentication is not enabled on the server' test_auth_network_error (test_client.TestClient) ... skipped 'Authentication is not enabled on the server' test_bad_uri (test_client.TestClient) ... ok test_close (test_client.TestClient) ... ok test_close_kills_cursors (test_client.TestClient) ... ok test_compression (test_client.TestClient) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/compression_support.py:43: UserWarning: Unsupported compressor: foobar warnings.warn("Unsupported compressor: %s" % (compressor,)) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/compression_support.py:43: UserWarning: Unsupported compressor: foobar warnings.warn("Unsupported compressor: %s" % (compressor,)) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/common.py:616: UserWarning: zlibCompressionLevel must be between -1 and 9, not 10. warnings.warn(str(exc)) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/common.py:616: UserWarning: zlibCompressionLevel must be between -1 and 9, not -2. warnings.warn(str(exc)) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/compression_support.py:47: UserWarning: Wire protocol compression with snappy is not available. You must install the python-snappy module for snappy support. "Wire protocol compression with snappy is not available. " ok test_connect_to_standalone_using_replica_set_name (test_client.TestClient) ... ok test_constants (test_client.TestClient) This test uses MongoClient explicitly to make sure that host and ... ok test_contextlib (test_client.TestClient) ... ok test_database_names (test_client.TestClient) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_client.py:560: DeprecationWarning: database_names is deprecated. Use list_database_names instead. db_names = meth() ok test_document_class (test_client.TestClient) ... ok test_drop_database (test_client.TestClient) ... skipped 'This test often fails due to SERVER-2329' test_equality (test_client.TestClient) ... ok test_exhaust_network_error (test_client.TestClient) ... ok test_fsync_lock_unlock (test_client.TestClient) ... ok test_getters (test_client.TestClient) ... ok test_heartbeat_frequency_ms (test_client.TestClient) ... ok test_host_w_port (test_client.TestClient) ... ok test_init_disconnected (test_client.TestClient) ... ok test_init_disconnected_with_auth (test_client.TestClient) ... ok test_interrupt_signal (test_client.TestClient) ... ok test_ipv6 (test_client.TestClient) ... skipped 'No IPv6' test_lazy_auth_raises_operation_failure (test_client.TestClient) ... skipped 'Authentication is not enabled on the server' test_lazy_connect_w0 (test_client.TestClient) ... ok test_list_database_names (test_client.TestClient) ... ok test_list_databases (test_client.TestClient) ... ok test_max_idle_time_checkout (test_client.TestClient) ... ok test_max_idle_time_reaper (test_client.TestClient) ... ok test_min_pool_size (test_client.TestClient) ... ok test_multiple_logins (test_client.TestClient) ... skipped 'Authentication is not enabled on the server' test_operation_failure (test_client.TestClient) ... ok test_repr (test_client.TestClient) ... ok test_server_selection_timeout (test_client.TestClient) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/common.py:616: UserWarning: serverSelectionTimeoutMS must be greater than 0 and less than one billion warnings.warn(str(exc)) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/common.py:616: UserWarning: serverSelectionTimeoutMS must be an integer or float warnings.warn(str(exc)) ok test_small_heartbeat_frequency_ms (test_client.TestClient) ... ok test_socketKeepAlive (test_client.TestClient) ... ok test_socket_timeout (test_client.TestClient) ... ok test_socket_timeout_ms_validation (test_client.TestClient) ... ok test_stale_getmore (test_client.TestClient) ... skipped 'Not connected to a replica set' test_timeouts (test_client.TestClient) ... ok test_tz_aware (test_client.TestClient) ... ok test_unix_socket (test_client.TestClient) ... skipped 'Socket file is not accessible' test_username_and_password (test_client.TestClient) ... skipped 'Authentication is not enabled on the server' test_waitQueueMultiple (test_client.TestClient) ... ok test_waitQueueTimeoutMS (test_client.TestClient) ... ok test_delete_one (test_client.TestClientLazyConnect) ... ok test_find_one (test_client.TestClientLazyConnect) ... ok test_insert_one (test_client.TestClientLazyConnect) ... ok test_max_bson_size (test_client.TestClientLazyConnect) ... ok test_update_one (test_client.TestClientLazyConnect) ... ok test_exhaust_getmore_network_error (test_client.TestExhaustCursor) ... ok test_exhaust_getmore_server_error (test_client.TestExhaustCursor) ... ok test_exhaust_query_network_error (test_client.TestExhaustCursor) ... ok test_exhaust_query_server_error (test_client.TestExhaustCursor) ... ok test_discover_primary (test_client.TestMongoClientFailover) ... ok test_gevent_task (test_client.TestMongoClientFailover) ... skipped 'Must be running monkey patched by gevent' test_network_error_on_delete (test_client.TestMongoClientFailover) ... ok test_network_error_on_insert (test_client.TestMongoClientFailover) ... ok test_network_error_on_query (test_client.TestMongoClientFailover) ... ok test_network_error_on_replace (test_client.TestMongoClientFailover) ... ok test_network_error_on_update (test_client.TestMongoClientFailover) ... ok test_reconnect (test_client.TestMongoClientFailover) ... ok test_must_connect (test_client_context.TestClientContext) ... skipped 'PYMONGO_MUST_CONNECT is not set' test_code (test_code.TestCode) ... ok test_equality (test_code.TestCode) ... ok test_hash (test_code.TestCode) ... ok test_read_only (test_code.TestCode) ... ok test_repr (test_code.TestCode) ... ok test_scope_kwargs (test_code.TestCode) ... ok test_scope_preserved (test_code.TestCode) ... ok test_types (test_code.TestCode) ... ok test_aggregate (test_collation.TestCollation) ... ok test_bulk (test_collation.TestCollation) ... ok test_bulk_write (test_collation.TestCollation) ... ok test_count (test_collation.TestCollation) ... ok test_count_documents (test_collation.TestCollation) ... ok test_create_collection (test_collation.TestCollation) ... ok test_create_index (test_collation.TestCollation) ... ok test_cursor_collation (test_collation.TestCollation) ... ok test_delete (test_collation.TestCollation) ... ok test_distinct (test_collation.TestCollation) ... ok test_ensure_index (test_collation.TestCollation) ... ok test_explain_command (test_collation.TestCollation) ... ok test_find_and (test_collation.TestCollation) ... ok test_find_command (test_collation.TestCollation) ... ok test_group (test_collation.TestCollation) ... ok test_index_model (test_collation.TestCollation) ... ok test_indexes_same_keys_different_collations (test_collation.TestCollation) ... ok test_map_reduce (test_collation.TestCollation) ... ok test_mixed_bulk_collation (test_collation.TestCollation) ... skipped 'Server version must be at most 3.3.8.0' test_unacknowledged_write (test_collation.TestCollation) ... ok test_update (test_collation.TestCollation) ... ok test_constructor (test_collation.TestCollationObject) ... ok test_acknowledged_delete (test_collection.TestCollection) ... ok test_aggregate (test_collection.TestCollection) ... ok test_aggregate_raw_bson (test_collection.TestCollection) ... ok test_aggregation_cursor (test_collection.TestCollection) ... ok test_aggregation_cursor_alive (test_collection.TestCollection) ... ok test_aggregation_cursor_validation (test_collection.TestCollection) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/collection.py:2397: DeprecationWarning: The useCursor option is deprecated and will be removed in PyMongo 4.0 **kwargs) ok test_array_filters_unacknowledged (test_collection.TestCollection) ... ok test_array_filters_unsupported (test_collection.TestCollection) ... skipped 'Server version must be at most 3.5.5.0' test_array_filters_validation (test_collection.TestCollection) ... ok test_bad_encode (test_collection.TestCollection) ... ok test_bypass_document_validation_bulk_write (test_collection.TestCollection) ... ok test_command_document_too_large (test_collection.TestCollection) ... ok test_count (test_collection.TestCollection) ... ok test_count_documents (test_collection.TestCollection) ... ok test_create (test_collection.TestCollection) ... ok test_create_index (test_collection.TestCollection) ... ok test_create_indexes (test_collection.TestCollection) ... ok test_cursor_timeout (test_collection.TestCollection) ... ok test_delete_many (test_collection.TestCollection) ... ok test_delete_one (test_collection.TestCollection) ... ok test_distinct (test_collection.TestCollection) ... ok test_drop_index (test_collection.TestCollection) ... ok test_drop_indexes_non_existent (test_collection.TestCollection) ... ok test_drop_nonexistent_collection (test_collection.TestCollection) ... ok test_duplicate_key_error (test_collection.TestCollection) ... ok test_equality (test_collection.TestCollection) ... ok test_error_code (test_collection.TestCollection) ... ok test_estimated_document_count (test_collection.TestCollection) ... ok test_exhaust (test_collection.TestCollection) ... ok test_field_selection (test_collection.TestCollection) ... ok test_fields_specifier_as_dict (test_collection.TestCollection) ... ok test_find_by_default_dct (test_collection.TestCollection) ... ok test_find_command_generation (test_collection.TestCollection) ... ok test_find_kwargs (test_collection.TestCollection) ... ok test_find_one (test_collection.TestCollection) ... ok test_find_one_and (test_collection.TestCollection) ... ok test_find_one_and_write_concern (test_collection.TestCollection) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_collection.py:2224: DeprecationWarning: find_and_modify is deprecated, use find_one_and_delete, find_one_and_replace, or find_one_and_update instead {'_id': 1}, {'$set': {'foo': 'bar'}}) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_collection.py:2287: DeprecationWarning: find_and_modify is deprecated, use find_one_and_delete, find_one_and_replace, or find_one_and_update instead c_default.find_and_modify({'_id': 1}, {'$set': {'foo': 'bar'}}) ok test_find_one_non_objectid (test_collection.TestCollection) ... ok test_find_one_with_find_args (test_collection.TestCollection) ... ok test_find_regex (test_collection.TestCollection) ... ok test_find_w_fields (test_collection.TestCollection) ... ok test_find_w_regex (test_collection.TestCollection) ... ok test_find_with_nested (test_collection.TestCollection) ... ok test_find_with_sort (test_collection.TestCollection) ... ok test_id_can_be_anything (test_collection.TestCollection) ... ok test_index_2dsphere (test_collection.TestCollection) ... ok test_index_background (test_collection.TestCollection) ... ok test_index_dont_drop_dups (test_collection.TestCollection) ... ok test_index_drop_dups (test_collection.TestCollection) ... skipped 'Server version must be at most 2.6.0.0' test_index_filter (test_collection.TestCollection) ... ok test_index_geo2d (test_collection.TestCollection) ... ok test_index_hashed (test_collection.TestCollection) ... ok test_index_haystack (test_collection.TestCollection) ... ok test_index_info (test_collection.TestCollection) ... ok test_index_management_max_time_ms (test_collection.TestCollection) ... skipped 'Test commands must be enabled' test_index_on_subfield (test_collection.TestCollection) ... ok test_index_sparse (test_collection.TestCollection) ... ok test_index_text (test_collection.TestCollection) ... ok test_insert_bypass_document_validation (test_collection.TestCollection) ... ok test_insert_many (test_collection.TestCollection) ... ok test_insert_one (test_collection.TestCollection) ... ok test_invalid_key_names (test_collection.TestCollection) ... ok test_large_limit (test_collection.TestCollection) ... ok test_list_indexes (test_collection.TestCollection) ... ok test_manual_last_error (test_collection.TestCollection) ... ok test_map_reduce (test_collection.TestCollection) ... ok test_messages_with_unicode_collection_names (test_collection.TestCollection) ... ok test_min_query (test_collection.TestCollection) ... ok test_numerous_inserts (test_collection.TestCollection) ... ok test_options (test_collection.TestCollection) ... ok test_parallel_scan (test_collection.TestCollection) ... ok test_parallel_scan_max_time_ms (test_collection.TestCollection) ... skipped 'Test commands must be enabled' test_query_on_query_field (test_collection.TestCollection) ... ok test_reindex (test_collection.TestCollection) ... ok test_rename (test_collection.TestCollection) ... ok test_replace_bypass_document_validation (test_collection.TestCollection) ... ok test_replace_one (test_collection.TestCollection) ... ok test_unique_index (test_collection.TestCollection) ... ok test_update_bypass_document_validation (test_collection.TestCollection) ... ok test_update_check_keys (test_collection.TestCollection) ... ok test_update_many (test_collection.TestCollection) ... ok test_update_one (test_collection.TestCollection) ... ok test_update_with_invalid_keys (test_collection.TestCollection) ... skipped 'Server version must be at most 3.5.7.0' test_write_error_text_handling (test_collection.TestCollection) ... /usr/lib64/python3.6/unittest/case.py:178: DeprecationWarning: insert is deprecated. Use insert_one or insert_many instead. callable_obj(*args, **kwargs) /usr/lib64/python3.6/unittest/case.py:178: DeprecationWarning: insert is deprecated. Use insert_one or insert_many instead. callable_obj(*args, **kwargs) /usr/lib64/python3.6/unittest/case.py:178: DeprecationWarning: update is deprecated. Use replace_one, update_one or update_many instead. callable_obj(*args, **kwargs) ok test_wtimeout (test_collection.TestCollection) ... ok test_collection (test_collection.TestCollectionNoConnect) ... ok test_getattr (test_collection.TestCollectionNoConnect) ... ok test_iteration (test_collection.TestCollectionNoConnect) ... ok test_command_monitoring_bulkWrite_A_successful_mixed_bulk_write (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_command_A_failed_command_event (test_command_monitoring_spec.TestAllScenarios) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_command_monitoring_spec.py:136: DeprecationWarning: count is deprecated. Use estimated_document_count or count_documents instead. Please note that $where must be replaced by $expr, $near must be replaced by $geoWithin with $center, and $nearSphere must be replaced by $geoWithin with $centerSphere getattr(coll, name)(**args) ok test_command_monitoring_command_A_successful_command (test_command_monitoring_spec.TestAllScenarios) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_command_monitoring_spec.py:136: DeprecationWarning: count is deprecated. Use estimated_document_count or count_documents instead. Please note that $where must be replaced by $expr, $near must be replaced by $geoWithin with $center, and $nearSphere must be replaced by $geoWithin with $centerSphere getattr(coll, name)(**args) ok test_command_monitoring_command_A_successful_command_with_a_non-primary_read_preference (test_command_monitoring_spec.TestAllScenarios) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_command_monitoring_spec.py:136: DeprecationWarning: count is deprecated. Use estimated_document_count or count_documents instead. Please note that $where must be replaced by $expr, $near must be replaced by $geoWithin with $center, and $nearSphere must be replaced by $geoWithin with $centerSphere getattr(coll, name)(**args) ok test_command_monitoring_deleteMany_A_successful_delete_many (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_deleteMany_A_successful_delete_many_command_with_write_errors (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_deleteOne_A_successful_delete_one (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_deleteOne_A_successful_delete_one_command_with_write_errors (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_find_A_failed_find_event (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_find_A_successful_find_event_with_a_getmore (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_find_A_successful_find_event_with_a_getmore_and_killcursors (test_command_monitoring_spec.TestAllScenarios) ... skipped 'Server version must be at most 3.0.0.0' test_command_monitoring_find_A_successful_find_event_with_a_getmore_and_the_server_kills_the_cursor (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_find_A_successful_find_event_with_no_options (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_find_A_successful_find_event_with_options (test_command_monitoring_spec.TestAllScenarios) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/collection.py:1445: DeprecationWarning: the 'modifiers' parameter is deprecated return Cursor(self, *args, **kwargs) ok test_command_monitoring_insertMany_A_successful_insert_many (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_insertMany_A_successful_insert_many_command_with_write_errors (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_insertMany_A_successful_unordered_insert_many (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_insertOne_A_successful_insert_one (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_insertOne_A_successful_insert_one_command_with_write_errors (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_unacknowledgedBulkWrite_A_successful_unordered_bulk_write_with_an_unacknowledged_write_concern (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_updateMany_A_successful_update_many (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_updateMany_A_successful_update_many_command_with_write_errors (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_updateOne_A_successful_update_one (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_updateOne_A_successful_update_one_command_with_write_errors (test_command_monitoring_spec.TestAllScenarios) ... ok test_command_monitoring_updateOne_A_successful_update_one_with_upsert_when_the_upserted_id_is_not_an_object_id (test_command_monitoring_spec.TestAllScenarios) ... ok test_mongo_client (test_common.TestCommon) ... ok test_uuid_representation (test_common.TestCommon) ... ok test_write_concern (test_common.TestCommon) ... ok test_read_aggregate-collation_Aggregate_with_collation (test_crud.TestAllScenarios) ... ok test_read_aggregate-out_Aggregate_with_$out (test_crud.TestAllScenarios) ... ok test_read_aggregate-out_Aggregate_with_$out_and_batch_size_of_0 (test_crud.TestAllScenarios) ... ok test_read_aggregate_Aggregate_with_multiple_stages (test_crud.TestAllScenarios) ... ok test_read_count-collation_Count_documents_with_collation (test_crud.TestAllScenarios) ... ok test_read_count-collation_Deprecated_count_with_collation (test_crud.TestAllScenarios) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_crud.py:152: DeprecationWarning: count is deprecated. Use estimated_document_count or count_documents instead. Please note that $where must be replaced by $expr, $near must be replaced by $geoWithin with $center, and $nearSphere must be replaced by $geoWithin with $centerSphere result = cmd(**arguments) ok test_read_count_Count_documents_with_a_filter (test_crud.TestAllScenarios) ... ok test_read_count_Count_documents_with_skip_and_limit (test_crud.TestAllScenarios) ... ok test_read_count_Count_documents_without_a_filter (test_crud.TestAllScenarios) ... ok test_read_count_Deprecated_count_with_a_filter (test_crud.TestAllScenarios) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_crud.py:152: DeprecationWarning: count is deprecated. Use estimated_document_count or count_documents instead. Please note that $where must be replaced by $expr, $near must be replaced by $geoWithin with $center, and $nearSphere must be replaced by $geoWithin with $centerSphere result = cmd(**arguments) ok test_read_count_Deprecated_count_with_skip_and_limit (test_crud.TestAllScenarios) ... ok test_read_count_Deprecated_count_without_a_filter (test_crud.TestAllScenarios) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_crud.py:152: DeprecationWarning: count is deprecated. Use estimated_document_count or count_documents instead. Please note that $where must be replaced by $expr, $near must be replaced by $geoWithin with $center, and $nearSphere must be replaced by $geoWithin with $centerSphere result = cmd(**arguments) ok test_read_count_Estimated_document_count (test_crud.TestAllScenarios) ... ok test_read_distinct-collation_Distinct_with_a_collation (test_crud.TestAllScenarios) ... ok test_read_distinct_Distinct_with_a_filter (test_crud.TestAllScenarios) ... ok test_read_distinct_Distinct_without_a_filter (test_crud.TestAllScenarios) ... ok test_read_find-collation_Find_with_a_collation (test_crud.TestAllScenarios) ... ok test_read_find_Find_with_filter (test_crud.TestAllScenarios) ... ok test_read_find_Find_with_filter,_sort,_skip,_and_limit (test_crud.TestAllScenarios) ... ok test_read_find_Find_with_limit,_sort,_and_batchsize (test_crud.TestAllScenarios) ... ok test_write_bulkWrite-arrayFilters_BulkWrite_with_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_deleteMany-collation_DeleteMany_when_many_documents_match_with_collation (test_crud.TestAllScenarios) ... ok test_write_deleteMany_DeleteMany_when_many_documents_match (test_crud.TestAllScenarios) ... ok test_write_deleteMany_DeleteMany_when_no_document_matches (test_crud.TestAllScenarios) ... ok test_write_deleteOne-collation_DeleteOne_when_many_documents_matches_with_collation (test_crud.TestAllScenarios) ... ok test_write_deleteOne_DeleteOne_when_many_documents_match (test_crud.TestAllScenarios) ... ok test_write_deleteOne_DeleteOne_when_no_documents_match (test_crud.TestAllScenarios) ... ok test_write_deleteOne_DeleteOne_when_one_document_matches (test_crud.TestAllScenarios) ... ok test_write_findOneAndDelete-collation_FindOneAndDelete_when_one_document_matches_with_collation (test_crud.TestAllScenarios) ... ok test_write_findOneAndDelete_FindOneAndDelete_when_many_documents_match (test_crud.TestAllScenarios) ... ok test_write_findOneAndDelete_FindOneAndDelete_when_no_documents_match (test_crud.TestAllScenarios) ... ok test_write_findOneAndDelete_FindOneAndDelete_when_one_document_matches (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace-collation_FindOneAndReplace_when_one_document_matches_with_collation_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace-upsert_FindOneAndReplace_when_no_documents_match_with_id_specified_with_upsert_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace-upsert_FindOneAndReplace_when_no_documents_match_with_id_specified_with_upsert_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace-upsert_FindOneAndReplace_when_no_documents_match_without_id_specified_with_upsert_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace-upsert_FindOneAndReplace_when_no_documents_match_without_id_specified_with_upsert_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace_FindOneAndReplace_when_many_documents_match_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace_FindOneAndReplace_when_many_documents_match_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace_FindOneAndReplace_when_no_documents_match_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace_FindOneAndReplace_when_no_documents_match_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace_FindOneAndReplace_when_one_document_matches_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndReplace_FindOneAndReplace_when_one_document_matches_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate-arrayFilters_FindOneAndUpdate_when_multiple_documents_match_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate-arrayFilters_FindOneAndUpdate_when_no_document_matches_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate-arrayFilters_FindOneAndUpdate_when_one_document_matches_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate-collation_FindOneAndUpdate_when_many_documents_match_with_collation_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate_FindOneAndUpdate_when_many_documents_match_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate_FindOneAndUpdate_when_many_documents_match_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate_FindOneAndUpdate_when_no_documents_match_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate_FindOneAndUpdate_when_no_documents_match_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate_FindOneAndUpdate_when_no_documents_match_with_upsert_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate_FindOneAndUpdate_when_no_documents_match_with_upsert_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate_FindOneAndUpdate_when_one_document_matches_returning_the_document_after_modification (test_crud.TestAllScenarios) ... ok test_write_findOneAndUpdate_FindOneAndUpdate_when_one_document_matches_returning_the_document_before_modification (test_crud.TestAllScenarios) ... ok test_write_insertMany_InsertMany_with_non-existing_documents (test_crud.TestAllScenarios) ... ok test_write_insertOne_InsertOne_with_a_non-existing_document (test_crud.TestAllScenarios) ... ok test_write_replaceOne-collation_ReplaceOne_when_one_document_matches_with_collation (test_crud.TestAllScenarios) ... ok test_write_replaceOne_ReplaceOne_when_many_documents_match (test_crud.TestAllScenarios) ... ok test_write_replaceOne_ReplaceOne_when_no_documents_match (test_crud.TestAllScenarios) ... ok test_write_replaceOne_ReplaceOne_when_one_document_matches (test_crud.TestAllScenarios) ... ok test_write_replaceOne_ReplaceOne_with_upsert_when_no_documents_match_with_an_id_specified (test_crud.TestAllScenarios) ... ok test_write_replaceOne_ReplaceOne_with_upsert_when_no_documents_match_without_an_id_specified (test_crud.TestAllScenarios) ... ok test_write_updateMany-arrayFilters_UpdateMany_when_multiple_documents_match_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_updateMany-arrayFilters_UpdateMany_when_no_documents_match_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_updateMany-arrayFilters_UpdateMany_when_one_document_matches_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_updateMany-collation_UpdateMany_when_many_documents_match_with_collation (test_crud.TestAllScenarios) ... ok test_write_updateMany_UpdateMany_when_many_documents_match (test_crud.TestAllScenarios) ... ok test_write_updateMany_UpdateMany_when_no_documents_match (test_crud.TestAllScenarios) ... ok test_write_updateMany_UpdateMany_when_one_document_matches (test_crud.TestAllScenarios) ... ok test_write_updateMany_UpdateMany_with_upsert_when_no_documents_match (test_crud.TestAllScenarios) ... ok test_write_updateOne-arrayFilters_UpdateOne_when_multiple_documents_match_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_updateOne-arrayFilters_UpdateOne_when_no_document_matches_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_updateOne-arrayFilters_UpdateOne_when_no_documents_match_multiple_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_updateOne-arrayFilters_UpdateOne_when_one_document_matches_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_updateOne-arrayFilters_UpdateOne_when_one_document_matches_multiple_arrayFilters (test_crud.TestAllScenarios) ... ok test_write_updateOne-collation_UpdateOne_when_one_document_matches_with_collation (test_crud.TestAllScenarios) ... ok test_write_updateOne_UpdateOne_when_many_documents_match (test_crud.TestAllScenarios) ... ok test_write_updateOne_UpdateOne_when_no_documents_match (test_crud.TestAllScenarios) ... ok test_write_updateOne_UpdateOne_when_one_document_matches (test_crud.TestAllScenarios) ... ok test_write_updateOne_UpdateOne_with_upsert_when_no_documents_match (test_crud.TestAllScenarios) ... ok test_DeleteManyEquals (test_crud.TestWriteOpsComparison) ... ok test_DeleteManyNotEquals (test_crud.TestWriteOpsComparison) ... ok test_DeleteOneEquals (test_crud.TestWriteOpsComparison) ... ok test_DeleteOneNotEquals (test_crud.TestWriteOpsComparison) ... ok test_DeleteOneNotEqualsDeleteMany (test_crud.TestWriteOpsComparison) ... ok test_InsertOneEquals (test_crud.TestWriteOpsComparison) ... ok test_InsertOneNotEquals (test_crud.TestWriteOpsComparison) ... ok test_ReplaceOneEquals (test_crud.TestWriteOpsComparison) ... ok test_ReplaceOneNotEquals (test_crud.TestWriteOpsComparison) ... ok test_UpdateManyEquals (test_crud.TestWriteOpsComparison) ... ok test_UpdateManyNotEquals (test_crud.TestWriteOpsComparison) ... ok test_UpdateOneEquals (test_crud.TestWriteOpsComparison) ... ok test_UpdateOneNotEquals (test_crud.TestWriteOpsComparison) ... ok test_UpdateOneNotEqualsUpdateMany (test_crud.TestWriteOpsComparison) ... ok test_add_remove_option (test_cursor.TestCursor) ... ok test_add_remove_option_exhaust (test_cursor.TestCursor) ... ok test_alive (test_cursor.TestCursor) ... ok test_bad_getitem (test_cursor.TestCursor) ... ok test_batch_size (test_cursor.TestCursor) ... ok test_clone (test_cursor.TestCursor) ... ok test_close_kills_cursor_synchronously (test_cursor.TestCursor) ... ok test_comment (test_cursor.TestCursor) ... ok test_concurrent_close (test_cursor.TestCursor) Ensure a tailable can be closed from another thread. ... ok test_count (test_cursor.TestCursor) ... ok test_count_with_fields (test_cursor.TestCursor) ... ok test_count_with_hint (test_cursor.TestCursor) ... ok test_count_with_limit_and_skip (test_cursor.TestCursor) ... ok test_deepcopy_cursor_littered_with_regexes (test_cursor.TestCursor) ... ok test_distinct (test_cursor.TestCursor) ... ok test_explain (test_cursor.TestCursor) ... ok test_explain_with_read_concern (test_cursor.TestCursor) ... ok test_get_more (test_cursor.TestCursor) ... ok test_getitem_numeric_index (test_cursor.TestCursor) ... ok test_getitem_slice_index (test_cursor.TestCursor) ... ok test_hint (test_cursor.TestCursor) ... ok test_hint_by_name (test_cursor.TestCursor) ... ok test_len (test_cursor.TestCursor) ... ok test_limit (test_cursor.TestCursor) ... ok test_limit_and_batch_size (test_cursor.TestCursor) ... ok test_max (test_cursor.TestCursor) ... ok test_max_await_time_ms (test_cursor.TestCursor) ... ok test_max_scan (test_cursor.TestCursor) ... ok test_max_time_ms (test_cursor.TestCursor) ... ok test_max_time_ms_getmore (test_cursor.TestCursor) ... skipped 'Test commands must be enabled' test_min (test_cursor.TestCursor) ... ok test_modifiers (test_cursor.TestCursor) ... ok test_properties (test_cursor.TestCursor) ... ok test_rewind (test_cursor.TestCursor) ... ok test_skip (test_cursor.TestCursor) ... ok test_sort (test_cursor.TestCursor) ... ok test_tailable (test_cursor.TestCursor) ... ok test_where (test_cursor.TestCursor) ... ok test_with_statement (test_cursor.TestCursor) ... ok test_aggregate_raw (test_cursor.TestRawBatchCommandCursor) ... ok test_collation (test_cursor.TestRawBatchCommandCursor) ... ok test_collation_error (test_cursor.TestRawBatchCommandCursor) ... skipped 'Server version must be at most 3.2.0.0' test_get_item (test_cursor.TestRawBatchCommandCursor) ... ok test_monitoring (test_cursor.TestRawBatchCommandCursor) ... ok test_server_error (test_cursor.TestRawBatchCommandCursor) ... ok test_clone (test_cursor.TestRawBatchCursor) ... ok test_collation (test_cursor.TestRawBatchCursor) ... ok test_collation_error (test_cursor.TestRawBatchCursor) ... skipped 'Server version must be at most 3.2.0.0' test_exhaust (test_cursor.TestRawBatchCursor) ... ok test_explain (test_cursor.TestRawBatchCursor) ... ok test_find_raw (test_cursor.TestRawBatchCursor) ... ok test_get_item (test_cursor.TestRawBatchCursor) ... ok test_manipulate (test_cursor.TestRawBatchCursor) ... ok test_monitoring (test_cursor.TestRawBatchCursor) ... ok test_read_concern (test_cursor.TestRawBatchCursor) ... ok test_read_concern_error (test_cursor.TestRawBatchCursor) ... skipped 'Server version must be at most 3.1.0.0' test_server_error (test_cursor.TestRawBatchCursor) ... ok test_cursor_manager (test_cursor_manager.TestCursorManager) ... ok test_cursor_manager_validation (test_cursor_manager.TestCursorManager) ... ok test_authenticate_add_remove_user (test_database.TestDatabase) ... skipped 'Authentication is not enabled on the server' test_authenticate_multiple (test_database.TestDatabase) ... skipped 'Authentication is not enabled on the server' test_collection_names (test_database.TestDatabase) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_database.py:164: DeprecationWarning: collection_names is deprecated. Use list_collection_names instead. colls = getattr(db, meth)() /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_database.py:173: DeprecationWarning: collection_names is deprecated. Use list_collection_names instead. db, meth)(include_system_collections=False) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_database.py:184: DeprecationWarning: collection_names is deprecated. Use list_collection_names instead. getattr(db, meth)() ok test_collection_names_single_socket (test_database.TestDatabase) ... ok test_command (test_database.TestDatabase) ... ok test_command_max_time_ms (test_database.TestDatabase) ... skipped 'Test commands must be enabled' test_command_response_without_ok (test_database.TestDatabase) ... ok test_command_with_regex (test_database.TestDatabase) ... skipped 'Server version must be at most 3.5.0.0' test_create_collection (test_database.TestDatabase) ... ok test_default_roles (test_database.TestDatabase) ... skipped 'Authentication is not enabled on the server' test_delete (test_database.TestDatabase) ... ok test_deref (test_database.TestDatabase) ... ok test_deref_kwargs (test_database.TestDatabase) ... ok test_drop_collection (test_database.TestDatabase) ... ok test_equality (test_database.TestDatabase) ... ok test_errors (test_database.TestDatabase) ... ok test_eval (test_database.TestDatabase) ... ok test_get_coll (test_database.TestDatabase) ... ok test_id_ordering (test_database.TestDatabase) ... ok test_insert_find_one (test_database.TestDatabase) ... ok test_list_collection_names (test_database.TestDatabase) ... ok test_list_collections (test_database.TestDatabase) ... ok test_long (test_database.TestDatabase) ... ok test_make_user_readonly (test_database.TestDatabase) ... skipped 'Authentication is not enabled on the server' test_mongos_response (test_database.TestDatabase) ... ok test_new_user_cmds (test_database.TestDatabase) ... skipped 'Authentication is not enabled on the server' test_password_digest (test_database.TestDatabase) ... ok test_profiling_info (test_database.TestDatabase) ... ok test_profiling_levels (test_database.TestDatabase) ... ok test_repr (test_database.TestDatabase) ... ok test_system_js (test_database.TestDatabase) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:1386: DeprecationWarning: Database.eval() is deprecated scope={'name': name}), *args) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:1386: DeprecationWarning: Database.eval() is deprecated scope={'name': name}), *args) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:1386: DeprecationWarning: Database.eval() is deprecated scope={'name': name}), *args) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:1386: DeprecationWarning: Database.eval() is deprecated scope={'name': name}), *args) ok test_system_js_list (test_database.TestDatabase) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/database.py:153: DeprecationWarning: SystemJS is deprecated return SystemJS(self) ok test_validate_collection (test_database.TestDatabase) ... ok test_get_collection (test_database.TestDatabaseNoConnect) ... ok test_getattr (test_database.TestDatabaseNoConnect) ... ok test_iteration (test_database.TestDatabaseNoConnect) ... ok test_name (test_database.TestDatabaseNoConnect) ... ok test_creation (test_dbref.TestDBRef) ... ok test_dbref_hash (test_dbref.TestDBRef) ... ok test_deepcopy (test_dbref.TestDBRef) ... ok test_equality (test_dbref.TestDBRef) ... ok test_kwargs (test_dbref.TestDBRef) ... ok test_pickling (test_dbref.TestDBRef) ... ok test_read_only (test_dbref.TestDBRef) ... ok test_repr (test_dbref.TestDBRef) ... ok test_decimal128_context (test_decimal128.TestDecimal128) ... ok test_pickle (test_decimal128.TestDecimal128) ... ok test_round_trip (test_decimal128.TestDecimal128) ... ok test_special (test_decimal128.TestDecimal128) ... ok test_rs_compatible (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_discover_arbiters (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_discover_passives (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_discover_primary (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_discover_secondary (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_discovery (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_equal_electionids (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_ghost_discovered (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_hosts_differ_from_seeds (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_ls_timeout (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_member_reconfig (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_member_standalone (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_new_primary (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_new_primary_new_electionid (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_new_primary_new_setversion (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_new_primary_wrong_set_name (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_non_rs_member (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_normalize_case (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_normalize_case_me (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_null_election_id (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_becomes_standalone (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_changes_set_name (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_disconnect (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_disconnect_electionid (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_disconnect_setversion (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_hint_from_secondary_with_mismatched_me (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_mismatched_me (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_reports_new_member (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_to_no_primary_mismatched_me (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_primary_wrong_set_name (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_response_from_removed (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_rsother_discovered (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_sec_not_auth (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_secondary_mismatched_me (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_secondary_wrong_set_name (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_secondary_wrong_set_name_with_primary (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_setversion_without_electionid (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_stepdown_change_set_name (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_too_new (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_too_old (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_unexpected_mongos (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_use_setversion_without_electionid (test_discovery_and_monitoring.TestAllScenarios) ... ok test_rs_wrong_set_name (test_discovery_and_monitoring.TestAllScenarios) ... ok test_sharded_compatible (test_discovery_and_monitoring.TestAllScenarios) ... ok test_sharded_ls_timeout_mongos (test_discovery_and_monitoring.TestAllScenarios) ... ok test_sharded_mongos_disconnect (test_discovery_and_monitoring.TestAllScenarios) ... ok test_sharded_multiple_mongoses (test_discovery_and_monitoring.TestAllScenarios) ... ok test_sharded_non_mongos_removed (test_discovery_and_monitoring.TestAllScenarios) ... ok test_sharded_normalize_uri_case (test_discovery_and_monitoring.TestAllScenarios) ... ok test_sharded_too_new (test_discovery_and_monitoring.TestAllScenarios) ... ok test_sharded_too_old (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_compatible (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_direct_connection_external_ip (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_direct_connection_mongos (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_direct_connection_rsarbiter (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_direct_connection_rsprimary (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_direct_connection_rssecondary (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_direct_connection_slave (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_direct_connection_standalone (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_ls_timeout_standalone (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_not_ok_response (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_standalone_removed (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_too_new (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_too_old (test_discovery_and_monitoring.TestAllScenarios) ... ok test_single_unavailable_seed (test_discovery_and_monitoring.TestAllScenarios) ... ok test_cluster_time_comparison (test_discovery_and_monitoring.TestClusterTimeComparison) ... ok test_longer-parent-in-return (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_misformatted-option (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_no-results (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_not-enough-parts (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_one-result-default-port (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_one-txt-record (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_one-txt-record-multiple-strings (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_parent-part-mismatch1 (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_parent-part-mismatch2 (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_parent-part-mismatch3 (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_parent-part-mismatch4 (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_parent-part-mismatch5 (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_returned-parent-too-short (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_returned-parent-wrong (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_two-results-default-port (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_two-results-nonstandard-port (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_two-txt-records (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_txt-record-with-overridden-uri-option (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_txt-record-with-unallowed-option (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_uri-with-port (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_uri-with-two-hosts (test_dns.TestDNS) ... skipped 'Not connected to a replica set' test_aggregate_examples (test_examples.TestSampleShellCommands) ... ok test_change_streams (test_examples.TestSampleShellCommands) ... skipped 'Not connected to a replica set' test_commands (test_examples.TestSampleShellCommands) ... ok test_delete (test_examples.TestSampleShellCommands) ... ok test_first_three_examples (test_examples.TestSampleShellCommands) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_examples.py:64: DeprecationWarning: count is deprecated. Use Collection.count_documents instead. self.assertEqual(cursor.count(), 1) ok test_index_management (test_examples.TestSampleShellCommands) ... ok test_misc (test_examples.TestSampleShellCommands) ... skipped 'Not connected to a replica set' test_projection (test_examples.TestSampleShellCommands) ... ok test_query_array_of_documents (test_examples.TestSampleShellCommands) ... ok test_query_arrays (test_examples.TestSampleShellCommands) ... ok test_query_embedded_documents (test_examples.TestSampleShellCommands) ... ok test_query_null (test_examples.TestSampleShellCommands) ... ok test_query_top_level_fields (test_examples.TestSampleShellCommands) ... ok test_update_and_replace (test_examples.TestSampleShellCommands) ... ok test_transactions (test_examples.TestTransactionExamples) ... skipped 'Not connected to a replica set' test_transactions_beta (test_examples.TestTransactionExamples) ... skipped 'Not connected to a replica set' test_standalone (test_heartbeat_monitoring.TestHeartbeatMonitoring) ... ok test_standalone_error (test_heartbeat_monitoring.TestHeartbeatMonitoring) ... ok test_basic (test_json_util.TestJsonUtil) ... ok test_binary (test_json_util.TestJsonUtil) ... ok test_code (test_json_util.TestJsonUtil) ... ok test_datetime (test_json_util.TestJsonUtil) ... ok test_dbref (test_json_util.TestJsonUtil) ... ok test_loads_document_class (test_json_util.TestJsonUtil) ... ok test_maxkey (test_json_util.TestJsonUtil) ... ok test_minkey (test_json_util.TestJsonUtil) ... ok test_numberlong (test_json_util.TestJsonUtil) ... ok test_objectid (test_json_util.TestJsonUtil) ... ok test_regex (test_json_util.TestJsonUtil) ... ok test_regex_object_hook (test_json_util.TestJsonUtil) ... ok test_timestamp (test_json_util.TestJsonUtil) ... ok test_undefined (test_json_util.TestJsonUtil) ... ok test_uuid (test_json_util.TestJsonUtil) ... ok test_cursor (test_json_util.TestJsonUtilRoundtrip) ... ok test_add_son_manipulator_deprecation (test_legacy_api.TestDeprecations) ... ok test_ensure_index_deprecation (test_legacy_api.TestDeprecations) ... ok test_find_and_modify_deprecation (test_legacy_api.TestDeprecations) ... ok test_insert_deprecation (test_legacy_api.TestDeprecations) ... ok test_remove_deprecation (test_legacy_api.TestDeprecations) ... ok test_save_deprecation (test_legacy_api.TestDeprecations) ... ok test_update_deprecation (test_legacy_api.TestDeprecations) ... ok test_acknowledged_insert (test_legacy_api.TestLegacy) ... ok test_acknowledged_save (test_legacy_api.TestLegacy) ... ok test_acknowledged_update (test_legacy_api.TestLegacy) ... ok test_auto_ref_and_deref (test_legacy_api.TestLegacy) ... ok test_auto_ref_and_deref_list (test_legacy_api.TestLegacy) ... ok test_bad_dbref (test_legacy_api.TestLegacy) ... ok test_continue_on_error (test_legacy_api.TestLegacy) ... ok test_disabling_manipulators (test_legacy_api.TestLegacy) ... ok test_ensure_index (test_legacy_api.TestLegacy) ... ok test_ensure_index_threaded (test_legacy_api.TestLegacy) ... ok test_ensure_purge_index_threaded (test_legacy_api.TestLegacy) ... ok test_ensure_unique_index_threaded (test_legacy_api.TestLegacy) ... ok test_find_and_modify (test_legacy_api.TestLegacy) ... ok test_find_and_modify_with_manipulator (test_legacy_api.TestLegacy) ... ok test_find_and_modify_with_sort (test_legacy_api.TestLegacy) ... ok test_generator_insert (test_legacy_api.TestLegacy) ... ok test_get_default_database (test_legacy_api.TestLegacy) ... ok test_get_default_database_error (test_legacy_api.TestLegacy) ... ok test_get_default_database_with_authsource (test_legacy_api.TestLegacy) ... ok test_group (test_legacy_api.TestLegacy) ... ok test_group_uuid_representation (test_legacy_api.TestLegacy) ... ok test_group_with_scope (test_legacy_api.TestLegacy) ... ok test_insert_adds_id (test_legacy_api.TestLegacy) ... ok test_insert_find_one (test_legacy_api.TestLegacy) ... ok test_insert_iterables (test_legacy_api.TestLegacy) ... ok test_insert_large_batch (test_legacy_api.TestLegacy) ... ok test_insert_manipulate_false (test_legacy_api.TestLegacy) ... ok test_insert_multiple (test_legacy_api.TestLegacy) ... ok test_insert_multiple_with_duplicate (test_legacy_api.TestLegacy) ... ok test_insert_prefers_write_errors (test_legacy_api.TestLegacy) ... skipped 'Not connected to a replica set' test_kill_cursors_with_cursoraddress (test_legacy_api.TestLegacy) ... ok test_kill_cursors_with_tuple (test_legacy_api.TestLegacy) ... ok test_last_error_options (test_legacy_api.TestLegacy) ... ok test_last_status (test_legacy_api.TestLegacy) ... ok test_manipulator_properties (test_legacy_api.TestLegacy) ... ok test_multi_update (test_legacy_api.TestLegacy) ... ok test_object_to_dict_transformer (test_legacy_api.TestLegacy) ... ok test_remove_all (test_legacy_api.TestLegacy) ... ok test_remove_non_objectid (test_legacy_api.TestLegacy) ... ok test_remove_one (test_legacy_api.TestLegacy) ... ok test_save (test_legacy_api.TestLegacy) ... ok test_save_adds_id (test_legacy_api.TestLegacy) ... ok test_save_returns_id (test_legacy_api.TestLegacy) ... ok test_save_with_invalid_key (test_legacy_api.TestLegacy) ... skipped 'MongoDB >= 3.5.8 allows dotted fields in updates' test_son_manipulator_inheritance (test_legacy_api.TestLegacy) ... ok test_son_manipulator_outgoing (test_legacy_api.TestLegacy) ... ok test_update (test_legacy_api.TestLegacy) ... ok test_update_backward_compat (test_legacy_api.TestLegacy) ... ok test_update_manipulate (test_legacy_api.TestLegacy) ... ok test_update_nmodified (test_legacy_api.TestLegacy) ... ok test_upsert (test_legacy_api.TestLegacy) ... ok test_write_large_document (test_legacy_api.TestLegacy) ... ok test_bypass_document_validation_bulk_op (test_legacy_api.TestLegacyBulk) ... ok test_client_generated_upsert_id (test_legacy_api.TestLegacyBulk) ... ok test_empty (test_legacy_api.TestLegacyBulk) ... ok test_find (test_legacy_api.TestLegacyBulk) ... ok test_generator_insert (test_legacy_api.TestLegacyBulk) ... ok test_insert (test_legacy_api.TestLegacyBulk) ... ok test_insert_check_keys (test_legacy_api.TestLegacyBulk) ... ok test_large_inserts_ordered (test_legacy_api.TestLegacyBulk) ... ok test_large_inserts_unordered (test_legacy_api.TestLegacyBulk) ... ok test_multiple_error_ordered_batch (test_legacy_api.TestLegacyBulk) ... ok test_multiple_error_unordered_batch (test_legacy_api.TestLegacyBulk) ... ok test_multiple_execution (test_legacy_api.TestLegacyBulk) ... ok test_numerous_inserts (test_legacy_api.TestLegacyBulk) ... ok test_remove (test_legacy_api.TestLegacyBulk) ... ok test_remove_one (test_legacy_api.TestLegacyBulk) ... ok test_replace_one (test_legacy_api.TestLegacyBulk) ... ok test_single_error_ordered_batch (test_legacy_api.TestLegacyBulk) ... ok test_single_error_unordered_batch (test_legacy_api.TestLegacyBulk) ... ok test_single_ordered_batch (test_legacy_api.TestLegacyBulk) ... ok test_single_unordered_batch (test_legacy_api.TestLegacyBulk) ... ok test_update (test_legacy_api.TestLegacyBulk) ... ok test_update_one (test_legacy_api.TestLegacyBulk) ... ok test_upsert (test_legacy_api.TestLegacyBulk) ... ok test_upsert_large (test_legacy_api.TestLegacyBulk) ... ok skipped 'Authentication is not enabled on the server' test_no_results_ordered_failure (test_legacy_api.TestLegacyBulkNoResults) ... ok test_no_results_ordered_success (test_legacy_api.TestLegacyBulkNoResults) ... ok test_no_results_unordered_failure (test_legacy_api.TestLegacyBulkNoResults) ... ok test_no_results_unordered_success (test_legacy_api.TestLegacyBulkNoResults) ... ok test_fsync_and_j (test_legacy_api.TestLegacyBulkWriteConcern) ... ok test_write_concern_failure_ordered (test_legacy_api.TestLegacyBulkWriteConcern) ... skipped 'Not connected to a replica set' test_write_concern_failure_unordered (test_legacy_api.TestLegacyBulkWriteConcern) ... skipped 'Not connected to a replica set' test_max_staleness_ReplicaSetNoPrimary_DefaultNoMaxStaleness (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_Incompatible (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_LastUpdateTime (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_Nearest (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_Nearest2 (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_NoKnownServers (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_PrimaryPreferred (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_PrimaryPreferred_tags (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_Secondary (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_SecondaryPreferred (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_SecondaryPreferred_tags (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetNoPrimary_ZeroMaxStaleness (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_DefaultNoMaxStaleness (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_Incompatible (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_LastUpdateTime (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_LongHeartbeat (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_LongHeartbeat2 (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_MaxStalenessTooSmall (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_MaxStalenessWithModePrimary (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_Nearest (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_Nearest2 (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_Nearest_tags (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_PrimaryPreferred (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_PrimaryPreferred_incompatible (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_SecondaryPreferred (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_SecondaryPreferred_tags (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_SecondaryPreferred_tags2 (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_Secondary_tags (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_Secondary_tags2 (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_ReplicaSetWithPrimary_ZeroMaxStaleness (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_Sharded_Incompatible (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_Sharded_SmallMaxStaleness (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_Single_Incompatible (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_Single_SmallMaxStaleness (test_max_staleness.TestAllScenarios) ... ok test_max_staleness_Unknown_SmallMaxStaleness (test_max_staleness.TestAllScenarios) ... ok test_last_write_date (test_max_staleness.TestMaxStaleness) ... skipped 'Not connected to a replica set' test_last_write_date_absent (test_max_staleness.TestMaxStaleness) ... skipped 'Server version must be at most 3.3.0.0' test_max_staleness (test_max_staleness.TestMaxStaleness) ... ok test_max_staleness_float (test_max_staleness.TestMaxStaleness) ... ok test_max_staleness_zero (test_max_staleness.TestMaxStaleness) ... ok test_failover (test_mongos_load_balancing.TestMongosLoadBalancing) ... ok test_lazy_connect (test_mongos_load_balancing.TestMongosLoadBalancing) ... ok test_load_balancing (test_mongos_load_balancing.TestMongosLoadBalancing) ... ok test_local_threshold (test_mongos_load_balancing.TestMongosLoadBalancing) ... ok test_reconnect (test_mongos_load_balancing.TestMongosLoadBalancing) ... ok test_atexit_hook (test_monitor.TestMonitor) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_monitor.py:29: ResourceWarning: unclosed gc.collect() /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_monitor.py:29: ResourceWarning: unclosed gc.collect() ok test_bulk_write (test_monitoring.TestCommandMonitoring) ... ok test_command_and_get_more (test_monitoring.TestCommandMonitoring) ... ok test_exhaust (test_monitoring.TestCommandMonitoring) ... ok test_failed_simple (test_monitoring.TestCommandMonitoring) ... ok test_find_and_get_more (test_monitoring.TestCommandMonitoring) ... ok test_find_one (test_monitoring.TestCommandMonitoring) ... ok test_find_options (test_monitoring.TestCommandMonitoring) ... ok test_find_snapshot (test_monitoring.TestCommandMonitoring) ... skipped 'Server version must be at most 3.7.2.0' test_find_with_explain (test_monitoring.TestCommandMonitoring) ... ok test_first_batch_helper (test_monitoring.TestCommandMonitoring) ... ok test_get_more_failure (test_monitoring.TestCommandMonitoring) ... ok test_insert_many (test_monitoring.TestCommandMonitoring) ... ok test_kill_cursors (test_monitoring.TestCommandMonitoring) ... ok test_legacy_insert_many (test_monitoring.TestCommandMonitoring) ... ok test_legacy_writes (test_monitoring.TestCommandMonitoring) ... ok test_non_bulk_writes (test_monitoring.TestCommandMonitoring) ... ok test_not_master_error (test_monitoring.TestCommandMonitoring) ... skipped 'Not connected to a replica set' test_sensitive_commands (test_monitoring.TestCommandMonitoring) ... ok test_started_simple (test_monitoring.TestCommandMonitoring) ... ok test_succeeded_simple (test_monitoring.TestCommandMonitoring) ... ok test_write_errors (test_monitoring.TestCommandMonitoring) ... ok test_simple (test_monitoring.TestGlobalListener) ... ok test_monotonic_time (test_monotonic.TestMonotonic) ... ok test_fnv_1a_24 (test_objectid.TestFNV1a24) ... ok test_binary_str_equivalence (test_objectid.TestObjectId) ... ok test_creation (test_objectid.TestObjectId) ... ok test_equality (test_objectid.TestObjectId) ... ok test_from_datetime (test_objectid.TestObjectId) ... ok test_from_hex (test_objectid.TestObjectId) ... ok test_generation_time (test_objectid.TestObjectId) ... ok test_is_valid (test_objectid.TestObjectId) ... ok test_pickle_backwards_compatability (test_objectid.TestObjectId) ... ok test_pickling (test_objectid.TestObjectId) ... ok test_pid (test_objectid.TestObjectId) ... ok test_repr_str (test_objectid.TestObjectId) ... ok test_unicode (test_objectid.TestObjectId) ... ok test_max_pool_size (test_pooling.TestPoolMaxSize) ... ok test_max_pool_size_none (test_pooling.TestPoolMaxSize) ... ok test_max_pool_size_with_connection_failure (test_pooling.TestPoolMaxSize) ... ok test_max_pool_size_zero (test_pooling.TestPoolMaxSize) ... ok test_disconnect (test_pooling.TestPooling) ... ok test_get_socket_and_exception (test_pooling.TestPooling) ... ok test_max_pool_size_validation (test_pooling.TestPooling) ... ok test_no_disconnect (test_pooling.TestPooling) ... ok test_no_wait_queue_multiple (test_pooling.TestPooling) ... ok test_no_wait_queue_timeout (test_pooling.TestPooling) ... ok test_pool_check (test_pooling.TestPooling) ... ok test_pool_removes_closed_socket (test_pooling.TestPooling) ... ok test_pool_removes_dead_socket (test_pooling.TestPooling) ... ok test_pool_reuses_open_socket (test_pooling.TestPooling) ... ok test_return_socket_after_reset (test_pooling.TestPooling) ... ok test_socket_closed (test_pooling.TestPooling) ... ok test_socket_closed_thread_safe (test_pooling.TestPooling) ... /usr/lib64/python3.6/unittest/case.py:605: ResourceWarning: unclosed testMethod() ok test_wait_queue_multiple (test_pooling.TestPooling) ... ok test_wait_queue_timeout (test_pooling.TestPooling) ... ok test_mongo_client_alias (test_pymongo.TestPyMongo) ... ok test_decode (test_raw_bson.TestRawBSONDocument) ... ok test_raw (test_raw_bson.TestRawBSONDocument) ... ok test_raw_bson_document_embedded (test_raw_bson.TestRawBSONDocument) ... ok test_round_trip (test_raw_bson.TestRawBSONDocument) ... ok test_round_trip_codec_options (test_raw_bson.TestRawBSONDocument) ... ok test_with_codec_options (test_raw_bson.TestRawBSONDocument) ... ok test_write_response_raw_bson (test_raw_bson.TestRawBSONDocument) ... ok test_aggregate_out (test_read_concern.TestReadConcern) ... ok test_command_cursor (test_read_concern.TestReadConcern) ... ok test_find_command (test_read_concern.TestReadConcern) ... ok test_inline_map_reduce (test_read_concern.TestReadConcern) ... ok test_invalid_read_concern (test_read_concern.TestReadConcern) ... skipped 'Server version must be at most 3.1.0.0' test_map_reduce_out (test_read_concern.TestReadConcern) ... ok test_read_concern (test_read_concern.TestReadConcern) ... ok test_read_concern_uri (test_read_concern.TestReadConcern) ... ok skipped 'Not enough secondaries available' test_maybe_add_read_preference (test_read_preferences.TestMongosAndReadPreference) ... ok test_mongos (test_read_preferences.TestMongosAndReadPreference) ... skipped 'Must be connected to a mongos' test_mongos_max_staleness (test_read_preferences.TestMongosAndReadPreference) ... skipped 'Must be connected to a mongos' test_read_preference_document (test_read_preferences.TestMongosAndReadPreference) ... ok test_moving_average (test_read_preferences.TestMovingAverage) ... ok test_copy (test_read_preferences.TestReadPreferenceObjects) ... ok test_deepcopy (test_read_preferences.TestReadPreferenceObjects) ... ok test_pickle (test_read_preferences.TestReadPreferenceObjects) ... ok skipped 'Not enough secondaries available' test_bool (test_read_preferences.TestSelections) ... ok skipped 'Not enough secondaries available' test_connection_string_read_concern_default (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_read_concern_local_specified (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_read_concern_majority_specified (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_acknowledged_with_w_as_0_and_journal_true (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_all_options_combined (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_default (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_journal_as_false (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_journal_as_true (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_unacknowledged_with_w (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_unacknowledged_with_w_and_journal (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_unacknowledged_with_w_and_wtimeoutms (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_w_as_a_string (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_w_as_a_valid_number (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_w_as_an_invalid_number (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_wtimeoutms_as_a_valid_number (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_connection_string_write_concern_wtimeoutms_as_an_invalid_number (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_read_concern_default (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_read_concern_local (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_read_concern_majority (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_default (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_everything (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_journal_as_false (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_journal_as_true (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_unacknowledged_with_journal (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_unacknowledged_with_only_w (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_unacknowledged_with_wtimeoutms (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_w_as_a_custom_string (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_w_as_a_number (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_w_as_an_invalid_number (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_w_as_majority (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_w_is_0_with_journal_true (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_wtimeoutms (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_document_write_concern_wtimeoutms_as_an_invalid_number (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_omit_default_read_write_concern (test_read_write_concern_spec.TestReadWriteConcernSpec) ... ok test_raise_write_concern_error (test_read_write_concern_spec.TestReadWriteConcernSpec) ... skipped 'Not connected to a replica set' test_raise_wtimeout (test_read_write_concern_spec.TestReadWriteConcernSpec) ... skipped 'Not enough secondaries available' skipped 'Not connected to a replica set' test_connect_with_internal_ips (test_replica_set_client.TestReplicaSetClientInternalIPs) ... ok test_max_write_batch_size (test_replica_set_client.TestReplicaSetClientMaxWriteBatchSize) ... ok test_wire_version (test_replica_set_client.TestReplicaSetWireVersion) ... ok test_client (test_replica_set_reconfig.TestSecondaryAdded) ... ok test_replica_set_client (test_replica_set_reconfig.TestSecondaryAdded) ... ok test_client (test_replica_set_reconfig.TestSecondaryBecomesStandalone) ... ok test_replica_set_client (test_replica_set_reconfig.TestSecondaryBecomesStandalone) ... ok test_replica_set_client (test_replica_set_reconfig.TestSecondaryRemoved) ... ok test_socket_error_marks_member_down (test_replica_set_reconfig.TestSocketError) ... ok skipped 'Not connected to a replica set' test_batch_splitting (test_retryable_writes.TestRetryableWrites) Test retry succeeds after failures during batch splitting. ... skipped 'Not connected to a replica set' test_batch_splitting_retry_fails (test_retryable_writes.TestRetryableWrites) Test retry fails during batch splitting. ... skipped 'Not connected to a replica set' test_retry_timeout_raises_original_error (test_retryable_writes.TestRetryableWrites) A ServerSelectionTimeoutError on the retry attempt raises the ... skipped 'Not connected to a replica set' test_server_selection_timeout_not_retried (test_retryable_writes.TestRetryableWrites) A ServerSelectionTimeoutError is not retried. ... ok test_supported_single_statement_no_retry (test_retryable_writes.TestRetryableWrites) ... ok test_supported_single_statement_supported_cluster (test_retryable_writes.TestRetryableWrites) ... skipped 'Must be connected to a replica set or mongos' test_supported_single_statement_unsupported_cluster (test_retryable_writes.TestRetryableWrites) ... ok test_unsupported_single_statement (test_retryable_writes.TestRetryableWrites) ... ok test_saslprep (test_saslprep.TestSASLprep) ... ok test_replica_set_with_no_primary (test_sdam_monitoring_spec.TestAllScenarios) ... ok test_replica_set_with_primary (test_sdam_monitoring_spec.TestAllScenarios) ... ok test_replica_set_with_removal (test_sdam_monitoring_spec.TestAllScenarios) ... ok test_required_replica_set (test_sdam_monitoring_spec.TestAllScenarios) ... ok test_standalone (test_sdam_monitoring_spec.TestAllScenarios) ... ok test_repr (test_server.TestServer) ... ok test_all_hosts (test_server_description.TestServerDescription) ... ok test_arbiter (test_server_description.TestServerDescription) ... ok test_default_max_message_size (test_server_description.TestServerDescription) ... ok test_fields (test_server_description.TestServerDescription) ... ok test_ghost (test_server_description.TestServerDescription) ... ok test_mongos (test_server_description.TestServerDescription) ... ok test_ok_false (test_server_description.TestServerDescription) ... ok test_other (test_server_description.TestServerDescription) ... ok test_primary (test_server_description.TestServerDescription) ... ok test_secondary (test_server_description.TestServerDescription) ... ok test_standalone (test_server_description.TestServerDescription) ... ok test_unknown (test_server_description.TestServerDescription) ... ok test_ReplicaSetNoPrimary_read_Nearest (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_Nearest_multiple (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_Nearest_non_matching (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_Primary (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_PrimaryPreferred (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_PrimaryPreferred_non_matching (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_Secondary (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_SecondaryPreferred_non_matching (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_Secondary_multi_tags (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_Secondary_multi_tags2 (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_read_Secondary_non_matching (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetNoPrimary_write_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_Nearest (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_Nearest_multiple (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_Nearest_non_matching (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_Primary (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_PrimaryPreferred (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_PrimaryPreferred_non_matching (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_Secondary (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_SecondaryPreferred_non_matching (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_SecondaryPreferred_tags (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_read_Secondary_non_matching (test_server_selection.TestAllScenarios) ... ok test_ReplicaSetWithPrimary_write_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_Sharded_read_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_Sharded_write_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_Single_read_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_Single_write_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_Unknown_read_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_Unknown_write_SecondaryPreferred (test_server_selection.TestAllScenarios) ... ok test_rtt_first_value (test_server_selection_rtt.TestAllScenarios) ... ok test_rtt_first_value_zero (test_server_selection_rtt.TestAllScenarios) ... ok test_rtt_value_test_1 (test_server_selection_rtt.TestAllScenarios) ... ok test_rtt_value_test_2 (test_server_selection_rtt.TestAllScenarios) ... ok test_rtt_value_test_3 (test_server_selection_rtt.TestAllScenarios) ... ok test_rtt_value_test_4 (test_server_selection_rtt.TestAllScenarios) ... ok test_rtt_value_test_5 (test_server_selection_rtt.TestAllScenarios) ... ok test_clears (test_son.TestSON) ... ok test_contains_has (test_son.TestSON) ... ok test_copying (test_son.TestSON) ... ok test_equality (test_son.TestSON) ... ok test_iteration (test_son.TestSON) ... ok test_len (test_son.TestSON) ... ok test_ordered_dict (test_son.TestSON) ... ok test_pickle (test_son.TestSON) ... ok test_pickle_backwards_compatability (test_son.TestSON) ... ok test_to_dict (test_son.TestSON) ... ok test_basic (test_son_manipulator.TestSONManipulator) ... ok test_id_injection (test_son_manipulator.TestSONManipulator) ... ok test_id_shuffling (test_son_manipulator.TestSONManipulator) ... ok test_ns_injection (test_son_manipulator.TestSONManipulator) ... ok test_config_ssl (test_ssl.TestClientSSL) ... ok test_no_ssl_module (test_ssl.TestClientSSL) ... skipped "The ssl module is available, can't test what happens without it." test_cert_ssl_implicitly_set (test_ssl.TestSSL) ... skipped 'Must be able to connect with ssl_certfile' test_cert_ssl_uri_support (test_ssl.TestSSL) ... skipped 'Must be able to connect with ssl_certfile' test_cert_ssl_validation (test_ssl.TestSSL) ... skipped 'Must be able to connect with ssl_certfile' test_cert_ssl_validation_hostname_matching (test_ssl.TestSSL) ... skipped 'Must be able to connect with ssl_certfile' test_cert_ssl_validation_optional (test_ssl.TestSSL) ... skipped 'Must be able to connect with ssl_certfile' test_certifi_support (test_ssl.TestSSL) ... skipped "Can't test when SSLContext available." test_mongodb_x509_auth (test_ssl.TestSSL) ... skipped 'Authentication is not enabled on the server' test_simple_ssl (test_ssl.TestSSL) ... skipped 'Must be able to connect via SSL' test_ssl_crlfile_support (test_ssl.TestSSL) ... skipped 'Must be able to connect with ssl_certfile' test_ssl_pem_passphrase (test_ssl.TestSSL) ... skipped 'Must be able to connect with ssl_certfile' test_system_certs_config_error (test_ssl.TestSSL) ... skipped "Can't test when system CA certificates are loadable." test_validation_with_system_ca_certs (test_ssl.TestSSL) ... skipped 'Must be able to connect with ssl_certfile' test_wincertstore (test_ssl.TestSSL) ... skipped 'Only valid on Windows.' test_client_disconnect (test_threads.TestThreads) ... ok test_safe_insert (test_threads.TestThreads) ... ok test_safe_update (test_threads.TestThreads) ... ok test_threading (test_threads.TestThreads) ... ok skipped 'Authentication is not enabled on the server' test_datetime (test_timestamp.TestTimestamp) ... ok test_datetime_copy_pickle (test_timestamp.TestTimestamp) ... ok test_equality (test_timestamp.TestTimestamp) ... ok test_exceptions (test_timestamp.TestTimestamp) ... ok test_hash (test_timestamp.TestTimestamp) ... ok test_repr (test_timestamp.TestTimestamp) ... ok test_timestamp (test_timestamp.TestTimestamp) ... ok test_close (test_topology.TestMultiServerTopology) ... ok test_discover_set_name_from_primary (test_topology.TestMultiServerTopology) ... ok test_discover_set_name_from_secondary (test_topology.TestMultiServerTopology) ... ok test_max_write_batch_size (test_topology.TestMultiServerTopology) ... ok test_readable_writable (test_topology.TestMultiServerTopology) ... ok test_reset_removed_server (test_topology.TestMultiServerTopology) ... ok test_reset_server (test_topology.TestMultiServerTopology) ... ok test_wire_version (test_topology.TestMultiServerTopology) ... ok test_bad_replica_set_name (test_topology.TestServerSelectionErrors) ... ok test_multiple_standalones (test_topology.TestServerSelectionErrors) ... ok test_no_mongoses (test_topology.TestServerSelectionErrors) ... ok test_no_primary (test_topology.TestServerSelectionErrors) ... ok test_no_secondary (test_topology.TestServerSelectionErrors) ... ok test_direct_connection (test_topology.TestSingleServerTopology) ... ok test_reopen (test_topology.TestSingleServerTopology) ... ok test_round_trip_time (test_topology.TestSingleServerTopology) ... ok test_unavailable_seed (test_topology.TestSingleServerTopology) ... ok test_timeout_configuration (test_topology.TestTopologyConfiguration) ... ok test_internal_monitor_error (test_topology.TestTopologyErrors) ... ok test_ismaster_retry (test_topology.TestTopologyErrors) ... ok test_pool_reset (test_topology.TestTopologyErrors) ... ok test_transaction_options_validation (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transaction_write_concern_override (test_transactions.TestTransactions) Test txn overrides Client/Database/Collection write_concern. ... skipped 'Not connected to a replica set' test_transactions_abort_abort (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_abort_abort_directly_after_commit (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_abort_abort_directly_after_no-op_commit (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_abort_abort_does_not_apply_writeConcern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_abort_abort_ignores_TransactionAborted (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_abort_abort_without_start (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_abort_implicit_abort (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_abort_two_aborts (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_bulk_bulk (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_causal_consistency_causal_consistency (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_causal_consistency_causal_consistency_disabled (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_commit (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_commit_after_abort (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_commit_after_no-op_abort (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_commit_without_start (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_multiple_commits_after_empty_transaction (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_multiple_commits_in_a_row (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_rerun_commit_after_empty_transaction (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_reset_session_state_abort (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_reset_session_state_commit (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_commit_write_concern_error_on_commit (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_delete_collection_writeConcern_ignored_for_delete (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_delete_delete (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_DuplicateKey_errors_do_not_contain_transient_label (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_NoSuchTransaction_errors_contain_transient_label (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_NoSuchTransaction_errors_on_commit_contain_transient_label (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_NotMaster_errors_contain_transient_label (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_WriteConflict_errors_contain_transient_label (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_add_transient_label_to_connection_errors (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_add_unknown_commit_label_to_connection_errors (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_add_unknown_commit_label_to_retryable_commit_errors (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_add_unknown_commit_label_to_writeConcernError_ShutdownInProgress (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_add_unknown_commit_label_to_writeConcernError_WriteConcernFailed (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_add_unknown_commit_label_to_writeConcernError_WriteConcernFailed_with_wtimeout (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_omit_unknown_commit_label_to_writeConcernError_UnknownReplWriteConcern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_error_labels_omit_unknown_commit_label_to_writeConcernError_UnsatisfiableWriteConcern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_errors_commit_and_start_twice (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_errors_start_insert_start (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_errors_start_twice (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_errors_write_conflict_abort (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_errors_write_conflict_commit (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_findOneAndDelete_collection_writeConcern_ignored_for_findOneAndDelete (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_findOneAndDelete_findOneAndDelete (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_findOneAndReplace_collection_writeConcern_ignored_for_findOneAndReplace (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_findOneAndReplace_findOneAndReplace (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_findOneAndUpdate_collection_writeConcern_ignored_for_findOneAndUpdate (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_findOneAndUpdate_findOneAndUpdate (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_insert_collection_writeConcern_ignored_for_insert (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_insert_collection_writeConcern_without_transaction (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_insert_insert (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_isolation_one_transaction (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_isolation_two_transactions (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_concern_only_first_aggregate_includes_readConcern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_concern_only_first_countDocuments_includes_readConcern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_concern_only_first_distinct_includes_readConcern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_concern_only_first_find_includes_readConcern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_concern_only_first_runCommand_includes_readConcern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_pref_default_readPreference (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_pref_nearest_readPreference (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_pref_primaryPreferred_readPreference (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_pref_primary_readPreference (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_read_pref_secondary_readPreference (test_transactions.TestTransactions) ... skipped 'No secondaries' test_transactions_read_pref_secondary_write_only (test_transactions.TestTransactions) ... skipped 'No secondaries' test_transactions_reads_aggregate (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_reads_collection_readConcern_without_transaction (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_reads_count (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_reads_distinct (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_reads_find (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_does_not_retry_after_Interrupted (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_does_not_retry_after_WriteConcernError_Interrupted (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_only_performs_a_single_retry (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_HostNotFound (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_HostUnreachable (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_InterruptedAtShutdown (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_InterruptedDueToReplStateChange (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_NetworkTimeout (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_NotMaster (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_NotMasterNoSlaveOk (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_NotMasterOrSecondary (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_PrimarySteppedDown (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_ShutdownInProgress (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_SocketException (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_WriteConcernError_InterruptedAtShutdown (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_WriteConcernError_InterruptedDueToReplStateChange (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_WriteConcernError_PrimarySteppedDown (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_WriteConcernError_ShutdownInProgress (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_abort_abortTransaction_succeeds_after_connection_error (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_fails_after_Interrupted (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_fails_after_WriteConcernError_Interrupted (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_fails_after_two_errors (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_HostNotFound (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_HostUnreachable (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_InterruptedAtShutdown (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_InterruptedDueToReplStateChange (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_NetworkTimeout (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_NotMaster (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_NotMasterNoSlaveOk (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_NotMasterOrSecondary (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_PrimarySteppedDown (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_ShutdownInProgress (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_SocketException (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_WriteConcernError_InterruptedAtShutdown (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_WriteConcernError_InterruptedDueToReplStateChange (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_WriteConcernError_PrimarySteppedDown (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_WriteConcernError_ShutdownInProgress (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_commit_commitTransaction_succeeds_after_connection_error (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_writes_increment_txnNumber (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_retryable_writes_writes_are_not_retried (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_run_command_run_command_fails_with_explicit_secondary_read_preference (test_transactions.TestTransactions) ... skipped 'No secondaries' test_transactions_run_command_run_command_fails_with_secondary_read_preference_from_transaction_options (test_transactions.TestTransactions) ... skipped 'No secondaries' test_transactions_run_command_run_command_with_default_read_preference (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_run_command_run_command_with_explicit_primary_read_preference (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_run_command_run_command_with_secondary_read_preference_in_client_option_and_primary_read_preference_in_transaction_options (test_transactions.TestTransactions) ... skipped 'No secondaries' test_transactions_transaction_options_client_writeConcern_ignored_for_bulk (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_defaultTransactionOptions_override_client_options (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_no_transaction_options_set (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_readConcern_local_in_defaultTransactionOptions (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_readConcern_local_in_startTransaction_options (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_readPreference_inherited_from_client (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_readPreference_inherited_from_defaultTransactionOptions (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_startTransaction_options_override_defaults (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_startTransaction_overrides_readPreference (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_transaction_options_inherited_from_client (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_transaction_options_transaction_options_inherited_from_defaultTransactionOptions (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_update_collections_writeConcern_ignored_for_update (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_update_update (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_write_concern_abort_with_default (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_write_concern_abort_with_majority (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_write_concern_commit_with_default (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_write_concern_commit_with_majority (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_write_concern_start_with_implicit_unacknowledged_write_concern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_transactions_write_concern_start_with_unacknowledged_write_concern (test_transactions.TestTransactions) ... skipped 'Not connected to a replica set' test_parse_ssl_paths (test_uri_parser.TestURI) ... ok test_parse_uri (test_uri_parser.TestURI) ... ok test_parse_uri_unicode (test_uri_parser.TestURI) ... ok test_partition (test_uri_parser.TestURI) ... ok test_rpartition (test_uri_parser.TestURI) ... ok test_split_hosts (test_uri_parser.TestURI) ... ok test_split_options (test_uri_parser.TestURI) ... ok test_validate_userinfo (test_uri_parser.TestURI) ... ok test_connection_string_test_invalid-uris (test_uri_spec.TestAllScenarios) ... ok test_connection_string_test_valid-auth (test_uri_spec.TestAllScenarios) ... ok test_connection_string_test_valid-db-with-dotted-name (test_uri_spec.TestAllScenarios) ... ok test_connection_string_test_valid-host_identifiers (test_uri_spec.TestAllScenarios) ... ok test_connection_string_test_valid-options (test_uri_spec.TestAllScenarios) ... ok test_connection_string_test_valid-unix_socket-absolute (test_uri_spec.TestAllScenarios) ... ok test_connection_string_test_valid-unix_socket-relative (test_uri_spec.TestAllScenarios) ... ok test_connection_string_test_valid-warnings (test_uri_spec.TestAllScenarios) ... /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/common.py:616: UserWarning: Unknown option foo warnings.warn(str(exc)) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/common.py:616: UserWarning: The value of fsync must be 'true' or 'false' warnings.warn(str(exc)) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/uri_parser.py:195: UserWarning: Duplicate URI option replicaSet warnings.warn("Duplicate URI option %s" % (str(key),)) /var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/pymongo/uri_parser.py:202: UserWarning: Option wtimeout is deprecated, use 'wtimeoutMS' instead warnings.warn("Option wtimeout is deprecated, use 'wtimeoutMS'" ok test_grid_file (unittest.loader._FailedTest) ... ERROR test_gridfs (unittest.loader._FailedTest) ... ERROR test_gridfs_bucket (unittest.loader._FailedTest) ... ERROR test_gridfs_spec (unittest.loader._FailedTest) ... ERROR test_session (unittest.loader._FailedTest) ... ERROR ====================================================================== ERROR: test_grid_file (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_grid_file Traceback (most recent call last): File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name __import__(name) File "/var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_grid_file.py", line 26, in from .gridfs import GridFS ImportError: attempted relative import with no known parent package ====================================================================== ERROR: test_gridfs (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_gridfs Traceback (most recent call last): File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name __import__(name) File "/var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_gridfs.py", line 25, in from . import gridfs ImportError: attempted relative import with no known parent package ====================================================================== ERROR: test_gridfs_bucket (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_gridfs_bucket Traceback (most recent call last): File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name __import__(name) File "/var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_gridfs_bucket.py", line 23, in from . import gridfs ImportError: attempted relative import with no known parent package ====================================================================== ERROR: test_gridfs_spec (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_gridfs_spec Traceback (most recent call last): File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name __import__(name) File "/var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_gridfs_spec.py", line 22, in from . import gridfs ImportError: attempted relative import with no known parent package ====================================================================== ERROR: test_session (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_session Traceback (most recent call last): File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name __import__(name) File "/var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6/test/test_session.py", line 22, in from .gridfs import GridFS, GridFSBucket ImportError: attempted relative import with no known parent package ---------------------------------------------------------------------- Ran 1247 tests in 83.082s FAILED (errors=5, skipped=246) * ERROR: dev-python/pymongo-3.7.1::gentoo failed (test phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_test * environment, line 2891: Called distutils-r1_src_test * environment, line 1083: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 358: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2379: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1737: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1735: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 575: Called distutils-r1_run_phase 'python_test' * environment, line 1014: Called python_test * environment, line 2783: Called esetup.py 'test' * environment, line 1282: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/pymongo-3.7.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pymongo-3.7.1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:pymongo-3.7.1:20180815-093958.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pymongo-3.7.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pymongo-3.7.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1-python3_6' * S: '/var/tmp/portage/dev-python/pymongo-3.7.1/work/pymongo-3.7.1' * Failed to kill pid(s) in '/sys/fs/cgroup/portage/dev-python:pymongo-3.7.1.f7spo35f/cgroup.procs': 25741 * Failed to kill pid(s) in '/sys/fs/cgroup/portage/dev-python:pymongo-3.7.1.f7spo35f/cgroup.procs': 25741