See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/128/display/redirect>
------------------------------------------ [...truncated 26.90 KB...] + docker system prune -f Deleted Volumes: ebbeab6ace09867ff0fa1c76a9365c4d42a18f5db8a47a5e226f5ca917bb2405 Total reclaimed space: 114.8MB + docker network prune -f --filter 'name=testnetwork_*' + echo 19060 + 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 52ad13cdb1de: Waiting ec90809a24af: Waiting 27b2768170ac: Waiting 2bc1c5ee8605: Verifying Checksum 2bc1c5ee8605: Download complete 075a2fcf78bc: Verifying Checksum 075a2fcf78bc: Download complete 2bc1c5ee8605: Pull complete ec90809a24af: Download complete 52ad13cdb1de: Verifying Checksum 52ad13cdb1de: Download complete 27b2768170ac: 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/jenkins2173025108483260154.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 7f0334c36886: Waiting 65c95cb8b3be: Pulling fs layer 9107d7193263: Pulling fs layer dd6f212ec984: Pulling fs layer 43288b101abf: Pulling fs layer f68aede0db03: Pulling fs layer 65c95cb8b3be: Waiting dd6f212ec984: Waiting 43288b101abf: Waiting 9107d7193263: Waiting f68aede0db03: 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 f68aede0db03: Verifying Checksum f68aede0db03: 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 f68aede0db03: Pull complete Digest: sha256:fb877e7ea5c40de100534c6d6f515c486247bfd899cb2767f2de0e876a8127fa Status: Downloaded newer image for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7697306382112265483.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 aa45785265a0: Pulling fs layer aa45785265a0: Waiting 735a9c9a10ba: Download complete 36185429e34c: Download complete 99d78cb27656: Verifying Checksum 99d78cb27656: Download complete aa45785265a0: Verifying Checksum aa45785265a0: Download complete 36185429e34c: Pull complete 99d78cb27656: Pull complete 735a9c9a10ba: Pull complete aa45785265a0: Pull complete Digest: sha256:00110125bd9c23f200cfd2cfa82e68b8ab2006e1358f7a048e005794aa51568f Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins762138875934654936.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 4a7cd0b27939: Pulling fs layer a590c5cc1f30: Verifying Checksum a590c5cc1f30: Download complete 4a7cd0b27939: Verifying Checksum 4a7cd0b27939: Download complete 9914605f1203: Verifying Checksum 9914605f1203: Download complete 9914605f1203: Pull complete a590c5cc1f30: Pull complete 4a7cd0b27939: Pull complete Digest: sha256:019c706b9cf8546ed3b48c3c93a2424ffe95a8ca29ba4fc34784f4db3d163d49 Status: Downloaded newer image for python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6056742941604626081.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 31de6d429cc6: Pulling fs layer 4acde8ff08fa: Pulling fs layer 4acde8ff08fa: Waiting 31de6d429cc6: Verifying Checksum 31de6d429cc6: Download complete d6518cb8a076: Verifying Checksum d6518cb8a076: Download complete 978af0c41163: Verifying Checksum 978af0c41163: Download complete 4acde8ff08fa: Download complete d6518cb8a076: Pull complete 978af0c41163: Pull complete 31de6d429cc6: Pull complete 4acde8ff08fa: Pull complete Digest: sha256:e19cc5a55ab5abc3657ded6c310b5c9c8117044db281a6c5bdb55f1bc83bfb80 Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1358337499299920850.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 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 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/3e/c7/3da685ef117d42ac8d71af525208759742dd235f8094221fdaafcd3dba8f/py-1.7.0-py2.py3-none-any.whl (83kB) Installing collected packages: colorlog, virtualenv, py, nox Successfully installed colorlog-3.2.0 nox-2018.10.17 py-1.7.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.60 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/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) 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]
