See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/663/display/redirect>
Changes: ------------------------------------------ [...truncated 27.88 KB...] 31dd5ebca5ef: Download complete 75d93399dc4e: Verifying Checksum 75d93399dc4e: Download complete ac34a4d7c330: Verifying Checksum ac34a4d7c330: Download complete 3410ca7853e6: Download complete 7f2f4f9ae6a6: Download complete 56c9d8f3837d: Verifying Checksum 56c9d8f3837d: Download complete 3b0a7e6f20fb: Verifying Checksum 3b0a7e6f20fb: Download complete 31dd5ebca5ef: Pull complete 3ed641c4ae98: Pull complete bcd57146431e: Pull complete ac34a4d7c330: Pull complete 3b0a7e6f20fb: Pull complete 75d93399dc4e: Pull complete 56c9d8f3837d: Pull complete 3410ca7853e6: Pull complete 7f2f4f9ae6a6: Pull complete Digest: sha256:b2ed8ca0a075c1134aa3594647895bf194cbf3149029b7d3224c4e71d2db55c8 Status: Downloaded newer image for python:3.7 docker.io/library/python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5250347018156643021.sh + docker pull python:3.6 3.6: Pulling from library/python 31dd5ebca5ef: Already exists 3ed641c4ae98: Already exists bcd57146431e: Already exists ac34a4d7c330: Already exists 3b0a7e6f20fb: Already exists ebb3a49d6a6e: Pulling fs layer 68216b6edce5: Pulling fs layer 122eb670adba: Pulling fs layer dc0778ea9227: Pulling fs layer dc0778ea9227: Waiting 122eb670adba: Verifying Checksum 122eb670adba: Download complete ebb3a49d6a6e: Verifying Checksum ebb3a49d6a6e: Download complete dc0778ea9227: Download complete 68216b6edce5: Verifying Checksum 68216b6edce5: Download complete ebb3a49d6a6e: Pull complete 68216b6edce5: Pull complete 122eb670adba: Pull complete dc0778ea9227: Pull complete Digest: sha256:30e954b63d64510a9f7d4edb0a6a9d5b13d40c8a656b23f1662383c6d26d8b21 Status: Downloaded newer image for python:3.6 docker.io/library/python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5980116533212058654.sh + docker pull python:3.5 3.5: Pulling from library/python 31dd5ebca5ef: Already exists 3ed641c4ae98: Already exists bcd57146431e: Already exists ac34a4d7c330: Already exists 3b0a7e6f20fb: Already exists ebb3a49d6a6e: Already exists fd7ccaab487b: Pulling fs layer 7dca5a1bba60: Pulling fs layer 8031dc271bf0: Pulling fs layer 7dca5a1bba60: Verifying Checksum 7dca5a1bba60: Download complete 8031dc271bf0: Download complete fd7ccaab487b: Verifying Checksum fd7ccaab487b: Download complete fd7ccaab487b: Pull complete 7dca5a1bba60: Pull complete 8031dc271bf0: Pull complete Digest: sha256:39af2b17dce874ba575c2a3d03f42069af05ad86b1a20ec53d4afa976d048127 Status: Downloaded newer image for python:3.5 docker.io/library/python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6287403611437348713.sh + docker pull python:2.7 2.7: Pulling from library/python 7e2b2a5af8f6: Pulling fs layer 09b6f03ffac4: Pulling fs layer dc3f0c679f0f: Pulling fs layer fd4b47407fc3: Pulling fs layer b32f6bf7d96d: Pulling fs layer 6f4489a7e4cf: Pulling fs layer af4b99ad9ef0: Pulling fs layer 39db0bc48c26: Pulling fs layer acb4a89489fc: Pulling fs layer 6f4489a7e4cf: Waiting b32f6bf7d96d: Waiting af4b99ad9ef0: Waiting fd4b47407fc3: Waiting 39db0bc48c26: Waiting 09b6f03ffac4: Verifying Checksum 09b6f03ffac4: Download complete dc3f0c679f0f: Verifying Checksum dc3f0c679f0f: Download complete 7e2b2a5af8f6: Verifying Checksum 7e2b2a5af8f6: Download complete fd4b47407fc3: Verifying Checksum fd4b47407fc3: Download complete 6f4489a7e4cf: Verifying Checksum 6f4489a7e4cf: Download complete 39db0bc48c26: Download complete af4b99ad9ef0: Verifying Checksum af4b99ad9ef0: Download complete acb4a89489fc: Verifying Checksum acb4a89489fc: Download complete b32f6bf7d96d: Verifying Checksum b32f6bf7d96d: Download complete 7e2b2a5af8f6: Pull complete 09b6f03ffac4: Pull complete dc3f0c679f0f: Pull complete fd4b47407fc3: Pull complete b32f6bf7d96d: Pull complete 6f4489a7e4cf: Pull complete af4b99ad9ef0: Pull complete 39db0bc48c26: Pull complete acb4a89489fc: Pull complete Digest: sha256:cfa62318c459b1fde9e0841c619906d15ada5910d625176e24bf692cf8a2601d Status: Downloaded newer image for python:2.7 docker.io/library/python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4920088679782409171.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-2020.5.24-py3-none-any.whl (42 kB) Collecting colorlog<5.0.0,>=2.6.1 Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB) Collecting argcomplete<2.0,>=1.9.4 Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB) Collecting py<2.0.0,>=1.4.0 Downloading py-1.9.0-py2.py3-none-any.whl (99 kB) Collecting virtualenv>=14.0.0 Downloading virtualenv-20.0.29-py2.py3-none-any.whl (4.9 MB) Collecting importlib-metadata; python_version < "3.8" Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB) Collecting appdirs<2,>=1.4.3 Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 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.15.0-py2.py3-none-any.whl (10 kB) Collecting distlib<1,>=0.3.1 Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB) Collecting zipp>=0.5 Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB) Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, appdirs, filelock, six, distlib, virtualenv, nox Successfully installed appdirs-1.4.4 argcomplete-1.12.0 colorlog-4.2.1 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 nox-2020.5.24 py-1.9.0 six-1.15.0 virtualenv-20.0.29 zipp-3.1.0 WARNING: You are using pip version 20.2; however, version 20.2.1 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. Running session lint Creating virtual environment (virtualenv) using python in .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/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) 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) 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:458: UserWarning: Normalizing '4.12.0-alpha-0' to '4.12.0a0' warnings.warn(tmpl.format(**locals())) 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 0x7f6b9c6a8a90> 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/stable/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 4.82s 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]
