See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/554/display/redirect>
Changes: ------------------------------------------ [...truncated 29.66 KB...] cabba05798b6: Pulling fs layer abe267d9b00c: Pulling fs layer b327ce3e08b8: Pulling fs layer fd4b47407fc3: Waiting 3940e1b57073: Waiting b32f6bf7d96d: Waiting cabba05798b6: Waiting abe267d9b00c: Waiting b327ce3e08b8: Waiting 09b6f03ffac4: Verifying Checksum 09b6f03ffac4: Download complete dc3f0c679f0f: Download complete 7e2b2a5af8f6: Verifying Checksum 7e2b2a5af8f6: Download complete fd4b47407fc3: Verifying Checksum fd4b47407fc3: Download complete 3940e1b57073: Verifying Checksum 3940e1b57073: Download complete abe267d9b00c: Download complete cabba05798b6: Verifying Checksum cabba05798b6: Download complete b327ce3e08b8: Verifying Checksum b327ce3e08b8: Download complete b32f6bf7d96d: Verifying Checksum b32f6bf7d96d: Download complete 7e2b2a5af8f6: Pull complete 09b6f03ffac4: Pull complete dc3f0c679f0f: Pull complete fd4b47407fc3: Pull complete b32f6bf7d96d: Pull complete 3940e1b57073: Pull complete cabba05798b6: Pull complete abe267d9b00c: Pull complete b327ce3e08b8: Pull complete Digest: sha256:f290fbbb3fb273b1cdf46083d73a7a7f3ce21dcf83498294aba251ae54311187 Status: Downloaded newer image for python:3.7 docker.io/library/python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6879340064352799611.sh + docker pull python:3.6 3.6: Pulling from library/python 7e2b2a5af8f6: Already exists 09b6f03ffac4: Already exists dc3f0c679f0f: Already exists fd4b47407fc3: Already exists b32f6bf7d96d: Already exists 128c8ba918f2: Pulling fs layer 49bf40fd39f2: Pulling fs layer 685d91195d65: Pulling fs layer 32cd559ee9c9: Pulling fs layer 32cd559ee9c9: Waiting 685d91195d65: Verifying Checksum 685d91195d65: Download complete 128c8ba918f2: Verifying Checksum 128c8ba918f2: Download complete 32cd559ee9c9: Verifying Checksum 32cd559ee9c9: Download complete 49bf40fd39f2: Verifying Checksum 49bf40fd39f2: Download complete 128c8ba918f2: Pull complete 49bf40fd39f2: Pull complete 685d91195d65: Pull complete 32cd559ee9c9: Pull complete Digest: sha256:64711e85ec5acc2ebc25d10a772a45bf254bad122f00bc6cb296b791195671cc Status: Downloaded newer image for python:3.6 docker.io/library/python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7201072190673537418.sh + docker pull python:3.5 3.5: Pulling from library/python 7e2b2a5af8f6: Already exists 09b6f03ffac4: Already exists dc3f0c679f0f: Already exists fd4b47407fc3: Already exists b32f6bf7d96d: Already exists 128c8ba918f2: Already exists fb713448aed2: Pulling fs layer 8121095ea7c0: Pulling fs layer 33b5bdf8d390: Pulling fs layer 8121095ea7c0: Download complete 33b5bdf8d390: Verifying Checksum 33b5bdf8d390: Download complete fb713448aed2: Verifying Checksum fb713448aed2: Download complete fb713448aed2: Pull complete 8121095ea7c0: Pull complete 33b5bdf8d390: Pull complete Digest: sha256:90a42da2fa7e5f97715a8d37d6bf9488b2d74499537e766893f3cd7edf0da238 Status: Downloaded newer image for python:3.5 docker.io/library/python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3116286554867462082.sh + docker pull python:2.7 2.7: Pulling from library/python 7e2b2a5af8f6: Already exists 09b6f03ffac4: Already exists dc3f0c679f0f: Already exists fd4b47407fc3: Already exists b32f6bf7d96d: Already exists 6f4489a7e4cf: Pulling fs layer 8ccb09bbf0df: Pulling fs layer 9d9d367dd180: Pulling fs layer a120787b5ce8: Pulling fs layer a120787b5ce8: Waiting 6f4489a7e4cf: Download complete 9d9d367dd180: Verifying Checksum 9d9d367dd180: Download complete 8ccb09bbf0df: Verifying Checksum 8ccb09bbf0df: Download complete a120787b5ce8: Verifying Checksum a120787b5ce8: Download complete 6f4489a7e4cf: Pull complete 8ccb09bbf0df: Pull complete 9d9d367dd180: Pull complete a120787b5ce8: Pull complete Digest: sha256:29abd711fa0c7d02a8c64cce981c72c130731e0202081d962b4914416f1c578f Status: Downloaded newer image for python:2.7 docker.io/library/python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7852083626912148744.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 nox-2019.11.9-py2.py3-none-any.whl (38 kB) Collecting virtualenv>=14.0.0 Downloading virtualenv-20.0.18-py2.py3-none-any.whl (4.6 MB) Collecting py<2.0.0,>=1.4.0 Downloading py-1.8.1-py2.py3-none-any.whl (83 kB) Collecting colorlog<5.0.0,>=2.6.1 Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB) Collecting argcomplete<2.0,>=1.9.4 Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB) Collecting distlib<1,>=0.3.0 Downloading distlib-0.3.0.zip (571 kB) Collecting six<2,>=1.9.0 Downloading six-1.14.0-py2.py3-none-any.whl (10 kB) Collecting filelock<4,>=3.0.0 Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB) Collecting importlib-metadata<2,>=0.12; python_version < "3.8" Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB) Collecting appdirs<2,>=1.4.3 Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB) Collecting zipp>=0.5 Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB) Building wheels for collected packages: distlib Building wheel for distlib (setup.py): started Building wheel for distlib (setup.py): finished with status 'done' Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=dba3427c617898500c4d48914fbb9b7ce437ca42036631e5d8ad2249f17e4267 Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b Successfully built distlib Installing collected packages: distlib, six, filelock, zipp, importlib-metadata, appdirs, virtualenv, py, colorlog, argcomplete, nox Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.18 zipp-3.1.0 Running session lint Creating virtual environment (virtualenv) using python in .nox/lint pip install flake8 pip install . 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 virtual environment (virtualenv) using python in .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: The version specified ('4.11.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." % version Session lint_setup_py was successful. Running session unit-3.7 Creating virtual environment (virtualenv) using python3.7 in .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 0x7f8aefbd22d0> key = 'foo' def getRoutingKey(self, key): > return mmh3.hash64(key, seed=__SEED__, signed=True)[0] E TypeError: hash64() got an unexpected keyword argument 'signed' bookkeeper/common/router/router.py:30: TypeError =============================== warnings summary =============================== 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 since Python 3.3,and in 3.9 it will stop working elif isinstance(msg_or_dict, collections.Mapping): tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_dict /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:205: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working (collections.MutableMapping, message.Message))): tests/unit/bookkeeper/common/test_protobuf_helpers.py::test_set_msg /opt/bookkeeper/bookkeeper/common/protobuf_helpers.py:169: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working if isinstance(value, (collections.MutableSequence, tuple)): -- Docs: https://docs.pytest.org/en/latest/warnings.html =========================== short test summary info ============================ FAILED tests/unit/bookkeeper/common/router/test_router.py::test_get_routing_hash 1 failed, 67 passed, 3 warnings in 3.65s 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]
