See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/224/display/redirect>
------------------------------------------ [...truncated 231.68 KB...] deleted: sha256:d8a85d2ba2a1c9ac78e306df519b38d9403e3e0e702153472fbe43b7ffc03690 deleted: sha256:769a17e2109f79357300c456383a5d1146c279a583c4b61901db2f5664a6e4d7 deleted: sha256:658b312b52080e3dca9ef4ced2d1dddce3982d946870f1ba3c49ad12b91289ed deleted: sha256:e58b54d47fa6de103deaa7bbf93908a369657dbed709b586406c4840935804cc deleted: sha256:8f71eb66004bcf9c98537c22081d5c40d4133dfb11f6c5d0f3decfb0f2c8522f deleted: sha256:165a50f33ac9c24ada37ecd65e0d5aab96d8944ef34a842d4b9bb1368b7103f8 deleted: sha256:0c8c22725ab85ac527e66c78009d75214fcf3a47bc8517182360c4dd608bad70 deleted: sha256:3e300181eacab2c444baa802192b267286ecd2b0a738200ce066075124fbece0 deleted: sha256:08b6c0b1e86032d365331f47a826db35efef8c5aab67f5eff7cae7b33f574481 deleted: sha256:3a8b0e13f96c9d28cab58890a72434f177835b126160e96d5321c3bb08d01355 deleted: sha256:f556374ea749f6b7e5bbb35550d46a55c8b437c761f910f317548a2978b6dca5 deleted: sha256:ff82948a5f0de1c8b3b358298fffaa6294b6cf0afad8837b062b87e892d1e7c9 deleted: sha256:bed7840dfadb95f79a0e035704df17b52ddda54bec1cbefa8a76904272fe4948 deleted: sha256:21fd83a025d4fb01670a88ed816b31dca81f43bdcf83e793ba6b1a737e13c0bb deleted: sha256:9176c001a6112cd4ca73c931ac6b7705f7ee6eca7612bb295e30328f96b5aade deleted: sha256:17f8c39149f47585a48ce19bcd229317ed1064db6ee46879de1c09d72099c20c deleted: sha256:adcf8770042d35fbbd86de90304cf43bdba6520d7453acfc44e28f27a56e1cc5 deleted: sha256:b610d28e130fee18faf47b9e50373405c77fe0908cb3027c3b33870a99372e26 deleted: sha256:3ca6140b0b7e87510acd269bbdb68aa43c84697f22a57cdaa93a649474d0b312 deleted: sha256:239941d94196a6879484182a8b7c6db21056a8b05da0eec7cd834b331373848b deleted: sha256:399045befe4fac6bd93f725cbd8d1aceda83c7a98006b98136c5dcd7647a05c2 deleted: sha256:26b640bc9a458420c3155e38a068637c3b8b8a1165c7cadcf7a9aebc81514b25 deleted: sha256:a37efd16944be9ad0213bbef824202f7366a023c3fe2b083d0f9dc8f918e74c7 deleted: sha256:eba1f3c5f3e013d1d8b96d5b938b9f264f2946ecbe2af8e61700c7dcb609b216 Total reclaimed space: 4.807GB + docker network prune -f --filter 'name=testnetwork_*' + echo 17857 + 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 5c94f9cbba07: Waiting 1b304faacdc3: Waiting bdf0201b3a05: Verifying Checksum bdf0201b3a05: Download complete ab017ee82de8: Verifying Checksum ab017ee82de8: Download complete 973721b7fcb1: Verifying Checksum 973721b7fcb1: Download complete bdf0201b3a05: Pull complete 0c79b341c8ed: Verifying Checksum 0c79b341c8ed: Download complete 1b304faacdc3: Download complete 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 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/jenkins8336126780370271546.sh + docker pull python:3.7 3.7: Pulling from library/python Digest: sha256:77a9aac6996ee75a8f4ee4e8e2b6fd34465fb542d4bd1979f425081675c28b6c Status: Downloaded newer image for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8414591233321402728.sh + docker pull python:3.6 3.6: Pulling from library/python c5e155d5a1d1: Already exists 221d80d00ae9: Already exists 4250b3117dca: Already exists 3b7ca19181b2: Already exists 425d7b2a5bcc: Already exists d7a526a3eca5: Pulling fs layer 73a96b82cd2c: Pulling fs layer 63e5b6830bb3: Pulling fs layer 811d2b8ea37b: Pulling fs layer 811d2b8ea37b: Waiting 63e5b6830bb3: Verifying Checksum 63e5b6830bb3: Download complete d7a526a3eca5: Verifying Checksum d7a526a3eca5: Download complete 73a96b82cd2c: Download complete 811d2b8ea37b: Verifying Checksum 811d2b8ea37b: Download complete d7a526a3eca5: Pull complete 73a96b82cd2c: Pull complete 63e5b6830bb3: Pull complete 811d2b8ea37b: Pull complete Digest: sha256:0f7771cc42b691af11fa8588eb91bdb4f4b158ecf87fe563c21ccd54ae51e314 Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3518085399287322461.sh + docker pull python:3.5 3.5: Pulling from library/python c5e155d5a1d1: Already exists 221d80d00ae9: Already exists 4250b3117dca: Already exists 3b7ca19181b2: Already exists 425d7b2a5bcc: Already exists d7a526a3eca5: Already exists 03339fb09dd6: Pulling fs layer 594669b0b000: Pulling fs layer 7a79e4a07ea7: Pulling fs layer 7a79e4a07ea7: Verifying Checksum 7a79e4a07ea7: Download complete 594669b0b000: Download complete 03339fb09dd6: Download complete 03339fb09dd6: Pull complete 594669b0b000: Pull complete 7a79e4a07ea7: Pull complete Digest: sha256:7f890da10a88c961de1355f82eaf70e1730c1bfa5c06aefcbf58323ea319fcad Status: Downloaded newer image for python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8611230910937782352.sh + docker pull python:2.7 2.7: Pulling from library/python c5e155d5a1d1: Already exists 221d80d00ae9: Already exists 4250b3117dca: Already exists 3b7ca19181b2: Already exists 425d7b2a5bcc: Already exists 8c85da8098dd: Pulling fs layer 2d5c00bb8ad0: Pulling fs layer 746f97fe4b67: Pulling fs layer 661957859d96: Pulling fs layer 661957859d96: Waiting 746f97fe4b67: Verifying Checksum 746f97fe4b67: Download complete 8c85da8098dd: Verifying Checksum 8c85da8098dd: Download complete 2d5c00bb8ad0: Verifying Checksum 2d5c00bb8ad0: Download complete 661957859d96: Download complete 8c85da8098dd: Pull complete 2d5c00bb8ad0: Pull complete 746f97fe4b67: Pull complete 661957859d96: Pull complete Digest: sha256:91cf822d7d9f36769ca6a54db4f1cc565962f7ee38647c252bb265913e1e24a6 Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3422078269989328024.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/35/2b/47c30d3291f26fb68421fc3472875bf6ffbb4d6a507a0c8d81760a80f258/nox-2019.4.11-py2.py3-none-any.whl Collecting py<2.0.0,>=1.4.0 (from nox) Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB) Collecting virtualenv>=14.0.0 (from nox) Downloading https://files.pythonhosted.org/packages/ca/ee/8375c01412abe6ff462ec80970e6bb1c4308724d4366d7519627c98691ab/virtualenv-16.6.0-py2.py3-none-any.whl (2.0MB) Collecting colorlog<4.0.0,>=2.6.1 (from nox) Downloading https://files.pythonhosted.org/packages/d7/00/defed2a2eb8e289a0b6f29b3bcc52b42a75ce7cb14a84687c4c54d58f08e/colorlog-3.2.0-py2.py3-none-any.whl Installing collected packages: py, virtualenv, colorlog, nox Successfully installed colorlog-3.2.0 nox-2019.4.11 py-1.8.0 virtualenv-16.6.0 Running session lint Creating virtualenv using python in /opt/bookkeeper/.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 virtualenv using python in /opt/bookkeeper/.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:472: UserWarning: Normalizing '4.10.0-alpha-0' to '4.10.0a0' normalized_version, Session lint_setup_py was successful. Running session unit-3.7 Creating virtualenv using python3.7 in /opt/bookkeeper/.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 0x7f2edf47a940> 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 =============================== .nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/descriptor.py:47 /opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/descriptor.py:47: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from google.protobuf.pyext import _message .nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/well_known_types.py:788 /opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/well_known_types.py:788: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working collections.MutableMapping.register(Struct) 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, and in 3.8 it will stop working elif isinstance(msg_or_dict, collections.Mapping): -- Docs: https://docs.pytest.org/en/latest/warnings.html 1 failed, 67 passed, 3 warnings in 3.88 seconds 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]
