File "/var/tmp/portage/dev-python/botocore-1.8.6/work/botocore-1.8.6/tests/cmd-runner", line 72, in <module> import botocore.session ImportError: No module named botocore.session ERROR ERROR test_create_memory_paginators_in_loop (tests.functional.leak.test_resource_leaks.TestDoesNotLeakMemory) ... Traceback (most recent call last): ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-no-multilib-hardened_libressl-test_20171208-170410 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.2.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) [3] pypy3 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv dev-python/botocore [ebuild N ] dev-python/botocore-1.8.6 USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6"
Created attachment 509418 [details] emerge-info.txt
Created attachment 509420 [details] dev-python:botocore-1.8.6:20171211-090548.log.bz2
Created attachment 509422 [details] emerge-history.txt
Created attachment 509424 [details] environment
Created attachment 509426 [details] etc.portage.tbz2
Created attachment 509428 [details] temp.tbz2
Created attachment 509430 [details] tests.tbz2
Oops. Apparently caused by my recent commit https://github.com/gentoo/gentoo/commit/e1fabdbdb95dc3870e2a9a9b6e7492ee10385789 . Looking into reproducing and resolving this. Thanks for reporting.
Reproduces only if botocore was not previously installed (with FEATURES=-test), that's how I missed it.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e580cd8f1440cd5e12d42017cc6c645ab7be71b1 commit e580cd8f1440cd5e12d42017cc6c645ab7be71b1 Author: Andrey Utkin <andrey_utkin@gentoo.org> AuthorDate: 2017-12-15 01:16:44 +0000 Commit: Andrey Utkin <andrey_utkin@gentoo.org> CommitDate: 2017-12-15 10:09:08 +0000 dev-python/botocore: fix running tests Functional tests suite, recently added to src_test phase, ended up using library files already installed, and not what is to be installed. This is handled now by passing custom PYTHONPATH, and patching tests suite to not discard custom PYTHONPATH when launching child processes. "nosetests" invocation for unit and functional test suites was split into two as it doesn't work correctly when given two directory paths. It looks like PYTHONPATH is not properly passed in that case. The reason is unknown. Fixes: e1fabdbdb95d ("dev-python/botocore: run also functional tests") Bug: https://bugs.gentoo.org/640726 Package-Manager: Portage-2.3.17, Repoman-2.3.6 dev-python/botocore/botocore-1.8.6.ebuild | 5 +++- ...8.6-tests-pass-all-env-vars-to-cmd-runner.patch | 32 ++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-)}
Toralf, could you please retest and close the bug if solved?
Closing per agreement with Toralf. I hope the fix is working.