See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/666/display/redirect>
Changes: ------------------------------------------ [...truncated 26.34 KB...] WARNING: No swap limit support + docker system prune -f Deleted Images: deleted: sha256:675ee5c82257e21bec5b8ed54fe027d4909331cec9b22cdedefd885c032d3563 deleted: sha256:815e7dc7fa940a3ea78f1bd84b5351f46b71de3f4803aefcbbd133b7583af941 deleted: sha256:47769b0bfa33e361c7d38a006c309225f469da23eb4532184e113d491683c221 deleted: sha256:4531a179769399de80c1a99741678c9a884ed5ca54d2a9cf118a2a2e744267d0 deleted: sha256:7fb9192998449959fcbdeaa75428f931db5fd9e6cd02afb24e3b387da9ee0352 deleted: sha256:ad1698f7413bd8d2f0277bd38771867426a4694bce4ff7aa04b83378c5dc9722 deleted: sha256:58639006e579ae77195c0f94f42be9469d8cdb2b1b7c88cd5bc6bd2de5817727 deleted: sha256:75827ec5ea5a4caa858f4c999ffe5c500562ef8b6ad4c085beaf66ed60e4b395 deleted: sha256:db5f3864fe3f91176e135ce70aa454426fb20f473f68f5d117a498188998fcb8 deleted: sha256:cd6a1f21f2eca9a2577a5d3f46317ea4d593f695e0bbd562f9b255ed095fa8e3 deleted: sha256:a7e0030f8e060edcca8a6ddf637269f1aad8a167bb666ba3bd4952ff0b8de794 deleted: sha256:40f9118bd7966fd710822eb78928ad450285fc7f7fbd5c1c3a1ab6acb5238481 deleted: sha256:dda4232b2bd580bbf633be12d62e8d0e00f6b7bd60ea6faee157bad1809c53c4 deleted: sha256:5bdc89d1b74d49c9810e9216f1f597fbce197340c508873aa1a52f930c24e8fa deleted: sha256:8062de0c076412de16fc35e5e15a1197554d1e9f6182b82f0900faf66663fbf2 deleted: sha256:005fea2878ff3646a58b1f001213ec5ce38d56d4eb2d6d98f5a9b6ba5250bde9 deleted: sha256:25ee45c90eccb987bf7566880b67190663d8a6b0045803c613d0db6b8923119b deleted: sha256:3e207b409db364b595ba862cdc12be96dcdad8e36c59a03b7b3b61c946a5741a Total reclaimed space: 569.2MB + docker network prune -f --filter until=12h + echo 31844 + docker pull quay.io/coreos/etcd:v3.3 + docker system events v3.3: Pulling from coreos/etcd bdf0201b3a05: Pulling fs layer ab017ee82de8: Pulling fs layer 973721b7fcb1: Pulling fs layer 0c79b341c8ed: Pulling fs layer 1b304faacdc3: Pulling fs layer 5c94f9cbba07: Pulling fs layer 0c79b341c8ed: Waiting 1b304faacdc3: Waiting 973721b7fcb1: Verifying Checksum 973721b7fcb1: Download complete bdf0201b3a05: Download complete ab017ee82de8: Verifying Checksum ab017ee82de8: Download complete 0c79b341c8ed: Verifying Checksum 0c79b341c8ed: Download complete 1b304faacdc3: Verifying Checksum 1b304faacdc3: Download complete 5c94f9cbba07: Verifying Checksum 5c94f9cbba07: Download complete bdf0201b3a05: Pull complete ab017ee82de8: Pull 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 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/jenkins8804867130491413433.sh + docker pull python:3.7 3.7: Pulling from library/python Digest: sha256:45a9d9059c9a83066f66d0c7ef7f344bd55f2a41c7a32ca73b2b7bad363ed2b9 Status: Image is up to date for python:3.7 docker.io/library/python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3243663909440843197.sh + docker pull python:3.6 3.6: Pulling from library/python Digest: sha256:a396ca2b3933dd497ab82f32982a746bfa20952948bd9681eb19c8d26f80faf0 Status: Image is up to date for python:3.6 docker.io/library/python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2111483600633846600.sh + docker pull python:3.5 3.5: Pulling from library/python Digest: sha256:f451b0c1912e175444848cfe3242ac225975c1d0613c20a2339dfdde5700c0be Status: Image is up to date for python:3.5 docker.io/library/python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2946749792865527231.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 fd4b47407fc3: Waiting b32f6bf7d96d: Waiting 39db0bc48c26: Waiting 6f4489a7e4cf: Waiting acb4a89489fc: Waiting dc3f0c679f0f: Verifying Checksum dc3f0c679f0f: Download complete 09b6f03ffac4: Verifying Checksum 09b6f03ffac4: Download complete 7e2b2a5af8f6: Verifying Checksum 7e2b2a5af8f6: Download complete fd4b47407fc3: Verifying Checksum fd4b47407fc3: Download complete 6f4489a7e4cf: Verifying Checksum 6f4489a7e4cf: Download complete 39db0bc48c26: Verifying Checksum 39db0bc48c26: Download complete af4b99ad9ef0: Verifying Checksum af4b99ad9ef0: Download complete acb4a89489fc: Verifying Checksum 7e2b2a5af8f6: Pull complete b32f6bf7d96d: Download 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/jenkins8906705452847225068.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 virtualenv>=14.0.0 Downloading virtualenv-20.0.30-py2.py3-none-any.whl (7.1 MB) Collecting importlib-metadata; python_version < "3.8" Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB) Collecting argcomplete<2.0,>=1.9.4 Downloading argcomplete-1.12.0-py2.py3-none-any.whl (38 kB) Collecting colorlog<5.0.0,>=2.6.1 Downloading colorlog-4.2.1-py2.py3-none-any.whl (14 kB) Collecting py<2.0.0,>=1.4.0 Downloading py-1.9.0-py2.py3-none-any.whl (99 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 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 zipp>=0.5 Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB) Installing collected packages: six, zipp, importlib-metadata, distlib, appdirs, filelock, virtualenv, argcomplete, colorlog, py, 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.30 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: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 0x7ff639525a90> 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 3.79s 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]
