See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/7/display/redirect>
------------------------------------------ [...truncated 35.41 KB...] deleted: sha256:5eb7c1ce80cc22ced7b4f2c23da0df99f3d5b81e88dd76e6d99a30536e2b76b1 deleted: sha256:7cb80f40762ef0292d0e82c5aeb6494d8f980ea4b7cbbb4d7fc708b7bfc57ae9 deleted: sha256:f03444a61f5fa3069a211a2512a1c8f41e2647d64f67f464d0713dcb515c125d deleted: sha256:0d640ffc680d94dbcb84e1ae47602c356575f3d73f1702d2f50881606c589f64 deleted: sha256:76d70bf8cec100c7a96936096535cc4c5f86b37bb06cdf8471be2c8bc08dd8bc deleted: sha256:4eb5a097d75361d222d4d8f1bea1ad4175745e01362206dd3ea89347e57f47f6 deleted: sha256:7ac95b5237293506fa02280a2430c1b21871270d12509e9fefc073a6c8b71a26 deleted: sha256:4c882344f41210a7d0fd8a11aa0fe9bbf33923ebeecef9ed285212751765205c deleted: sha256:ab5b60342c412622a75f88792cf2247237151152f711ab6c9fb1e7c76885ad43 deleted: sha256:8f06ae65c62aa10be8822eed587ddb930f5f08212a9d02e890edd8e13859743e deleted: sha256:e4fa8b08bea2b38387006d50c0c4b0e65874055d1d94afd1c16f8b8240501226 deleted: sha256:d084a04933c99ad9dcebe4115a5b2af34271589929dacfebd3842be42747128a deleted: sha256:445633ebb4c23621299bbd5451a4877775a5dcd4a1f9fe94257b4ddddc7ae841 deleted: sha256:a6469d67077ab8c325d8b1cb1b34e18deef36db9de7122cc517c31a5a95bcbc7 deleted: sha256:9429dc08630b41d160dd556f484d354c496908cdeef9cb0e2932305660a31869 deleted: sha256:5e645528d42a90b26a7bae1082a2157e3548ef18a46a020f2466f6c89fcf20a2 deleted: sha256:534499a2e3155ed9ae0a9f019ea841869b7d000337bd55799787b80f8c95b8ce deleted: sha256:bc4527a6608bd217c2798bc2269940187f36236110b85931a7e9baf503eeb965 deleted: sha256:248703b08ea39226dbcb4abc602027064c6fec1b6f123977497217c0be2e5afb deleted: sha256:8e2f58c23c8f9550d5af4ed71ae592d6f5a75463c899570d71f8fb29cda17764 deleted: sha256:e1ae8d6d50b90e7a0397e41ce44b64a14e234b26d083fd539af9cedf52a36cd9 deleted: sha256:ccd6d82ed884889fa5dd9ad64f18680c5f550ccf948d38e736c22095634130c3 deleted: sha256:623bef3074e19f7f06f0742f24804734ed340939c76974580e857589343b2ce8 deleted: sha256:4757ff3f5834a5a98b4619b5d07fd443b6d12dbf6ef446abc9793cf02670dcc1 deleted: sha256:60607ab8e857ec1c0035ede83e9abcf5f2b67b2dbc8d1ee1036129cc0508c1fb deleted: sha256:ef5cb74fd88d02cdd887e71b77ea809b4c00918c28fe4d80e94318d60518b231 deleted: sha256:78f7c98b349b747617c6e05b057f2a322c5b6f87f76e11817d74f76a8311678d deleted: sha256:910da41424753b7cec7e5cd3b0eae6dad6d5afb6632cdc122489342db31f38ee Total reclaimed space: 1.794GB + docker network prune -f --filter 'name=testnetwork_*' + echo 15877 + docker system events Process leaked file descriptors. See https://jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more information [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6132322571963553508.sh + docker pull python:3.7 3.7: Pulling from library/python bc9ab73e5b14: Pulling fs layer 193a6306c92a: Pulling fs layer e5c3f8c317dc: Pulling fs layer a587a86c9dcb: Pulling fs layer 72744d0a318b: Pulling fs layer 3493e487c18d: Pulling fs layer ff536859af1d: Pulling fs layer 3427540e9cce: Pulling fs layer ddc423e256e5: Pulling fs layer ff536859af1d: Waiting a587a86c9dcb: Waiting 3493e487c18d: Waiting 3427540e9cce: Waiting ddc423e256e5: Waiting 72744d0a318b: Waiting e5c3f8c317dc: Verifying Checksum e5c3f8c317dc: Download complete 193a6306c92a: Verifying Checksum bc9ab73e5b14: Download complete 3493e487c18d: Verifying Checksum 3493e487c18d: Download complete a587a86c9dcb: Verifying Checksum a587a86c9dcb: Download complete 3427540e9cce: Download complete ff536859af1d: Verifying Checksum ff536859af1d: Download complete bc9ab73e5b14: Pull complete ddc423e256e5: Verifying Checksum ddc423e256e5: Download complete 193a6306c92a: Pull complete e5c3f8c317dc: Pull complete 72744d0a318b: Verifying Checksum 72744d0a318b: Download complete a587a86c9dcb: Pull complete 72744d0a318b: Pull complete 3493e487c18d: Pull complete ff536859af1d: Pull complete 3427540e9cce: Pull complete ddc423e256e5: Pull complete Digest: sha256:6bc6fccdceac7f1854ff93ef81e32a116c3cf9b9967237efebb51353892e1278 Status: Downloaded newer image for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins350205151724178373.sh + docker pull python:3.6 3.6: Pulling from library/python bc9ab73e5b14: Already exists 193a6306c92a: Already exists e5c3f8c317dc: Already exists a587a86c9dcb: Already exists 72744d0a318b: Already exists 6598fc9d11d1: Pulling fs layer 4b1d9004d467: Pulling fs layer 93612f47cdc3: Pulling fs layer 1bc4b4b50870: Pulling fs layer 1bc4b4b50870: Waiting 6598fc9d11d1: Verifying Checksum 6598fc9d11d1: Download complete 93612f47cdc3: Verifying Checksum 93612f47cdc3: Download complete 6598fc9d11d1: Pull complete 1bc4b4b50870: Download complete 4b1d9004d467: Verifying Checksum 4b1d9004d467: Download complete 4b1d9004d467: Pull complete 93612f47cdc3: Pull complete 1bc4b4b50870: Pull complete Digest: sha256:f69785998c742145d0a48eb5b2f5d17e91495a77b1eea0dd277305cfde535037 Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1049094815912576783.sh + docker pull python:3.5 3.5: Pulling from library/python bc9ab73e5b14: Already exists 193a6306c92a: Already exists e5c3f8c317dc: Already exists a587a86c9dcb: Already exists 72744d0a318b: Already exists 6598fc9d11d1: Already exists 74d2ee7772b2: Pulling fs layer ab2e66176e69: Pulling fs layer 2c4175ee7cad: Pulling fs layer ab2e66176e69: Verifying Checksum ab2e66176e69: Download complete 2c4175ee7cad: Verifying Checksum 2c4175ee7cad: Download complete 74d2ee7772b2: Verifying Checksum 74d2ee7772b2: Download complete 74d2ee7772b2: Pull complete ab2e66176e69: Pull complete 2c4175ee7cad: Pull complete Digest: sha256:374628b78c8bfc1d54ce5bab8b5920f9eab80c89dec9c1fdbecdef106eb3c77c Status: Downloaded newer image for python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4401698523480564200.sh + docker pull python:2.7 2.7: Pulling from library/python bc9ab73e5b14: Already exists 193a6306c92a: Already exists e5c3f8c317dc: Already exists a587a86c9dcb: Already exists 72744d0a318b: Already exists 23bf491a4f84: Pulling fs layer 7f3410abb2aa: Pulling fs layer 08c5081d43e2: Pulling fs layer 80a779c2daa3: Pulling fs layer 80a779c2daa3: Waiting 08c5081d43e2: Verifying Checksum 08c5081d43e2: Download complete 23bf491a4f84: Verifying Checksum 23bf491a4f84: Download complete 80a779c2daa3: Verifying Checksum 80a779c2daa3: Download complete 7f3410abb2aa: Verifying Checksum 7f3410abb2aa: Download complete 23bf491a4f84: Pull complete 7f3410abb2aa: Pull complete 08c5081d43e2: Pull complete 80a779c2daa3: Pull complete Digest: sha256:85e030ba028f3a074a1f31d31f04a7cc703a9419c54dd08a76b7d3fb7fdcbe54 Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins146424913954907926.sh + ./stream/clients/python/scripts/test.sh +++ dirname ./stream/clients/python/scripts/test.sh ++ cd ./stream/clients/python/scripts ++ pwd + SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts> + PY_VERSION=3.7 + NOXSESSION=lint,lint_setup_py,unit + <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh> +++ dirname <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/docker_tests.sh> ++ cd <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts> ++ pwd + SCRIPT_DIR=<https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts> + PY_VERSION=3.7 + NOXSESSION=lint,lint_setup_py,unit + [[ 3.7 == 3* ]] ++ cat + TEST_COMMANDS='find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf pip install nox nox' + docker run -v <https://builds.apache.org/job/bookkeeper_postcommit_master_python/ws/stream/clients/python/scripts/..>:/opt/bookkeeper -w /opt/bookkeeper -e PY_VERSION=3.7 -e NOXSESSION=lint,lint_setup_py,unit python:3.7 /bin/bash -c 'find . | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf pip install nox nox' Collecting nox Downloading https://files.pythonhosted.org/packages/b5/a7/1dd0f59ce0bf3e79abd7eefebaccbd1a11306d26197357ec2fea6d46dec4/nox-2018.10.15-py2.py3-none-any.whl Collecting py<2.0.0,>=1.4.0 (from nox) Downloading https://files.pythonhosted.org/packages/3e/c7/3da685ef117d42ac8d71af525208759742dd235f8094221fdaafcd3dba8f/py-1.7.0-py2.py3-none-any.whl (83kB) Collecting colorlog<4.0.0,>=2.6.1 (from nox) Downloading https://files.pythonhosted.org/packages/69/eb/58ae10d3c46a0195ffdd0e3943d255d0d5029d71e5457785ecd665bcf0f3/colorlog-3.1.4-py2.py3-none-any.whl Collecting virtualenv>=14.0.0 (from nox) Downloading https://files.pythonhosted.org/packages/b6/30/96a02b2287098b23b875bc8c2f58071c35d2efe84f747b64d523721dc2b5/virtualenv-16.0.0-py2.py3-none-any.whl (1.9MB) Installing collected packages: py, colorlog, virtualenv, nox Successfully installed colorlog-3.1.4 nox-2018.10.15 py-1.7.0 virtualenv-16.0.0 Running session unit-3.7 Creating virtualenv using python3.7 in /opt/bookkeeper/.nox/unit-3-7 pip install --upgrade mock pytest pytest-cov pip install --upgrade -e . py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit ==================================== ERRORS ==================================== ____________ ERROR collecting tests/unit/bookkeeper/test_futures.py ____________ tests/unit/bookkeeper/test_futures.py:18: in <module> from bookkeeper.kv import futures, exceptions bookkeeper/kv/__init__.py:15: in <module> from bookkeeper.kv.client import Client bookkeeper/kv/client.py:22: in <module> from bookkeeper.admin.namespace import Namespace bookkeeper/admin/__init__.py:15: in <module> from bookkeeper.admin.client import Client bookkeeper/admin/client.py:27: in <module> __version__ = pkg_resources.get_distribution('bookkeeper').version .nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:476: in get_distribution dist = get_provider(dist) .nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:352: in get_provider return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0] .nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:895: in require needed = self.resolve(parse_requirements(requirements)) .nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:781: in resolve raise DistributionNotFound(req, requirers) E pkg_resources.DistributionNotFound: The 'bookkeeper' distribution was not found and is required by the application =============================== warnings summary =============================== /opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/containers.py:182: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working MutableMapping = collections.MutableMapping /opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/containers.py:340: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working collections.MutableSequence.register(BaseContainer) -- Docs: https://docs.pytest.org/en/latest/warnings.html !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!! 2 warnings, 1 error in 1.96 seconds Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 2 Session unit-3.7 failed. Running session lint Creating virtualenv using python in /opt/bookkeeper/.nox/lint pip install --upgrade flake8 pip install --upgrade . flake8 bookkeeper tests /opt/bookkeeper/.nox/lint/lib/python3.7/site-packages/pycodestyle.py:113: FutureWarning: Possible nested set at position 1 EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]') Session lint was successful. Running session lint_setup_py Creating virtualenv using python in /opt/bookkeeper/.nox/lint_setup_py pip install --upgrade docutils Pygments python setup.py check --restructuredtext --strict running check /opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:398: UserWarning: Normalizing '4.9.0-alpha-0' to '4.9.0a0' normalized_version, Session lint_setup_py was successful. Ran multiple sessions: * unit-3.7: failed * lint: success * lint_setup_py: success Build step 'Execute shell' marked build as failure
