* Package: dev-python/requests-cache-0.5.2 * Repository: gentoo * Maintainer: zx2c4@gentoo.org python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_7 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug test userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/138feeb71bfb9cfaad64e9d22024bbd18e513e33 (Thu Sep 17 06:35:33 PM UTC 2020) @@@@@ END @@@@@ emerge --info: Portage 3.0.4 (python 3.7.8-final-0, default/linux/amd64/17.0, gcc-9.3.0, glibc-2.31-r6, 4.14.34-gentoo-infra38 x86_64) ================================================================= System uname: Linux-4.14.34-gentoo-infra38-x86_64-Intel-R-_Xeon-R-_CPU_E5-2620_v4_@_2.10GHz-with-gentoo-2.7 KiB Mem: 16426740 total, 7465572 free KiB Swap: 4194268 total, 4183504 free Timestamp of repository gentoo: Thu, 17 Sep 2020 18:35:32 +0000 sh bash 5.0_p18 ld GNU ld (Gentoo 2.33.1 p2) 2.33.1 app-shells/bash: 5.0_p18::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.30.3::gentoo dev-lang/python: 2.7.18-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo dev-util/cmake: 3.16.5::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.33.1-r1::gentoo sys-devel/gcc: 9.3.0-r1::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 x-portage location: /usr/local/portage masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* AVASYS Broadcom linux-fw-redistributable ISSL SmartLabs freedist ipw2200-fw JSON Amazon Atmel Mellanox-AS-IS ipw3945 sun-jlfgr LSI-tw_cli NVIDIA-r1 unRAR qlogic-fibre-channel-firmware shmux MicroChip-SDCC ipw2100-fw bonnie GPL-1 GPL-2+ GPL-3+ CC-BY-SA-2.0 GPL-2 FreeArt Arphic CC-BY-4.0 FDL-1.1+ FDL-1.3+ CC-BY-2.0 FDL-1.1 OPL IPAfont CC-BY-2.5 CC-BY-3.0 GPL-1+ OFL-1.1 CC-BY-SA-3.0 CC-BY-SA-2.5 CC-BY-SA-4.0 FDL-1.2 OFL FDL-1.3 GPL-3 FDL-1.2+ myspell-en_CA-KevinAtkinson CC-BY-SA-1.0 BAEKMUK CC-SA-1.0 quake1-textures CC-PD LDP-1a man-pages vlgothic man-pages-posix-2013 man-pages-posix Texinfo-manual mplus-fonts BitstreamVera UbuntuFontLicense-1.0 MaxMind2 wxWinFDL-3 LDP-1 QPL PHP-3.01 QPL-1.0 APSL-2 openssl AFL-3.0 AFL-2.1 OSL-1.1 OSL-2.0 Apache-1.0 CPL-1.0 EUPL-1.1 IBM CPAL-1.0 Ms-PL LGPL-3+ CC0-1.0 GPL-1 GPL-2-with-font-exception tanuki-community LGPL-2.1+ Apache-2.0 PYTHON Ruby-BSD MIT Boost-1.0 GPL-2+ gcc-runtime-library-exception-3.1 ISC PSF-2 GPL-3+ GPL-2+-with-openssl-exception LGPL-2+ WTFPL-2 GPL-2 UoI-NCSA LGPL-2 PSF-2.2 Clear-BSD LGPL-3 wxWinLL-3.1 Artistic-2 MPL-2.0 LGPL-2-with-linking-exception IJG UPX-exception GPL-3+-with-opencl-openssl-exception ZPL LGPL-3-with-linking-exception AGPL-3+ libgcc AGPL-3 SGI-B-2.0 W3C Clarified-Artistic qwt GPL-2-with-exceptions GPL-3+-with-autoconf-exception GPL-3-with-openssl-exception unicode ZLIB GPL-2-with-MySQL-FLOSS-exception CeCILL-2 Ruby Transmission-OpenSSL-exception libstdc++ GPL-3+-with-opencl-exception GPL-2-with-classpath-exception vim GPL-1+ BSD-2 GPL-3+-with-cuda-openssl-exception GPL-3+-with-cuda-exception LGPL-2.1 LGPL-2.1-with-linking-exception Nokia-Qt-LGPL-Exception-1.1 OPENLDAP PSF-2.4 PSF-2.3 public-domain Sleepycat ECL-2.0 HPND FTL GPL-3-with-font-exception metapackage Apache-2.0-with-LLVM-exceptions GPL-2-with-linking-exception Unlicense GPL-3 BSD OSL-2.1 CNRI BSD-4 FraunhoferFDK EPL-1.0 NPL-1.1 Apache-1.1 EPL-2.0 MPL-1.0 CDDL LPPL-1.2 Zend-2.0 gnuplot MPL-1.1 BSD-with-attribution AIFFWriter.m shrimp JOVE iASL sash canfep CDDL-1.1 curl inner-net flexmock IDPL Allegro tcp_wrappers_license LIBGLOSS mpich2 boehm-gc bea.ri.jsr173 Sendmail ZSH openafs-krb5-a psutils CPL-0.5 DUMB-0.9.3 freetts tcltk gd MIT-with-advertising ElementTree scanlogd rwpng SMAIL photopc par buddy UCAR-Unidata matplotlib TeX XC regexp-UofT Xdebug tm-align CRACKLIB Time-modules eGenixPublic-1.1 Snd CAOSL VTK w3m PCRE CeCILL-C URT NEWLIB DES libpng HTML-Tidy imagemagick feh Time-Format JNIC Princeton NCSA-HDF SVFL Sympow-BSD libmng FastCGI File-MMagic JDOM otter xtrs Flashpix CMake totd pngnq FLTK BEER-WARE xboing SSLeay rc BSD-1 CDDL-Schily FLEX PHP-2.02 LPPL-1.3 dom4j Toyoda ipadic sdlsasteroids RSA Emacs htmlc BZIP2 ngrep Subversion minpack Info-ZIP docbook Mini-XML Old-MIT x2x Khronos-CLHPP LPPL-1.3b mm netcat Ispell AMPAS lsof bufexplorer.vim symlinks libtiff Interbase-1.0 libpng2 TeX-other-free rdisc repoze Openwall FVWM ErlPL-1.1 Crypt-IDEA icu pngcrush the-Click-license torque-2.5 alternate LambdaMOO tablelist perforce xbatt BSD-with-disclosure gsm wm2 Sendmail-Open-Source LGPL-3+ QPL Apache-2.0 PHP-3.01 APSL-2 AFL-3.0 MIT Boost-1.0 GPL-2+ ISC PSF-2 Artistic GPL-3+ LGPL-2+ PHP-3 GPL-2 UoI-NCSA APL-1.0 CPL-1.0 EUPL-1.1 IBM CPAL-1.0 LGPL-3 Artistic-2 wxWinLL-3 Ms-PL MPL-2.0 OSL-2.1 ZPL POSTGRESQL AGPL-3+ W3C AGPL-3 CNRI IPAfont ZLIB NOSA EPL-1.0 nethack GPL-1+ BSD-2 Apache-1.1 EPL-2.0 LGPL-2.1 LPPL-1.3c MPL-1.0 CDDL Watcom-1.0 Sleepycat OFL-1.1 ECL-2.0 HPND LGPL-2.1+ MPL-1.1 GPL-3 BSD bh-luxi intel-ucode no-source-code BSD" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc" CFLAGS="-O2 -pipe -g -ggdb -frecord-gcc-switches -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-g++" CXXFLAGS="-O2 -pipe -g -ggdb -frecord-gcc-switches -march=native" DISTDIR="/var/tmp/portage/dev-python/requests-cache-0.5.2/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going y --quiet-fail y -1" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -g -ggdb -frecord-gcc-switches -march=native" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -g -ggdb -frecord-gcc-switches -march=native" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" LINGUAS="en en_GB" MAKEOPTS="-j8" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib ncurses nls nptl openmp openssl pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="python3_7" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >>> Unpacking source... >>> Unpacking requests-cache-0.5.2.tar.gz to /var/tmp/portage/dev-python/requests-cache-0.5.2/work >>> Source unpacked in /var/tmp/portage/dev-python/requests-cache-0.5.2/work >>> Preparing source in /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2 ... * python3_7: running distutils-r1_run_phase distutils-r1_python_compile python3.7 setup.py build -j 8 running build running build_py creating /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache copying requests_cache/__init__.py -> /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache copying requests_cache/core.py -> /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache copying requests_cache/compat.py -> /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache creating /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache/backends copying requests_cache/backends/mongo.py -> /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache/backends copying requests_cache/backends/__init__.py -> /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache/backends copying requests_cache/backends/redis.py -> /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache/backends copying requests_cache/backends/base.py -> /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache/backends copying requests_cache/backends/gridfs.py -> /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache/backends copying requests_cache/backends/sqlite.py -> /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache/backends copying requests_cache/backends/dynamodb.py -> /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache/backends creating /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache/backends/storage copying requests_cache/backends/storage/__init__.py -> /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache/backends/storage copying requests_cache/backends/storage/gridfspickledict.py -> /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache/backends/storage copying requests_cache/backends/storage/redisdict.py -> /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache/backends/storage copying requests_cache/backends/storage/dynamodbdict.py -> /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache/backends/storage copying requests_cache/backends/storage/mongodict.py -> /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache/backends/storage copying requests_cache/backends/storage/dbdict.py -> /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2-python3_7/lib/requests_cache/backends/storage running egg_info writing requests_cache.egg-info/PKG-INFO writing dependency_links to requests_cache.egg-info/dependency_links.txt writing requirements to requests_cache.egg-info/requires.txt writing top-level names to requests_cache.egg-info/top_level.txt reading manifest file 'requests_cache.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.py' under directory 'examples' warning: no previously-included files matching '*.pyc' found under directory 'docs' warning: no previously-included files matching '*.pyo' found under directory 'docs' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'temp/*' writing manifest file 'requests_cache.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. * Using python3.8 in global scope * python3_8: running distutils-r1_run_phase python_compile_all >>> Source compiled. >>> Test phase: dev-python/requests-cache-0.5.2 * python3_7: running distutils-r1_run_phase python_test ============================= test session starts ============================== platform linux -- Python 3.7.8, pytest-4.6.11, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3.7 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2 plugins: xdist-1.34.0, localserver-0.5.0, forked-1.3.0 collecting ... collected 55 items / 29 deselected / 26 selected tests/test_cache.py::CacheTestCase::test_missing_backend_dependency PASSED [ 3%] tests/test_cache.py::CacheTestCase::test_str_and_repr PASSED [ 7%] tests/test_cache.py::CacheTestCase::test_unregistered_backend PASSED [ 11%] tests/test_dbdict.py::DbdictTestCase::test_bulk_commit PASSED [ 15%] tests/test_dbdict.py::DbdictTestCase::test_clear_and_work_again <- tests/test_custom_dict.py PASSED [ 19%] tests/test_dbdict.py::DbdictTestCase::test_del <- tests/test_custom_dict.py PASSED [ 23%] tests/test_dbdict.py::DbdictTestCase::test_fast_save PASSED [ 26%] tests/test_dbdict.py::DbdictTestCase::test_len <- tests/test_custom_dict.py PASSED [ 30%] tests/test_dbdict.py::DbdictTestCase::test_picklable_dict <- tests/test_custom_dict.py PASSED [ 34%] tests/test_dbdict.py::DbdictTestCase::test_same_settings <- tests/test_custom_dict.py PASSED [ 38%] tests/test_dbdict.py::DbdictTestCase::test_set_get <- tests/test_custom_dict.py PASSED [ 42%] tests/test_dbdict.py::DbdictTestCase::test_str <- tests/test_custom_dict.py PASSED [ 46%] tests/test_dbdict.py::DbdictTestCase::test_switch_commit PASSED [ 50%] tests/test_dbdict.py::DbdictTestCase::test_usage_with_threads PASSED [ 53%] tests/test_dynamodbdict.py::DynamoDbDictTestCase::test_clear_and_work_again <- tests/test_custom_dict.py FAILED [ 57%] tests/test_dynamodbdict.py::DynamoDbDictTestCase::test_clear_and_work_again <- tests/test_custom_dict.py ERROR [ 57%] tests/test_dynamodbdict.py::DynamoDbDictTestCase::test_del <- tests/test_custom_dict.py FAILED [ 61%] tests/test_dynamodbdict.py::DynamoDbDictTestCase::test_del <- tests/test_custom_dict.py ERROR [ 61%] tests/test_dynamodbdict.py::DynamoDbDictTestCase::test_len <- tests/test_custom_dict.py FAILED [ 65%] tests/test_dynamodbdict.py::DynamoDbDictTestCase::test_len <- tests/test_custom_dict.py ERROR [ 65%] tests/test_dynamodbdict.py::DynamoDbDictTestCase::test_picklable_dict <- tests/test_custom_dict.py FAILED [ 69%] tests/test_dynamodbdict.py::DynamoDbDictTestCase::test_picklable_dict <- tests/test_custom_dict.py ERROR [ 69%] tests/test_dynamodbdict.py::DynamoDbDictTestCase::test_same_settings <- tests/test_custom_dict.py FAILED [ 73%] tests/test_dynamodbdict.py::DynamoDbDictTestCase::test_same_settings <- tests/test_custom_dict.py ERROR [ 73%] tests/test_dynamodbdict.py::DynamoDbDictTestCase::test_set_get <- tests/test_custom_dict.py FAILED [ 76%] tests/test_dynamodbdict.py::DynamoDbDictTestCase::test_set_get <- tests/test_custom_dict.py ERROR [ 76%] tests/test_dynamodbdict.py::DynamoDbDictTestCase::test_str <- tests/test_custom_dict.py FAILED [ 80%] tests/test_dynamodbdict.py::DynamoDbDictTestCase::test_str <- tests/test_custom_dict.py ERROR [ 80%] tests/test_monkey_patch.py::MonkeyPatchTestCase::test_inheritance_after_monkey_patch PASSED [ 84%] tests/test_monkey_patch.py::MonkeyPatchTestCase::test_install_uninstall PASSED [ 88%] tests/test_monkey_patch.py::MonkeyPatchTestCase::test_passing_backend_instance_support PASSED [ 92%] tests/test_monkey_patch.py::MonkeyPatchTestCase::test_session_is_a_class_with_original_attributes PASSED [ 96%] tests/test_thread_safety.py::ThreadSafetyTestCase::test_caching_with_threads PASSED [100%] ==================================== ERRORS ==================================== _____ ERROR at teardown of DynamoDbDictTestCase.test_clear_and_work_again ______ self = def tearDown(self): if self.dict_class is DbDict: try: os.unlink(self.NAMESPACE) except: pass return for table in self.TABLES: > d = self.dict_class(self.NAMESPACE, table) tests/test_custom_dict.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_dynamodbdict.py:22: in __init__ super(WrapDynamoDbDict,self).__init__( namespace, collection_name, **options) requests_cache/backends/storage/dynamodbdict.py:81: in __init__ 'WriteCapacityUnits': write_capacity_units /usr/lib/python3.7/site-packages/boto3/resources/factory.py:520: in do_action response = action(self, *args, **kwargs) /usr/lib/python3.7/site-packages/boto3/resources/action.py:83: in __call__ response = getattr(parent.meta.client, operation_name)(*args, **params) /usr/lib/python3.7/site-packages/botocore/client.py:316: in _api_call return self._make_api_call(operation_name, kwargs) /usr/lib/python3.7/site-packages/botocore/client.py:622: in _make_api_call operation_model, request_dict, request_context) /usr/lib/python3.7/site-packages/botocore/client.py:641: in _make_request return self._endpoint.make_request(operation_model, request_dict) /usr/lib/python3.7/site-packages/botocore/endpoint.py:102: in make_request return self._send_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:132: in _send_request request = self.create_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:116: in create_request operation_name=operation_model.name) /usr/lib/python3.7/site-packages/botocore/hooks.py:356: in emit return self._emitter.emit(aliased_event_name, **kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:228: in emit return self._emit(event_name, kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:211: in _emit response = handler(**kwargs) /usr/lib/python3.7/site-packages/botocore/signers.py:90: in handler return self.sign(operation_name, request) /usr/lib/python3.7/site-packages/botocore/signers.py:160: in sign auth.add_auth(request) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = def add_auth(self, request): if self.credentials is None: > raise NoCredentialsError E botocore.exceptions.NoCredentialsError: Unable to locate credentials /usr/lib/python3.7/site-packages/botocore/auth.py:357: NoCredentialsError ______________ ERROR at teardown of DynamoDbDictTestCase.test_del ______________ self = def tearDown(self): if self.dict_class is DbDict: try: os.unlink(self.NAMESPACE) except: pass return for table in self.TABLES: > d = self.dict_class(self.NAMESPACE, table) tests/test_custom_dict.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_dynamodbdict.py:22: in __init__ super(WrapDynamoDbDict,self).__init__( namespace, collection_name, **options) requests_cache/backends/storage/dynamodbdict.py:81: in __init__ 'WriteCapacityUnits': write_capacity_units /usr/lib/python3.7/site-packages/boto3/resources/factory.py:520: in do_action response = action(self, *args, **kwargs) /usr/lib/python3.7/site-packages/boto3/resources/action.py:83: in __call__ response = getattr(parent.meta.client, operation_name)(*args, **params) /usr/lib/python3.7/site-packages/botocore/client.py:316: in _api_call return self._make_api_call(operation_name, kwargs) /usr/lib/python3.7/site-packages/botocore/client.py:622: in _make_api_call operation_model, request_dict, request_context) /usr/lib/python3.7/site-packages/botocore/client.py:641: in _make_request return self._endpoint.make_request(operation_model, request_dict) /usr/lib/python3.7/site-packages/botocore/endpoint.py:102: in make_request return self._send_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:132: in _send_request request = self.create_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:116: in create_request operation_name=operation_model.name) /usr/lib/python3.7/site-packages/botocore/hooks.py:356: in emit return self._emitter.emit(aliased_event_name, **kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:228: in emit return self._emit(event_name, kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:211: in _emit response = handler(**kwargs) /usr/lib/python3.7/site-packages/botocore/signers.py:90: in handler return self.sign(operation_name, request) /usr/lib/python3.7/site-packages/botocore/signers.py:160: in sign auth.add_auth(request) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = def add_auth(self, request): if self.credentials is None: > raise NoCredentialsError E botocore.exceptions.NoCredentialsError: Unable to locate credentials /usr/lib/python3.7/site-packages/botocore/auth.py:357: NoCredentialsError ______________ ERROR at teardown of DynamoDbDictTestCase.test_len ______________ self = def tearDown(self): if self.dict_class is DbDict: try: os.unlink(self.NAMESPACE) except: pass return for table in self.TABLES: > d = self.dict_class(self.NAMESPACE, table) tests/test_custom_dict.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_dynamodbdict.py:22: in __init__ super(WrapDynamoDbDict,self).__init__( namespace, collection_name, **options) requests_cache/backends/storage/dynamodbdict.py:81: in __init__ 'WriteCapacityUnits': write_capacity_units /usr/lib/python3.7/site-packages/boto3/resources/factory.py:520: in do_action response = action(self, *args, **kwargs) /usr/lib/python3.7/site-packages/boto3/resources/action.py:83: in __call__ response = getattr(parent.meta.client, operation_name)(*args, **params) /usr/lib/python3.7/site-packages/botocore/client.py:316: in _api_call return self._make_api_call(operation_name, kwargs) /usr/lib/python3.7/site-packages/botocore/client.py:622: in _make_api_call operation_model, request_dict, request_context) /usr/lib/python3.7/site-packages/botocore/client.py:641: in _make_request return self._endpoint.make_request(operation_model, request_dict) /usr/lib/python3.7/site-packages/botocore/endpoint.py:102: in make_request return self._send_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:132: in _send_request request = self.create_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:116: in create_request operation_name=operation_model.name) /usr/lib/python3.7/site-packages/botocore/hooks.py:356: in emit return self._emitter.emit(aliased_event_name, **kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:228: in emit return self._emit(event_name, kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:211: in _emit response = handler(**kwargs) /usr/lib/python3.7/site-packages/botocore/signers.py:90: in handler return self.sign(operation_name, request) /usr/lib/python3.7/site-packages/botocore/signers.py:160: in sign auth.add_auth(request) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = def add_auth(self, request): if self.credentials is None: > raise NoCredentialsError E botocore.exceptions.NoCredentialsError: Unable to locate credentials /usr/lib/python3.7/site-packages/botocore/auth.py:357: NoCredentialsError ________ ERROR at teardown of DynamoDbDictTestCase.test_picklable_dict _________ self = def tearDown(self): if self.dict_class is DbDict: try: os.unlink(self.NAMESPACE) except: pass return for table in self.TABLES: > d = self.dict_class(self.NAMESPACE, table) tests/test_custom_dict.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_dynamodbdict.py:22: in __init__ super(WrapDynamoDbDict,self).__init__( namespace, collection_name, **options) requests_cache/backends/storage/dynamodbdict.py:81: in __init__ 'WriteCapacityUnits': write_capacity_units /usr/lib/python3.7/site-packages/boto3/resources/factory.py:520: in do_action response = action(self, *args, **kwargs) /usr/lib/python3.7/site-packages/boto3/resources/action.py:83: in __call__ response = getattr(parent.meta.client, operation_name)(*args, **params) /usr/lib/python3.7/site-packages/botocore/client.py:316: in _api_call return self._make_api_call(operation_name, kwargs) /usr/lib/python3.7/site-packages/botocore/client.py:622: in _make_api_call operation_model, request_dict, request_context) /usr/lib/python3.7/site-packages/botocore/client.py:641: in _make_request return self._endpoint.make_request(operation_model, request_dict) /usr/lib/python3.7/site-packages/botocore/endpoint.py:102: in make_request return self._send_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:132: in _send_request request = self.create_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:116: in create_request operation_name=operation_model.name) /usr/lib/python3.7/site-packages/botocore/hooks.py:356: in emit return self._emitter.emit(aliased_event_name, **kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:228: in emit return self._emit(event_name, kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:211: in _emit response = handler(**kwargs) /usr/lib/python3.7/site-packages/botocore/signers.py:90: in handler return self.sign(operation_name, request) /usr/lib/python3.7/site-packages/botocore/signers.py:160: in sign auth.add_auth(request) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = def add_auth(self, request): if self.credentials is None: > raise NoCredentialsError E botocore.exceptions.NoCredentialsError: Unable to locate credentials /usr/lib/python3.7/site-packages/botocore/auth.py:357: NoCredentialsError _________ ERROR at teardown of DynamoDbDictTestCase.test_same_settings _________ self = def tearDown(self): if self.dict_class is DbDict: try: os.unlink(self.NAMESPACE) except: pass return for table in self.TABLES: > d = self.dict_class(self.NAMESPACE, table) tests/test_custom_dict.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_dynamodbdict.py:22: in __init__ super(WrapDynamoDbDict,self).__init__( namespace, collection_name, **options) requests_cache/backends/storage/dynamodbdict.py:81: in __init__ 'WriteCapacityUnits': write_capacity_units /usr/lib/python3.7/site-packages/boto3/resources/factory.py:520: in do_action response = action(self, *args, **kwargs) /usr/lib/python3.7/site-packages/boto3/resources/action.py:83: in __call__ response = getattr(parent.meta.client, operation_name)(*args, **params) /usr/lib/python3.7/site-packages/botocore/client.py:316: in _api_call return self._make_api_call(operation_name, kwargs) /usr/lib/python3.7/site-packages/botocore/client.py:622: in _make_api_call operation_model, request_dict, request_context) /usr/lib/python3.7/site-packages/botocore/client.py:641: in _make_request return self._endpoint.make_request(operation_model, request_dict) /usr/lib/python3.7/site-packages/botocore/endpoint.py:102: in make_request return self._send_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:132: in _send_request request = self.create_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:116: in create_request operation_name=operation_model.name) /usr/lib/python3.7/site-packages/botocore/hooks.py:356: in emit return self._emitter.emit(aliased_event_name, **kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:228: in emit return self._emit(event_name, kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:211: in _emit response = handler(**kwargs) /usr/lib/python3.7/site-packages/botocore/signers.py:90: in handler return self.sign(operation_name, request) /usr/lib/python3.7/site-packages/botocore/signers.py:160: in sign auth.add_auth(request) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = def add_auth(self, request): if self.credentials is None: > raise NoCredentialsError E botocore.exceptions.NoCredentialsError: Unable to locate credentials /usr/lib/python3.7/site-packages/botocore/auth.py:357: NoCredentialsError ____________ ERROR at teardown of DynamoDbDictTestCase.test_set_get ____________ self = def tearDown(self): if self.dict_class is DbDict: try: os.unlink(self.NAMESPACE) except: pass return for table in self.TABLES: > d = self.dict_class(self.NAMESPACE, table) tests/test_custom_dict.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_dynamodbdict.py:22: in __init__ super(WrapDynamoDbDict,self).__init__( namespace, collection_name, **options) requests_cache/backends/storage/dynamodbdict.py:81: in __init__ 'WriteCapacityUnits': write_capacity_units /usr/lib/python3.7/site-packages/boto3/resources/factory.py:520: in do_action response = action(self, *args, **kwargs) /usr/lib/python3.7/site-packages/boto3/resources/action.py:83: in __call__ response = getattr(parent.meta.client, operation_name)(*args, **params) /usr/lib/python3.7/site-packages/botocore/client.py:316: in _api_call return self._make_api_call(operation_name, kwargs) /usr/lib/python3.7/site-packages/botocore/client.py:622: in _make_api_call operation_model, request_dict, request_context) /usr/lib/python3.7/site-packages/botocore/client.py:641: in _make_request return self._endpoint.make_request(operation_model, request_dict) /usr/lib/python3.7/site-packages/botocore/endpoint.py:102: in make_request return self._send_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:132: in _send_request request = self.create_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:116: in create_request operation_name=operation_model.name) /usr/lib/python3.7/site-packages/botocore/hooks.py:356: in emit return self._emitter.emit(aliased_event_name, **kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:228: in emit return self._emit(event_name, kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:211: in _emit response = handler(**kwargs) /usr/lib/python3.7/site-packages/botocore/signers.py:90: in handler return self.sign(operation_name, request) /usr/lib/python3.7/site-packages/botocore/signers.py:160: in sign auth.add_auth(request) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = def add_auth(self, request): if self.credentials is None: > raise NoCredentialsError E botocore.exceptions.NoCredentialsError: Unable to locate credentials /usr/lib/python3.7/site-packages/botocore/auth.py:357: NoCredentialsError ______________ ERROR at teardown of DynamoDbDictTestCase.test_str ______________ self = def tearDown(self): if self.dict_class is DbDict: try: os.unlink(self.NAMESPACE) except: pass return for table in self.TABLES: > d = self.dict_class(self.NAMESPACE, table) tests/test_custom_dict.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_dynamodbdict.py:22: in __init__ super(WrapDynamoDbDict,self).__init__( namespace, collection_name, **options) requests_cache/backends/storage/dynamodbdict.py:81: in __init__ 'WriteCapacityUnits': write_capacity_units /usr/lib/python3.7/site-packages/boto3/resources/factory.py:520: in do_action response = action(self, *args, **kwargs) /usr/lib/python3.7/site-packages/boto3/resources/action.py:83: in __call__ response = getattr(parent.meta.client, operation_name)(*args, **params) /usr/lib/python3.7/site-packages/botocore/client.py:316: in _api_call return self._make_api_call(operation_name, kwargs) /usr/lib/python3.7/site-packages/botocore/client.py:622: in _make_api_call operation_model, request_dict, request_context) /usr/lib/python3.7/site-packages/botocore/client.py:641: in _make_request return self._endpoint.make_request(operation_model, request_dict) /usr/lib/python3.7/site-packages/botocore/endpoint.py:102: in make_request return self._send_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:132: in _send_request request = self.create_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:116: in create_request operation_name=operation_model.name) /usr/lib/python3.7/site-packages/botocore/hooks.py:356: in emit return self._emitter.emit(aliased_event_name, **kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:228: in emit return self._emit(event_name, kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:211: in _emit response = handler(**kwargs) /usr/lib/python3.7/site-packages/botocore/signers.py:90: in handler return self.sign(operation_name, request) /usr/lib/python3.7/site-packages/botocore/signers.py:160: in sign auth.add_auth(request) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = def add_auth(self, request): if self.credentials is None: > raise NoCredentialsError E botocore.exceptions.NoCredentialsError: Unable to locate credentials /usr/lib/python3.7/site-packages/botocore/auth.py:357: NoCredentialsError =================================== FAILURES =================================== ________________ DynamoDbDictTestCase.test_clear_and_work_again ________________ self = def test_clear_and_work_again(self): > d = self.dict_class(self.NAMESPACE) tests/test_custom_dict.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_dynamodbdict.py:22: in __init__ super(WrapDynamoDbDict,self).__init__( namespace, collection_name, **options) requests_cache/backends/storage/dynamodbdict.py:81: in __init__ 'WriteCapacityUnits': write_capacity_units /usr/lib/python3.7/site-packages/boto3/resources/factory.py:520: in do_action response = action(self, *args, **kwargs) /usr/lib/python3.7/site-packages/boto3/resources/action.py:83: in __call__ response = getattr(parent.meta.client, operation_name)(*args, **params) /usr/lib/python3.7/site-packages/botocore/client.py:316: in _api_call return self._make_api_call(operation_name, kwargs) /usr/lib/python3.7/site-packages/botocore/client.py:622: in _make_api_call operation_model, request_dict, request_context) /usr/lib/python3.7/site-packages/botocore/client.py:641: in _make_request return self._endpoint.make_request(operation_model, request_dict) /usr/lib/python3.7/site-packages/botocore/endpoint.py:102: in make_request return self._send_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:132: in _send_request request = self.create_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:116: in create_request operation_name=operation_model.name) /usr/lib/python3.7/site-packages/botocore/hooks.py:356: in emit return self._emitter.emit(aliased_event_name, **kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:228: in emit return self._emit(event_name, kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:211: in _emit response = handler(**kwargs) /usr/lib/python3.7/site-packages/botocore/signers.py:90: in handler return self.sign(operation_name, request) /usr/lib/python3.7/site-packages/botocore/signers.py:160: in sign auth.add_auth(request) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = def add_auth(self, request): if self.credentials is None: > raise NoCredentialsError E botocore.exceptions.NoCredentialsError: Unable to locate credentials /usr/lib/python3.7/site-packages/botocore/auth.py:357: NoCredentialsError ________________________ DynamoDbDictTestCase.test_del _________________________ self = def test_del(self): > d = self.dict_class(self.NAMESPACE) tests/test_custom_dict.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_dynamodbdict.py:22: in __init__ super(WrapDynamoDbDict,self).__init__( namespace, collection_name, **options) requests_cache/backends/storage/dynamodbdict.py:81: in __init__ 'WriteCapacityUnits': write_capacity_units /usr/lib/python3.7/site-packages/boto3/resources/factory.py:520: in do_action response = action(self, *args, **kwargs) /usr/lib/python3.7/site-packages/boto3/resources/action.py:83: in __call__ response = getattr(parent.meta.client, operation_name)(*args, **params) /usr/lib/python3.7/site-packages/botocore/client.py:316: in _api_call return self._make_api_call(operation_name, kwargs) /usr/lib/python3.7/site-packages/botocore/client.py:622: in _make_api_call operation_model, request_dict, request_context) /usr/lib/python3.7/site-packages/botocore/client.py:641: in _make_request return self._endpoint.make_request(operation_model, request_dict) /usr/lib/python3.7/site-packages/botocore/endpoint.py:102: in make_request return self._send_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:132: in _send_request request = self.create_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:116: in create_request operation_name=operation_model.name) /usr/lib/python3.7/site-packages/botocore/hooks.py:356: in emit return self._emitter.emit(aliased_event_name, **kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:228: in emit return self._emit(event_name, kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:211: in _emit response = handler(**kwargs) /usr/lib/python3.7/site-packages/botocore/signers.py:90: in handler return self.sign(operation_name, request) /usr/lib/python3.7/site-packages/botocore/signers.py:160: in sign auth.add_auth(request) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = def add_auth(self, request): if self.credentials is None: > raise NoCredentialsError E botocore.exceptions.NoCredentialsError: Unable to locate credentials /usr/lib/python3.7/site-packages/botocore/auth.py:357: NoCredentialsError ________________________ DynamoDbDictTestCase.test_len _________________________ self = def test_len(self): n = 5 > d = self.dict_class(self.NAMESPACE) tests/test_custom_dict.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_dynamodbdict.py:22: in __init__ super(WrapDynamoDbDict,self).__init__( namespace, collection_name, **options) requests_cache/backends/storage/dynamodbdict.py:81: in __init__ 'WriteCapacityUnits': write_capacity_units /usr/lib/python3.7/site-packages/boto3/resources/factory.py:520: in do_action response = action(self, *args, **kwargs) /usr/lib/python3.7/site-packages/boto3/resources/action.py:83: in __call__ response = getattr(parent.meta.client, operation_name)(*args, **params) /usr/lib/python3.7/site-packages/botocore/client.py:316: in _api_call return self._make_api_call(operation_name, kwargs) /usr/lib/python3.7/site-packages/botocore/client.py:622: in _make_api_call operation_model, request_dict, request_context) /usr/lib/python3.7/site-packages/botocore/client.py:641: in _make_request return self._endpoint.make_request(operation_model, request_dict) /usr/lib/python3.7/site-packages/botocore/endpoint.py:102: in make_request return self._send_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:132: in _send_request request = self.create_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:116: in create_request operation_name=operation_model.name) /usr/lib/python3.7/site-packages/botocore/hooks.py:356: in emit return self._emitter.emit(aliased_event_name, **kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:228: in emit return self._emit(event_name, kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:211: in _emit response = handler(**kwargs) /usr/lib/python3.7/site-packages/botocore/signers.py:90: in handler return self.sign(operation_name, request) /usr/lib/python3.7/site-packages/botocore/signers.py:160: in sign auth.add_auth(request) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = def add_auth(self, request): if self.credentials is None: > raise NoCredentialsError E botocore.exceptions.NoCredentialsError: Unable to locate credentials /usr/lib/python3.7/site-packages/botocore/auth.py:357: NoCredentialsError ___________________ DynamoDbDictTestCase.test_picklable_dict ___________________ self = def test_picklable_dict(self): > d = self.pickled_dict_class(self.NAMESPACE) tests/test_custom_dict.py:66: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_dynamodbdict.py:22: in __init__ super(WrapDynamoDbDict,self).__init__( namespace, collection_name, **options) requests_cache/backends/storage/dynamodbdict.py:81: in __init__ 'WriteCapacityUnits': write_capacity_units /usr/lib/python3.7/site-packages/boto3/resources/factory.py:520: in do_action response = action(self, *args, **kwargs) /usr/lib/python3.7/site-packages/boto3/resources/action.py:83: in __call__ response = getattr(parent.meta.client, operation_name)(*args, **params) /usr/lib/python3.7/site-packages/botocore/client.py:316: in _api_call return self._make_api_call(operation_name, kwargs) /usr/lib/python3.7/site-packages/botocore/client.py:622: in _make_api_call operation_model, request_dict, request_context) /usr/lib/python3.7/site-packages/botocore/client.py:641: in _make_request return self._endpoint.make_request(operation_model, request_dict) /usr/lib/python3.7/site-packages/botocore/endpoint.py:102: in make_request return self._send_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:132: in _send_request request = self.create_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:116: in create_request operation_name=operation_model.name) /usr/lib/python3.7/site-packages/botocore/hooks.py:356: in emit return self._emitter.emit(aliased_event_name, **kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:228: in emit return self._emit(event_name, kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:211: in _emit response = handler(**kwargs) /usr/lib/python3.7/site-packages/botocore/signers.py:90: in handler return self.sign(operation_name, request) /usr/lib/python3.7/site-packages/botocore/signers.py:160: in sign auth.add_auth(request) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = def add_auth(self, request): if self.credentials is None: > raise NoCredentialsError E botocore.exceptions.NoCredentialsError: Unable to locate credentials /usr/lib/python3.7/site-packages/botocore/auth.py:357: NoCredentialsError ___________________ DynamoDbDictTestCase.test_same_settings ____________________ self = def test_same_settings(self): > d1 = self.dict_class(self.NAMESPACE) tests/test_custom_dict.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_dynamodbdict.py:22: in __init__ super(WrapDynamoDbDict,self).__init__( namespace, collection_name, **options) requests_cache/backends/storage/dynamodbdict.py:81: in __init__ 'WriteCapacityUnits': write_capacity_units /usr/lib/python3.7/site-packages/boto3/resources/factory.py:520: in do_action response = action(self, *args, **kwargs) /usr/lib/python3.7/site-packages/boto3/resources/action.py:83: in __call__ response = getattr(parent.meta.client, operation_name)(*args, **params) /usr/lib/python3.7/site-packages/botocore/client.py:316: in _api_call return self._make_api_call(operation_name, kwargs) /usr/lib/python3.7/site-packages/botocore/client.py:622: in _make_api_call operation_model, request_dict, request_context) /usr/lib/python3.7/site-packages/botocore/client.py:641: in _make_request return self._endpoint.make_request(operation_model, request_dict) /usr/lib/python3.7/site-packages/botocore/endpoint.py:102: in make_request return self._send_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:132: in _send_request request = self.create_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:116: in create_request operation_name=operation_model.name) /usr/lib/python3.7/site-packages/botocore/hooks.py:356: in emit return self._emitter.emit(aliased_event_name, **kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:228: in emit return self._emit(event_name, kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:211: in _emit response = handler(**kwargs) /usr/lib/python3.7/site-packages/botocore/signers.py:90: in handler return self.sign(operation_name, request) /usr/lib/python3.7/site-packages/botocore/signers.py:160: in sign auth.add_auth(request) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = def add_auth(self, request): if self.credentials is None: > raise NoCredentialsError E botocore.exceptions.NoCredentialsError: Unable to locate credentials /usr/lib/python3.7/site-packages/botocore/auth.py:357: NoCredentialsError ______________________ DynamoDbDictTestCase.test_set_get _______________________ self = def test_set_get(self): > d1 = self.dict_class(self.NAMESPACE, self.TABLES[0]) tests/test_custom_dict.py:31: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_dynamodbdict.py:22: in __init__ super(WrapDynamoDbDict,self).__init__( namespace, collection_name, **options) requests_cache/backends/storage/dynamodbdict.py:81: in __init__ 'WriteCapacityUnits': write_capacity_units /usr/lib/python3.7/site-packages/boto3/resources/factory.py:520: in do_action response = action(self, *args, **kwargs) /usr/lib/python3.7/site-packages/boto3/resources/action.py:83: in __call__ response = getattr(parent.meta.client, operation_name)(*args, **params) /usr/lib/python3.7/site-packages/botocore/client.py:316: in _api_call return self._make_api_call(operation_name, kwargs) /usr/lib/python3.7/site-packages/botocore/client.py:622: in _make_api_call operation_model, request_dict, request_context) /usr/lib/python3.7/site-packages/botocore/client.py:641: in _make_request return self._endpoint.make_request(operation_model, request_dict) /usr/lib/python3.7/site-packages/botocore/endpoint.py:102: in make_request return self._send_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:132: in _send_request request = self.create_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:116: in create_request operation_name=operation_model.name) /usr/lib/python3.7/site-packages/botocore/hooks.py:356: in emit return self._emitter.emit(aliased_event_name, **kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:228: in emit return self._emit(event_name, kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:211: in _emit response = handler(**kwargs) /usr/lib/python3.7/site-packages/botocore/signers.py:90: in handler return self.sign(operation_name, request) /usr/lib/python3.7/site-packages/botocore/signers.py:160: in sign auth.add_auth(request) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = def add_auth(self, request): if self.credentials is None: > raise NoCredentialsError E botocore.exceptions.NoCredentialsError: Unable to locate credentials /usr/lib/python3.7/site-packages/botocore/auth.py:357: NoCredentialsError ________________________ DynamoDbDictTestCase.test_str _________________________ self = def test_str(self): > d = self.dict_class(self.NAMESPACE) tests/test_custom_dict.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_dynamodbdict.py:22: in __init__ super(WrapDynamoDbDict,self).__init__( namespace, collection_name, **options) requests_cache/backends/storage/dynamodbdict.py:81: in __init__ 'WriteCapacityUnits': write_capacity_units /usr/lib/python3.7/site-packages/boto3/resources/factory.py:520: in do_action response = action(self, *args, **kwargs) /usr/lib/python3.7/site-packages/boto3/resources/action.py:83: in __call__ response = getattr(parent.meta.client, operation_name)(*args, **params) /usr/lib/python3.7/site-packages/botocore/client.py:316: in _api_call return self._make_api_call(operation_name, kwargs) /usr/lib/python3.7/site-packages/botocore/client.py:622: in _make_api_call operation_model, request_dict, request_context) /usr/lib/python3.7/site-packages/botocore/client.py:641: in _make_request return self._endpoint.make_request(operation_model, request_dict) /usr/lib/python3.7/site-packages/botocore/endpoint.py:102: in make_request return self._send_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:132: in _send_request request = self.create_request(request_dict, operation_model) /usr/lib/python3.7/site-packages/botocore/endpoint.py:116: in create_request operation_name=operation_model.name) /usr/lib/python3.7/site-packages/botocore/hooks.py:356: in emit return self._emitter.emit(aliased_event_name, **kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:228: in emit return self._emit(event_name, kwargs) /usr/lib/python3.7/site-packages/botocore/hooks.py:211: in _emit response = handler(**kwargs) /usr/lib/python3.7/site-packages/botocore/signers.py:90: in handler return self.sign(operation_name, request) /usr/lib/python3.7/site-packages/botocore/signers.py:160: in sign auth.add_auth(request) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = def add_auth(self, request): if self.credentials is None: > raise NoCredentialsError E botocore.exceptions.NoCredentialsError: Unable to locate credentials /usr/lib/python3.7/site-packages/botocore/auth.py:357: NoCredentialsError =============================== warnings summary =============================== tests/test_dbdict.py::DbdictTestCase::test_switch_commit /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2/tests/test_dbdict.py:42: DeprecationWarning: Please use assertTrue instead. self.assert_(d.can_commit) tests/test_dbdict.py::DbdictTestCase::test_usage_with_threads tests/test_dbdict.py::DbdictTestCase::test_usage_with_threads tests/test_dbdict.py::DbdictTestCase::test_usage_with_threads tests/test_dbdict.py::DbdictTestCase::test_usage_with_threads tests/test_dbdict.py::DbdictTestCase::test_usage_with_threads /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2/tests/test_dbdict.py:79: DeprecationWarning: Please use assertTrue instead. self.assert_(not fails) tests/test_monkey_patch.py::MonkeyPatchTestCase::test_inheritance_after_monkey_patch /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2/tests/test_monkey_patch.py:67: DeprecationWarning: Please use assertEqual instead. self.assertEquals(s.param, 1) tests/test_thread_safety.py::ThreadSafetyTestCase::test_caching_with_threads /var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2/tests/test_thread_safety.py:39: DeprecationWarning: Please use assertTrue instead. self.assert_(s.cache.has_url('%s?param=%s' % (url, i))) -- Docs: https://docs.pytest.org/en/latest/warnings.html === 7 failed, 19 passed, 29 deselected, 8 warnings, 7 error in 11.79 seconds === * ERROR: dev-python/requests-cache-0.5.2::gentoo failed (test phase): * Tests fail with python3.7 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 3055: Called distutils-r1_src_test * environment, line 1292: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 472: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2644: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2075: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2073: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 865: Called distutils-r1_run_phase 'python_test' * environment, line 1229: Called python_test * environment, line 2996: Called die * The specific snippet of code: * pytest -vv --ignore tests/test_redisdict.py ${skipped_tests[@]/#/--deselect } || die "Tests fail with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/requests-cache-0.5.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/requests-cache-0.5.2::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/dev-python/requests-cache-0.5.2:20200917-190323.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/requests-cache-0.5.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/requests-cache-0.5.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2' * S: '/var/tmp/portage/dev-python/requests-cache-0.5.2/work/requests-cache-0.5.2'