See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/446/display/redirect>
Changes: ------------------------------------------ [...truncated 48.49 KB...] deleted: sha256:c59bb3c5f3079b1225ffeeada70dfff0ed6f0e0d9f62b1a750aec6b85645aa12 deleted: sha256:26be3767efaa9e80f108cba9e2245be53b80ca0b8276129a670a175179140ee0 deleted: sha256:dae394d7dd4abb39aa24b6e1f93ac4da8628d47c8a01af23e7a73448c48764c8 deleted: sha256:da765f9fe3884c344112639df69b56ea1ef68c74464bec1385d56527ee25046b deleted: sha256:cd26d043cbc08ae5fccf22856530ab778f0cb7ac255124a94157e8e5aad87c93 deleted: sha256:8cb09481e4a72fa531d7876113d7fd99ed4bd6990ec86046c5bfcddb7838e98f deleted: sha256:34053b419ac27d97c53880ee1a6ff987bbe918e2ad827da511830e028f84ee96 deleted: sha256:a70b7aa6983b9bba9f4ad1c2db441c61f06203e224601e43a73572cea1c7a860 deleted: sha256:134d231ae767d35bb3353404f9d81407b80e70ba8adb16268e7c74739860c576 deleted: sha256:4d824fe5c04b6d40f8013fa8e9b54a36e135d40542c7e7bfb69c385f271f6827 deleted: sha256:ecb40ed9b9acc6a4329675d0fb17689aafb0e3246160f3a58e23acaba70d1972 deleted: sha256:9cd8bd4b6496357a093737a4c0276c2a9dcdf97162049c26c5aa3ff8df676da6 Total reclaimed space: 6.634GB + docker network prune -f --filter until=12h + echo 7835 + docker system events + docker pull quay.io/coreos/etcd:v3.3 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 0c79b341c8ed: Waiting 5c94f9cbba07: Pulling fs layer 1b304faacdc3: Waiting ab017ee82de8: Verifying Checksum ab017ee82de8: Download complete bdf0201b3a05: Verifying Checksum bdf0201b3a05: Download complete 973721b7fcb1: Verifying Checksum 973721b7fcb1: Download complete bdf0201b3a05: Pull complete 1b304faacdc3: Verifying Checksum 1b304faacdc3: Download complete 0c79b341c8ed: Verifying Checksum 0c79b341c8ed: Download complete 5c94f9cbba07: Verifying Checksum 5c94f9cbba07: Download 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/jenkins4907914688210019770.sh + docker pull python:3.7 3.7: Pulling from library/python Digest: sha256:40d615d7617f0f3b54614fd228d41a891949b988ae2b452c0aaac5bee924888d Status: Image is up to date for python:3.7 docker.io/library/python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3508484506786214495.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 9ee4d048aeb9: Pulling fs layer 190933fd4f3c: Pulling fs layer 19c1a74b577a: Pulling fs layer 562058a56b13: Pulling fs layer 562058a56b13: Waiting 19c1a74b577a: Verifying Checksum 19c1a74b577a: Download complete 9ee4d048aeb9: Verifying Checksum 9ee4d048aeb9: Download complete 562058a56b13: Verifying Checksum 562058a56b13: Download complete 9ee4d048aeb9: Pull complete 190933fd4f3c: Download complete 190933fd4f3c: Pull complete 19c1a74b577a: Pull complete 562058a56b13: Pull complete Digest: sha256:55ad64bc8cd2d252c3f72efd2bde1c48a3d04152e214094c445ec1890bba1943 Status: Downloaded newer image for python:3.6 docker.io/library/python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7160544229554968718.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 9ee4d048aeb9: Already exists 84effbe3c265: Pulling fs layer d55f8e42ab47: Pulling fs layer 05a09ad199ee: Pulling fs layer d55f8e42ab47: Download complete 05a09ad199ee: Verifying Checksum 84effbe3c265: Download complete 84effbe3c265: Pull complete d55f8e42ab47: Pull complete 05a09ad199ee: Pull complete Digest: sha256:3d4c3b574a2eafc808b7931224cf82368dd40729fcfb6f5012bf5e585851a74c Status: Downloaded newer image for python:3.5 docker.io/library/python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5571887244092855476.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 74b6f9ff9fd6: Pulling fs layer bebb4b693476: Pulling fs layer 74b6f9ff9fd6: Verifying Checksum 74b6f9ff9fd6: Download complete a755ea00feee: Verifying Checksum a755ea00feee: Download complete bebb4b693476: Download complete ef6ca6913068: Verifying Checksum ef6ca6913068: Download complete ef6ca6913068: Pull complete a755ea00feee: Pull complete 74b6f9ff9fd6: Pull complete bebb4b693476: Pull complete Digest: sha256:9517f5314968111658d229ed3038630a174e7a4f1b852bd185b70f614dffba08 Status: Downloaded newer image for python:2.7 docker.io/library/python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7990304991255833255.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 https://files.pythonhosted.org/packages/e9/f7/56e4a667031414d8a028797d7651431ca6d2649e2f28633386e91d9c723e/nox-2019.11.9-py2.py3-none-any.whl Collecting virtualenv>=14.0.0 Downloading https://files.pythonhosted.org/packages/05/f1/2e07e8ca50e047b9cc9ad56cf4291f4e041fa73207d000a095fe478abf84/virtualenv-16.7.9-py2.py3-none-any.whl (3.4MB) Collecting argcomplete<2.0,>=1.9.4 Downloading https://files.pythonhosted.org/packages/65/a6/4fd54d4f4fe699b8b9b709e7501a2617aa6352de074e0790adb3437ecd98/argcomplete-1.11.0-py2.py3-none-any.whl Collecting py<2.0.0,>=1.4.0 Downloading https://files.pythonhosted.org/packages/99/8d/21e1767c009211a62a8e3067280bfce76e89c9f876180308515942304d2d/py-1.8.1-py2.py3-none-any.whl (83kB) Collecting colorlog<5.0.0,>=2.6.1 Downloading https://files.pythonhosted.org/packages/68/4d/892728b0c14547224f0ac40884e722a3d00cb54e7a146aea0b3186806c9e/colorlog-4.0.2-py2.py3-none-any.whl Collecting importlib-metadata<2,>=0.23; python_version == "3.7" Downloading https://files.pythonhosted.org/packages/e9/71/1a1e0ed0981bb6a67bce55a210f168126b7ebd2065958673797ea66489ca/importlib_metadata-1.3.0-py2.py3-none-any.whl Collecting zipp>=0.5 Downloading https://files.pythonhosted.org/packages/74/3d/1ee25a26411ba0401b43c6376d2316a71addcc72ef8690b101b4ea56d76a/zipp-0.6.0-py2.py3-none-any.whl Collecting more-itertools Downloading https://files.pythonhosted.org/packages/68/03/0604cec1ea13c9f063dd50f900d1a36160334dd3cfb01fd0e638f61b46ba/more_itertools-8.0.2-py3-none-any.whl (40kB) Installing collected packages: virtualenv, more-itertools, zipp, importlib-metadata, argcomplete, py, colorlog, nox Successfully installed argcomplete-1.11.0 colorlog-4.0.2 importlib-metadata-1.3.0 more-itertools-8.0.2 nox-2019.11.9 py-1.8.1 virtualenv-16.7.9 zipp-0.6.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/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/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 0x7fd388900790> 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.42s 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 guosi...@gmail.com Not sending mail to unregistered user nore...@github.com Not sending mail to unregistered user reddychara...@gmail.com