See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/120/display/redirect>
------------------------------------------ [...truncated 36.34 KB...] deleted: sha256:6f4ed0937f1c8e6e5c99dd215fb1db6a8f121c66e54495243fa70ff879fa9525 deleted: sha256:3c816b4ead84066ec2cadec2b943993aaacc3fe35fcd77ada3d09dc4f3937313 Total reclaimed space: 1.442GB + docker network prune -f --filter 'name=testnetwork_*' + echo 10817 + 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 52ad13cdb1de: Waiting 27b2768170ac: Waiting 2bc1c5ee8605: Verifying Checksum 2bc1c5ee8605: Download complete 35e5ff0bd5f1: Verifying Checksum 35e5ff0bd5f1: Download complete 075a2fcf78bc: Verifying Checksum 075a2fcf78bc: Download complete 2bc1c5ee8605: Pull complete ec90809a24af: Download complete 27b2768170ac: Download complete 52ad13cdb1de: Download complete 075a2fcf78bc: Pull 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/jenkins1573704983072210136.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 7f0334c36886: Waiting cbc666ab4a65: Pulling fs layer 65c95cb8b3be: Waiting 43288b101abf: Waiting 9107d7193263: 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: Download complete dd6f212ec984: Verifying Checksum dd6f212ec984: Download complete cbc666ab4a65: Verifying Checksum cbc666ab4a65: 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 cbc666ab4a65: Pull complete Digest: sha256:5e790d7897ba75a8820e3d2d970ddd50799c8e92ba9e6f3c4987976c594b96b3 Status: Downloaded newer image for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7291582210335496961.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 ea4f0d2a491b: Pulling fs layer ea4f0d2a491b: Waiting 735a9c9a10ba: Download complete 36185429e34c: Verifying Checksum 36185429e34c: Download complete 99d78cb27656: Verifying Checksum 99d78cb27656: Download complete ea4f0d2a491b: Verifying Checksum ea4f0d2a491b: Download complete 36185429e34c: Pull complete 99d78cb27656: Pull complete 735a9c9a10ba: Pull complete ea4f0d2a491b: Pull complete Digest: sha256:7cbe995cd68eec377a0df139f06880eff76f66954ab2cbb5f49da70c47cff19c Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3294014374010776263.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 0b2facf53291: Pulling fs layer a590c5cc1f30: Verifying Checksum a590c5cc1f30: Download complete 0b2facf53291: Verifying Checksum 0b2facf53291: Download complete 9914605f1203: Verifying Checksum 9914605f1203: Download complete 9914605f1203: Pull complete a590c5cc1f30: Pull complete 0b2facf53291: Pull complete Digest: sha256:3598fb42f41b76e846689bdd25aa1df114a3deb69fe5760e391467de9d529cbc Status: Downloaded newer image for python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3580909101936097950.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 6f0372af5890: Pulling fs layer 558d24d69f5e: Pulling fs layer 558d24d69f5e: Waiting 6f0372af5890: Verifying Checksum 6f0372af5890: Download complete d6518cb8a076: Verifying Checksum d6518cb8a076: Download complete 978af0c41163: Verifying Checksum 978af0c41163: Download complete 558d24d69f5e: Verifying Checksum 558d24d69f5e: Download complete d6518cb8a076: Pull complete 978af0c41163: Pull complete 6f0372af5890: Pull complete 558d24d69f5e: Pull complete Digest: sha256:d9d0020043cbf0d26e26d4b3918ca1450356433c95ec64df039df9212e7049b9 Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins610472799566310603.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/8f/f1/c0b069ca6cb44f9681715232e6d3d65c75866dd231c5e4a88e80a46634bb/virtualenv-16.3.0-py2.py3-none-any.whl (2.0MB) 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/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl Requirement already satisfied: setuptools>=18.0.0 in /usr/local/lib/python3.7/site-packages (from virtualenv>=14.0.0->nox) (40.8.0) Installing collected packages: virtualenv, py, colorlog, nox Successfully installed colorlog-3.2.0 nox-2018.10.17 py-1.7.0 virtualenv-16.3.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 8.36 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/admin/namespaces.py:62:80: E501 line too long (87 > 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/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) 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) 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) 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]
