See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/476/display/redirect>
Changes: ------------------------------------------ [...truncated 25.58 KB...] 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/jenkins3161495896780836272.sh + docker pull python:3.7 3.7: Pulling from library/python 8f0fdd3eaac0: Pulling fs layer d918eaefd9de: Pulling fs layer 43bf3e3107f5: Pulling fs layer 27622921edb2: Pulling fs layer dcfa0aa1ae2c: Pulling fs layer 61cf1e8f9385: Pulling fs layer a79fc60597da: Pulling fs layer 420e7f932707: Pulling fs layer 666534959f2b: Pulling fs layer 61cf1e8f9385: Waiting a79fc60597da: Waiting 420e7f932707: Waiting 666534959f2b: Waiting 27622921edb2: Waiting dcfa0aa1ae2c: Waiting d918eaefd9de: Verifying Checksum d918eaefd9de: Download complete 43bf3e3107f5: Verifying Checksum 43bf3e3107f5: Download complete 8f0fdd3eaac0: Download complete 61cf1e8f9385: Verifying Checksum 61cf1e8f9385: Download complete 27622921edb2: Verifying Checksum 27622921edb2: Download complete 420e7f932707: Verifying Checksum 420e7f932707: Download complete a79fc60597da: Verifying Checksum a79fc60597da: Download complete 666534959f2b: Verifying Checksum 666534959f2b: Download complete 8f0fdd3eaac0: Pull complete dcfa0aa1ae2c: Verifying Checksum dcfa0aa1ae2c: Download complete d918eaefd9de: Pull complete 43bf3e3107f5: Pull complete 27622921edb2: Pull complete dcfa0aa1ae2c: Pull complete 61cf1e8f9385: Pull complete a79fc60597da: Pull complete 420e7f932707: Pull complete 666534959f2b: Pull complete Digest: sha256:ddb23df374f4161b6778d9f995e0504001c438219810779056883e3657797158 Status: Downloaded newer image for python:3.7 docker.io/library/python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins228227531270628673.sh + docker pull python:3.6 3.6: Pulling from library/python 8f0fdd3eaac0: Already exists d918eaefd9de: Already exists 43bf3e3107f5: Already exists 27622921edb2: Already exists dcfa0aa1ae2c: Already exists ca7e1bbea389: Pulling fs layer 5bf324b44232: Pulling fs layer a2d410a0f39c: Pulling fs layer c0ce162fa4e3: Pulling fs layer c0ce162fa4e3: Waiting a2d410a0f39c: Verifying Checksum a2d410a0f39c: Download complete ca7e1bbea389: Verifying Checksum ca7e1bbea389: Download complete c0ce162fa4e3: Verifying Checksum c0ce162fa4e3: Download complete 5bf324b44232: Verifying Checksum 5bf324b44232: Download complete ca7e1bbea389: Pull complete 5bf324b44232: Pull complete a2d410a0f39c: Pull complete c0ce162fa4e3: Pull complete Digest: sha256:6f17d0590af20c11e967c3445064c9b0a5e006074face4839269c9f8c302b0bb Status: Downloaded newer image for python:3.6 docker.io/library/python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8555484281077251548.sh + docker pull python:3.5 3.5: Pulling from library/python 8f0fdd3eaac0: Already exists d918eaefd9de: Already exists 43bf3e3107f5: Already exists 27622921edb2: Already exists dcfa0aa1ae2c: Already exists ca7e1bbea389: Already exists 3aa5767a1ba2: Pulling fs layer 93578379e072: Pulling fs layer 82f5b3145ad2: Pulling fs layer 82f5b3145ad2: Download complete 93578379e072: Verifying Checksum 93578379e072: Download complete 3aa5767a1ba2: Verifying Checksum 3aa5767a1ba2: Download complete 3aa5767a1ba2: Pull complete 93578379e072: Pull complete 82f5b3145ad2: Pull complete Digest: sha256:61552857891bca2a0b717a072fb8f363f18fe13db2cd671634f88fb1cf02a4cb Status: Downloaded newer image for python:3.5 docker.io/library/python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6077292268181583773.sh + docker pull python:2.7 2.7: Pulling from library/python 8f0fdd3eaac0: Already exists d918eaefd9de: Already exists 43bf3e3107f5: Already exists 27622921edb2: Already exists dcfa0aa1ae2c: Already exists ef6ca6913068: Pulling fs layer a755ea00feee: Pulling fs layer d3ef4ceaf881: Pulling fs layer a91a6037ab89: Pulling fs layer a91a6037ab89: Waiting a755ea00feee: Verifying Checksum a755ea00feee: Download complete d3ef4ceaf881: Verifying Checksum d3ef4ceaf881: Download complete ef6ca6913068: Download complete a91a6037ab89: Verifying Checksum a91a6037ab89: Download complete ef6ca6913068: Pull complete a755ea00feee: Pull complete d3ef4ceaf881: Pull complete a91a6037ab89: Pull complete Digest: sha256:9723e7e38d445f2a8327c6669fc568800c8163783a0f0606fb73c2d48f546f74 Status: Downloaded newer image for python:2.7 docker.io/library/python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins1195278914624471075.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 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 py<2.0.0,>=1.4.0 Downloading py-1.8.1-py2.py3-none-any.whl (83 kB) Collecting virtualenv>=14.0.0 Downloading virtualenv-16.7.9-py2.py3-none-any.whl (3.4 MB) Collecting importlib-metadata<2,>=0.23; python_version == "3.7" Downloading importlib_metadata-1.5.0-py2.py3-none-any.whl (30 kB) Collecting zipp>=0.5 Downloading zipp-2.1.0-py3-none-any.whl (4.6 kB) Installing collected packages: colorlog, zipp, importlib-metadata, argcomplete, py, virtualenv, nox Successfully installed argcomplete-1.11.1 colorlog-4.1.0 importlib-metadata-1.5.0 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-2.1.0 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/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/admin/namespaces.py:62:80: E501 line too long (87 > 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:485: 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 0x7f7a4811cbd0> 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 1 failed, 67 passed, 3 warnings in 3.36s 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]
