See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/106/display/redirect>
------------------------------------------ [...truncated 28.03 KB...] Total reclaimed space: 801.1MB + docker network prune -f --filter 'name=testnetwork_*' + echo 23424 + 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 27b2768170ac: Waiting ec90809a24af: Waiting 2bc1c5ee8605: Verifying Checksum 2bc1c5ee8605: Download complete 35e5ff0bd5f1: Verifying Checksum 35e5ff0bd5f1: Download complete 075a2fcf78bc: Verifying Checksum 075a2fcf78bc: Download complete 2bc1c5ee8605: Pull complete ec90809a24af: Verifying Checksum ec90809a24af: Download complete 27b2768170ac: Verifying Checksum 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/jenkins6375006512240185188.sh + docker pull python:3.7 3.7: Pulling from library/python ab1fc7e4bf91: Pulling fs layer 35fba333ff52: Pulling fs layer f0cb1fa13079: Pulling fs layer 3d1dd648b5ad: Pulling fs layer 49f7a0920ce1: Pulling fs layer e536bb402aee: Pulling fs layer 9e6e95e22562: Pulling fs layer 4978adbd742f: Pulling fs layer dabeed7e28d7: Pulling fs layer 49f7a0920ce1: Waiting 4978adbd742f: Waiting e536bb402aee: Waiting 9e6e95e22562: Waiting dabeed7e28d7: Waiting 3d1dd648b5ad: Waiting f0cb1fa13079: Verifying Checksum f0cb1fa13079: Download complete 35fba333ff52: Verifying Checksum 35fba333ff52: Download complete ab1fc7e4bf91: Verifying Checksum ab1fc7e4bf91: Download complete e536bb402aee: Verifying Checksum e536bb402aee: Download complete 3d1dd648b5ad: Verifying Checksum 3d1dd648b5ad: Download complete 4978adbd742f: Verifying Checksum 4978adbd742f: Download complete 9e6e95e22562: Verifying Checksum 9e6e95e22562: Download complete dabeed7e28d7: Verifying Checksum dabeed7e28d7: Download complete 49f7a0920ce1: Verifying Checksum 49f7a0920ce1: Download complete ab1fc7e4bf91: Pull complete 35fba333ff52: Pull complete f0cb1fa13079: Pull complete 3d1dd648b5ad: Pull complete 49f7a0920ce1: Pull complete e536bb402aee: Pull complete 9e6e95e22562: Pull complete 4978adbd742f: Pull complete dabeed7e28d7: Pull complete Digest: sha256:710d9343bad59dc3bd38e9fb1e92f860c6c9899b2fd092aac3a5b0542d316fbb Status: Downloaded newer image for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins585404685981777795.sh + docker pull python:3.6 3.6: Pulling from library/python ab1fc7e4bf91: Already exists 35fba333ff52: Already exists f0cb1fa13079: Already exists 3d1dd648b5ad: Already exists 49f7a0920ce1: Already exists 4709e515313d: Pulling fs layer 9f1758f5a166: Pulling fs layer bbccfd3ef033: Pulling fs layer e1892e324c2f: Pulling fs layer bbccfd3ef033: Download complete 4709e515313d: Verifying Checksum 4709e515313d: Download complete 9f1758f5a166: Verifying Checksum 9f1758f5a166: Download complete e1892e324c2f: Verifying Checksum e1892e324c2f: Download complete 4709e515313d: Pull complete 9f1758f5a166: Pull complete bbccfd3ef033: Pull complete e1892e324c2f: Pull complete Digest: sha256:3c3e2b1b1d10b703e18405517f19309efe16579add2586581beb2abeb08c4f6d Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3981675747120055483.sh + docker pull python:3.5 3.5: Pulling from library/python ab1fc7e4bf91: Already exists 35fba333ff52: Already exists f0cb1fa13079: Already exists 3d1dd648b5ad: Already exists 49f7a0920ce1: Already exists 4709e515313d: Already exists e3bde5a961e0: Pulling fs layer 0be6ccdc6f34: Pulling fs layer e3bdc38a7024: Pulling fs layer 0be6ccdc6f34: Download complete e3bdc38a7024: Verifying Checksum e3bdc38a7024: Download complete e3bde5a961e0: Verifying Checksum e3bde5a961e0: Download complete e3bde5a961e0: Pull complete 0be6ccdc6f34: Pull complete e3bdc38a7024: Pull complete Digest: sha256:a2f26f504b48ef8405abbc22f0d7214d948f59468b8af14e2f064a5cb3f3aef0 Status: Downloaded newer image for python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3501126286751901951.sh + docker pull python:2.7 2.7: Pulling from library/python ab1fc7e4bf91: Already exists 35fba333ff52: Already exists f0cb1fa13079: Already exists 3d1dd648b5ad: Already exists 49f7a0920ce1: Already exists 98c9ef5854c5: Pulling fs layer ce0f3eab5d01: Pulling fs layer 893f2525bdea: Pulling fs layer 309d145d27ad: Pulling fs layer 309d145d27ad: Waiting 893f2525bdea: Verifying Checksum 893f2525bdea: Download complete 98c9ef5854c5: Verifying Checksum 98c9ef5854c5: Download complete ce0f3eab5d01: Verifying Checksum ce0f3eab5d01: Download complete 309d145d27ad: Verifying Checksum 309d145d27ad: Download complete 98c9ef5854c5: Pull complete ce0f3eab5d01: Pull complete 893f2525bdea: Pull complete 309d145d27ad: Pull complete Digest: sha256:d97374dc16a39f8807fa27fdae838754b5f3a472c65fb67c38249a6428342b4d Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8576415153804468064.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/6a/d1/e0d142ce7b8a5c76adbfad01d853bca84c7c0240e35577498e20bc2ade7d/virtualenv-16.2.0-py2.py3-none-any.whl (1.9MB) 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 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) Requirement already satisfied: setuptools>=18.0.0 in /usr/local/lib/python3.7/site-packages (from virtualenv>=14.0.0->nox) (40.6.3) Installing collected packages: virtualenv, colorlog, py, nox Successfully installed colorlog-3.2.0 nox-2018.10.17 py-1.7.0 virtualenv-16.2.0 You are using pip version 18.1, however version 19.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. 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.77 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 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]
