See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/317/display/redirect?page=changes>
Changes: [eolivelli] Simplify if statements ------------------------------------------ [...truncated 40.79 KB...] deleted: sha256:f244f2c63baa9410e305f0bc9408aea10a9d7245bb42cb3cc503931c06150ee9 deleted: sha256:b4681ce2367789ed94625f309ff5ead992342fd3a5e891bcc40d66e83a169fb1 deleted: sha256:d548bdec8d08e78a2cbd1ddfdbfbb5a4aae40fb7126bd65045f684fcc6c93d2d deleted: sha256:20b5d385a659f5a5d3f91ce2fd817f47c467e46391d5c51cbd2548fadbe85372 deleted: sha256:e47c0c9f9ef45814e13bf03b1ca9d1cfee4fafb06d46618640ed8dc2980233d8 deleted: sha256:1219db85c8ba5110641628a62b1c7a843b81d9a83c22e552413904f7b46ea8f5 deleted: sha256:7e791c5dbdc0fc741c42322d74480caa30bb77306e74635edf73919f4bd45c59 deleted: sha256:c3ed6849a9c23df66fa7eb6544645da639083f2235fa7edf6c5858e4a7d24e16 deleted: sha256:d9567774dda36072fc8097edec818e8141e5cd95bb5becef5138aed83319dbc6 deleted: sha256:c56698f3251901620526c2750d878fdbff9aa9b520fd213169f5a5bf49b1a0cb deleted: sha256:7fbedea78ea3a4ed555ae868ca1ca5f7df1b5c96a44f7bbff3a93094298cfb74 deleted: sha256:93226dde9e8bae0cb644795939cf448950323dc55a452408e12cbf9724a0c83b deleted: sha256:8c019deebcd598bea048e9f12dc1fd2b3e6be95cc4d70546a996203f8f3c2098 deleted: sha256:82ee1f8796be0ad0134ba1fc2dea035d1930e808e650080f374faeed08f4bc43 deleted: sha256:1c904f0211d191cedfe3969ee1da47addaf40e4b6bcb6a3e58c3204d3a83bfad deleted: sha256:dda8174a14f9bfad57936743cf48792a1c9727627bbb7a6ee26b141ce9f1da51 deleted: sha256:92ce99ba2bc2f5d22a31c8f0e371d38a286b0ed4e3d90fd407e74ffd93b1ada5 deleted: sha256:009ca3efe86272eab7676de98e57c5e0ced166735e358f70d2022e85fc2a28f8 deleted: sha256:2aca90145ed726d3b1e5c8d8e88426693a35ae96822b9ff1836a7c7a575e73da deleted: sha256:9fda5ec6f4ad6f0ca6901539b39e9f30c2d233481926494905029d589a1eb3a3 deleted: sha256:bb30b594db26660abfbd3feb9b179845028e513604d8f785add12af086b99d79 deleted: sha256:d8a59e59a8cd4fad436eabe285200d94d1909dc0d6306d82c71446ec8dbd2fbd deleted: sha256:27efb328864194dfca9764898c36fc59d1f38ac50488975ac9b6238baa48ddd2 deleted: sha256:d68fc36ba454aab5a26667f4e9af81aea356ad0fe4077dcae28b86c67f9d8061 deleted: sha256:bc159e820b7936f8c387837caf2aea84c2fcb7bd608823050867a2c9cda013e6 deleted: sha256:a0dfd7d2653802b07b9e83fb084a286d86eed4b228d2c52443deaa3f4b50b75c deleted: sha256:eff0aa91d47a89c9cf4e88d8c67ae37b167e698333d90e5d8a888f2ea81fd8fb deleted: sha256:19a0ef5ae751c7d31fdfc9a02e0072a3042fcb84f23dbe6c04a3bc1898144931 deleted: sha256:594049ec67de51fb921106ce36519ac8531d7ab751c80bc0369f91e4850fed3a deleted: sha256:4c977fc4232293a54c52b15ab3b472ff6cc5502cff1de839b6d94bcc889750b8 deleted: sha256:47ff2124cd82f704d959af16ec48cadf9ff27e88d1f791dd87b657e05d7f5c38 deleted: sha256:4e56b259a282dc9b5d5374013b50a213ddfa6e32a501e0532640a82c750b3a73 deleted: sha256:3772b6b36a6cc50ed053e3fa16dbf2ec8bbc8fb908eb690171895ba0cc2908a7 deleted: sha256:0b698cb02680cf0b2e59f8a6da887987922d3c93a4d770ea01085a9c6cd4a182 deleted: sha256:a0f25113d03d23c7bbf34c56ac2e8b6d2808f1258294df7444ca085dcb427084 deleted: sha256:d4f83aeedec1b24f88d62d847d0f792d4e7962b0c8815b28eafe88aaf31331a1 deleted: sha256:648bd657df9ee1ac16924e9adea0d8abf412a7556cd029a315622ff2406fe738 Total reclaimed space: 6.368GB + docker network prune -f --filter until=12h + echo 3344 + docker system events + docker pull quay.io/coreos/etcd:v3.3 v3.3: Pulling from coreos/etcd [DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption. bdf0201b3a05: Already exists ab017ee82de8: Already exists 973721b7fcb1: Already exists 0c79b341c8ed: Already exists 1b304faacdc3: Already exists 5c94f9cbba07: Already exists Digest: sha256:e35939fa8f43ea4330070f4ffd4449dc147ffa109128472721860dd9f0418411 Status: Image is up to date 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/jenkins3757880638842906760.sh + docker pull python:3.7 3.7: Pulling from library/python Digest: sha256:4432d65bd7da4693bb9365c3369ed5c7f0cb472195a294c54d1b766751098f7b Status: Image is up to date for python:3.7 docker.io/library/python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins5351996365190369759.sh + docker pull python:3.6 3.6: Pulling from library/python 4ae16bd47783: Already exists bbab4ec87ac4: Already exists 2ea1f7804402: Already exists 96465440c208: Already exists 6ac892e64b94: Already exists 943f57f16bdd: Pulling fs layer cad1284c0807: Pulling fs layer 38b0e25e4ab9: Pulling fs layer f697d20669c2: Pulling fs layer f697d20669c2: Waiting 38b0e25e4ab9: Download complete 943f57f16bdd: Download complete cad1284c0807: Verifying Checksum cad1284c0807: Download complete f697d20669c2: Verifying Checksum f697d20669c2: Download complete 943f57f16bdd: Pull complete cad1284c0807: Pull complete 38b0e25e4ab9: Pull complete f697d20669c2: Pull complete Digest: sha256:553fd76c04ee1ac1db8ef518161bb6ec325cc3ce3e55bbad73bf40e3abe23960 Status: Downloaded newer image for python:3.6 docker.io/library/python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6146977749767937396.sh + docker pull python:3.5 3.5: Pulling from library/python 4ae16bd47783: Already exists bbab4ec87ac4: Already exists 2ea1f7804402: Already exists 96465440c208: Already exists 6ac892e64b94: Already exists 943f57f16bdd: Already exists c190296edbd1: Pulling fs layer 08e960e19b1d: Pulling fs layer 8ec7ff9a6780: Pulling fs layer 08e960e19b1d: Download complete c190296edbd1: Verifying Checksum c190296edbd1: Download complete 8ec7ff9a6780: Download complete c190296edbd1: Pull complete 08e960e19b1d: Pull complete 8ec7ff9a6780: Pull complete Digest: sha256:ba8ce3e38305965504e9c36eeaea2c9e42701dc132aa530afa3e3b3f0861ed7c Status: Downloaded newer image for python:3.5 docker.io/library/python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8134319630455738132.sh + docker pull python:2.7 2.7: Pulling from library/python 4ae16bd47783: Already exists bbab4ec87ac4: Already exists 2ea1f7804402: Already exists 96465440c208: Already exists 6ac892e64b94: Already exists 6f7ce750b843: Pulling fs layer 886c714e5c8c: Pulling fs layer 11129766a052: Pulling fs layer 4a086c8425c2: Pulling fs layer 11129766a052: Verifying Checksum 11129766a052: Download complete 6f7ce750b843: Verifying Checksum 6f7ce750b843: Download complete 886c714e5c8c: Verifying Checksum 886c714e5c8c: Download complete 4a086c8425c2: Download complete 6f7ce750b843: Pull complete 886c714e5c8c: Pull complete 11129766a052: Pull complete 4a086c8425c2: Pull complete Digest: sha256:42b8afcfec99c9d2aa2410ab680d53fdcea328d38ca876e2bd3dad089cb0ed0c Status: Downloaded newer image for python:2.7 docker.io/library/python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6127601287694628635.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/95/cf/692b595f21ee52a26def7b57a1360e1c850817289fee48ed303177cd9602/nox-2019.8.20-py2.py3-none-any.whl Collecting virtualenv>=14.0.0 (from nox) Downloading https://files.pythonhosted.org/packages/f7/69/1ad2d17560c4fc60170056dcd0a568b83f3453a2ac91155af746bcdb9a07/virtualenv-16.7.4-py2.py3-none-any.whl (3.3MB) 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 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 argcomplete<2.0,>=1.9.4 (from nox) Downloading https://files.pythonhosted.org/packages/4d/82/f44c9661e479207348a979b1f6f063625d11dc4ca6256af053719bbb0124/argcomplete-1.10.0-py2.py3-none-any.whl Installing collected packages: virtualenv, colorlog, py, argcomplete, nox Successfully installed argcomplete-1.10.0 colorlog-3.2.0 nox-2019.8.20 py-1.8.0 virtualenv-16.7.4 Running session lint Creating virtual environment (virtualenv) using python in .nox/lint pip install flake8 pip install . flake8 bookkeeper tests 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) 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/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:474: 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 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 0x7fb671c5c410> 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 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): 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, and in 3.8 it will stop working (collections.MutableMapping, message.Message))): -- Docs: https://docs.pytest.org/en/latest/warnings.html 1 failed, 67 passed, 3 warnings in 3.68s 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]
