See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/135/display/redirect?page=changes>
Changes: [github] Exclude defaultrack bookies when enforceMinNumRacksPerWriteQuorum is ------------------------------------------ [...truncated 29.82 KB...] b848fcf6-2b4e-4585-a5b7-27a5c45ef56b eedb96b8-baf6-445b-a700-a58b72858f47 Total reclaimed space: 0B + docker network prune -f --filter 'name=testnetwork_*' + echo 30277 + docker system events + docker pull quay.io/coreos/etcd:v3.3 v3.3: Pulling from coreos/etcd 2bc1c5ee8605: Pulling fs layer 075a2fcf78bc: Pulling fs layer 35e5ff0bd5f1: Pulling fs layer ec90809a24af: Pulling fs layer 27b2768170ac: Pulling fs layer 52ad13cdb1de: Pulling fs layer ec90809a24af: Waiting 27b2768170ac: Waiting 2bc1c5ee8605: Verifying Checksum 2bc1c5ee8605: Download complete 2bc1c5ee8605: Pull complete ec90809a24af: Download complete 075a2fcf78bc: Verifying Checksum 075a2fcf78bc: Download complete 27b2768170ac: Verifying Checksum 27b2768170ac: Download complete 075a2fcf78bc: Pull complete 52ad13cdb1de: Download complete 35e5ff0bd5f1: Verifying Checksum 35e5ff0bd5f1: Download complete 35e5ff0bd5f1: Pull complete ec90809a24af: Pull complete 27b2768170ac: Pull complete 52ad13cdb1de: Pull complete Digest: sha256:00304fb914dbc8205275bc7630f376171344753a17ec3c81f0b424fa8f841d66 Status: Downloaded newer image for quay.io/coreos/etcd:v3.3 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/jenkins2532755925000295459.sh + docker pull python:3.7 3.7: Pulling from library/python 741437d97401: Pulling fs layer 34d8874714d7: Pulling fs layer 0a108aa26679: Pulling fs layer 7f0334c36886: Pulling fs layer 65c95cb8b3be: Pulling fs layer 9107d7193263: Pulling fs layer dd6f212ec984: Pulling fs layer 43288b101abf: Pulling fs layer 89dd65885f16: Pulling fs layer 7f0334c36886: Waiting 65c95cb8b3be: Waiting 9107d7193263: Waiting dd6f212ec984: Waiting 89dd65885f16: Waiting 43288b101abf: Waiting 0a108aa26679: Verifying Checksum 0a108aa26679: Download complete 34d8874714d7: Verifying Checksum 34d8874714d7: Download complete 741437d97401: Verifying Checksum 741437d97401: Download complete 7f0334c36886: Verifying Checksum 7f0334c36886: Download complete 9107d7193263: Verifying Checksum 9107d7193263: Download complete 43288b101abf: Verifying Checksum 43288b101abf: Download complete dd6f212ec984: Verifying Checksum dd6f212ec984: Download complete 89dd65885f16: Verifying Checksum 89dd65885f16: Download complete 65c95cb8b3be: Verifying Checksum 65c95cb8b3be: Download complete 741437d97401: Pull complete 34d8874714d7: Pull complete 0a108aa26679: Pull complete 7f0334c36886: Pull complete 65c95cb8b3be: Pull complete 9107d7193263: Pull complete dd6f212ec984: Pull complete 43288b101abf: Pull complete 89dd65885f16: Pull complete Digest: sha256:c3d878a182d7681c33ac172aad512d9b6e65952ae4a69dcca103ed3681811f14 Status: Downloaded newer image for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2074460290870582781.sh + docker pull python:3.6 3.6: Pulling from library/python 741437d97401: Already exists 34d8874714d7: Already exists 0a108aa26679: Already exists 7f0334c36886: Already exists 65c95cb8b3be: Already exists 36185429e34c: Pulling fs layer 99d78cb27656: Pulling fs layer 735a9c9a10ba: Pulling fs layer 6b755a515385: Pulling fs layer 6b755a515385: Waiting 735a9c9a10ba: Download complete 36185429e34c: Verifying Checksum 36185429e34c: Download complete 99d78cb27656: Verifying Checksum 99d78cb27656: Download complete 6b755a515385: Verifying Checksum 6b755a515385: Download complete 36185429e34c: Pull complete 99d78cb27656: Pull complete 735a9c9a10ba: Pull complete 6b755a515385: Pull complete Digest: sha256:a45504fb99c2bcb98867065c867fa6940e15e559e5f102cc7fc2476c6e336a25 Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3498358226183542787.sh + docker pull python:3.5 3.5: Pulling from library/python 741437d97401: Already exists 34d8874714d7: Already exists 0a108aa26679: Already exists 7f0334c36886: Already exists 65c95cb8b3be: Already exists 36185429e34c: Already exists 9914605f1203: Pulling fs layer a590c5cc1f30: Pulling fs layer db6449a17287: Pulling fs layer a590c5cc1f30: Verifying Checksum a590c5cc1f30: Download complete db6449a17287: Verifying Checksum db6449a17287: Download complete 9914605f1203: Download complete 9914605f1203: Pull complete a590c5cc1f30: Pull complete db6449a17287: Pull complete Digest: sha256:6e188539aef9f9cf021c364716902b698bbe0da3ab17f7bb0810285c7f8bb8c2 Status: Downloaded newer image for python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3324597687617442433.sh + docker pull python:2.7 2.7: Pulling from library/python 741437d97401: Already exists 34d8874714d7: Already exists 0a108aa26679: Already exists 7f0334c36886: Already exists 65c95cb8b3be: Already exists d6518cb8a076: Pulling fs layer 978af0c41163: Pulling fs layer 2279c641f679: Pulling fs layer 0adc21e4cdc7: Pulling fs layer 0adc21e4cdc7: Waiting 2279c641f679: Verifying Checksum 2279c641f679: Download complete d6518cb8a076: Download complete 978af0c41163: Verifying Checksum 978af0c41163: Download complete 0adc21e4cdc7: Verifying Checksum 0adc21e4cdc7: Download complete d6518cb8a076: Pull complete 978af0c41163: Pull complete 2279c641f679: Pull complete 0adc21e4cdc7: Pull complete Digest: sha256:420717afff923269675cc91b7b86381e450efe32ad688e99802d81a7d5f6f873 Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5346686735194110285.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/6a/31/6d83de53dd55c1b541eae28479b011d10691dc8ac91ab34fd827ac44eca3/nox-2018.10.17-py2.py3-none-any.whl Collecting virtualenv>=14.0.0 (from nox) Downloading https://files.pythonhosted.org/packages/7e/1b/6c00d57127608793e16e8b7f813e64d58a1938505c42fe190d1386ab41e1/virtualenv-16.4.0-py2.py3-none-any.whl (2.0MB) Collecting py<2.0.0,>=1.4.0 (from nox) Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB) Collecting colorlog<4.0.0,>=2.6.1 (from nox) Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl Installing collected packages: virtualenv, py, colorlog, nox Successfully installed colorlog-3.2.0 nox-2018.10.17 py-1.8.0 virtualenv-16.4.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 .................................................................... [100%] =============================== warnings summary =============================== .nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/api_implementation.py:154 /opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/api_implementation.py:154: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from google.protobuf.pyext import _message .nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/containers.py:182 /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 tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_get_dict_absent /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:146: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working elif isinstance(msg_or_dict, collections.Mapping): -- Docs: https://docs.pytest.org/en/latest/warnings.html 68 passed, 3 warnings in 3.19 seconds Session unit-3.7 was successful. Running session lint Creating virtualenv using python in /opt/bookkeeper/.nox/lint pip install --upgrade flake8 pip install --upgrade . flake8 bookkeeper tests bookkeeper/common/service_uri.py:30:80: E501 line too long (107 > 79 characters) bookkeeper/common/service_uri.py:32:80: E501 line too long (101 > 79 characters) bookkeeper/admin/namespace.py:58:80: E501 line too long (81 > 79 characters) bookkeeper/admin/namespace.py:65:80: E501 line too long (86 > 79 characters) bookkeeper/admin/namespaces.py:62:80: E501 line too long (87 > 79 characters) tests/unit/bookkeeper/common/test_service_uri.py:38:80: E501 line too long (81 > 79 characters) tests/unit/bookkeeper/common/test_service_uri.py:39:80: E501 line too long (86 > 79 characters) tests/unit/bookkeeper/common/test_service_uri.py:46:80: E501 line too long (81 > 79 characters) tests/unit/bookkeeper/common/test_service_uri.py:47:80: E501 line too long (86 > 79 characters) tests/unit/bookkeeper/common/test_service_uri.py:54:80: E501 line too long (81 > 79 characters) tests/unit/bookkeeper/common/test_service_uri.py:55:80: E501 line too long (86 > 79 characters) tests/integration/bookkeeper/kv/test_client.py:19:1: F401 'pytest' imported but unused tests/integration/bookkeeper/kv/test_client.py:33:80: E501 line too long (89 > 79 characters) Command flake8 bookkeeper tests failed with exit code 1 Session lint failed. 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:484: UserWarning: The version specified ('4.10.0-SNAPSHOT') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details. "details." % self.metadata.version Session lint_setup_py was successful. Ran multiple sessions: * unit-3.7: success * lint: failed * lint_setup_py: success Build step 'Execute shell' marked build as failure Not sending mail to unregistered user [email protected] Not sending mail to unregistered user [email protected]
