See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/207/display/redirect?page=changes>
Changes: [github] GetListOfEntriesOfLedger implementation ------------------------------------------ [...truncated 18.06 KB...] 1b304faacdc3: Download complete ab017ee82de8: Verifying Checksum ab017ee82de8: Download complete 5c94f9cbba07: Download complete ab017ee82de8: Pull complete 973721b7fcb1: Verifying Checksum 973721b7fcb1: Download complete 973721b7fcb1: Pull complete 0c79b341c8ed: Pull complete 1b304faacdc3: Pull complete 5c94f9cbba07: Pull complete Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411 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/jenkins2997663255269963076.sh + docker pull python:3.7 3.7: Pulling from library/python e79bb959ec00: Pulling fs layer d4b7902036fe: Pulling fs layer 1b2a72d4e030: Pulling fs layer d54db43011fd: Pulling fs layer 69d473365bb3: Pulling fs layer 7dc3a6a0e509: Pulling fs layer 68cd774d0852: Pulling fs layer 2ef86095a118: Pulling fs layer bd9da5a171e0: Pulling fs layer 7dc3a6a0e509: Waiting 2ef86095a118: Waiting 68cd774d0852: Waiting d54db43011fd: Waiting bd9da5a171e0: Waiting 69d473365bb3: Waiting 1b2a72d4e030: Verifying Checksum 1b2a72d4e030: Download complete d4b7902036fe: Verifying Checksum d4b7902036fe: Download complete e79bb959ec00: Verifying Checksum e79bb959ec00: Download complete 7dc3a6a0e509: Verifying Checksum 7dc3a6a0e509: Download complete d54db43011fd: Verifying Checksum d54db43011fd: Download complete 2ef86095a118: Verifying Checksum 2ef86095a118: Download complete 68cd774d0852: Verifying Checksum 68cd774d0852: Download complete bd9da5a171e0: Verifying Checksum bd9da5a171e0: Download complete 69d473365bb3: Verifying Checksum 69d473365bb3: Download complete e79bb959ec00: Pull complete d4b7902036fe: Pull complete 1b2a72d4e030: Pull complete d54db43011fd: Pull complete 69d473365bb3: Pull complete 7dc3a6a0e509: Pull complete 68cd774d0852: Pull complete 2ef86095a118: Pull complete bd9da5a171e0: Pull complete Digest: sha256:67a2befe73bf0233d066496f40297602fcf288858641cc8843fb5224a2b29339 Status: Downloaded newer image for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2491412276315733452.sh + docker pull python:3.6 3.6: Pulling from library/python e79bb959ec00: Already exists d4b7902036fe: Already exists 1b2a72d4e030: Already exists d54db43011fd: Already exists 69d473365bb3: Already exists 35b4aebab92b: Pulling fs layer 60ddbccc0359: Pulling fs layer 0b3c337d0c3e: Pulling fs layer dd92a33181e2: Pulling fs layer dd92a33181e2: Waiting 0b3c337d0c3e: Verifying Checksum 0b3c337d0c3e: Download complete 35b4aebab92b: Verifying Checksum 35b4aebab92b: Download complete 60ddbccc0359: Verifying Checksum 60ddbccc0359: Download complete dd92a33181e2: Verifying Checksum dd92a33181e2: Download complete 35b4aebab92b: Pull complete 60ddbccc0359: Pull complete 0b3c337d0c3e: Pull complete dd92a33181e2: Pull complete Digest: sha256:8f15d52e09779ed8c30903c10be34106fe4270e8e82d1af464ecf4920e47e0d8 Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5960570725664880979.sh + docker pull python:3.5 3.5: Pulling from library/python e79bb959ec00: Already exists d4b7902036fe: Already exists 1b2a72d4e030: Already exists d54db43011fd: Already exists 69d473365bb3: Already exists 35b4aebab92b: Already exists 83a8b8905f6c: Pulling fs layer 618457f5476e: Pulling fs layer 767e37494b6d: Pulling fs layer 618457f5476e: Verifying Checksum 618457f5476e: Download complete 767e37494b6d: Verifying Checksum 767e37494b6d: Download complete 83a8b8905f6c: Download complete 83a8b8905f6c: Pull complete 618457f5476e: Pull complete 767e37494b6d: Pull complete Digest: sha256:b06ebf57c44d9e5ad1a20e611d2d748b8e351e6efdf7d4471d5186ce380f8e8c Status: Downloaded newer image for python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins64289729529481054.sh + docker pull python:2.7 2.7: Pulling from library/python e79bb959ec00: Already exists d4b7902036fe: Already exists 1b2a72d4e030: Already exists d54db43011fd: Already exists 69d473365bb3: Already exists 67522b1a5c2d: Pulling fs layer 7501bff60af5: Pulling fs layer f23833ea1302: Pulling fs layer a60553408c55: Pulling fs layer a60553408c55: Waiting f23833ea1302: Verifying Checksum f23833ea1302: Download complete 67522b1a5c2d: Verifying Checksum 67522b1a5c2d: Download complete 7501bff60af5: Verifying Checksum 7501bff60af5: Download complete a60553408c55: Verifying Checksum a60553408c55: Download complete 67522b1a5c2d: Pull complete 7501bff60af5: Pull complete f23833ea1302: Pull complete a60553408c55: Pull complete Digest: sha256:41f3a9e1357ad0479a49315a1bc21a0ddf67797db5c1ce4b8bb324e89ac58144 Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7348052936199076633.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/35/2b/47c30d3291f26fb68421fc3472875bf6ffbb4d6a507a0c8d81760a80f258/nox-2019.4.11-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/4f/ba/6f9315180501d5ac3e707f19fcb1764c26cc6a9a31af05778f7c2383eadb/virtualenv-16.5.0-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-2019.4.11 py-1.8.0 virtualenv-16.5.0 Running session lint Creating virtualenv using python in /opt/bookkeeper/.nox/lint pip install flake8 pip install . 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 docutils Pygments python setup.py check --restructuredtext --strict running check /opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:472: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0' normalized_version, Session lint_setup_py was successful. Running session unit-3.7 Creating virtualenv using python3.7 in /opt/bookkeeper/.nox/unit-3-7 pip install mock pytest pytest-cov pip install -e . py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit ...................................................................F [100%] =================================== FAILURES =================================== ____________________________ test_get_routing_hash _____________________________ def test_get_routing_hash(): router = BytesHashRouter() > hash_key = router.getRoutingKey("foo") tests/unit/bookkeeper/common/router/test_router.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <bookkeeper.common.router.router.BytesHashRouter object at 0x7faeece83240> key = 'foo' def getRoutingKey(self, key): > return mmh3.hash64(key, seed=__SEED__, signed=True)[0] E AttributeError: module 'pymmh3' has no attribute 'hash64' bookkeeper/common/router/router.py:30: AttributeError =============================== 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 1 failed, 67 passed, 3 warnings in 3.18 seconds Command py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit failed with exit code 1 Session unit-3.7 failed. Ran multiple sessions: * lint: failed * lint_setup_py: success * unit-3.7: failed Build step 'Execute shell' marked build as failure Not sending mail to unregistered user [email protected] Not sending mail to unregistered user [email protected] Not sending mail to unregistered user [email protected]
