See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/143/display/redirect>
------------------------------------------ [...truncated 20.47 KB...] + docker network prune -f --filter 'name=testnetwork_*' + echo 19167 + docker pull quay.io/coreos/etcd:v3.3 + docker system events 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 52ad13cdb1de: Waiting 075a2fcf78bc: Verifying Checksum 075a2fcf78bc: Download complete 35e5ff0bd5f1: Verifying Checksum 35e5ff0bd5f1: Download complete 27b2768170ac: Verifying Checksum 27b2768170ac: Download complete ec90809a24af: Verifying Checksum ec90809a24af: Download complete 2bc1c5ee8605: Download complete 2bc1c5ee8605: Pull complete 52ad13cdb1de: Verifying Checksum 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/jenkins7425406503280393531.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 49ea0d2b5c48: Pulling fs layer f70a6aa0163b: Pulling fs layer 4b9b78e41a03: Pulling fs layer 9e9b4c0fa8a2: Pulling fs layer c55a3146e261: Pulling fs layer 49ea0d2b5c48: Waiting f70a6aa0163b: Waiting 4b9b78e41a03: Waiting 9e9b4c0fa8a2: Waiting c55a3146e261: Waiting 7f0334c36886: Waiting 0a108aa26679: Verifying Checksum 0a108aa26679: Download complete 34d8874714d7: Verifying Checksum 34d8874714d7: Download complete 741437d97401: Verifying Checksum 741437d97401: Download complete f70a6aa0163b: Verifying Checksum f70a6aa0163b: Download complete 7f0334c36886: Verifying Checksum 7f0334c36886: Download complete 9e9b4c0fa8a2: Verifying Checksum 9e9b4c0fa8a2: Download complete 4b9b78e41a03: Verifying Checksum 4b9b78e41a03: Download complete c55a3146e261: Verifying Checksum c55a3146e261: Download complete 49ea0d2b5c48: Verifying Checksum 49ea0d2b5c48: Download complete 741437d97401: Pull complete 34d8874714d7: Pull complete 0a108aa26679: Pull complete 7f0334c36886: Pull complete 49ea0d2b5c48: Pull complete f70a6aa0163b: Pull complete 4b9b78e41a03: Pull complete 9e9b4c0fa8a2: Pull complete c55a3146e261: Pull complete Digest: sha256:c5691f54be594fc42165a7ca4ca43443df10183a85b18b392b550cb5cb949d63 Status: Downloaded newer image for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4020891660180041409.sh + docker pull python:3.6 3.6: Pulling from library/python 741437d97401: Already exists 34d8874714d7: Already exists 0a108aa26679: Already exists 7f0334c36886: Already exists 49ea0d2b5c48: Already exists 69d0cd7346f1: Pulling fs layer 116c857dab9a: Pulling fs layer 09e8652e5b84: Pulling fs layer 125ecfd5d800: Pulling fs layer 125ecfd5d800: Waiting 09e8652e5b84: Verifying Checksum 09e8652e5b84: Download complete 69d0cd7346f1: Verifying Checksum 69d0cd7346f1: Download complete 116c857dab9a: Verifying Checksum 116c857dab9a: Download complete 125ecfd5d800: Verifying Checksum 125ecfd5d800: Download complete 69d0cd7346f1: Pull complete 116c857dab9a: Pull complete 09e8652e5b84: Pull complete 125ecfd5d800: Pull complete Digest: sha256:630f7d3ab3ad7927652be3e28acb30109bdc00b559081553f1c0b7b9c6585efe Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7323350005689531622.sh + docker pull python:3.5 3.5: Pulling from library/python 741437d97401: Already exists 34d8874714d7: Already exists 0a108aa26679: Already exists 7f0334c36886: Already exists 49ea0d2b5c48: Already exists 69d0cd7346f1: Already exists 8457ec7d5bcd: Pulling fs layer 8fdf8315715c: Pulling fs layer 1621075a82ce: Pulling fs layer 8fdf8315715c: Verifying Checksum 8fdf8315715c: Download complete 1621075a82ce: Verifying Checksum 1621075a82ce: Download complete 8457ec7d5bcd: Verifying Checksum 8457ec7d5bcd: Download complete 8457ec7d5bcd: Pull complete 8fdf8315715c: Pull complete 1621075a82ce: Pull complete Digest: sha256:90fee351b96f0cb5b7de4ae9afb01b428641d1c58aa3029d83f46fdecc69d7b5 Status: Downloaded newer image for python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7334186342483369176.sh + docker pull python:2.7 2.7: Pulling from library/python 741437d97401: Already exists 34d8874714d7: Already exists 0a108aa26679: Already exists 7f0334c36886: Already exists 49ea0d2b5c48: Already exists 2f697d8eb8c9: Pulling fs layer 19e57c082018: Pulling fs layer 62a638f5d7ed: Pulling fs layer 5bceaf33fb03: Pulling fs layer 5bceaf33fb03: Waiting 62a638f5d7ed: Verifying Checksum 62a638f5d7ed: Download complete 2f697d8eb8c9: Verifying Checksum 2f697d8eb8c9: Download complete 19e57c082018: Verifying Checksum 19e57c082018: Download complete 5bceaf33fb03: Verifying Checksum 2f697d8eb8c9: Pull complete 19e57c082018: Pull complete 62a638f5d7ed: Pull complete 5bceaf33fb03: Pull complete Digest: sha256:7429b1fbdc6859ab61a2a03e7f45818f5037c2c7d7fbcd2b473594f0d503d334 Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2999767602506342141.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 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 virtualenv>=14.0.0 (from nox) Downloading https://files.pythonhosted.org/packages/33/5d/314c760d4204f64e4a968275182b7751bd5c3249094757b39ba987dcfb5a/virtualenv-16.4.3-py2.py3-none-any.whl (2.0MB) 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: py, virtualenv, colorlog, nox Successfully installed colorlog-3.2.0 nox-2018.10.17 py-1.8.0 virtualenv-16.4.3 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/descriptor.py:47 /opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/descriptor.py:47: 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/well_known_types.py:788 /opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/well_known_types.py:788: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working collections.MutableMapping.register(Struct) 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.14 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/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) 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:475: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0' normalized_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]
