See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/108/display/redirect>
------------------------------------------ [...truncated 22.18 KB...] root 32319 2 0 Dec 04 0.0 0.0 [jfsCommit] root 32320 2 0 Dec 04 0.0 0.0 [jfsCommit] root 32321 2 0 Dec 04 0.0 0.0 [jfsSync] root 32348 2 0 Dec 04 0.0 0.0 [bioset] + docker system prune -f Total reclaimed space: 0B + docker network prune -f --filter 'name=testnetwork_*' + echo 6909 + 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 35e5ff0bd5f1: Verifying Checksum 35e5ff0bd5f1: Download complete 2bc1c5ee8605: Verifying Checksum 2bc1c5ee8605: Download complete ec90809a24af: Download complete 27b2768170ac: Download complete 2bc1c5ee8605: Pull complete 52ad13cdb1de: Verifying Checksum 52ad13cdb1de: Download complete 075a2fcf78bc: Verifying Checksum 075a2fcf78bc: 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/jenkins4435069224778871017.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 8b6531c990eb: Pulling fs layer e536bb402aee: Waiting 9e6e95e22562: Waiting 49f7a0920ce1: Waiting 4978adbd742f: Waiting 8b6531c990eb: Waiting 3d1dd648b5ad: Waiting f0cb1fa13079: Verifying Checksum f0cb1fa13079: Download complete ab1fc7e4bf91: Verifying Checksum ab1fc7e4bf91: Download complete 3d1dd648b5ad: Verifying Checksum 3d1dd648b5ad: Download complete 35fba333ff52: Verifying Checksum 35fba333ff52: Download complete e536bb402aee: Verifying Checksum e536bb402aee: Download complete 4978adbd742f: Download complete 9e6e95e22562: Verifying Checksum 9e6e95e22562: Download complete 8b6531c990eb: Verifying Checksum 8b6531c990eb: 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 8b6531c990eb: Pull complete Digest: sha256:35ed08949bd31e378b201ea5efc63c0c124013c03f5e9c3f9d78d232d6fcf9a5 Status: Downloaded newer image for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1384378790193738270.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 0752403d51fb: Pulling fs layer 0752403d51fb: Waiting bbccfd3ef033: Download complete 4709e515313d: Verifying Checksum 4709e515313d: Download complete 9f1758f5a166: Verifying Checksum 9f1758f5a166: Download complete 0752403d51fb: Download complete 4709e515313d: Pull complete 9f1758f5a166: Pull complete bbccfd3ef033: Pull complete 0752403d51fb: Pull complete Digest: sha256:dc2df82c2a370cc086ec9f23d870466cb32c3c91131830fc09b8e731622306fb Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins643989177767912714.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 f73709ce633c: Pulling fs layer 0be6ccdc6f34: Download complete e3bde5a961e0: Download complete f73709ce633c: Verifying Checksum f73709ce633c: Download complete e3bde5a961e0: Pull complete 0be6ccdc6f34: Pull complete f73709ce633c: Pull complete Digest: sha256:a65b43332cf7c362d837603146035b5f65ec78a2c14288b83ab1eadf8ecb6de8 Status: Downloaded newer image for python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7167624737995337713.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 fcdd2ab8798d: Pulling fs layer fb568a4cdaf7: Pulling fs layer fb568a4cdaf7: Waiting fcdd2ab8798d: Verifying Checksum fcdd2ab8798d: Download complete 98c9ef5854c5: Verifying Checksum 98c9ef5854c5: Download complete ce0f3eab5d01: Verifying Checksum ce0f3eab5d01: Download complete fb568a4cdaf7: Verifying Checksum fb568a4cdaf7: Download complete 98c9ef5854c5: Pull complete ce0f3eab5d01: Pull complete fcdd2ab8798d: Pull complete fb568a4cdaf7: Pull complete Digest: sha256:5470f252ecbfd8423bda0e12241faf8038cedd3bb101fffea331be4ee5adb732 Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1375710096035653078.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/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) 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: colorlog, virtualenv, py, 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 3.65 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:479: 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]
