See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/519/display/redirect>
Changes: ------------------------------------------ [...truncated 23.90 KB...] f6d53d5a5c86: Pulling fs layer f5e195d50b88: Waiting 94cdd3612287: Waiting e01b42ee5411: Waiting 044dee574de1: Waiting f6d53d5a5c86: Waiting 55769680e827: Waiting c85513200d84: Verifying Checksum c85513200d84: Download complete dd8c6d374ea5: Verifying Checksum dd8c6d374ea5: Download complete 50e431f79093: Verifying Checksum 50e431f79093: Download complete 55769680e827: Verifying Checksum 55769680e827: Download complete 94cdd3612287: Verifying Checksum 94cdd3612287: Download complete 044dee574de1: Verifying Checksum 044dee574de1: Download complete e01b42ee5411: Verifying Checksum e01b42ee5411: Download complete f6d53d5a5c86: Download complete f5e195d50b88: Verifying Checksum f5e195d50b88: Download complete 50e431f79093: Pull complete dd8c6d374ea5: Pull complete c85513200d84: Pull complete 55769680e827: Pull complete f5e195d50b88: Pull complete 94cdd3612287: Pull complete e01b42ee5411: Pull complete 044dee574de1: Pull complete f6d53d5a5c86: Pull complete Digest: sha256:e8351629fe38c67486f92c818040f285e470faaaad6e15a46711fa7e380d7cdf Status: Downloaded newer image for python:3.7 docker.io/library/python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2740960992669624993.sh + docker pull python:3.6 3.6: Pulling from library/python 50e431f79093: Already exists dd8c6d374ea5: Already exists c85513200d84: Already exists 55769680e827: Already exists f5e195d50b88: Already exists bcd75869ea17: Pulling fs layer f02a073bb16c: Pulling fs layer d317a9591eb3: Pulling fs layer 579334b3a1fd: Pulling fs layer 579334b3a1fd: Waiting d317a9591eb3: Verifying Checksum d317a9591eb3: Download complete bcd75869ea17: Verifying Checksum bcd75869ea17: Download complete f02a073bb16c: Verifying Checksum f02a073bb16c: Download complete 579334b3a1fd: Download complete bcd75869ea17: Pull complete f02a073bb16c: Pull complete d317a9591eb3: Pull complete 579334b3a1fd: Pull complete Digest: sha256:0b6aeeb47c4a5e0051bb41c7a7f300b69e68af873081f8f2f7fbcd8d5c47e264 Status: Downloaded newer image for python:3.6 docker.io/library/python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6404461485832703414.sh + docker pull python:3.5 3.5: Pulling from library/python 50e431f79093: Already exists dd8c6d374ea5: Already exists c85513200d84: Already exists 55769680e827: Already exists f5e195d50b88: Already exists bcd75869ea17: Already exists 3386eda7b540: Pulling fs layer bacc6e46d58b: Pulling fs layer 09e6d0583787: Pulling fs layer bacc6e46d58b: Verifying Checksum bacc6e46d58b: Download complete 09e6d0583787: Verifying Checksum 09e6d0583787: Download complete 3386eda7b540: Verifying Checksum 3386eda7b540: Download complete 3386eda7b540: Pull complete bacc6e46d58b: Pull complete 09e6d0583787: Pull complete Digest: sha256:3383c5937c893e3908458ebbcd11132e540f8e40028835669826b77436cea2ce Status: Downloaded newer image for python:3.5 docker.io/library/python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4836041708321225160.sh + docker pull python:2.7 2.7: Pulling from library/python 50e431f79093: Already exists dd8c6d374ea5: Already exists c85513200d84: Already exists 55769680e827: Already exists f5e195d50b88: Already exists 98dd55ce22b7: Pulling fs layer 34b9c4f52c1f: Pulling fs layer ae7288a3eebb: Pulling fs layer c401e71550f0: Pulling fs layer c401e71550f0: Waiting ae7288a3eebb: Verifying Checksum ae7288a3eebb: Download complete 98dd55ce22b7: Verifying Checksum 98dd55ce22b7: Download complete 34b9c4f52c1f: Verifying Checksum 34b9c4f52c1f: Download complete c401e71550f0: Verifying Checksum c401e71550f0: Download complete 98dd55ce22b7: Pull complete 34b9c4f52c1f: Pull complete ae7288a3eebb: Pull complete c401e71550f0: Pull complete Digest: sha256:db726806c628a53891efc0f710fc8cbcb132832f97e80d7d37b9d06529dc64ce Status: Downloaded newer image for python:2.7 docker.io/library/python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6581910713292033228.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 py<2.0.0,>=1.4.0 Downloading py-1.8.1-py2.py3-none-any.whl (83 kB) Collecting argcomplete<2.0,>=1.9.4 Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB) Collecting virtualenv>=14.0.0 Downloading virtualenv-20.0.10-py2.py3-none-any.whl (4.6 MB) Collecting colorlog<5.0.0,>=2.6.1 Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB) Collecting importlib-metadata<2,>=0.23; python_version == "3.7" Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB) Collecting distlib<1,>=0.3.0 Downloading distlib-0.3.0.zip (571 kB) Collecting filelock<4,>=3.0.0 Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB) Collecting six<2,>=1.9.0 Downloading six-1.14.0-py2.py3-none-any.whl (10 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=8d775c6dcc781d42ed68881bd76873984e58e30afe61f6e908ff4af32f76831b Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b Successfully built distlib Installing collected packages: py, zipp, importlib-metadata, argcomplete, distlib, filelock, six, appdirs, virtualenv, colorlog, 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.5.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.10 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:462: 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." % self.metadata.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 0x7fa36c37a050> 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.58s 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]
