See <https://builds.apache.org/job/bookkeeper_postcommit_master_python/52/display/redirect?page=changes>
Changes: [github] [CI] increase timeout of website build to 120 mins [guosijie] Set default sizes of DbLedgerStorage read and write cache to be [github] Move serialization code out of LedgerMetadata ------------------------------------------ [...truncated 284.96 KB...] deleted: sha256:73fcdabf07f59d4c3da3d41bfd2537d54df3717e8904ce11f3bd30ab1ce42268 deleted: sha256:9d68e2253328ba2f590797477c3b8ff3d8a9a4259f466a6dce4bfa4f78414802 deleted: sha256:0d80f1155b0fe1b4d77ca1d88bc98f0d35ee1edead68ed5da17c0493d352d939 deleted: sha256:eb9db4404aa1a0bd35dc48cde6b7b87e0cd762c589149a782d6a2049c3c9287e deleted: sha256:af9a6bddc47040c3cd8d460d8285a010ead06a5bf2c566630b06000980444b31 deleted: sha256:5559036bc652a24760ec979461bf15529e9680016bca1cd02caec1bb2539efda deleted: sha256:28ad0a3db214a3dabf46ad1554b97b9d362a5eb2478e685fff9b5180298bfa92 deleted: sha256:2245562c62f9ec2a841ed3e1b84921103ae2bb59a1efd7ddbd5b19e88d4ab28c deleted: sha256:81cef87161a1800f1a07174620e44f6f4eafad756b19efe6e851864faa79eaa5 deleted: sha256:38411f2ef80f9db4ff50f2ecaa882a9c91b38d779e65ab15316ea5acf545c9b2 deleted: sha256:c801944eb4e632e846d48f969466c0defaaa0916784c02d5632176669f783e1a deleted: sha256:ed8cd73741e50e96a2bea4ad1dc31215846a8715344208fabf051d8f0b96f485 deleted: sha256:643d5270ef882bfd4a807aacc52e25afb65b165ad1ef12220aba3bdd103beb2c deleted: sha256:19829b7f73849fc771a7a0087ed4641f45259cb9d55f58d1d367441dcd14e8c2 deleted: sha256:60de8267e3209036bb566fc1fa647a5d5d45ec1e9950a3d3a958f8cfdce53bdb deleted: sha256:b8ae051495b55afb020d6d46eb2ba4a0cd9641bdaefc6c194d7baf2db1a45046 deleted: sha256:095b1614cf29e10b2e3f138fa962dddcc59c44d580fb004e398f3bdef6e99694 deleted: sha256:3b1e870fb8a3356e5e9692d0f343fcf59780767a0bae6936e4174d2b1b59c96b deleted: sha256:35c03014854f0e153dc134dffaefef3a46940bbc36d8f11b46a0bcaf7e73d6ed Total reclaimed space: 4.417GB + docker network prune -f --filter 'name=testnetwork_*' + echo 65407 + docker system events + docker pull quay.io/coreos/etcd:v3.3 v3.3: Pulling from coreos/etcd 2bc1c5ee8605: Pulling fs layer 075a2fcf78bc: Pulling fs layer 35e5ff0bd5f1: Pulling fs layer ec90809a24af: Pulling fs layer 27b2768170ac: Pulling fs layer 52ad13cdb1de: Pulling fs layer ec90809a24af: Waiting 52ad13cdb1de: Waiting 27b2768170ac: Waiting 2bc1c5ee8605: Verifying Checksum 2bc1c5ee8605: Download complete 35e5ff0bd5f1: Verifying Checksum 075a2fcf78bc: Verifying Checksum 075a2fcf78bc: Download complete 2bc1c5ee8605: Pull complete ec90809a24af: Download complete 27b2768170ac: Verifying Checksum 27b2768170ac: Download complete 52ad13cdb1de: Download complete 075a2fcf78bc: Pull complete 35e5ff0bd5f1: Pull complete ec90809a24af: Pull complete 27b2768170ac: Pull complete 52ad13cdb1de: Pull complete Digest: sha256:00304fb914dbc8205275bc7630f376171344753a17ec3c81f0b424fa8f841d66 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/jenkins3228580396797235784.sh + docker pull python:3.7 3.7: Pulling from library/python 54f7e8ac135a: Already exists d6341e30912f: Already exists 087a57faf949: Already exists 5d71636fb824: Already exists 0c1db9598990: Pulling fs layer bfb904e99f24: Pulling fs layer 78a3d3a96a32: Pulling fs layer 885a0ed92c89: Pulling fs layer dd7cc9ace242: Pulling fs layer 885a0ed92c89: Waiting dd7cc9ace242: Waiting bfb904e99f24: Verifying Checksum bfb904e99f24: Download complete 78a3d3a96a32: Verifying Checksum 78a3d3a96a32: Download complete 885a0ed92c89: Download complete dd7cc9ace242: Verifying Checksum dd7cc9ace242: Download complete 0c1db9598990: Verifying Checksum 0c1db9598990: Download complete 0c1db9598990: Pull complete bfb904e99f24: Pull complete 78a3d3a96a32: Pull complete 885a0ed92c89: Pull complete dd7cc9ace242: Pull complete Digest: sha256:3870d35b962a943df72d948580fc66ceaaee1c4fbd205930f32e0f0760eb1077 Status: Downloaded newer image for python:3.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins3330778922965242641.sh + docker pull python:3.6 3.6: Pulling from library/python 54f7e8ac135a: Already exists d6341e30912f: Already exists 087a57faf949: Already exists 5d71636fb824: Already exists 0c1db9598990: Already exists 2eeb5ce9b924: Pulling fs layer a8c530378055: Pulling fs layer 687ed2fb2a0d: Pulling fs layer 620aea26e853: Pulling fs layer 620aea26e853: Waiting 687ed2fb2a0d: Download complete 2eeb5ce9b924: Verifying Checksum 2eeb5ce9b924: Download complete a8c530378055: Verifying Checksum a8c530378055: Download complete 620aea26e853: Verifying Checksum 620aea26e853: Download complete 2eeb5ce9b924: Pull complete a8c530378055: Pull complete 687ed2fb2a0d: Pull complete 620aea26e853: Pull complete Digest: sha256:fc34d5b6cf5d00a6139a74370dc27ddc9ce18303e2210d0f199a6050cc29aa45 Status: Downloaded newer image for python:3.6 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins4111179775283441292.sh + docker pull python:3.5 3.5: Pulling from library/python 54f7e8ac135a: Already exists d6341e30912f: Already exists 087a57faf949: Already exists 5d71636fb824: Already exists 0c1db9598990: Already exists 2eeb5ce9b924: Already exists 5b17b6f4d4e0: Pulling fs layer f1abee0af377: Pulling fs layer 298587aefca5: Pulling fs layer f1abee0af377: Download complete 298587aefca5: Verifying Checksum 298587aefca5: Download complete 5b17b6f4d4e0: Verifying Checksum 5b17b6f4d4e0: Download complete 5b17b6f4d4e0: Pull complete f1abee0af377: Pull complete 298587aefca5: Pull complete Digest: sha256:82c08ec0afced17b7a31d761d58428cced16f1d1bb903401690d2341ab6f0c61 Status: Downloaded newer image for python:3.5 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins7293480730203133175.sh + docker pull python:2.7 2.7: Pulling from library/python 54f7e8ac135a: Already exists d6341e30912f: Already exists 087a57faf949: Already exists 5d71636fb824: Already exists 0c1db9598990: Already exists 220bd9a491ba: Pulling fs layer 97b15521fe5d: Pulling fs layer 1b44c1054690: Pulling fs layer 6b8b382a68d7: Pulling fs layer 6b8b382a68d7: Waiting 1b44c1054690: Download complete 220bd9a491ba: Verifying Checksum 220bd9a491ba: Download complete 97b15521fe5d: Verifying Checksum 97b15521fe5d: Download complete 6b8b382a68d7: Verifying Checksum 6b8b382a68d7: Download complete 220bd9a491ba: Pull complete 97b15521fe5d: Pull complete 1b44c1054690: Pull complete 6b8b382a68d7: Pull complete Digest: sha256:1bb98a04d037d9766110499d36bf2f3a2aa43965b4aa345da91f6de75f3816d8 Status: Downloaded newer image for python:2.7 [bookkeeper_postcommit_master_python] $ /bin/bash -xe /tmp/jenkins6062850567350944405.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/6a/31/6d83de53dd55c1b541eae28479b011d10691dc8ac91ab34fd827ac44eca3/nox-2018.10.17-py2.py3-none-any.whl Collecting py<2.0.0,>=1.4.0 (from nox) Downloading https://files.pythonhosted.org/packages/3e/c7/3da685ef117d42ac8d71af525208759742dd235f8094221fdaafcd3dba8f/py-1.7.0-py2.py3-none-any.whl (83kB) Collecting colorlog<4.0.0,>=2.6.1 (from nox) Downloading https://files.pythonhosted.org/packages/69/eb/58ae10d3c46a0195ffdd0e3943d255d0d5029d71e5457785ecd665bcf0f3/colorlog-3.1.4-py2.py3-none-any.whl Collecting virtualenv>=14.0.0 (from nox) Downloading https://files.pythonhosted.org/packages/7c/17/9b7b6cddfd255388b58c61e25b091047f6814183e1d63741c8df8dcd65a2/virtualenv-16.1.0-py2.py3-none-any.whl (1.9MB) Installing collected packages: py, colorlog, virtualenv, nox Successfully installed colorlog-3.1.4 nox-2018.10.17 py-1.7.0 virtualenv-16.1.0 Running session unit-3.7 Creating virtualenv using python3.7 in /opt/bookkeeper/.nox/unit-3-7 pip install --upgrade mock pytest pytest-cov pip install --upgrade -e . py.test --quiet --cov-append --cov-report= --cov=bookkeeper --cov-config=.coveragerc tests/unit .................................................................... [100%] =============================== warnings summary =============================== .nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/api_implementation.py:154 /opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/api_implementation.py:154: 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/containers.py:182 /opt/bookkeeper/.nox/unit-3-7/lib/python3.7/site-packages/google/protobuf/internal/containers.py:182: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working MutableMapping = collections.MutableMapping 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 68 passed, 3 warnings in 4.56 seconds Session unit-3.7 was successful. Running session lint Creating virtualenv using python in /opt/bookkeeper/.nox/lint pip install --upgrade flake8 pip install --upgrade . 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 --upgrade docutils Pygments python setup.py check --restructuredtext --strict running check /opt/bookkeeper/.nox/lint_setup_py/lib/python3.7/site-packages/setuptools/dist.py:470: UserWarning: Normalizing '4.9.0-alpha-2' to '4.9.0a2' normalized_version, Session lint_setup_py was successful. Ran multiple sessions: * unit-3.7: success * lint: failed * lint_setup_py: success Build step 'Execute shell' marked build as failure Not sending mail to unregistered user [email protected] Not sending mail to unregistered user [email protected]
