See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/540/display/redirect>
Changes: ------------------------------------------ [...truncated 30.79 KB...] init version: fec3683 Security Options: apparmor seccomp Profile: default Kernel Version: 4.15.0-76-generic Operating System: Ubuntu 18.04.4 LTS OSType: linux Architecture: x86_64 CPUs: 24 Total Memory: 94.37GiB Name: asf937.gq1.ygridcore.net ID: Y4JE:DJX3:2PZX:XUJM:ETLR:ONRQ:5SHF:CHFN:TFKG:KLK7:EWCR:J6PU Docker Root Dir: /var/lib/docker Debug Mode: false Registry: https://index.docker.io/v1/ Labels: Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false WARNING: No swap limit support + docker system prune -f Deleted Containers: be549fa12f9d36d808b0fd5980dc35d8e6a9f27f3776092da4316ad231fd91bc Deleted Images: deleted: sha256:57a62bf641979cae920f116b70422fcab7adf1feafb1e0184d78af6c123f59be deleted: sha256:2864cccdfe2681cdf8d17fc36ff56bf44a3a60bd7fad47767c77fe31f961c052 deleted: sha256:50bec16c0ae71543108ef73113a8be82236f44ef3cc57c1e72469020971e090f deleted: sha256:de498628250dbc75b3ab91985c5c2815fba70a8f74818fb8e74c896f5c316156 deleted: sha256:56f01fabe91d0adc14514323a681096a4a587dfe430bc4a597aa6f544e1c900c deleted: sha256:f14ab600a99273384b7564ee143346e12b0d6cd38ddf47d2609f96f1cc0136e9 deleted: sha256:e54b544bfcc81e31610f171e66c09a696b77bf88e828c0638417e38724f0e38c deleted: sha256:9e483efb905d4693001aff2836166cd1aae90dc56897460920372865c5d33243 deleted: sha256:503ed276501f277c9825b5c5de49bb4c83a99c9dcc4ed6e929098e5b29340134 deleted: sha256:0834aae4302a5bb15a7f595fecb095d2c8eddb65536ae3ae68126a8adb8ef978 deleted: sha256:e0c8797a59029ec15f9ad8396aa13571a8d3da08b50fa75f9329527a047898a6 deleted: sha256:1e493ae38cd0ad9aa1319776f100292fd3ef0a219dbfef8096535cc7e244de26 deleted: sha256:c9ff1a948038688c7e0f7a7d30380f931afe9604db5dc33b18c69611ed381014 deleted: sha256:c98a4e74f3d3f73f12a4b54428a3dbb7462399018c6007c203b85fca07633bf2 deleted: sha256:3a909de8efc5a4acaeaa4d08f4ad00172e6b9800564d7e9dd5c08756e86b301b deleted: sha256:c49218d4988217617bd29fecf6896de2d64935496b827d1ae0c319d6bc1fc918 deleted: sha256:d4b303b27fb83aa6a7333029d18fc8e7049c892a890b0249720af967f895d95a deleted: sha256:281c266188e6713e86123647ffa1aa84c9d7f395231195f2c71ebd4fde8d743b deleted: sha256:d234b4310cc71974f28703a0580ad1cb129dc0b1feb1f276f8d44578ea49ba77 deleted: sha256:5a00d413c01926a30a45e704c1ae7e66d540176e59caf7ad4bd36d5cd28998ce deleted: sha256:f558e6da5e29360b88f2f484135c6dcf1fe3f1d298c679fc24e6e709925e44bf deleted: sha256:760fdda71c8fffbf9c6cb1a6d4a461fafd72eb507a62dc61f6354bb1c98f7ec2 deleted: sha256:8ba448f3d8b9518ea301d66f09b4c90dc70276c1cdb87ae1b461a61fe0d530d7 deleted: sha256:879731e07ee181cabadd7d2e6c8870fd4ba544fb05949ce108bd4e5793ab8718 deleted: sha256:858a35076f544e782ab6422199fe342ca69f14152cd1461f9fc6f4beda9a76bf deleted: sha256:393d7bb0808a6378d3ab1074ebc61681e76a3b9414bfe0456afba6da2cb4a743 deleted: sha256:beee9f30bc1f711043e78d4a2be0668955d4b761d587d6f60c2c8dc081efb203 Total reclaimed space: 665.5MB + docker network prune -f --filter until=12h + echo 62138 + 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 5c94f9cbba07: Pulling fs layer 0c79b341c8ed: Waiting 1b304faacdc3: Waiting 5c94f9cbba07: Waiting bdf0201b3a05: Verifying Checksum bdf0201b3a05: Download complete ab017ee82de8: Download complete 973721b7fcb1: Verifying Checksum 973721b7fcb1: Download complete bdf0201b3a05: Pull complete 0c79b341c8ed: Verifying Checksum 0c79b341c8ed: Download complete 1b304faacdc3: Verifying Checksum 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 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/jenkins8469791532323073068.sh + docker pull python:3.7 3.7: Pulling from library/python Digest: sha256:4513a9e58c7a9eb3776147c00e1dd3ad4d773b82f1e035e423e670535ac3a00d Status: Image is up to date for python:3.7 docker.io/library/python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins9120354105040201407.sh + docker pull python:3.6 3.6: Pulling from library/python Digest: sha256:53f66116f7122fe6045f68e14ee5bd82847d5a6f60f659bfc18ac13caf729fc9 Status: Image is up to date for python:3.6 docker.io/library/python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3050836062588190005.sh + docker pull python:3.5 3.5: Pulling from library/python Digest: sha256:29e8a607540daa0831b93a07f12347a80ff70519af311a446b2f73d742654233 Status: Image is up to date for python:3.5 docker.io/library/python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins2882507139064280418.sh + docker pull python:2.7 2.7: Pulling from library/python Digest: sha256:3f95525197a64a6cbb49d2a34c87a871f1f7cb300ba6b763f018c13520fbfe24 Status: Image is up to date for python:2.7 docker.io/library/python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins8470925614747437517.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 virtualenv>=14.0.0 Downloading virtualenv-20.0.15-py2.py3-none-any.whl (4.6 MB) Collecting py<2.0.0,>=1.4.0 Downloading py-1.8.1-py2.py3-none-any.whl (83 kB) Collecting argcomplete<2.0,>=1.9.4 Downloading argcomplete-1.11.1-py2.py3-none-any.whl (36 kB) Collecting colorlog<5.0.0,>=2.6.1 Downloading colorlog-4.1.0-py2.py3-none-any.whl (14 kB) Collecting importlib-metadata<2,>=0.12; python_version < "3.8" Downloading importlib_metadata-1.6.0-py2.py3-none-any.whl (30 kB) Collecting distlib<1,>=0.3.0 Downloading distlib-0.3.0.zip (571 kB) Collecting filelock<4,>=3.0.0 Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB) Collecting six<2,>=1.9.0 Downloading six-1.14.0-py2.py3-none-any.whl (10 kB) Collecting appdirs<2,>=1.4.3 Downloading appdirs-1.4.3-py2.py3-none-any.whl (12 kB) Collecting zipp>=0.5 Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB) Building wheels for collected packages: distlib Building wheel for distlib (setup.py): started Building wheel for distlib (setup.py): finished with status 'done' Created wheel for distlib: filename=distlib-0.3.0-py3-none-any.whl size=340427 sha256=29b43d05ad90fe3545ced934b2739ade0df4b04ba428e58e25858ab1d81329fa Stored in directory: /root/.cache/pip/wheels/a2/19/da/a15d4e2bedf3062c739b190d5cb5b7b2ecfbccb6b0d93c861b Successfully built distlib Installing collected packages: zipp, importlib-metadata, distlib, filelock, six, appdirs, virtualenv, py, argcomplete, colorlog, nox Successfully installed appdirs-1.4.3 argcomplete-1.11.1 colorlog-4.1.0 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.6.0 nox-2019.11.9 py-1.8.1 six-1.14.0 virtualenv-20.0.15 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:472: 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." % 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 0x7fce1ed73190> 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 =========================== 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.76s 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]
